Condensed recall index for the full notes in DM_C2.md.
| Pattern | Logic shape |
|---|
| "Every A is B" | ∀x. A(x)→B(x) |
| "Some A is B" | ∃x. A(x)∧B(x) |
| "For every A there is some related B" | ∀x. (S(x)→∃y. M(x,y)) |
| Named individual (e.g. "lions") | constant symbol cL: F(cL), ¬D(cL) |
| "There is a unique x with property F" | ∃x. ((S(x)∧F(x))∧∀y. ((S(y)∧F(y))→y=x)) |
| "f is injective" | ∀x.∀y. (f(x)=f(y)→x=y) |
| "f is surjective" | ∀y.∃x. (f(x)=y) |
- Φ⊢ψ: we can derive the single proposition ψ from the proposition set Φ.
- φ⊣⊢ψ if and only if both φ⊢ψ and ψ⊢φ.
- Structural: ASSUMPTION (if φ∈Φ then Φ⊢φ); WEAKENING (if Φ⊆Φ′ and Φ⊢ψ then Φ′⊢ψ); SUBSTITUTION (if Φ⊢ψ and Φ,ψ⊢χ then Φ⊢χ).
- Conjunction: AND-INTRO φ,ψ⊢φ∧ψ; AND-ELIM1 φ∧ψ⊢φ; AND-ELIM2 φ∧ψ⊢ψ. Derived: AND-R (if Φ⊢ψ and Φ⊢χ then Φ⊢ψ∧χ); and-L (if Φ,ψ1,ψ2⊢χ then Φ,ψ1∧ψ2⊢χ, and conversely); and-comm; and-assoc.
- Congruence of ∧: if Φ,ψ1⊢ψ2 and Φ,χ1⊢χ2, then Φ,ψ1∧χ1⊢ψ2∧χ2.
- Disjunction: or-intro1 φ⊢φ∨ψ; or-intro2 ψ⊢φ∨ψ; or-elim/or-L (if Φ,ψ1⊢χ and Φ,ψ2⊢χ then Φ,ψ1∨ψ2⊢χ). Derived: or-R1, or-R2; or-comm; or-assoc.
- Laws: distributivity φ∧(ψ∨χ)⊣⊢(φ∧ψ)∨(φ∧χ) and φ∨(ψ∧χ)⊣⊢(φ∨ψ)∧(φ∨χ); absorption φ∧(φ∨ψ)⊣⊢φ, φ∨(φ∧ψ)⊣⊢φ; idempotence φ∧φ⊣⊢φ, φ∨φ⊣⊢φ.
- Negation: CONTRADICTION (if Φ⊢ψ and Φ⊢¬ψ then Φ⊢χ — any χ); EXCLUDED-MIDDLE ⊢φ∨¬φ; CASE-ANALYSIS (if Φ,¬φ⊢ψ and Φ,φ⊢ψ then Φ⊢ψ); DOUBLE-NEGATION φ⊣⊢¬¬φ; DE-MORGAN ¬(φ∧ψ)⊣⊢¬φ∨¬ψ, ¬(φ∨ψ)⊣⊢¬φ∧¬ψ.
- CONTRAPOSITION (all four sign variants): if Φ,ψ⊢χ then Φ,¬χ⊢¬ψ; if Φ,¬ψ⊢χ then Φ,¬χ⊢ψ; if Φ,¬ψ⊢¬χ then Φ,χ⊢ψ; if Φ,ψ⊢¬χ then Φ,χ⊢¬ψ.
- Implication: implies-intro (if Φ,φ⊢ψ then Φ⊢φ→ψ); modus-ponens φ→ψ,φ⊢ψ; transitivity φ→ψ,ψ→χ⊢φ→χ. Two-way laws: (φ∧ψ)→χ⊣⊢φ→(ψ→χ); (φ∨ψ)→χ⊣⊢(φ→χ)∧(ψ→χ); φ→ψ⊣⊢¬ψ→¬φ.
- forall-intro: if Φ⊢ψ(x), then Φ⊢∀x. ψ(x) — requires Φ irrelevant with x.
- forall-elim: ∀x.φ(x)⊢φ(t) — no side condition.
- exists-intro: φ(t)⊢∃x.φ(x) — no side condition.
- exists-elim: if Φ,ψ(x)⊢χ, then Φ,∃x.ψ(x)⊢χ — requires both Φ and χ irrelevant with x.
- Syntactically precise restatement: "irrelevant with x" = "x does not freely occur in"; elimination/introduction use syntactic replacement: FORALL-ELIM ∀x.φ⊢φ[x↦t], EXISTS-INTRO φ[x↦t]⊢∃x.φ.
- Monotonicity under a quantifier: if Φ,φ(x)⊢ψ(x) and Φ is irrelevant with x, then Φ,∀x.φ(x)⊢∀x.ψ(x) and Φ,∃x.φ(x)⊢∃x.ψ(x).
Two-way (⊣⊢):
- ∀x.φ(x)∧ψ(x)⊣⊢(∀x.φ(x))∧(∀x.ψ(x)).
- ∃x.φ(x)∨ψ(x)⊣⊢(∃x.φ(x))∨(∃x.ψ(x)).
- ∀x.∀y. φ(x,y)⊣⊢∀y.∀x. φ(x,y); ∃x.∃y. φ(x,y)⊣⊢∃y.∃x. φ(x,y).
- ¬∀x.φ(x)⊣⊢∃x.¬φ(x); ¬∃x.φ(x)⊣⊢∀x.¬φ(x).
- Restricted domain: ∀x.φ(x)→ψ(x)∧χ(x)⊣⊢(∀x.φ(x)→ψ(x))∧(∀x.φ(x)→χ(x)); ∃x.φ(x)∧(ψ(x)∨χ(x))⊣⊢(∃x.φ(x)∧ψ(x))∨(∃x.φ(x)∧χ(x)).
- Negated restricted domain: ¬∀x. φ(x)→ψ(x)⊣⊢∃x. φ(x)∧¬ψ(x); ¬∃x. φ(x)∧ψ(x)⊣⊢∀x.φ(x)→¬ψ(x).
- Exchanging restricted quantifiers (same kind): ∀x.φ(x)→(∀y.ψ(y)→χ(x,y))⊣⊢∀y.ψ(y)→(∀x.φ(x)→χ(x,y)); ∃x.φ(x)∧(∃y.ψ(y)∧χ(x,y))⊣⊢∃y.ψ(y)∧(∃x.φ(x)∧χ(x,y)).
- Unrelated proposition (all require φ irrelevant with x): φ∧∀x.ψ(x)⊣⊢∀x. φ∧ψ(x); φ∨∀x.ψ(x)⊣⊢∀x. φ∨ψ(x); φ∧∃x.ψ(x)⊣⊢∃x. φ∧ψ(x); φ∨∃x.ψ(x)⊣⊢∃x. φ∨ψ(x); φ→∀x.ψ(x)⊣⊢∀x. φ→ψ(x); vacuous: φ⊣⊢∀x.φ and φ⊣⊢∃x.φ.
One-way only (⊢):
- (∀x.φ(x))∨(∀x.ψ(x))⊢∀x.φ(x)∨ψ(x).
- ∃x.φ(x)∧ψ(x)⊢(∃x.φ(x))∧(∃x.ψ(x)).
- ∃x.∀y. φ(x,y)⊢∀y.∃x. φ(x,y).
- (∀x.φ(x)→ψ(x))∨(∀x.φ(x)→χ(x))⊢∀x.φ(x)→ψ(x)∨χ(x).
- ∃x.φ(x)∧(ψ(x)∧χ(x))⊢(∃x.φ(x)∧ψ(x))∧(∃x.φ(x)∧χ(x)).
- ∃x.φ(x)∧(∀y.ψ(y)→χ(x,y))⊢∀y.ψ(y)→(∃x.φ(x)∧χ(x,y)).
- Special domain: ∀x.¬φ(x)⊢∀x.φ(x)→ψ(x); ∀x.¬φ(x)⊢¬∃x.φ(x)∧ψ(x); ∀x.ψ(x)⊢∀x.φ(x)→ψ(x); ∀x.¬ψ(x),∃x.φ(x)⊢¬∀x.φ(x)→ψ(x); ∀x.ψ(x),∃x.φ(x)⊢∃x.φ(x)∧ψ(x); ∀x.¬ψ(x)⊢¬∃x.φ(x)∧ψ(x).
- "Given a fixed ε>0" (proving a universal implication): if Φ,P(x)⊢Q(x) then Φ⊢∀x. (P(x)→Q(x)).
- "Let N=t" (providing a witness): if Φ⊢P(t) then Φ⊢∃x. P(x).
- "Choose an arbitrary ... such that ..." / "we can assume x=2x0" (using an existential): if Φ,P(x)⊢ψ, then Φ,∃x. P(x)⊢ψ.
- "Because A, B" / citing a math fact mid-proof (chaining a lemma): if Φ⊢ψ and Φ,ψ⊢χ, then Φ⊢χ.
- "If ..., then we are done. Otherwise ..." (case split): if Φ,φ⊢ψ and Φ,¬φ⊢ψ, then Φ⊢ψ.
- Proving ¬∃: to prove ¬∃x. (P(x)∧∃y.(P(y)∧Q(x,y)∧R(x,y))), it suffices to derive ¬R(x,y) from Φ,P(x),P(y),Q(x,y).
- Terms t: variables, constants, f(t1,t2,...) — only the listed symbol kinds; e.g. x+1, f(x)+g(y), c1+c2 are not terms, while f(x,y), f(g(c1)), h(f(x),g(c2)) are.
- Propositions ϕ: P(t), Q(t1,t2), ϕ1∧ϕ2, ¬ϕ, ∃x.ϕ, ∀y.ψ, ...; e.g. f(x)<f(x+1) and ∀x.∃y.(x<y) are not FOL propositions (< is not a listed predicate symbol).
- In ∀x.ϕ and ∃x.ϕ all occurrences of x are bound; all other occurrences are free. ϕ is open if it has at least one free variable occurrence, otherwise closed. E.g. ∃y.L(x,y) is open (x free), ∀x.∃y.L(x,y) is closed.
- Syntactic replacement [x1↦t1,...,xn↦tn] distributes over ∧, ∨, ¬ (the quantifier cases are left elided in the notes).
- The two quantifier side conditions are the easiest thing to drop: forall-intro needs Φ irrelevant with x; exists-elim needs both Φ and χ irrelevant with x.
- Memorize which distribution/swap facts are one-way only (Section 5 above): ∃∀⊢∀∃, ∀ over ∨, ∃ over ∧, and the mixed restricted-quantifier exchange.
- Several printed proofs and one theorem bullet in the source contain anomalies (e.g. a proof line citing itself, a proof using the wrong target formula, a justification reading "weakening" where the cited lines form a substitution step, and the fourth restricted-domain bullet of the May 9 Theorem 4);
DM_C2.md corrects the visible statements and preserves the original anomalies in hidden source-conflict comments.