Documentation

InfinitaryLogic.Methods.Interpolation.LyndonInseparability

Polarity-refined inseparability and the mixed closures (issue #14, Unit 2 — the stop/go gate) #

The single definitional change of the Lyndon refinement (audit v2 §D4): the separator class of InsepAt is refined from "base symbols in (F, R)" to "base functions in F, base positive relations in P, base negative relations in N".

LyndonInsepAt F P N A Γ Δ says the pair (Γ, Δ) admits no such separator at allowed constant support A. Everything else about the engine is untouched.

This file contains only the stop/go gate of the audit: the definition, the three genuinely mixed closures, the equality corollary they are consumed at, and the root-class acceptance equation. SentBndPol, the one-sided closure suite, and the paired family are Unit 3+.

The refined separator class #

def FirstOrder.Language.LyndonInsepAt {L : Language} (F : Set ((n : ) × L.Functions n)) (P N : Set ((n : ) × L.Relations n)) (A : Finset ) (Γ Δ : Set (L.withConstants ).Sentenceω) :

Polarity-refined support-parameterized inseparability: no separator whose base function symbols lie in F, whose base positively occurring relations lie in P and negatively occurring ones in N, whose constant support lies in A, entailed by Γ and refuted on Δ.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Gate 1: dualization exchanges the classes #

    theorem FirstOrder.Language.lyndonInsepAt_swap {L : Language} {F : Set ((n : ) × L.Functions n)} {P N : Set ((n : ) × L.Relations n)} {A : Finset } {Γ Δ : Set (L.withConstants ).Sentenceω} (h : LyndonInsepAt F P N A Γ Δ) :
    LyndonInsepAt F N P A Δ Γ

    Dualization is class-exchanging. Inseparability at (F, P, N) for (Γ, Δ) is inseparability at (F, N, P) for (Δ, Γ): the separator map σ ↦ σ.not swaps the polarity classes.

    Gate 2: the implication dichotomy (the polarity-clean mixed closure) #

    theorem FirstOrder.Language.lyndonInsepAt_imp_dichotomy {L : Language} {F : Set ((n : ) × L.Functions n)} {P N : Set ((n : ) × L.Relations n)} {A : Finset } {Γ Δ : Set (L.withConstants ).Sentenceω} {φ ψ : (L.withConstants ).Sentenceω} (hmem : BoundedFormulaω.imp φ ψ Γ) (h : LyndonInsepAt F P N A Γ Δ) :
    LyndonInsepAt F P N A (insert (BoundedFormulaω.not φ) Γ) Δ LyndonInsepAt F P N A (insert ψ Γ) Δ

    C1 (implication), polarity-refined. An implication in Γ yields one of the two possible refinements. The combined separator (σ₁.not).imp σ₂ stays in the same class: the antecedent is negated and then flipped again by the implication, so the two flips cancel.

    Gate 3: shared-hypothesis transfer, with the swapped-class signature #

    theorem FirstOrder.Language.lyndonInsepAt_insert_of_shared_entails {L : Language} {F : Set ((n : ) × L.Functions n)} {P N : Set ((n : ) × L.Relations n)} {A : Finset } {Γ Δ : Set (L.withConstants ).Sentenceω} {σ φ : (L.withConstants ).Sentenceω} (hσF : BoundedFormulaω.baseFunctionsIn σF) (hσP : BoundedFormulaω.basePositiveRelations σN) (hσN : BoundedFormulaω.baseNegativeRelations σP) (hσA : sentenceJConsts σA) (hΔσ : Theoryω.Entails Δ σ) (hcons : (insert σ Γ).Entails φ) (h : LyndonInsepAt F P N A Γ Δ) :
    LyndonInsepAt F P N A (insert φ Γ) Δ

    Shared-hypothesis transfer, polarity-refined. If σ is shared in the swapped class (its positive relations bounded by N and its negative ones by P), is entailed by Δ, and φ is a consequence of Γ ∪ {σ}, then φ may be added to the Γ coordinate.

    The swap is forced by the separator this gate builds, σ.imp ρ: since Pos (σ → ρ) = Neg σ ∪ Pos ρ and Neg (σ → ρ) = Pos σ ∪ Neg ρ, the shared hypothesis enters with reversed polarity. Keeping that in the signature is deliberate: a future transfer of a non-equality shared sentence must supply these bounds rather than silently break the theorem.

    theorem FirstOrder.Language.lyndonInsepAt_insert_of_shared_constEq_entails {L : Language} {F : Set ((n : ) × L.Functions n)} {P N : Set ((n : ) × L.Relations n)} {A : Finset } {Γ Δ : Set (L.withConstants ).Sentenceω} {φ : (L.withConstants ).Sentenceω} (a b : ) (hσA : sentenceJConsts (constEq a b)A) (hΔσ : Theoryω.Entails Δ (constEq a b)) (hcons : (insert (constEq a b) Γ).Entails φ) (h : LyndonInsepAt F P N A Γ Δ) :
    LyndonInsepAt F P N A (insert φ Γ) Δ

    The equality specialization — the form the kernel's four cross-coordinate transfers actually consume. A constant equality has empty base polarity sets in both signs, so the swapped-class hypotheses of the general gate are discharged outright: this is exactly where "equality is logical" does its work, in the open.

    The root-class acceptance equation (audit §D4a) #

    The root orientation, as an equation. The engine runs with the Γ-root φ bounded by (Pos φ, Neg φ) and the Δ-root ψ.not bounded by (Pos (ψ.not), Neg (ψ.not)), maintaining the separator class (P₁ ∩ N₂, N₁ ∩ P₂). That class is the endpoint's pair of intersections — which is the machine-checked form of the side flip in López–Escobar 1965, Theorem 4.0(.4).