NNG progress
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user