NF weak partition development: NominalSwapLemmas.
The concrete adjacent de-Bruijn permutation used by Metamath ax-7.
@[simp]
theorem
NFChoice.DirectNominalPrf.Nominal.swapIndexAt_numeric
(depth index : ℕ)
:
swapIndexAt depth index = substIndexAt (substIndexAt (liftIndexAt (liftIndexAt index 1 (depth + 2)) 1 (depth + 2)) 0 (depth + 1)) 1 depth
def
NFChoice.DirectNominalPrf.Nominal.swapTermAt
(depth : ℕ)
{l : ℕ}
(t : Fol.preterm Foundation.LNF l)
:
Flypitch's lift/substitute presentation of the same term permutation.
Equations
- NFChoice.DirectNominalPrf.Nominal.swapTermAt depth t = NFChoice.Fol.substTerm (NFChoice.Fol.substTerm ((t ↑' 1 # depth + 2) ↑' 1 # depth + 2) (&0) (depth + 1)) (&1) depth
Instances For
Flypitch's lift/substitute presentation of the same formula permutation.
Equations
Instances For
theorem
NFChoice.DirectNominalPrf.Nominal.renameTerm_swapIndexAt
(depth : ℕ)
{l : ℕ}
(t : Fol.preterm Foundation.LNF l)
:
theorem
NFChoice.DirectNominalPrf.Nominal.renameFormula_swapIndexAt
(depth : ℕ)
{l : ℕ}
(p : Fol.preformula l)
:
theorem
NFChoice.DirectNominalPrf.Nominal.renameRho_swap_bind_bind
(rho : SemanticCore.Var → ℕ)
(x y : SemanticCore.Var)
(hyx : y ≠ x)
:
theorem
NFChoice.DirectNominalPrf.Nominal.lowerWff_bind_swap
(rho : SemanticCore.Var → ℕ)
(x y : SemanticCore.Var)
(p : SemanticCore.Wff)
(hyx : y ≠ x)
:
def
NFChoice.DirectNominalPrf.Nominal.ax7Structural
(x y : SemanticCore.Var)
(p : SemanticCore.Wff)
:
NPrf ((SemanticCore.Wff.all x (SemanticCore.Wff.all y p)).imp (SemanticCore.Wff.all y (SemanticCore.Wff.all x p)))
Total kernel-checked nominal implementation of Metamath ax-7.