Birla Institute of Technology & Science, Pilani
Logic for Computer Science
Birla Institute of Technology & Science, Pilani

Logic for Computer Science

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Analyse computational problems to identify appropriate proof techniques and logical reasoning methods that best address their complexities.

  • Design comprehensive solutions to algorithm development challenges by synthesising and applying principles of propositional and predicate logic.

  • Evaluate system reliability by conducting model checking using temporal logics, and interpret the results to ensure system correctness.

  • Construct formal verification plans for algorithms and programs using Floyd-Hoare logics and justify their correctness through logical reasoning.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

August 2025

Assessments

113 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 10 modules in this course

In this module, you will learn the relevance of formal logics in computer science. You will understand the difference between syntax and semantics. The module will also introduce you to propositional logic and informally to its syntactic constructs.

What's included

10 videos4 readings8 assignments1 plugin

In this module, you will learn about the symbolic manipulation technique of natural deduction. The module will also discuss the different rules of natural deduction with examples.

What's included

12 videos3 readings11 assignments1 plugin

In this module, you will learn about state-of-the-art methods of resolution and Davis-Putnam-Logemann-Loveland (DPLL) methods to argue about the satisfiability of a propositional logic formula. We study the relevant characteristics of a logical theory, i.e., the consistency, soundness, and completeness, and comment on natural deduction as a proof technique on how it scores over these characteristics.

What's included

14 videos3 readings13 assignments

In this module, you will be introduced to model-based formal verification techniques, in particular, the model checking techniques. The module will informally discuss two popular families of temporal logics: linear temporal logic (LTL) and computation tree logic (CTL).

What's included

13 videos4 readings12 assignments

In this module, you will formally learn the LTL and CTL temporal logics. The module will also introduce you to the algorithms used for model checking over these algorithms. The module will further explain fundamental system properties, such as invariance, safety, and liveliness. Furthermore, the module will give provide you insight into how to encode natural language sentences into LTL and CTL formulas.

What's included

13 videos5 readings12 assignments1 plugin

In this module, you will learn the need for predicate logic and how to express statements in predicate logic. You will also learn about the syntax of predicate logic and the fundamentals behind writing proofs in predicate logic. You would also learn the concept of substitution and the difference between the free variables and bound variables. You will also get introduced to basic predicate logic rules that are used for proving sequents.

What's included

23 videos4 readings22 assignments

In this module, you will learn to apply the proof rules of natural deduction to prove sequents in predicate logic. The proof rules that you would learn include: Universal Quantifier Elimination, Existential Quantifier Introduction, Universal Quantifier Introduction and Existential Quantifier Elimination. You would also learn to identify which specific rules to apply for writing proof of a given sequent.

What's included

17 videos3 readings5 assignments

In this module, you will learn about semantics and model interpretations in predicate logic. You would also learn about the satisfiability and validity of predicate logic formulas, along with the undecidability of validity. You would also learn about the limitations of first-order predicate logic and how second-order predicate logic is useful in such cases.

What's included

20 videos4 readings19 assignments

In this module, you will learn how to formally verify programs written in imperative style. More specifically, you will learn formal methods to verify assignment statements, sequence of statements, conditional statements, and iterative statements. You will also learn the formal method to verify whether a given program terminates or not.

What's included

16 videos5 readings10 assignments

In this module, you will learn to prove the total correctness of various commonly used algorithms such as computing the power of two numbers, finding an element from an unsorted array, and selection sort. You would also learn to deduce loop invariants for programs of the above computational problems and prove that these programs terminates.

What's included

11 videos3 readings1 assignment

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

BITS Pilani Instructors Group
Birla Institute of Technology & Science, Pilani
3 Courses31,608 learners

Offered by

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions