File tree Expand file tree Collapse file tree
Foundation/FirstOrder/Bootstrapping Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ noncomputable abbrev toNumVec (w : Fin n → V) : SemitermVec V ℒₒᵣ n k :=
3838
3939variable (T)
4040
41- theorem term_complete {n : ℕ} (t : FirstOrder.ClosedArithmeticSemiterm n) (w : Fin n → V) :
41+ theorem term_complete {n : ℕ} (t : FirstOrder.ClosedSemiterm ℒₒᵣ n) (w : Fin n → V) :
4242 T.internalize V ⊢ (toNumVec w ⤕ ⌜t⌝) ≐ 𝕹 (t.valbm V w) :=
4343 match t with
4444 | #z => by simp
Original file line number Diff line number Diff line change @@ -268,16 +268,16 @@ namespace Sentence
268268def typed_quote_def (σ : Semisentence L n) :
269269 (⌜σ⌝ : Bootstrapping.Semiformula V L n) = ⌜(Rewriting.emb σ : SyntacticSemiformula L n)⌝ := rfl
270270
271- @[simp] lemma typed_quote_eq (t u : ClosedArithmeticSemiterm n) :
271+ @[simp] lemma typed_quote_eq (t u : ClosedSemiterm ℒₒᵣ n) :
272272 (⌜(“!!t = !!u” : ArithmeticSemisentence n)⌝ : Bootstrapping.Semiformula V ℒₒᵣ n) = (⌜t⌝ ≐ ⌜u⌝) := rfl
273273
274- @[simp] lemma typed_quote_ne (t u : ClosedArithmeticSemiterm n) :
274+ @[simp] lemma typed_quote_ne (t u : ClosedSemiterm ℒₒᵣ n) :
275275 (⌜(“!!t ≠ !!u” : ArithmeticSemisentence n)⌝ : Bootstrapping.Semiformula V ℒₒᵣ n) = (⌜t⌝ ≉ ⌜u⌝) := rfl
276276
277- @[simp] lemma typed_quote_lt (t u : ClosedArithmeticSemiterm n) :
277+ @[simp] lemma typed_quote_lt (t u : ClosedSemiterm ℒₒᵣ n) :
278278 (⌜(“!!t < !!u” : ArithmeticSemisentence n)⌝ : Bootstrapping.Semiformula V ℒₒᵣ n) = (⌜t⌝ <' ⌜u⌝) := rfl
279279
280- @[simp] lemma typed_quote_nlt (t u : ClosedArithmeticSemiterm n) :
280+ @[simp] lemma typed_quote_nlt (t u : ClosedSemiterm ℒₒᵣ n) :
281281 (⌜(“!!t ≮ !!u” : ArithmeticSemisentence n)⌝ : Bootstrapping.Semiformula V ℒₒᵣ n) = (⌜t⌝ ≮' ⌜u⌝) := rfl
282282
283283noncomputable instance : GödelQuote (Semisentence L n) V where
Original file line number Diff line number Diff line change @@ -164,14 +164,14 @@ def empty_typed_quote_def (t : ClosedSemiterm L n) :
164164@[simp] lemma empty_typed_quote_func (f : L.Func k) (v : Fin k → ClosedSemiterm L n) :
165165 (⌜func f v⌝ : Bootstrapping.Semiterm V L n) = Bootstrapping.Semiterm.func f fun i ↦ ⌜v i⌝ := rfl
166166
167- @[simp] lemma empty_typed_quote_add (t u : ClosedArithmeticSemiterm n) :
168- (⌜(‘!!t + !!u’ : ClosedArithmeticSemiterm n)⌝ : Bootstrapping.Semiterm V ℒₒᵣ n) = ⌜t⌝ + ⌜u⌝ := rfl
167+ @[simp] lemma empty_typed_quote_add (t u : ClosedSemiterm ℒₒᵣ n) :
168+ (⌜(‘!!t + !!u’ : ClosedSemiterm ℒₒᵣ n)⌝ : Bootstrapping.Semiterm V ℒₒᵣ n) = ⌜t⌝ + ⌜u⌝ := rfl
169169
170- @[simp] lemma empty_typed_quote_mul (t u : ClosedArithmeticSemiterm n) :
171- (⌜(‘!!t * !!u’ : ClosedArithmeticSemiterm n)⌝ : Bootstrapping.Semiterm V ℒₒᵣ n) = ⌜t⌝ * ⌜u⌝ := rfl
170+ @[simp] lemma empty_typed_quote_mul (t u : ClosedSemiterm ℒₒᵣ n) :
171+ (⌜(‘!!t * !!u’ : ClosedSemiterm ℒₒᵣ n)⌝ : Bootstrapping.Semiterm V ℒₒᵣ n) = ⌜t⌝ * ⌜u⌝ := rfl
172172
173173@[simp] lemma empty_typed_quote_numeral_eq_numeral (k : ℕ) :
174- (⌜(↑k : ClosedArithmeticSemiterm n)⌝ : Bootstrapping.Semiterm V ℒₒᵣ n) = typedNumeral ↑k := by
174+ (⌜(↑k : ClosedSemiterm ℒₒᵣ n)⌝ : Bootstrapping.Semiterm V ℒₒᵣ n) = typedNumeral ↑k := by
175175 simp [empty_typed_quote_def]
176176
177177noncomputable instance : GödelQuote (ClosedSemiterm L n) V where
You can’t perform that action at this time.
0 commit comments