NF weak partition development: Flypitch4.Completion.
Helper lemmas at the sentence level #
A sentence-level axiom rule: if ψ ∈ T (as a SentTheory), then T ⊢ₛ' ψ
Sentence-level weakening for sprovable
snot_and_self: from T ⊢ₛ' ψ and T ⊢ₛ' ∼ᵇψ, derive T ⊢ₛ' bd_falsum
sfalsumE: from T ⊢ₛ' bd_falsum derive T ⊢ₛ' ψ (ex falso)
Sentence-level simpI: T ⊢ₛ' ψ → insert ϕ T ⊢ₛ' ψ
Helper: (insert ψ T).fst = insert ψ.fst T.fst #
consis_not_of_not_provable and inconsis_not_of_provable #
If T ⊬ₛ' f, then T ∪ {∼ᵇf} is consistent
If T ⊢ₛ' f, then T ∪ {∼ᵇf} is inconsistent
If T ∪ {∼ᵇf} is inconsistent, then T ⊢ₛ' f
can_extend: one of T ∪ {ψ} or T ∪ {∼ᵇψ} is consistent #
Given a consistent theory T and a sentence ψ, either T ∪ {ψ} or T ∪ {∼ᵇψ} is consistent
Theory_over: the poset of consistent extensions of T #
Theory_over T hT: the subtype of SentTheory L consisting of consistent theories ⊇ T
Equations
- NFChoice.Fol.TheoryOver T _hT = { T' : NFChoice.Fol.SentTheory L // T ⊆ T' ∧ T'.isConsistent }
Instances For
Subset order on Theory_over T hT
Equations
- NFChoice.Fol.TheoryOverSubset T1 T2 = (↑T1 ⊆ ↑T2)
Instances For
Equations
consis_limit: the limit of a chain is consistent #
The union of a chain of consistent extensions of T is consistent
limit_theory: build the limit as a Theory_over #
Given a chain of consistent extensions, their union is a consistent extension
Equations
- NFChoice.Fol.limitTheory Ts h_chain = ⟨⟨T ∪ ⋃₀ (Subtype.val '' Ts), ⋯⟩, ⋯⟩
Instances For
can_use_zorn #
The poset of theories over T satisfies Zorn's hypotheses
maximal_extension #
Given a consistent theory T, there is a maximal consistent extension of T
Equations
- NFChoice.Fol.maximalExtension T hT = ⟨⋯.choose, ⋯⟩
Instances For
cannot_extend_maximal_extension #
A maximal extension cannot be consistently extended by any new sentence
is_complete for SentTheory #
A SentTheory is complete if it is consistent and every sentence or its negation is in it
Equations
- T.isComplete = (T.isConsistent ∧ ∀ (ψ : NFChoice.Fol.sentence L), ψ ∈ T ∨ NFChoice.Fol.bdNot ψ ∈ T)
Instances For
complete_maximal_extension_of_consis #
The maximal extension of a consistent theory is complete
completion_of_consis #
Every consistent theory has a complete extension
Equations
- NFChoice.Fol.completionOfConsis T h_consis = ⟨(NFChoice.Fol.maximalExtension T h_consis).fst, ⋯⟩