You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've never been into the [ .. | .. | ...] syntax for tactics. It actually comes from vanilla Coq, and (I suggest) not idiomatic in Lean.
Maybe you can try something like:
theoremlastP (s : Seq α) : last_spec s := by
scase: s => [|x s]; { left }; srw lastI; right
In Coq, I can write something like:
Is there something similar in Ssrlean?
Currently I do the following, which is a bit verbose:
The text was updated successfully, but these errors were encountered: