Equivariance of the local EM quotient (the issue #11 spike) #
An order automorphism e : J ≃o J acts on Λ[[J]]-terms by renaming skeleton constants
(locJRename, via Mathlib's lhomWithConstantsMap). The spike question for the
countably-many-types project: does the DEFINING semantic equivalence LocalEMEq of the local
EM quotient commute with this action? The three test lemmas, in the order of risk:
locJSupport_locJRename— the finite skeleton support maps byFinset.image e;deepRank_image_orderIso— the support's internal rank enumeration is invariant: an order automorphism preserves each element's rank in a finite support;locDeepInterp_locJRename— the deep interpretation of the renamed term over the renamed support EQUALS (not merely relates to) that of the original — pointwise in the depthd.
Consequently LocalEMEq_locJRename_iff: the setoid is preserved AND reflected by renaming —
the two ∀ᶠ propositions are pointwise equal, so the critical gate of the spike holds with no
reconstruction of semantic truth outside the quotient's defining fragment. The verdict is that
the existing quotient (LocalEMContext.Carrier) is the correct vehicle for the induced
automorphisms.
The packaging (issue #11 step 3) follows in the same file: functoriality of the renaming action
(locJRename_refl/_trans/inverses), the descended carrier equivalence
(LocalEMContext.carrierEquiv, computing on classes and sending [c_j] to [c_{e j}]), the
targeted expanded-language equivariance (carrierEquiv_funMap under the renamed symbol,
carrierEquiv_relMap for base relations), the acceptance theorem
LocalEMContext.baseAutomorphism : Carrier ≃[Λ] Carrier over the base reduct
structureBase, and the semantic endpoint realize_carrierEquiv: every base-language
infinitary formula is invariant under the induced automorphism.
The skeleton-constant renaming action of an order automorphism on closed Λ[[J]]-terms.
Equations
- Λ.locJRename J e t = (Λ.lhomWithConstantsMap ⇑e).onTerm t
Instances For
Renaming carries each function symbol's skeleton constant by Finset.image e.
Test lemma 1: the skeleton support of the renamed term is the image of the support.
Test lemma 2: an order automorphism preserves the internal rank enumeration of a finite
support: the rank of e j in S.image e is the rank of j in S.
De-substitution intertwines skeleton renaming with variable relabeling: the
constantsToVars of the renamed term is the relabel of the original's along Sum.map e id.
Test lemma 3: the deep interpretation of the renamed term over the image support equals
that of the original term over the original support — pointwise in the depth d, not merely
eventually.
The critical gate: the defining semantic equivalence of the local EM quotient is preserved AND reflected by skeleton renaming — the two eventual equalities are pointwise equivalent propositions. The existing quotient is equivariant.
The setoid form of the gate, for a full local EM context: renamed representatives are related exactly when the originals are.
Functoriality of the renaming action #
The renaming action as an equivalence of closed terms.
Equations
- FirstOrder.Language.locJRenameEquiv e = { toFun := Λ.locJRename J e, invFun := Λ.locJRename J e.symm, left_inv := ⋯, right_inv := ⋯ }
Instances For
The descended automorphism of the local EM quotient #
The descended carrier equivalence: an order automorphism of the skeleton acts on the local EM quotient by renaming representatives — well-defined by the equivariance gate.
Equations
Instances For
The skeleton-class equation: the descended automorphism sends the class of the skeleton
constant c_j to the class of c_{e j}.
Equivariance of function interpretation under the language renaming induced by e: the
targeted expanded-language fact (the base-reduct automorphism consumes its Sum.inl case).
Equivariance of base-relation interpretation: the descended map preserves and reflects every base relation — via the pointwise deep-interpretation equality over the image support.
The acceptance theorem: the descended equivalence is a genuine automorphism of the
base-language (Λ-reduct) structure on the local EM carrier — every order automorphism of the
skeleton induces a structure automorphism sending [c_j] to [c_{e j}]
(carrierEquiv_const).
Equations
- ctx.baseAutomorphism e = { toEquiv := ctx.carrierEquiv e, map_fun' := ⋯, map_rel' := ⋯ }
Instances For
The semantic endpoint of the packaging: every base-language infinitary formula is invariant under the induced automorphism.