Documentation

LeanPool.PointwiseComposition.Foundation.FirstOrder.Arithmetic.Bootstrapping.Syntax.Term.Basic

Supporting results for pointwise provable equality.

The qq Bvar construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

Equations
Instances For

    The qq Fvar construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

    Equations
    Instances For

      The qq Func construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

      Equations
      Instances For

        The qq Func N construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

        Equations
        Instances For

          The «term^# » construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

            The «term^& » construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

              The «term^func » construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

                The qq Bvar Def construction in FFL.FirstOrder.Arithmetic.

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

                  The qq Fvar Def construction in FFL.FirstOrder.Arithmetic.

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

                    The qq Func Def construction in FFL.FirstOrder.Arithmetic.

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

                      The Phi construction in FFL.FirstOrder.Arithmetic.Bootstrapping.FormalizedTerm.

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

                        The blueprint construction in FFL.FirstOrder.Arithmetic.Bootstrapping.FormalizedTerm.

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

                          The construction construction in FFL.FirstOrder.Arithmetic.Bootstrapping.FormalizedTerm.

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

                            Note: noncomputable attribute to prohibit compilation of a large term. This is necessary for Zoo and integration with Verso.

                            Equations
                            Instances For

                              The Is UTerm Vec construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

                                The is UTerm Vec construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.case_iff {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {t : V} :
                                  IsUTerm L t ↔ (∃ (z : V), t = qqBvar z) ∨ (∃ (x : V), t = qqFvar x) ∨ ∃ (k : V) (f : V) (v : V), L.IsFunc k f ∧ IsUTermVec L k v ∧ t = qqFunc k f v
                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.case {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {t : V} :
                                  IsUTerm L t → (∃ (z : V), t = qqBvar z) ∨ (∃ (x : V), t = qqFvar x) ∨ ∃ (k : V) (f : V) (v : V), L.IsFunc k f ∧ IsUTermVec L k v ∧ t = qqFunc k f v

                                  Alias of the forward direction of PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.case_iff.

                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.mk {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {t : V} :
                                  ((∃ (z : V), t = qqBvar z) ∨ (∃ (x : V), t = qqFvar x) ∨ ∃ (k : V) (f : V) (v : V), L.IsFunc k f ∧ IsUTermVec L k v ∧ t = qqFunc k f v) → IsUTerm L t

                                  Alias of the reverse direction of PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.case_iff.

                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.induction {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] (Γ : SigmaPiDelta) {P : V → Prop} (hP : { Γ := Γ, rank := 1 }-Predicate P) (hbvar : ∀ (z : V), P (qqBvar z)) (hfvar : ∀ (x : V), P (qqFvar x)) (hfunc : ∀ (k f v : V), L.IsFunc k f → IsUTermVec L k v → (∀ i < k, P (nth v i)) → P (qqFunc k f v)) (t : V) :
                                  IsUTerm L t → P t

                                  Data specifying the encoded construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.

                                  Instances For

                                    The blueprint construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Blueprint.

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

                                      The graph construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Blueprint.

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

                                        The result construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Blueprint.

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

                                          The result Vec construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Blueprint.

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

                                            Data and laws for Construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.

                                            Instances For

                                              The Phi construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.

                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.seq_bound {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {k s m : V} (Ss : Seq s) (hk : k = lh s) (hs : ∀ (i z : V), ⟪i, z⟫ ∈ s → z < m) :
                                                s < Exp.exp ((k + m + 1) ^ 2)

                                                The Graph construction in FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.

                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.Graph.case_iff {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} {c : Construction V β} {param : Fin arity → V} {t y : V} :
                                                  Graph L c param t y ↔ IsUTerm L t ∧ ((∃ (z : V), t = qqBvar z ∧ y = c.bvar param z) ∨ (∃ (x : V), t = qqFvar x ∧ y = c.fvar param x) ∨ ∃ (k : V) (f : V) (v : V) (w : V), (k = len w ∧ ∀ i < k, Graph L c param (nth v i) (nth w i)) ∧ t = qqFunc k f v ∧ y = c.func param k f v w)
                                                  instance PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_definable {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) :
                                                  Σ₁.Definable fun (v : Fin (arity + 1 + 1) → V) => Graph L c (fun (x : Fin arity) => v x.succ.succ) (v 0) (v 1)
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_fvar_iff {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) {param : Fin arity → V} {y : V} (x : V) :
                                                  Graph L c param (qqFvar x) y ↔ y = c.fvar param x
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_func {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) {param : Fin arity → V} {k f v w : V} (hkr : L.IsFunc k f) (hv : IsUTermVec L k v) (hkw : k = len w) (hw : ∀ i < k, Graph L c param (nth v i) (nth w i)) :
                                                  Graph L c param (qqFunc k f v) (c.func param k f v w)
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_func_inv {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) {param : Fin arity → V} {k f v y : V} :
                                                  Graph L c param (qqFunc k f v) y → ∃ (w : V), (k = len w ∧ ∀ i < k, Graph L c param (nth v i) (nth w i)) ∧ y = c.func param k f v w
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_exists {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} {c : Construction V β} (param : Fin arity → V) {t : V} :
                                                  IsUTerm L t → ∃ (y : V), Graph L c param t y
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_unique {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} {c : Construction V β} (param : Fin arity → V) {t y₁ y₂ : V} :
                                                  Graph L c param t y₁ → Graph L c param t y₂ → y₁ = y₂
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.result_prop {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] (L : Language) [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) (param : Fin arity → V) {t : V} (ht : IsUTerm L t) :
                                                  Graph L c param t (result L c param t)
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.result_eq_of_graph {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} {c : Construction V β} {param : Fin arity → V} {t y : V} (ht : IsUTerm L t) (h : Graph L c param t y) :
                                                  result L c param t = y
                                                  @[simp]
                                                  @[simp]
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.result_func {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} {c : Construction V β} {param : Fin arity → V} {k f v w : V} (hkf : L.IsFunc k f) (hv : IsUTermVec L k v) (hkw : k = len w) (hw : ∀ i < k, result L c param (nth v i) = nth w i) :
                                                  result L c param (qqFunc k f v) = c.func param k f v w
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_existsUnique_vec {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} {c : Construction V β} {param : Fin arity → V} {k w : V} (hw : IsUTermVec L k w) :
                                                  ∃! w' : V, k = len w' ∧ ∀ i < k, Graph L c param (nth w i) (nth w' i)
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_existsUnique_vec_total {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] (L : Language) [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) (param : Fin arity → V) (k w : V) :
                                                  ∃! w' : V, (IsUTermVec L k w → k = len w' ∧ ∀ i < k, Graph L c param (nth w i) (nth w' i)) ∧ (¬IsUTermVec L k w → w' = 0)
                                                  @[simp]
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.resultVec_lh {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] (L : Language) [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) (param : Fin arity → V) {k w : V} (hw : IsUTermVec L k w) :
                                                  len (resultVec L c param k w) = k
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.graph_of_mem_resultVec {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] (L : Language) [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) (param : Fin arity → V) {k w : V} (hw : IsUTermVec L k w) {i : V} (hi : i < k) :
                                                  Graph L c param (nth w i) (nth (resultVec L c param k w) i)
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.nth_resultVec {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] (L : Language) [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) (param : Fin arity → V) {k w i : V} (hw : IsUTermVec L k w) (hi : i < k) :
                                                  nth (resultVec L c param k w) i = result L c param (nth w i)
                                                  @[simp]
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.resultVec_cons {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] (L : Language) [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) (param : Fin arity → V) {k w t : V} (hw : IsUTermVec L k w) (ht : IsUTerm L t) :
                                                  resultVec L c param (k + 1) (adjoin t w) = adjoin (result L c param t) (resultVec L c param k w)
                                                  @[simp]
                                                  theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.Language.TermRec.Construction.result_func' {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {arity : ℕ} {β : Blueprint arity} (c : Construction V β) {param : Fin arity → V} {k f v : V} (hkf : L.IsFunc k f) (hv : IsUTermVec L k v) :
                                                  result L c param (qqFunc k f v) = c.func param k f v (resultVec L c param k v)

                                                  The blueprint construction in FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.BV.

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

                                                    The construction Func Assignment construction in FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.BV.

                                                    Equations
                                                    Instances For

                                                      The construction construction in FFL.FirstOrder.Arithmetic.Bootstrapping.IsUTerm.BV.

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

                                                        The term BV construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

                                                          The term BVVec construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

                                                            The term BVGraph construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

                                                              The term BVVec Graph construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

                                                                Data and laws for Is Semiterm in FFL.FirstOrder.Arithmetic.Bootstrapping.

                                                                Instances

                                                                  Data and laws for Is Semiterm Vec in FFL.FirstOrder.Arithmetic.Bootstrapping.

                                                                  Instances

                                                                    The is Semiterm construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

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

                                                                      The is Semiterm Vec construction in FFL.FirstOrder.Arithmetic.Bootstrapping.

                                                                      Equations
                                                                      • One or more equations did not get rendered due to their size.
                                                                      Instances For
                                                                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsSemiterm.case_iff {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {n t : V} :
                                                                        IsSemiterm L n t ↔ (∃ z < n, t = qqBvar z) ∨ (∃ (x : V), t = qqFvar x) ∨ ∃ (k : V) (f : V) (v : V), L.IsFunc k f ∧ IsSemitermVec L k n v ∧ t = qqFunc k f v
                                                                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsSemiterm.mk' {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {n t : V} :
                                                                        ((∃ z < n, t = qqBvar z) ∨ (∃ (x : V), t = qqFvar x) ∨ ∃ (k : V) (f : V) (v : V), L.IsFunc k f ∧ IsSemitermVec L k n v ∧ t = qqFunc k f v) → IsSemiterm L n t

                                                                        Alias of the reverse direction of PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsSemiterm.case_iff.

                                                                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsSemiterm.case {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {n t : V} :
                                                                        IsSemiterm L n t → (∃ z < n, t = qqBvar z) ∨ (∃ (x : V), t = qqFvar x) ∨ ∃ (k : V) (f : V) (v : V), L.IsFunc k f ∧ IsSemitermVec L k n v ∧ t = qqFunc k f v

                                                                        Alias of the forward direction of PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsSemiterm.case_iff.

                                                                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsSemiterm.induction {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {n : V} (Γ : SigmaPiDelta) {P : V → Prop} (hP : { Γ := Γ, rank := 1 }-Predicate P) (hbvar : ∀ z < n, P (qqBvar z)) (hfvar : ∀ (x : V), P (qqFvar x)) (hfunc : ∀ (k f v : V), L.IsFunc k f → IsSemitermVec L k n v → (∀ i < k, P (nth v i)) → P (qqFunc k f v)) (t : V) :
                                                                        IsSemiterm L n t → P t
                                                                        theorem PointwiseComposition.FFL.FirstOrder.Arithmetic.Bootstrapping.IsSemiterm.sigma1_induction {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝐈Σ₁] {L : Language} [L.Encodable] [L.LORDefinable] {n : V} {P : V → Prop} (hP : Σ₁-Predicate P) (hbvar : ∀ z < n, P (qqBvar z)) (hfvar : ∀ (x : V), P (qqFvar x)) (hfunc : ∀ (k f v : V), L.IsFunc k f → IsSemitermVec L k n v → (∀ i < k, P (nth v i)) → P (qqFunc k f v)) (t : V) :
                                                                        IsSemiterm L n t → P t