Documentation

LeanPool.NFWeakPartition.NFStandard.Basic

NF weak partition development: NFStandard.Basic.

The usual graph-theoretic stratification condition for the language of NF. An equality edge preserves type and a membership edge raises type by one. At a binder, the newly bound de Bruijn variable (index zero) may be assigned an arbitrary integer type.

A formula is stratified when it admits an integer type assignment.

Equations
Instances For
    @[reducible, inline]

    A first-class stratification certificate, useful to schema enumerators.

    Equations
    Instances For
      @[simp]
      theorem NFChoice.Foundation.Formula.stratifiedBy_equal {n : ℕ} (ty : Fin n → ℤ) (x y : Fin n) :
      StratifiedBy ty (equal x y) ↔ ty x = ty y
      @[simp]
      theorem NFChoice.Foundation.Formula.stratifiedBy_mem {n : ℕ} (ty : Fin n → ℤ) (x y : Fin n) :
      StratifiedBy ty (mem x y) ↔ ty y = ty x + 1
      @[simp]
      @[simp]
      theorem NFChoice.Foundation.Formula.stratifiedBy_all {n : ℕ} (ty : Fin n → ℤ) (p : Formula (n + 1)) :
      StratifiedBy ty p.all ↔ ∃ (k : ℤ), StratifiedBy (fun (i : Fin (n + 1)) => Fin.cases k ty i) p
      @[simp]
      @[simp]
      @[simp]
      @[simp]
      theorem NFChoice.Foundation.Formula.Stratified.imp {n : ℕ} {p q : Formula n} {ty : Fin n → ℤ} (hp : StratifiedBy ty p) (hq : StratifiedBy ty q) :
      theorem NFChoice.Foundation.Formula.Stratified.conj {n : ℕ} {p q : Formula n} {ty : Fin n → ℤ} (hp : StratifiedBy ty p) (hq : StratifiedBy ty q) :
      theorem NFChoice.Foundation.Formula.Stratified.disj {n : ℕ} {p q : Formula n} {ty : Fin n → ℤ} (hp : StratifiedBy ty p) (hq : StratifiedBy ty q) :
      theorem NFChoice.Foundation.Formula.Stratified.biimp {n : ℕ} {p q : Formula n} {ty : Fin n → ℤ} (hp : StratifiedBy ty p) (hq : StratifiedBy ty q) :

      Universally close all free de Bruijn variables of an intrinsic formula.

      Equations
      Instances For

        The open formula saying that some set has exactly the extension defined by p.

        Equations
        Instances For

          The ordinary NF stratified-comprehension schema.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[reducible, inline]

            Standard NF: extensionality plus every stratified comprehension instance.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Renaming intrinsic free variables agrees with renaming their valuation.

              @[simp]

              The inserted ambient set variable is semantically ignored by a lifted class predicate.

              @[simp]

              Direct semantics of the set-representative formula used by comprehension.

              A model of NF realizes each certified closed comprehension instance.

              Semantic elimination rule for standard stratified comprehension.