lean4-htt/tests/lean/interactive/1018unknowMVarIssue.lean
2025-05-15 07:56:26 +00:00

14 lines
366 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.

/-!
The expected type used to show "unknown metavariable '?_uniq.31828'" because of missing
backtracking of the info tree.
-/
inductive Fam2 : Type → Type → Type 1 where
| any : Fam2 α α
| nat : Nat → Fam2 Nat Nat
example (a : α) (x : Fam2 α β) : β :=
match x with
| Fam2.any => _
--^ $/lean/plainTermGoal
| Fam2.nat n => n