MatchingLogic.EntryIII.CanonicalExistence #
The exact one-sorted universal statement of the source's canonical Existence Lemma. It lives with the stage-system interface so the construction precedes, rather than imports, the Truth Lemma that consumes it.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The simultaneous finite-stage invariant #
The following is the exact one-sorted form of the invariant in the proof of
TR Theorem 73. A stage is a finite list at every argument position. The
important app_mem field is joint: extending each argument theory separately
would not establish the universal clause of canonicalInterp.
The finite, simultaneous construction used in the n-ary Existence Lemma.
enum is shared by every argument position because this development is
one-sorted. decide is condition (1), witness is condition (2), and
app_mem is condition (4) in the source proof.
The finite theory accumulated at each stage and argument position.
- witness (k : ℕ) (i : Fin (S.arity sigma)) (x : ℕ) (p : Pattern S ℕ) : enum k = Pattern.ex x p → ∃ y ∉ p.allVars, (Pattern.ex x p).imp (Pattern.captureAvoidingSubst x y p) ∈ self.stages (k + 1) i
Instances For
Simultaneous fresh tuples for Lemma 80 #
A finite bound containing every raw variable (free or bound) of the existential body and of all finite-stage component conjunctions.
Equations
- p.tupleAllVars Phi = p.allVars ∪ Finset.univ.biUnion fun (i : Fin n) => (Phi i).allVars
Instances For
The source's tuple of pairwise distinct fresh variables, constructed from
a single finite support bound. The stronger allVars freshness makes the
later raw-syntax alpha bridge possible.
Equations
- p.freshTuple Phi i = MatchingLogic.Pattern.tupleFreshBase✝ p Phi + 1 + ↑i
Instances For
The component theory at the limit of the finite construction.
Instances For
Condition (4) makes every finite stage locally consistent. This is the
source's framing-to-bottom argument, factored through the singleton result in
CanonicalCore.
The joint invariant implies the universal membership condition of the canonical interpretation.
Once the paper's simultaneous finite-stage invariant has been built, its limit gives exactly the component worlds required by Theorem 73.
The arity-zero case of the canonical Existence Lemma. It is stated
separately because the tuple of component worlds is genuinely empty, and the
universal clause in canonicalInterp reduces exactly to membership of the
constant application in the output MCS.