theorem
Flypitch.fol.can_extend
{L : Language}
(T : Theory L)
(ψ : sentence L)
(h : is_consistent T)
:
Given a theory T and a sentence ψ, either T ∪ {ψ} or T ∪ {∼ψ} is consistent.
@[reducible, inline]
Equations
- Flypitch.fol.Theory_over T hT = Flypitch.fol.TheoryOver T hT
Instances For
def
Flypitch.fol.TheoryOverSubset
{L : Language}
{T : Theory L}
{hT : is_consistent T}
:
TheoryOver T hT → TheoryOver T hT → Prop
Equations
- Flypitch.fol.TheoryOverSubset T₁ T₂ = (↑T₁).Subset ↑T₂
Instances For
@[reducible, inline]
abbrev
Flypitch.fol.Theory_over_subset
{L : Language}
{T : Theory L}
{hT : is_consistent T}
:
TheoryOver T hT → TheoryOver T hT → Prop
Instances For
@[implicit_reducible]
instance
Flypitch.fol.instHasSubsetTheoryOver
{L : Language}
{T : Theory L}
{hT : is_consistent T}
:
HasSubset (TheoryOver T hT)
Equations
theorem
Flypitch.fol.instReflTheoryOverTheoryOverSubset
{L : Language}
{T : Theory L}
{hT : is_consistent T}
:
def
Flypitch.fol.chainTheoryUnion
{L : Language}
{T : Theory L}
{hT : is_consistent T}
(c : Set (TheoryOver T hT))
:
Theory L
Equations
- Flypitch.fol.chainTheoryUnion c = { carrier := ⋃₀ ((fun (U : Flypitch.fol.TheoryOver T hT) => (↑U).carrier) '' c) }
Instances For
def
Flypitch.fol.limitTheory
{L : Language}
{T : Theory L}
{hT : is_consistent T}
(c : Set (TheoryOver T hT))
:
Theory L
Equations
Instances For
theorem
Flypitch.fol.mem_chainTheoryUnion_iff
{L : Language}
{T : Theory L}
{hT : is_consistent T}
{c : Set (TheoryOver T hT)}
{ψ : sentence L}
:
theorem
Flypitch.fol.finite_subset_limitTheory
{L : Language}
{T : Theory L}
{hT : is_consistent T}
{c : Set (TheoryOver T hT)}
(hc : IsChain TheoryOverSubset c)
(hcne : c.Nonempty)
(Γ : Finset (sentence L))
(hΓ : ↑Γ ⊆ (limitTheory c).carrier)
:
theorem
Flypitch.fol.consis_limit
{L : Language}
{T : Theory L}
{hT : is_consistent T}
(c : Set (TheoryOver T hT))
(hc : IsChain TheoryOverSubset c)
:
noncomputable def
Flypitch.fol.limit_theory
{L : Language}
{T : Theory L}
{hT : is_consistent T}
(c : Set (TheoryOver T hT))
(hc : IsChain TheoryOverSubset c)
:
(U : TheoryOver T hT) ×' ∀ U' ∈ c, TheoryOverSubset U' U
Equations
- Flypitch.fol.limit_theory c hc = ⟨⟨Flypitch.fol.limitTheory c, ⋯⟩, ⋯⟩
Instances For
theorem
Flypitch.fol.can_use_zorn
{L : Language}
{T : Theory L}
{hT : is_consistent T}
:
(∀ (c : Set (TheoryOver T hT)), IsChain TheoryOverSubset c → ∃ (ub : TheoryOver T hT), ∀ a ∈ c, TheoryOverSubset a ub) ∧ ∀ (a b c : TheoryOver T hT), TheoryOverSubset a b → TheoryOverSubset b c → TheoryOverSubset a c
noncomputable def
Flypitch.fol.maximal_extension
{L : Language}
(T : Theory L)
(hT : is_consistent T)
:
(T_max : TheoryOver T hT) ×' ∀ (T' : TheoryOver T hT), TheoryOverSubset T_max T' → TheoryOverSubset T' T_max
Given a consistent theory, return a maximal consistent extension of it.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
Flypitch.fol.cannot_extend_maximal_extension
{L : Language}
{T : Theory L}
{hT : is_consistent T}
(T_max' : (T_max : TheoryOver T hT) ×' ∀ (T' : TheoryOver T hT), TheoryOverSubset T_max T' → TheoryOverSubset T' T_max)
(ψ : sentence L)
(hCons : is_consistent (↑T_max'.fst ∪ {ψ}))
(hNot : ψ ∉ ↑T_max'.fst)
:
theorem
Flypitch.fol.complete_maximal_extension_of_consis
{L : Language}
{T : Theory L}
{hT : is_consistent T}
:
is_complete ↑(maximal_extension T hT).fst
noncomputable def
Flypitch.fol.completion_of_consis
{L : Language}
(T : Theory L)
(h_consis : is_consistent T)
:
(T' : TheoryOver T h_consis) ×' is_complete ↑T'
Given a consistent theory, return a complete extension of it.
Equations
- Flypitch.fol.completion_of_consis T h_consis = ⟨(Flypitch.fol.maximal_extension T h_consis).fst, ⋯⟩