lean4-htt/tests/lean/eqn_compiler_error_msg.lean
Leonardo de Moura 87932f1c56 feat(frontends/lean): change notation for inaccessible patterns
The following are accepted
 .(t)
 ._

We don't accept .t anymore because it will conflict with the field
access notation.
2017-03-28 16:09:15 -07:00

5 lines
126 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

inductive R : → Prop
| pos : ∀p n, R (p + n)
lemma R_id : ∀n, R n → R n
| (.(p) + .(n)) (R.pos p n) := R.pos p n