rename [New/Only/Disabled][Tactic/Lemma/Definition]

This commit is contained in:
Jon Eugster
2023-03-08 09:30:01 +01:00
parent 01199c3793
commit 93d05c9703
91 changed files with 155 additions and 155 deletions
@@ -39,6 +39,6 @@ Ring zu lösen, funktioniert aber auch auf `ℕ`, auch wenn dieses kein Ring ist
(erst `ℤ` ist ein Ring).
"
NewTactics ring
NewTactic ring
#eval 4 / 6
@@ -67,4 +67,4 @@ Hint (a : ℕ) (b : ℕ) (c : ℕ) (d : ℕ) (h₁ : c = d) (h₂ : d = b) (h₃
Conclusion "Übrigens, mit `rw [h₁, ←h₂]` könnte man mehrere `rw` zusammenfassen."
NewTactics assumption rw
NewTactic assumption rw
@@ -37,4 +37,4 @@ Hint (a : ℕ) (b : ℕ) (h : a = b) (g : a + a ^ 2 = b + 1) : a + a ^ 2 = a + 1
Conclusion "Übrigens, mit `rw [h] at *` kann man im weiteren `h` in **allen** Annahmen und
dem Goal umschreiben."
NewTactics assumption rw
NewTactic assumption rw
@@ -30,4 +30,4 @@ Hint (y : ℕ) : (2 * y + 1) ^ 2 = 4 * y ^ 2 + 3 * y + 1 + y =>
Conclusion ""
NewTactics ring rw
NewTactic ring rw
@@ -28,4 +28,4 @@ Conclusion
aufzurufen, deshalb brauchst du das nur noch selten.
"
NewTactics rfl
NewTactic rfl
@@ -67,5 +67,5 @@ Hint (n : ℕ) (x : ℕ) (hx : n = x + x) : n ^ 2 = 2 * x ^ 2 + 2 * x ^ 2 =>
Hint (n : ℕ) (x : ℕ) (hx : n = x + x) : (x + x) ^ 2 = 2 * x ^ 2 + 2 * x ^ 2 =>
"Die Taktik `ring` löst solche Gleichungen."
NewTactics unfold rcases use rw ring
NewDefinitions Even Odd
NewTactic unfold rcases use rw ring
NewDefinition Even Odd
@@ -50,4 +50,4 @@ Hint (n : ℕ) (hn : Odd n) (h : ∀ (x : ℕ), (Odd x) → Even (x + 1)) : Even
Conclusion "Für-alle-Statements, Implikationen und Lemmas/Theoreme verhalten sich alle
praktisch gleich. Mehr dazu später."
NewTactics ring intro unfold
NewTactic ring intro unfold
@@ -62,6 +62,6 @@ Hint (n : ℕ) : n + n = 2 * n => "Recap: `ring` löst Gleichungen in `ℕ`."
Conclusion ""
NewTactics push_neg intro use rw unfold ring
NewDefinitions Even Odd
NewLemmas not_even not_odd not_exists not_forall
NewTactic push_neg intro use rw unfold ring
NewDefinition Even Odd
NewLemma not_even not_odd not_exists not_forall
@@ -50,6 +50,6 @@ Statement
Conclusion ""
NewTactics push_neg intro use rw unfold ring
NewDefinitions Even Odd
NewLemmas not_even not_odd not_exists not_forall
NewTactic push_neg intro use rw unfold ring
NewDefinition Even Odd
NewLemma not_even not_odd not_exists not_forall