Documentation

Foundation.FirstOrder.Arith.Representation

theorem Part.unit_dom_iff (x : Part Unit) :
x.Dom () x
theorem Mathlib.List.Vector.cons_get {α : Type u_1} {k : } (a : α) (v : List.Vector α k) :
(a ::ᵥ v).get = a :> v.get
theorem Nat.Partrec.projection {f : →. } (hf : Partrec f) (unif : ∀ {m n₁ n₂ a₁ a₂ : }, a₁ f (Nat.pair m n₁)a₂ f (Nat.pair m n₂)a₁ = a₂) :
∃ (g : →. ), Partrec g ∀ (a m : ), a g m ∃ (z : ), a f (Nat.pair m z)
theorem Partrec.projection {α : Type u_1} {β : Type u_2} {γ : Type u_3} [Primcodable α] [Primcodable β] [Primcodable γ] {f : αβ →. γ} (hf : Partrec₂ f) (unif : ∀ {a : α} {b₁ b₂ : β} {c₁ c₂ : γ}, c₁ f a b₁c₂ f a b₂c₁ = c₂) :
∃ (g : α →. γ), Partrec g ∀ (c : γ) (a : α), c g a ∃ (b : β), c f a b
@[simp]
theorem RePred.const {α : Type u_1} [Primcodable α] (p : Prop) :
RePred fun (x : α) => p
theorem RePred.iff {α : Type u_1} [Primcodable α] {p : αProp} :
RePred p ∃ (f : α →. Unit), Partrec f p = fun (x : α) => (f x).Dom
theorem RePred.iff' {α : Type u_1} [Primcodable α] {p : αProp} :
RePred p ∃ (f : α →. Unit), Partrec f ∀ (x : α), p x (f x).Dom
theorem RePred.and {α : Type u_1} [Primcodable α] {p q : αProp} (hp : RePred p) (hq : RePred q) :
RePred fun (x : α) => p x q x
theorem RePred.or {α : Type u_1} [Primcodable α] {p q : αProp} (hp : RePred p) (hq : RePred q) :
RePred fun (x : α) => p x q x
theorem RePred.projection {α : Type u_1} {β : Type u_2} [Primcodable α] [Primcodable β] {p : α × βProp} (hp : RePred p) :
RePred fun (x : α) => ∃ (y : β), p (x, y)
theorem RePred.comp {α : Type u_1} {β : Type u_2} [Primcodable α] [Primcodable β] {f : αβ} (hf : Computable f) {p : βProp} (hp : RePred p) :
RePred fun (x : α) => p (f x)
theorem LO.FirstOrder.Arith.term_primrec {ξ : Type u_1} {k : } {f : ξ} (t : Semiterm ℒₒᵣ ξ k) :
Primrec fun (v : List.Vector k) => Semiterm.valm v.get f t
theorem LO.FirstOrder.Arith.sigma1_re {ξ : Type u_1} (ε : ξ) {k : } {φ : Semiformula ℒₒᵣ ξ k} (hp : Hierarchy 𝚺 1 φ) :
RePred fun (v : List.Vector k) => (Semiformula.Evalm v.get ε) φ
Equations
  • One or more equations did not get rendered due to their size.
@[simp]
theorem LO.FirstOrder.Arith.natCast_nat (n : ) :
n = n
theorem LO.FirstOrder.Arith.models_code {k : } {c : Nat.ArithPart₁.Code k} {f : List.Vector k →. } (hc : c.eval f) (y : ) (v : Fin k) :
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
theorem LO.FirstOrder.Arith.codeOfRePred_spec {p : Prop} (hp : RePred p) {x : } :
⊧/![x] (codeOfRePred p) p x
theorem LO.FirstOrder.Arith.re_complete {T : Theory ℒₒᵣ} [𝐑₀ T] [Sigma1Sound T] {p : Prop} (hp : RePred p) {x : } :
p x T ⊢! ((codeOfRePred p)/[x])