Documentation

Foundation.FirstOrder.Arithmetic.Bootstrapping.Syntax.CraigTrick

Craig's trick #

The Craig companion of a recursively enumerable theory is moreover primitive recursive.

theorem FFL.FirstOrder.Semiformula.weight_succ {L : Language} {ξ : Type u_1} {n : ℕ} (k : ℕ) :
theorem FFL.FirstOrder.Semiformula.primrec_weight {L : Language} {ξ : Type u_1} {n : ℕ} [L.Encodable] [L.Primcodable] [Primcodable ξ] {α : Type u_2} [Primcodable α] {k : α → ℕ} (hk : Primrec k) :
Primrec fun (a : α) => weight (k a)
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem FFL.FirstOrder.Arithmetic.Bootstrapping.quote_eq_qqAnd_iff {L : Language} [L.Encodable] [L.LORDefinable] {φ : Proposition L} {p q : ℕ} :
    ⌜φ⌝ = qqAnd p q ↔ ∃ (φ₁ : Proposition L) (φ₂ : Proposition L), φ = φ₁ ⋏ φ₂ ∧ p = ⌜φ₁⌝ ∧ q = ⌜φ₂⌝
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def FFL.FirstOrder.Theory.craigCh {L : Language} [L.Encodable] [L.Primcodable] (T : Theory L) [T.RE] :
      { Γ := 𝚫, rank := 1 }.Semisentence 1
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem FFL.FirstOrder.Theory.primrecPred_reWitness {L : Language} [L.Encodable] [L.Primcodable] {T : Theory L} [T.RE] {α : Type u_1} [Primcodable α] {s m : α → ℕ} (hs : Primrec s) (hm : Primrec m) :
        PrimrecPred fun (a : α) => (Semiformula.Evalb ![s a, m a]) ↑T.reWitness
        @[instance_reducible]
        noncomputable instance FFL.FirstOrder.Theory.instΔ₁Craig {L : Language} [L.Encodable] [L.LORDefinable] [L.Primcodable] {T : Theory L} [T.RE] :
        Equations