NF weak partition development: SemanticCore.PartialLowering.
Shift every mapped variable under a new de Bruijn binder.
Equations
Instances For
Partial class-predicate lowering; failure means an unmapped free name.
Equations
- One or more equations did not get rendered due to their size.
- NFChoice.SemanticCore.PartialLowering.lowerClassPredOption rho candidate (NFChoice.SemanticCore.Class.cv x_1) = do let i ← rho x_1 pure (NFChoice.Foundation.Formula.mem candidate i)
Instances For
Partial nominal lowering, usable at depth zero with the empty environment.
Equations
- One or more equations did not get rendered due to their size.
- NFChoice.SemanticCore.PartialLowering.lowerWffOption rho NFChoice.SemanticCore.Wff.falsum = some NFChoice.Foundation.Formula.falsum
- NFChoice.SemanticCore.PartialLowering.lowerWffOption rho (NFChoice.SemanticCore.Wff.objEq x_1 y) = do let x' ← rho x_1 let y' ← rho y pure (NFChoice.Foundation.Formula.equal x' y')
- NFChoice.SemanticCore.PartialLowering.lowerWffOption rho (NFChoice.SemanticCore.Wff.objMem x_1 y) = do let x' ← rho x_1 let y' ← rho y pure (NFChoice.Foundation.Formula.mem x' y')
Instances For
The partial environment supplies the values of all names in support.
Equations
- NFChoice.SemanticCore.PartialLowering.MappedAgreement rho xs v support = ∀ x ∈ support, ∃ (i : Fin n), rho x = some i ∧ NFChoice.SemanticCore.Lowering.lookup xs i = v x
Instances For
An empty partial environment, available even at de Bruijn depth zero.
Equations
Instances For
Lower a closed nominal wff directly to a sentence.
Equations
Instances For
Universally close the listed nominal names, in list order.
Equations
Instances For
Assign every listed name its value in a target valuation.
Equations
- NFChoice.SemanticCore.PartialLowering.assignNames [] x✝¹ x✝ = x✝¹
- NFChoice.SemanticCore.PartialLowering.assignNames (x_3 :: xs) x✝¹ x✝ = NFChoice.SemanticCore.PartialLowering.assignNames xs (NFChoice.SemanticCore.update x✝¹ x_3 (x✝ x_3)) x✝
Instances For
Specialize a nominal universal closure at a target valuation.
Truth of a universal nominal closure yields global validity of its open body, provided the list covers all free names.
A valid universal nominal closure yields validity of its open body.
Soundness of successful partial class-predicate lowering.
Soundness of every successful partial nominal-wff lowering.
A successful closed lowering has exactly the nominal closed semantics.
Closed nominal lowering reaches the exact Flypitch sentence semantics.
Any realized closed lowering is globally valid in the nominal evaluator.
Generic NF-leaf bridge. The compiler supplies only a reduction-checkable lowering equation for the source schema's universal closure; the theorem turns realization of that exact literal sentence into validity of the open nominal schema.