lean4-htt/tests/lean/run/2311.lean

4 lines
109 B
Text

class P (n : Nat)
class Q (n : Nat)
variable [∀ (n : Nat) [P n], Q n]
example [P 7] : Q 7 := inferInstance