Documentation

LeanPool.InfinitaryLogic.Methods.Interpolation.QuantifierRoundTrip

The quantifier round-trip and the arbitrary-syntax C7 consumers (issue #8 tranche 1.5) #

The Henkin truth lemma will meet an arbitrary existential ψ.ex (or negated universal (ψ.all).not) and construct its constant instance, not a sentence literally of the form genEx c φ. This file bridges the gap:

Realizing the constant instance ψ(c) is realizing ψ at the constant's interpretation.

Ambient semantic equivalence and premise congruence #

The round-trip as a semantic equivalence over arbitrary ambient structures.

theorem FirstOrder.Language.entails_insert_congr {L : Language} {Γ : Set (L.withConstants ).Sentenceω} {σ₁ σ₂ τ : (L.withConstants ).Sentenceω} (hequiv : ∀ (M : Type) [inst : (L.withConstants ).Structure M] [Nonempty M], σ₁.Realize M σ₂.Realize M) :
(insert σ₁ Γ).Entails τ (insert σ₂ Γ).Entails τ

Entailment is invariant under replacing an inserted premise by a semantically equivalent sentence.

The arbitrary-syntax C7 consumers #

theorem FirstOrder.Language.insepAt_not_instConst_of_insepAt_not_all {L : Language} {F : Set ((n : ) × L.Functions n)} {R : Set ((n : ) × L.Relations n)} {A : Finset } {Γ Δ : Set (L.withConstants ).Sentenceω} (c : ) (ψ : (L.withConstants ).BoundedFormulaω Empty 1) (hcψ : csentenceJConsts ψ.not) (hcΓ : γΓ, csentenceJConsts γ) (hcΔ : δΔ, csentenceJConsts δ) (h : InsepAt F R A (insert ψ.all.not Γ) Δ) :
InsepAt F R (insert c A) (insert (instConst c ψ.not) Γ) Δ

C7 consumer (negated universal): ¬∀x ψ is ∃x ¬ψ; the witness is ¬ψ(c).