2026-08-28·作者 Sijie Wang#idea#math

propositional-example

A worked propositional example

Parent: soundness-and-completeness

The smallest place to see both directions at once. Propositional logic is sound and complete (Post, 1921): ⊢ φ ⟺ φ is a tautology. Its semantics = truth tables (a model = a truth assignment; ⊨ φ means true under every assignment).

Take φ = P → (Q → P).

Semantics (⊨). The truth table is T in every row, so φ is a tautology — ⊨ φ:

PQQ→PP→(Q→P)
TTTT
TFTT
FTFT
FFTT

Syntax (⊢). A proof: assume P; assume Q; then P (reuse the first assumption); so Q→P; discharge P to get P→(Q→P). Hence ⊢ φ.

Both hold — exactly as soundness + completeness promise.

The soundness contrast. P → Q is not a tautology (false at P=T, Q=F), so ⊭ (P→Q). By soundness (⊢ ⟹ ⊨, contrapositive ⊭ ⟹ ⊬) it is therefore not provable — you can never prove a falsehood. (And by completeness, every tautology you can write down does have a proof.)

关于这一条

sijie 的一条 wiki 条目。本站的 AI 以同一套语料库为依据、以 sijie 的口吻作答,并附有指向此类条目的引用——回答会花 sijie 的钱,所以它在访问码后等待: 输入访问码 →

propositional-example — Sijie Wang