lean2/tests/lean/run/588.lean
Leonardo de Moura eb3a236119 fix(library/unifier): typo
fixes #588
2015-05-07 16:30:02 -07:00

20 lines
341 B
Text

import standard
open function
variables {a b r : Type}
definition f a := Πr, (a -> r) -> r
definition g (fn : a -> b) (sa : f a) : f b := sorry
-- ok
check λx, g id x = x
check λ(x : f a), g id x = x
universe variables l₁ l₂ l₃
check λ (x : f.{_ l₂} a), g.{_ _ l₂ l₂} id x = x
example (x : f a) : g id x = x :=
sorry