Closed trj2059 closed 4 years ago
If you enter in.
induction a with d hd, intro h, refl, intro h, rw succ_add at h, exfalso, apply (succ_ne_zero (d+b)) at h, exact h,
You will get "no goals".
To get "Proof Complete"
Change this line.
apply (succ_ne_zero (d+b)) at h,
To
apply (succ_ne_zero (d+b)),
I don't know if this is a bug in the lean parser, but it doesn't seem like proper behavior.
You might get "no goals" but you also get an error in the error box; "apply ... at ..." is not valid syntax.
If you enter in.
induction a with d hd, intro h, refl, intro h, rw succ_add at h, exfalso, apply (succ_ne_zero (d+b)) at h, exact h,
You will get "no goals".
To get "Proof Complete"
Change this line.
apply (succ_ne_zero (d+b)) at h,
To
apply (succ_ne_zero (d+b)),
I don't know if this is a bug in the lean parser, but it doesn't seem like proper behavior.