Documentation

Foundation.FirstOrder.Arithmetic.Prenex

Prenex normal form for the arithmetical hierarchy #

For 𝗕𝚺 s ⪯ T, every ℬ[<, ℒₒᵣ].Hierarchy Γ s formula φ is T-provably equivalent to φ₀.toPrenex Γ s for some φ₀ : ℬ[<, ℒₒᵣ].Semisentence (n + s).

References #

@[irreducible]
def FFL.FirstOrder.Bounding.Prenex.ball {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
ArithmeticSemiterm ξ n → ℬ[<, ℒₒᵣ].Prenex Γ s ξ (n + 1) → ℬ[<, ℒₒᵣ].Prenex Γ s ξ n
Equations
Instances For
    @[irreducible]
    def FFL.FirstOrder.Bounding.Prenex.bexs {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
    ArithmeticSemiterm ξ n → ℬ[<, ℒₒᵣ].Prenex Γ s ξ (n + 1) → ℬ[<, ℒₒᵣ].Prenex Γ s ξ n
    Equations
    Instances For
      @[simp]
      theorem FFL.FirstOrder.Bounding.Prenex.ball_zero {Γ : Polarity} {ξ : Type u_1} {n : ℕ} {u : ArithmeticSemiterm ξ n} {φ : ℬ[<, ℒₒᵣ].Prenex Γ 0 ξ (n + 1)} :
      ball u φ = { matrix := { val := “(∀¹[!!(Semiterm.bvar 0) < !!(Rew.bShift u)] !φ.matrix.val)”, bounded := ⋯ } }
      theorem FFL.FirstOrder.Bounding.Prenex.ball_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {u : ArithmeticSemiterm ξ n} {φ : ℬ[<, ℒₒᵣ].Prenex 𝚷 (s + 1) ξ (n + 1)} :
      ball u φ = ∼bexs u (∼φ)
      @[simp]
      theorem FFL.FirstOrder.Bounding.Prenex.bexs_zero {Γ : Polarity} {ξ : Type u_1} {n : ℕ} {u : ArithmeticSemiterm ξ n} {φ : ℬ[<, ℒₒᵣ].Prenex Γ 0 ξ (n + 1)} :
      bexs u φ = { matrix := { val := “(∃¹[!!(Semiterm.bvar 0) < !!(Rew.bShift u)] !φ.matrix.val)”, bounded := ⋯ } }
      theorem FFL.FirstOrder.Bounding.Prenex.bexs_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {u : ArithmeticSemiterm ξ n} {φ : ℬ[<, ℒₒᵣ].Prenex 𝚷 (s + 1) ξ (n + 1)} :
      bexs u φ = ∼ball u (∼φ)
      @[irreducible]
      def FFL.FirstOrder.Bounding.Prenex.and {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
      ℬ[<, ℒₒᵣ].Prenex Γ s ξ n → ℬ[<, ℒₒᵣ].Prenex Γ s ξ n → ℬ[<, ℒₒᵣ].Prenex Γ s ξ n
      Equations
      Instances For
        @[irreducible]
        def FFL.FirstOrder.Bounding.Prenex.or {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
        ℬ[<, ℒₒᵣ].Prenex Γ s ξ n → ℬ[<, ℒₒᵣ].Prenex Γ s ξ n → ℬ[<, ℒₒᵣ].Prenex Γ s ξ n
        Equations
        Instances For
          @[simp]
          theorem FFL.FirstOrder.Bounding.Prenex.and_zero {Γ : Polarity} {ξ : Type u_1} {n : ℕ} {φ ψ : ℬ[<, ℒₒᵣ].Prenex Γ 0 ξ n} :
          φ ⋏ ψ = { matrix := { val := φ.matrix.val ⋏ ψ.matrix.val, bounded := ⋯ } }
          theorem FFL.FirstOrder.Bounding.Prenex.and_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ ψ : ℬ[<, ℒₒᵣ].Prenex 𝚷 (s + 1) ξ n} :
          φ ⋏ ψ = ∼(∼φ ⋎ ∼ψ)
          @[simp]
          theorem FFL.FirstOrder.Bounding.Prenex.or_zero {Γ : Polarity} {ξ : Type u_1} {n : ℕ} {φ ψ : ℬ[<, ℒₒᵣ].Prenex Γ 0 ξ n} :
          φ ⋎ ψ = { matrix := { val := φ.matrix.val ⋎ ψ.matrix.val, bounded := ⋯ } }
          theorem FFL.FirstOrder.Bounding.Prenex.or_succ_sigma {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ ψ : ℬ[<, ℒₒᵣ].Prenex 𝚺 (s + 1) ξ n} :
          φ ⋎ ψ = (φ.sigmaInv ⋎ ψ.sigmaInv).sigma
          theorem FFL.FirstOrder.Bounding.Prenex.or_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ ψ : ℬ[<, ℒₒᵣ].Prenex 𝚷 (s + 1) ξ n} :
          φ ⋎ ψ = ∼(∼φ ⋏ ∼ψ)
          def FFL.FirstOrder.Bounding.Prenex.exs {s : ℕ} {ξ : Type u_1} {n : ℕ} (φ : ℬ[<, ℒₒᵣ].Prenex 𝚺 (s + 1) ξ (n + 1)) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def FFL.FirstOrder.Bounding.Prenex.all {s : ℕ} {ξ : Type u_1} {n : ℕ} (φ : ℬ[<, ℒₒᵣ].Prenex 𝚷 (s + 1) ξ (n + 1)) :
            Equations
            Instances For
              theorem FFL.FirstOrder.Bounding.Prenex.models_exists_prenex {ξ : Type u_1} {Γ Γ' : Polarity} {s n : ℕ} {φ : ArithmeticSemiformula ξ n} (h : ℬ[<, ℒₒᵣ].Hierarchy Γ s φ) :
              ∃ (φ' : ℬ[<, ℒₒᵣ].Prenex Γ s ξ n), ∀ (V : Type u_3) [inst : ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗕 Γ' s] (e : Fin n → V) (f : ξ → V), (Semiformula.Eval e f) φ ↔ (Semiformula.Eval e f) ↑φ'
              noncomputable def FFL.FirstOrder.Bounding.Hierarchy.prenex {Γ : Polarity} {s n : ℕ} {ξ : Type u_1} {φ : ArithmeticSemiformula ξ n} (h : ℬ[<, ℒₒᵣ].Hierarchy Γ s φ) :
              Equations
              Instances For
                theorem FFL.FirstOrder.Arithmetic.PrenexDefinable.of_definable {V : Type u_1} [ORingStructure V] {Γ Γ' : Polarity} {s k : ℕ} [V↓[ℒₒᵣ] ⊧* 𝗕 Γ' s] {P : (Fin k → V) → Prop} (hP : { Γ := Γ.coe, rank := s }.Definable P) :