MatchingLogic.EntryIII.Completion #
Local decidable equality used by the model-completion construction.
Equations
Instances For
Some element variable is absent from every world generated by root.
Equations
- MatchingLogic.Missing root = ∃ (x : ℕ), ∀ (world : MatchingLogic.GeneratedCarrier root), MatchingLogic.Pattern.var x ∉ ↑↑world
Instances For
The source's conditional completion: all generated worlds are present,
while none is a legal point exactly when Missing root holds.
Equations
- MatchingLogic.CompletedCarrier root = { o : Option (MatchingLogic.GeneratedCarrier root) // o = none → MatchingLogic.Missing root }
Instances For
A completed point is the added star precisely when its option is none.
Instances For
Embed a generated world into the completed carrier.
Equations
- MatchingLogic.completedEmbed root world = ⟨some world, ⋯⟩
Instances For
Construct the star point from evidence that a variable is missing.
Equations
- MatchingLogic.completedStar hmissing = ⟨none, ⋯⟩
Instances For
The generated-world embedding is injective.
The conditional star is distinct from every embedded generated world.
The representation has a star point exactly in the source's missing-variable case.
Every completed point is either an embedded generated world or the unique conditional star.
Completed interpretation #
Source Definition 79's interpretation. The existential tuple makes the three cases exact: a star input admits no tuple; real outputs are the generated interpretation; and star is an additional output exactly when some real input is the generated root.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The completed one-sorted model.
Equations
- MatchingLogic.completedModel root = { carrier := MatchingLogic.CompletedCarrier root, nonempty := ⋯, interp := MatchingLogic.completedInterp root }
Instances For
Any star input forces the completed symbol interpretation to be empty.
On all-real inputs, real output membership is exactly membership in the generated interpretation.
On all-real inputs, star is output exactly when one component is the generated root.
Completed valuation #
Select the unique generated world containing var x, when one exists;
otherwise select the conditional star justified by x itself.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The completed valuation is star exactly for variables missing from all generated worlds.
The selection is well-defined: it names an embedded world exactly when that world contains the variable, with uniqueness supplied by Lemma 78.
Every point of the completed carrier is named by some element variable.