Documentation

LeanPool.PointwiseComposition.Foundation.FirstOrder.Arithmetic.Prenex

Supporting results for pointwise provable equality.

Prenex normal form for the arithmetical hierarchy #

For 𝐈Σ s ≼ T, every Hierarchy Γ s formula φ is T-provably equivalent to φ₀.toPrenex Γ s for some φ₀ : ArithmeticSemisentence (n + s) in Hierarchy Σ 0.

References #

structure PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex (Γ : Polarity) (s : ℕ) (ξ : Type u_1) (n : ℕ) :
Type u_1

Data and laws for Prenex in FFL.FirstOrder.Arithmetic.

Instances For
    def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.rew {Γ : Polarity} {s : ℕ} {ξ₁ : Type u_2} {ξ₂ : Type u_3} {n₁ n₂ : ℕ} (φ : Prenex Γ s ξ₁ n₁) (ω : Rew ℒₒᵣ ξ₁ n₁ ξ₂ n₂) :
    Prenex Γ s ξ₂ n₂

    The rew construction in FFL.FirstOrder.Arithmetic.Prenex.

    Equations
    Instances For
      def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.altUp {Γ : Polarity} {s : ℕ} {ξ : Type u_1} {n : ℕ} (φ : Prenex Γ s ξ n) :
      Prenex Γ.alt (s + 1) ξ n

      The alt Up construction in FFL.FirstOrder.Arithmetic.Prenex.

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

        The verum construction in FFL.FirstOrder.Arithmetic.Prenex.

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

          The falsum construction in FFL.FirstOrder.Arithmetic.Prenex.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.rel {Γ : Polarity} {s : ℕ} {ξ : Type u_1} {n k : ℕ} (r : ℒₒᵣ.Rel k) (v : Fin k → ArithmeticSemiterm ξ n) :
            Prenex Γ s ξ n

            The rel construction in FFL.FirstOrder.Arithmetic.Prenex.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.nrel {Γ : Polarity} {s : ℕ} {ξ : Type u_1} {n k : ℕ} (r : ℒₒᵣ.Rel k) (v : Fin k → ArithmeticSemiterm ξ n) :
              Prenex Γ s ξ n

              The nrel construction in FFL.FirstOrder.Arithmetic.Prenex.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                @[simp]
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.val_hierarchy {Γ : Polarity} {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ : Prenex Γ s ξ n} :
                Hierarchy Γ s ↑φ
                @[simp]
                @[simp]
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.val_neg {Γ : Polarity} {s : ℕ} {ξ : Type u_1} {n : ℕ} (φ : Prenex Γ s ξ n) :
                ↑(∼φ) = ∼↑φ
                @[simp]
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.val_rew {Γ : Polarity} {s : ℕ} {ξ₁ : Type u_2} {ξ₂ : Type u_3} {n₁ n₂ : ℕ} (φ : Prenex Γ s ξ₁ n₁) (ω : Rew ℒₒᵣ ξ₁ n₁ ξ₂ n₂) :
                ↑(φ.rew ω) = (Rewriting.app ω) ↑φ
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.val_sigma {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ : Prenex Π s ξ (n + 1)} :
                ↑φ.sigma = ∃¹ ↑φ
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.val_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ : Prenex Σ s ξ (n + 1)} :
                ↑φ.pi = ∀¹ ↑φ
                @[simp]
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.val_sigmaInv {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ : Prenex Σ (s + 1) ξ n} :
                ↑φ = ∃¹ ↑φ.sigmaInv
                @[simp]
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.val_piInv {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ : Prenex Π (s + 1) ξ n} :
                ↑φ = ∀¹ ↑φ.piInv
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.models_sigmaInv {s n : ℕ} {V : Type u_4} [ORingStructure V] (φ : Prenex Σ (s + 1) Empty n) (e : Fin n → V) :
                (Semiformula.Evalb e) ↑φ ↔ ∃ (x : V), (Semiformula.Evalb (x :> e)) ↑φ.sigmaInv
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.models_piInv {s n : ℕ} {V : Type u_4} [ORingStructure V] (φ : Prenex Π (s + 1) Empty n) (e : Fin n → V) :
                (Semiformula.Evalb e) ↑φ ↔ ∀ (x : V), (Semiformula.Evalb (x :> e)) ↑φ.piInv
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.models_sigma {s n : ℕ} {V : Type u_4} [ORingStructure V] (φ : Prenex Π s Empty (n + 1)) (e : Fin n → V) :
                (Semiformula.Evalb e) ↑φ.sigma ↔ ∃ (x : V), (Semiformula.Evalb (x :> e)) ↑φ
                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.models_pi {s n : ℕ} {V : Type u_4} [ORingStructure V] (φ : Prenex Σ s Empty (n + 1)) (e : Fin n → V) :
                (Semiformula.Evalb e) ↑φ.pi ↔ ∀ (x : V), (Semiformula.Evalb (x :> e)) ↑φ
                @[irreducible]
                def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.ball {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
                ArithmeticSemiterm ξ n → Prenex Γ s ξ (n + 1) → Prenex Γ s ξ n

                The ball construction in FFL.FirstOrder.Arithmetic.Prenex.

                Equations
                Instances For
                  @[irreducible]
                  def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.bexs {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
                  ArithmeticSemiterm ξ n → Prenex Γ s ξ (n + 1) → Prenex Γ s ξ n

                  The bexs construction in FFL.FirstOrder.Arithmetic.Prenex.

                  Equations
                  Instances For
                    theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.ball_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {u : ArithmeticSemiterm ξ n} {φ : Prenex Π (s + 1) ξ (n + 1)} :
                    ball u φ = ∼bexs u (∼φ)
                    theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.bexs_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {u : ArithmeticSemiterm ξ n} {φ : Prenex Π (s + 1) ξ (n + 1)} :
                    bexs u φ = ∼ball u (∼φ)
                    @[irreducible]
                    def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.and {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
                    Prenex Γ s ξ n → Prenex Γ s ξ n → Prenex Γ s ξ n

                    The and construction in FFL.FirstOrder.Arithmetic.Prenex.

                    Equations
                    Instances For
                      @[irreducible]
                      def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.or {ξ : Type u_1} {Γ : Polarity} {s n : ℕ} :
                      Prenex Γ s ξ n → Prenex Γ s ξ n → Prenex Γ s ξ n

                      The or construction in FFL.FirstOrder.Arithmetic.Prenex.

                      Equations
                      Instances For
                        @[simp]
                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.and_zero {Γ : Polarity} {ξ : Type u_1} {n : ℕ} {φ ψ : Prenex Γ 0 ξ n} :
                        φ ⋏ ψ = { matrix := HierarchySymbol.Semiformula.mkSigma (↑φ ⋏ ↑ψ) ⋯ }
                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.and_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ ψ : Prenex Π (s + 1) ξ n} :
                        φ ⋏ ψ = ∼(∼φ ⋎ ∼ψ)
                        @[simp]
                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.or_zero {Γ : Polarity} {ξ : Type u_1} {n : ℕ} {φ ψ : Prenex Γ 0 ξ n} :
                        φ ⋎ ψ = { matrix := HierarchySymbol.Semiformula.mkSigma (↑φ ⋎ ↑ψ) ⋯ }
                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.or_succ_pi {s : ℕ} {ξ : Type u_1} {n : ℕ} {φ ψ : Prenex Π (s + 1) ξ n} :
                        φ ⋎ ψ = ∼(∼φ ⋏ ∼ψ)
                        def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.exs {s : ℕ} {ξ : Type u_1} {n : ℕ} (φ : Prenex Σ (s + 1) ξ (n + 1)) :
                        Prenex Σ (s + 1) ξ n

                        The exs construction in FFL.FirstOrder.Arithmetic.Prenex.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          def PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.all {s : ℕ} {ξ : Type u_1} {n : ℕ} (φ : Prenex Π (s + 1) ξ (n + 1)) :
                          Prenex Π (s + 1) ξ n

                          The all construction in FFL.FirstOrder.Arithmetic.Prenex.

                          Equations
                          Instances For
                            theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.models_exs {s n : ℕ} {V : Type u_4} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σs] (φ : Prenex Σ (s + 1) Empty (n + 1)) (e : Fin n → V) :
                            (Semiformula.Evalb e) ↑φ.exs ↔ ∃ (x : V), (Semiformula.Evalb (x :> e)) ↑φ
                            theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.models_all {s n : ℕ} {V : Type u_4} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σs] (φ : Prenex Π (s + 1) Empty (n + 1)) (e : Fin n → V) :
                            (Semiformula.Evalb e) ↑φ.all ↔ ∀ (x : V), (Semiformula.Evalb (x :> e)) ↑φ
                            theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Prenex.models_exists_prenex {Γ : Polarity} {s n : ℕ} {φ : ArithmeticSemisentence n} (h : Hierarchy Γ s φ) :
                            ∃ (φ' : Prenex Γ s Empty n), ∀ (V : Type u_5) [inst : ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σs] (e : Fin n → V), (Semiformula.Evalb e) φ ↔ (Semiformula.Evalb e) ↑φ'