Better support for `intro <type-ascription>`. It was treating it as a pattern before this commit.
3 lines
144 B
Text
3 lines
144 B
Text
theorem test (p : Nat × Nat) : (match p with | (a, b) => a = b) → (p.1 = p.2) := by
|
||
intro (h : (match p with | (a, b) => a = b))
|
||
exact h
|