Logic

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:06 PM on 4/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

Formal Logic Role

Backbone of specification and verification. Provides framework for what can be claimed (language) and how claims are justified (logic). Much older than computer science.

2
New cards

Language Components

Terms (variables x, constants c, functions f). Atoms (truth-valued terms). Logical constants (⊤ true, ⊥ false). Propositional connectives (

3
New cards

, ∧, ∨, ⇒, ≡). Quantifiers (∀ for all, ∃ there exists). Modalities (□, ♢ for knowledge/time/possibility). Higher-order constructs (λ, ∀, ∃).

4
New cards

Logic Definition

Logic tells what follows from premises: Γ ⊢ F ("Γ entails F" or "F is a theorem of Γ"). Specifies consequences of given assumptions.

5
New cards

Calculus Purpose

Method to calculate all consequences of axioms in a fixed language and logic. Expressed as collection of inference rules. Enables systematic derivation.

6
New cards

Inference Rule Form

Premises above line, conclusion below: P₁ P₂ … Pₙ / C. If all premises hold, conclusion can be derived.

7
New cards

Natural Deduction Conjunction Rules

Conjunction introduction: from P and Q, infer P ∧ Q. Conjunction elimination: from P ∧ Q, infer P; from P ∧ Q, infer Q.

8
New cards

Natural Deduction Disjunction Rules

Disjunction introduction: from P, infer P ∨ Q; from Q, infer P ∨ Q. Disjunction elimination: from P ∨ Q, P ⇒ R, Q ⇒ R, infer R.

9
New cards

Natural Deduction Implication Rules

Implication introduction: assuming P, derive Q, then infer P ⇒ Q. Implication elimination (modus ponens): from P and P ⇒ Q, infer Q.

10
New cards

Falsity and Negation

⊥ represents contradiction. Negation defined as ¬P ≜ P ⇒ ⊥. From ⊥, any proposition can be derived (principle of explosion).

11
New cards

Commutativity of Conjunction Proof

Assume A ∧ B. By conjunction elimination, derive A and B. By conjunction introduction, B ∧ A. Therefore A ∧ B ⇒ B ∧ A.

12
New cards

Double Negation Introduction Proof

Assume P. Assume (P ⇒ ⊥) (¬P). From P and ¬P, derive ⊥. Therefore ¬P ⇒ ⊥ (¬¬P). Hence P ⇒ ¬¬P.

13
New cards

Classical Logic

Adds law of excluded middle (P ∨¬P) as theorem or double negation elimination rule: ¬¬

P / P. Enables proof by contradiction where intuitionistic logic cannot.

14
New cards

Intuitionistic Logic

Does not assume P ∨¬P or double negation elimination. Proofs must be constructive - existence proved by explicit construction. More restrictive than classical logic.

15
New cards

First-Order Logic Rules

Universal introduction: from F[x] (with x arbitrary), infer ∀x. F[x]. Universal elimination: from ∀x. F[x], infer F[t] for any term t.

16
New cards

Curry-Howard Correspondence

Connection between logic and computation. Propositions correspond to types, proofs correspond to programs. Rocq implements this correspondence

Explore top notes

note
IB Chemistry 3.1 Periodic Table
Updated 1266d ago
0.0(0)
note
Aula APS Redes Territorializacao
Updated 501d ago
0.0(0)
note
EMSF110 - Trauma Exam
Updated 997d ago
0.0(0)
note
US History Chap. 11
Updated 926d ago
0.0(0)
note
AFPF casus 5
Updated 443d ago
0.0(0)
note
World History 2 Midterm
Updated 217d ago
0.0(0)
note
IB Chemistry 3.1 Periodic Table
Updated 1266d ago
0.0(0)
note
Aula APS Redes Territorializacao
Updated 501d ago
0.0(0)
note
EMSF110 - Trauma Exam
Updated 997d ago
0.0(0)
note
US History Chap. 11
Updated 926d ago
0.0(0)
note
AFPF casus 5
Updated 443d ago
0.0(0)
note
World History 2 Midterm
Updated 217d ago
0.0(0)

Explore top flashcards

flashcards
History Unit 5 Test
70
Updated 1127d ago
0.0(0)
flashcards
Los 99 nombres de Allah
100
Updated 215d ago
0.0(0)
flashcards
Antidiabetic Drugs
52
Updated 1219d ago
0.0(0)
flashcards
ИМА
553
Updated 442d ago
0.0(0)
flashcards
NL woordenschat blok 1 en 2
49
Updated 1231d ago
0.0(0)
flashcards
Hinduism
20
Updated 1103d ago
0.0(0)
flashcards
History Unit 5 Test
70
Updated 1127d ago
0.0(0)
flashcards
Los 99 nombres de Allah
100
Updated 215d ago
0.0(0)
flashcards
Antidiabetic Drugs
52
Updated 1219d ago
0.0(0)
flashcards
ИМА
553
Updated 442d ago
0.0(0)
flashcards
NL woordenschat blok 1 en 2
49
Updated 1231d ago
0.0(0)
flashcards
Hinduism
20
Updated 1103d ago
0.0(0)