lean4-htt/tests/lean/matchunit.lean.expected.out
Leonardo de Moura 1c1e6d79a7 feat: add equality proof for named patterns
The user can optionally name the equality proof.
The new test demostrates how to name the equality proof.

closes #501
2022-01-18 12:43:01 -08:00

6 lines
109 B
Text

def f : Unit → Nat :=
fun a => 10
def g : Unit → Unit :=
fun a =>
match a with
| b@h:PUnit.unit => b