Equations
- S.subfmlsGrz = S.subfmls ∪ Finset.image (fun (C : Formula α) => C 🡒 □C) (FormulaFinset.prebox S.subfmls) ∪ Finset.image (fun (C : Formula α) => □(C 🡒 □C)) (FormulaFinset.prebox S.subfmls)
Instances For
theorem
LogicGrz.subfmls_subset_subfmlsGrz
{α : Type v}
[DecidableEq α]
{S : Sequent α}
:
S.subfmls ⊆ S.subfmlsGrz
theorem
LogicGrz.imp_mem_subfmlsGrz
{α : Type v}
[DecidableEq α]
{A B : Formula α}
{S : Sequent α}
(h : A 🡒 B ∈ S.subfmlsGrz)
:
theorem
LogicGrz.box_mem_subfmlsGrz
{α : Type v}
[DecidableEq α]
{A : Formula α}
{S : Sequent α}
(h : □A ∈ S.subfmlsGrz)
:
theorem
LogicGrz.grzCompanions_mem_subfmlsGrz
{α : Type v}
[DecidableEq α]
{A : Formula α}
{S : Sequent α}
(h : □A ∈ S.subfmls)
:
structure
LogicGrz.ExpandedSequent
{α : Type v}
[DecidableEq α]
(BS : Sequent α)
extends Sequent α :
Type v
An unprovable sequent, saturated and boxT-closed, bounded by the subformula closure of a base
sequent BS. The bound is asymmetric: the antecedent ranges over the enlarged BS.subfmlsGrz
while the succedent stays within BS.subfmls, so that □A in the succedent has its Grz
companion A 🡒 □A inside BS.subfmlsGrz.
- ant : FormulaFinset α
- suc : FormulaFinset α
- saturated : self.Saturated
- ant_subset : self.ant ⊆ BS.subfmlsGrz
Instances For
theorem
LogicGrz.ExpandedSequent.not_mem_both
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
{S : ExpandedSequent BS}
{A : Formula α}
:
theorem
LogicGrz.ExpandedSequent.not_mem_bot_ant
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
{S : ExpandedSequent BS}
:
noncomputable def
LogicGrz.ExpandedSequent.lindenbaum_indexed
{α : Type v}
[DecidableEq α]
(S₀ : Sequent α)
(S₀_unprovable : ¬⊢ᵍ[Grz] S₀)
:
Lindenbaum-style saturation: runs through a list of formulas, saturating the sequent for
impL, impR and boxT while preserving unprovability.
Equations
- One or more equations did not get rendered due to their size.
- LogicGrz.ExpandedSequent.lindenbaum_indexed S₀ S₀_unprovable [] = ⟨S₀, S₀_unprovable⟩
- LogicGrz.ExpandedSequent.lindenbaum_indexed S₀ S₀_unprovable (head :: Γ) = LogicGrz.ExpandedSequent.lindenbaum_indexed S₀ S₀_unprovable Γ
Instances For
theorem
LogicGrz.ExpandedSequent.subset_lindenbaum_indexed
{α : Type v}
[DecidableEq α]
{S₀ : Sequent α}
{S₀_unprovable : ¬⊢ᵍ[Grz] S₀}
{Γ : FormulaList α}
:
theorem
LogicGrz.ExpandedSequent.bounds_lindenbaum_indexed
{α : Type v}
[DecidableEq α]
{S₀ : Sequent α}
{S₀_unprovable : ¬⊢ᵍ[Grz] S₀}
{Γ : FormulaList α}
{BS : Sequent α}
(S₀_ant : S₀.ant ⊆ BS.subfmlsGrz)
(S₀_suc : S₀.suc ⊆ BS.subfmls)
:
(↑(lindenbaum_indexed S₀ S₀_unprovable Γ)).ant ⊆ BS.subfmlsGrz ∧ (↑(lindenbaum_indexed S₀ S₀_unprovable Γ)).suc ⊆ BS.subfmls
theorem
LogicGrz.ExpandedSequent.saturated_impL_lindenbaum_indexed
{α : Type v}
[DecidableEq α]
{S₀ : Sequent α}
{S₀_unprovable : ¬⊢ᵍ[Grz] S₀}
{Γ : FormulaList α}
(hΓ : (List.map (fun (x : Formula α) => x.complexity) Γ).SortedLE)
:
theorem
LogicGrz.ExpandedSequent.saturated_impR_lindenbaum_indexed
{α : Type v}
[DecidableEq α]
{S₀ : Sequent α}
{S₀_unprovable : ¬⊢ᵍ[Grz] S₀}
{Γ : FormulaList α}
(hΓ : (List.map (fun (x : Formula α) => x.complexity) Γ).SortedLE)
:
theorem
LogicGrz.ExpandedSequent.saturated_boxT_lindenbaum_indexed
{α : Type v}
[DecidableEq α]
{S₀ : Sequent α}
{S₀_unprovable : ¬⊢ᵍ[Grz] S₀}
{Γ : FormulaList α}
(hΓ : (List.map (fun (x : Formula α) => x.complexity) Γ).SortedLE)
:
theorem
LogicGrz.ExpandedSequent.saturated_lindenbaum_indexed
{α : Type v}
[DecidableEq α]
{S₀ : Sequent α}
{S₀_unprovable : ¬⊢ᵍ[Grz] S₀}
{Γ : FormulaList α}
(hΓ : (List.map (fun (x : Formula α) => x.complexity) Γ).SortedLE)
:
noncomputable def
LogicGrz.ExpandedSequent.lindenbaum
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
[Fact ¬⊢ᵍ[Grz] BS]
(S₀ : Sequent α)
(S₀_unprovable : ¬⊢ᵍ[Grz] S₀)
(S₀_ant : S₀.ant ⊆ BS.subfmlsGrz)
(S₀_suc : S₀.suc ⊆ BS.subfmls)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
LogicGrz.ExpandedSequent.subset_lindenbaum
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
[Fact ¬⊢ᵍ[Grz] BS]
{S₀ : Sequent α}
{S₀_unprovable : ¬⊢ᵍ[Grz] S₀}
{S₀_ant : S₀.ant ⊆ BS.subfmlsGrz}
{S₀_suc : S₀.suc ⊆ BS.subfmls}
:
theorem
LogicGrz.ExpandedSequent.ext
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
{S T : ExpandedSequent BS}
(ha : S.ant = T.ant)
(hs : S.suc = T.suc)
:
instance
LogicGrz.ExpandedSequent.instFinite
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
:
Finite (ExpandedSequent BS)
instance
LogicGrz.ExpandedSequent.instNonemptyOfFactNotProvableGentzen
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
[Fact ¬⊢ᵍ[Grz] BS]
:
Nonempty (ExpandedSequent BS)
def
LogicGrz.ProvableGentzen.Kripke.countermodelOf
{α : Type v}
[DecidableEq α]
(BS : Sequent α)
[Fact ¬⊢ᵍ[Grz] BS]
:
Model (ExpandedSequent BS) α
The canonical finite countermodel of an unprovable Grz sequent BS. Unlike the GL
countermodel its accessibility relation is reflexive, and the reversed-containment clause is
what forces antisymmetry.
Equations
- One or more equations did not get rendered due to their size.
Instances For
instance
LogicGrz.ProvableGentzen.Kripke.instIsFiniteGrzExpandedSequentCountermodelOf
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
[Fact ¬⊢ᵍ[Grz] BS]
:
theorem
LogicGrz.ProvableGentzen.Kripke.truthlemma
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
[Fact ¬⊢ᵍ[Grz] BS]
{x : (countermodelOf BS).World}
{A : Formula α}
:
theorem
LogicGrz.ProvableGentzen.Kripke.truthlemma_ant
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
[Fact ¬⊢ᵍ[Grz] BS]
{x : (countermodelOf BS).World}
{A : Formula α}
:
A ∈ x.ant → x ⊩[countermodelOf BS] A
theorem
LogicGrz.ProvableGentzen.Kripke.truthlemma_suc
{α : Type v}
[DecidableEq α]
{BS : Sequent α}
[Fact ¬⊢ᵍ[Grz] BS]
{x : (countermodelOf BS).World}
{A : Formula α}
:
theorem
LogicGrz.ProvableGentzen.Kripke.completeness
{α : Type v}
[DecidableEq α]
{S : Sequent α}
(h : ∀ {κ : Type v} [inst : Nonempty κ] (M : Model κ α) [M.IsFiniteGrz], M ⊧ S)
:
⊢ᵍ[Grz] S
theorem
LogicGrz.ProvableGentzen.Kripke.finite_soundness
{α : Type v}
[DecidableEq α]
{S : Sequent α}
(h : ⊢ᵍ[Grz] S)
{κ : Type u_1}
[Nonempty κ]
(M : Model κ α)
[M.IsFiniteGrz]
:
@[simp]
theorem
LogicGrz.GentzenWithCutProvable.cut_elimination
{α : Type v}
[DecidableEq α]
{S : Sequent α}
:
Alias of LogicGrz.ProvableGentzen.of_with_cut.