NNG progress

This commit is contained in:
Jon Eugster
2023-04-25 14:06:17 +02:00
parent f8ae5795cb
commit b1a53aba05
95 changed files with 1818 additions and 1136 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ Statement
Hint "In order to use the tactic `rfl` you can enter it above and hit \"Execute\"."
rfl
NewTactic rfl
NewTactic rfl simp -- TODO
NewDefinition MyNat
Conclusion
+4 -2
View File
@@ -56,9 +56,11 @@ Statement
writing a small `←` (`\\l`, i.e. backslash + small letter L + space)
before `h` like this: `rw [← h]`."
Branch
rewrite [← h]
simp? -- TODO: `simp` should not make progress.
Branch
rw [← h]
Hint (hidden := true) "Now both sides are identical…"
rewrite [h]
rw [h]
Hint (hidden := true) "Now both sides are identical…"
rfl
@@ -50,6 +50,8 @@ Statement
rw [add_succ]
Hint "Now you see a term of the form `… + 0`, so you can use `add_zero`."
Hint (hidden := true) "Explicitely, type `rw [add_zero]`!"
Branch
simp? -- TODO
rw [add_zero]
Hint (hidden := true) "Finally both sides are identical."
rfl