Basic definitions and properties of proof system related notions #
This file defines a characterization of the system/proof/provability/calculus of formulae. Also defines soundness and completeness.
Main Definitions #
LO.Entailment S F: a general framework of deductive systemSfor formulaeF.LO.Entailment.Inconsistent 𝓢: a proposition that states that all formulae inFis provable from𝓢.LO.Entailment.Consistent 𝓢: a proposition that states that𝓢is not inconsistent.LO.Entailment.Sound 𝓢 𝓜: provability from𝓢implies satisfiability on𝓜.LO.Entailment.Complete 𝓢 𝓜: satisfiability on𝓜implies provability from𝓢.
Notation #
𝓢 ⊢! φ: a type of formalized proofs ofφ : Ffrom deductive system𝓢 : S.𝓢 ⊢ φ: a proposition that states there is a proof ofφfrom𝓢, i.e.φis provable from𝓢.𝓢 ⊬ φ: a proposition that statesφis not provable from𝓢.𝓢 ⊢!* T: a type of formalized proofs for each formulae in a setTfrom𝓢.𝓢 ⊢* T: a proposition that states each formulae inTis provable from𝓢.
Equations
- LO.«term_⊢!_» = Lean.ParserDescr.trailingNode `LO.«term_⊢!_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊢! ") (Lean.ParserDescr.cat `term 46))
Instances For
Proposition that states φ is provable.
Instances For
Abbreviation for unprovability.
Instances For
Equations
- LO.Entailment.«term_⊢_» = Lean.ParserDescr.trailingNode `LO.Entailment.«term_⊢_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊢ ") (Lean.ParserDescr.cat `term 46))
Instances For
Equations
- LO.Entailment.«term_⊬_» = Lean.ParserDescr.trailingNode `LO.Entailment.«term_⊬_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊬ ") (Lean.ParserDescr.cat `term 46))
Instances For
Equations
- LO.Entailment.«term_⊢!*_» = Lean.ParserDescr.trailingNode `LO.Entailment.«term_⊢!*_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊢!* ") (Lean.ParserDescr.cat `term 46))
Instances For
Equations
- LO.Entailment.«term_⊢*_» = Lean.ParserDescr.trailingNode `LO.Entailment.«term_⊢*_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊢* ") (Lean.ParserDescr.cat `term 46))
Instances For
Set of all provable formulae.
Instances For
Equations
- LO.Entailment.cast b e = e ▸ b
Instances For
Equations
- h.get = Classical.choice h
Instances For
Equations
- h.get = Classical.choice ⋯
Instances For
Provability strength relation of proof systems
Instances
Equations
- LO.Entailment.«term_⪯_» = Lean.ParserDescr.trailingNode `LO.Entailment.«term_⪯_» 40 41 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⪯ ") (Lean.ParserDescr.cat `term 41))
Instances For
Strict provability strength relation of proof systems
Instances
Equations
- LO.Entailment.«term_⪱_» = Lean.ParserDescr.trailingNode `LO.Entailment.«term_⪱_» 40 41 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⪱ ") (Lean.ParserDescr.cat `term 41))
Instances For
Provability equivalence relation of proof systems
Instances
Equations
- LO.Entailment.«term_≊_» = Lean.ParserDescr.trailingNode `LO.Entailment.«term_≊_» 40 41 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ≊ ") (Lean.ParserDescr.cat `term 41))
Instances For
Provability strength #
Equations
- LO.Entailment.instTransWeakerThan = { trans := ⋯ }
Equations
- LO.Entailment.instTransStrictlyWeakerThanWeakerThan = { trans := ⋯ }
Equations
- LO.Entailment.instTransWeakerThanStrictlyWeakerThan = { trans := ⋯ }
Equations
- LO.Entailment.instTransStrictlyWeakerThan = { trans := ⋯ }
Alias of the reverse direction of LO.Entailment.Equiv.antisymm_iff.
Equations
- LO.Entailment.instTransEquiv = { trans := ⋯ }
Equations
- LO.Entailment.instTransEquivWeakerThan = { trans := ⋯ }
Equations
- LO.Entailment.instTransEquivWeakerThan_1 = { trans := ⋯ }
Equations
- LO.Entailment.instTransWeakerThanEquiv = { trans := ⋯ }
Equations
- LO.Entailment.instTransEquivStrictlyWeakerThan = { trans := ⋯ }
Equations
- LO.Entailment.instTransStrictlyWeakerThanEquiv = { trans := ⋯ }
Instances
Consistency and inconsistency #
Equations
- LO.Entailment.Inconsistent 𝓢 = ∀ (φ : F), 𝓢 ⊢ φ
Instances For
- not_inconsistent : ¬Inconsistent 𝓢
Instances
Alias of the reverse direction of LO.Entailment.not_inconsistent_iff_consistent.
Alias of the reverse direction of LO.Entailment.not_consistent_iff_inconsistent.
Alias of the forward direction of LO.Entailment.consistent_iff_exists_unprovable.
Alias of the forward direction of LO.Entailment.inconsistent_iff_theory_eq_univ.
Instances
Equations
- ⋯ = ⋯
Instances For
Alias of the reverse direction of LO.Entailment.inconsistent_iff_provable_bot.
Alias of the forward direction of LO.Entailment.consistent_iff_unprovable_bot.
Completeness and incompleteness #
𝓢 is complete if, for every formula, either it or its negation is provable by 𝓢.
Instances
A formula φ is independent from 𝓢 if, neither it nor its negation is provable by 𝓢.
Instances For
A proof system is incomplete if and only if there exists a formula that is both unprovable and irrefutable.
- indep : ∃ (φ : F), Independent 𝓢 φ
Instances
Axiomatized provability #
Instances
Alias of LO.Entailment.Axiomatized.weakening.
Equations
Instances For
Instances
Instances For
Equations
Instances For
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
Equations
Instances For
Equations
- ⋯ = ⋯
Instances For
Alias of LO.Entailment.Axiomatized.byAxm.
Equations
Instances For
Alias of LO.Entailment.Axiomatized.by_axm.
Alias of LO.Entailment.Axiomatized.weakening!.
Equations
- LO.Entailment.FiniteAxiomatizable 𝓢 = ∃ (𝓕 : S), AdjunctiveSet.Finite 𝓕 ∧ 𝓕 ≊ 𝓢
Instances For
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
Compactness #
Instances
Deduction theorem #
Alias of LO.Entailment.Deduction.ofInsert.
Instances For
Alias of LO.Entailment.Deduction.of_insert!.
Soundness and Completeness #
Instances
Equations
- LO.Entailment.pullback 𝓢 f = { forget := 𝓢 }
Instances For
Equations
- LO.Entailment.instPullback f = { Prf := fun (𝓢 : LO.Entailment.Pullback S f) (φ : G) => 𝓢.forget ⊢! f φ }