Carrier transport for infinitary formulas #
Infinitary formulas fix one branching carrier per formula (Infinitary/Syntax.lean); this
file provides the transport layer between carriers, along IndexCodings:
BoundedFormulaInf.iInfAlong,iSupAlong: anι-indexed conjunction/disjunction at a larger carrierκ, padding undecodable branches with⊤/⊥— semantically neutral (realize_iInfAlong,realize_iSupAlong).BoundedFormulaInf.reindex: whole-formula transport, functorial (reindex_id,reindex_trans— proved from the generic pad laws with no decoder analysis) and semantics-preserving (realize_reindex). Equivalence codings give genuine syntactic transport with an exact round trip (reindexEquiv); reindexing fixes the image of the finitary embedding (reindex_toInf), replacing the embedding triangle of a two-inductive design.BoundedFormulaInf.toOmega: recoding an encodable-carrier formula intoL_{ω₁ω}.
Karp's theorem is the motivating consumer: its M-indexed and N-indexed separating
conjunctions are iInfAlong at the two sum codings into the single carrier M ⊕ N.
An ι-indexed infinitary conjunction at carrier κ, along a coding: decoded indices
select their conjunct, undecodable ones are padded with ⊤.
Equations
Instances For
An ι-indexed infinitary disjunction at carrier κ, along a coding: decoded indices
select their disjunct, undecodable ones are padded with ⊥.
Equations
Instances For
Transport a formula along a coding of its carrier. Together with reindex_id and
reindex_trans this makes carrier transport functorial; realize_reindex (in
Infinitary/Semantics.lean) shows it is semantics-preserving.
Equations
- One or more equations did not get rendered due to their size.
- FirstOrder.Language.BoundedFormulaInf.reindex c FirstOrder.Language.BoundedFormulaInf.falsum = FirstOrder.Language.BoundedFormulaInf.falsum
- FirstOrder.Language.BoundedFormulaInf.reindex c (FirstOrder.Language.BoundedFormulaInf.equal t₁ t₂) = FirstOrder.Language.BoundedFormulaInf.equal t₁ t₂
- FirstOrder.Language.BoundedFormulaInf.reindex c (FirstOrder.Language.BoundedFormulaInf.rel R ts) = FirstOrder.Language.BoundedFormulaInf.rel R ts
- FirstOrder.Language.BoundedFormulaInf.reindex c (φ.imp ψ) = (FirstOrder.Language.BoundedFormulaInf.reindex c φ).imp (FirstOrder.Language.BoundedFormulaInf.reindex c ψ)
- FirstOrder.Language.BoundedFormulaInf.reindex c φ.all = (FirstOrder.Language.BoundedFormulaInf.reindex c φ).all
Instances For
Reindexing along the identity coding is syntactically the identity.
The universal bound-variable closure commutes with carrier transport, syntactically.
The existential bound-variable closure commutes with carrier transport, syntactically.
Reindexing along a composite coding is the composite of the reindexings — syntactically,
not merely up to semantic equivalence. This is the coherence law that lets carrier transports
be chained; it follows from the generic pad laws IndexCoding.pad_trans and
IndexCoding.comp_pad, with no decoder analysis.
Equivalence codings give genuine syntactic transport: reindexing along an equivalence
and back is the identity, syntactically. Instantiated at Equiv.ulift, this is the
universe-lift operation on formulas together with its exact inverse — an arbitrary coding
preserves semantics but pads; an equivalence coding round-trips.
Carrier equivalences are actual syntax equivalences. In particular
reindexEquiv Equiv.ulift.symm is the universe-lift operation on formulas, packaged with its
exact syntactic inverse.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Recode a formula over an encodable carrier into L_{ω₁ω}. No choice is involved; for a
merely Countable carrier, obtain an Encodable instance via Encodable.ofCountable first.
This is the uniform, whole-formula conversion; the formula-sensitive conversion from an
IsCountable proof is ofCountable in Infinitary/Countability.lean.
Equations
Instances For
The ⊤-padding of a coded conjunction is semantically neutral, generically in the
coding.
The ⊥-padding of a coded disjunction is semantically neutral, generically in the
coding.
Carrier transport preserves realization. Being an iff, this transports semantic equivalence in both directions as well.
Recoding an encodable-carrier formula into L_{ω₁ω} preserves realization.
Reindexing fixes the image of the finitary embedding: the finitary embedding at carrier
κ factors through ANY coding into κ. This replaces the embedding-triangle lemma of a
two-inductive design, and is syntactic.