Relationalization of formulas (Craig Layer 3, Unit 4) #
The formula translation into the relationalized language: relationalizeFormula sends an
L_{ω₁ω} formula over L to one over graphLanguage L, replacing every atom by its
term-graph flattening and transporting the connectives and quantifiers structurally.
Atomic translation #
equalGraph t u— one witness, not two:∃ y, termGraph(t, y) ∧ termGraph(u, y). Smaller than two witnesses plus an equality atom, and its relation-symbol set is exactly the graph symbols occurring intoru.relGraph R ts—∃ y⃗, (⋀ᵢ termGraph(tᵢ, yᵢ)) ∧ R^base(y⃗).
Both consume existsBlock directly, with the context-polymorphic termGraphAux fed by the
lifted variable embedding ctxLiftEmb (no term relabeling of built formulas).
Main Results #
realize_equalGraph/realize_relGraph— the atomic realization lemmas, kept separate so a failure downstream distinguishes term-flattening trouble from connective transport.realize_relationalizeFormula— over the graph expansion, the translation is realization-equivalent to the original formula.relationsIn_relationalizeFormula— the exact occurrence identity(relationalizeFormula φ).relationsIn = relSym L φ.functionsIn φ.relationsIn; it composes immediately withrelSym_inter, making the final sharp occurrence bound essentially algebraic.functionsIn_relationalizeFormulais∅(the graph language is relational).- The nested-formula pilot
R(f(g(x), h(c))).
The lifted variable embedding and the atomic translations #
The variable embedding of the ambient context into the context extended by k fresh bound
variables — what termGraphAux reads the atom's term variables through.
Equations
Instances For
The equality atom, relationalized with one witness: ∃ y, termGraph(t,y) ∧ termGraph(u,y).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The relation atom, relationalized: ∃ y⃗, (⋀ᵢ termGraph(tᵢ, yᵢ)) ∧ R^base(y⃗).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The structural translation #
Relationalize a formula: atoms via their term-graph flattenings (equalGraph/relGraph),
connectives and quantifiers structurally.
Equations
- FirstOrder.Language.relationalizeFormula FirstOrder.Language.BoundedFormulaω.falsum = FirstOrder.Language.BoundedFormulaω.falsum
- FirstOrder.Language.relationalizeFormula (FirstOrder.Language.BoundedFormulaω.equal t u) = FirstOrder.Language.equalGraph t u
- FirstOrder.Language.relationalizeFormula (FirstOrder.Language.BoundedFormulaω.rel R ts) = FirstOrder.Language.relGraph R ts
- FirstOrder.Language.relationalizeFormula (φ.imp ψ) = (FirstOrder.Language.relationalizeFormula φ).imp (FirstOrder.Language.relationalizeFormula ψ)
- FirstOrder.Language.relationalizeFormula φ.all = (FirstOrder.Language.relationalizeFormula φ).all
- FirstOrder.Language.relationalizeFormula (FirstOrder.Language.BoundedFormulaω.iSup φs) = FirstOrder.Language.BoundedFormulaω.iSup fun (i : ℕ) => FirstOrder.Language.relationalizeFormula (φs i)
- FirstOrder.Language.relationalizeFormula (FirstOrder.Language.BoundedFormulaω.iInf φs) = FirstOrder.Language.BoundedFormulaω.iInf fun (i : ℕ) => FirstOrder.Language.relationalizeFormula (φs i)
Instances For
Stable rewrite points for Units 5–7 (all definitional).
Semantics over the graph expansion #
Atomic realization, relations: the translation of R(t₀, …, t_{k-1}) realizes to the
base relation on the terms' values.
The realize bridge: over the graph expansion, the relationalized formula is realization-equivalent to the original.
The nested-formula pilot: R(f(g(x), h(c))) #
The exact occurrence identities #
The relation atom's relation symbols: exactly the relationalization of its own symbols —
the base relation R plus the graph relations of the arguments' function symbols.
The exact occurrence identity: the relationalized formula's relation symbols are exactly
the relationalization relSym of the original formula's symbols. Composes immediately with
relSym_inter for the sharp shared-vocabulary bound.
No function symbol occurs in a relationalized formula (the graph language is relational).