Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Inductive tm' {V : Set} : Set :=
  2. | Var : V -> tm'
  3. | App : tm' -> tm' -> tm'
  4. | Abs : (V -> tm') -> tm'.
  5.  
  6. Definition tm := forall X, @tm' X.
  7.  
  8. Fail Example id : tm := Abs Var.
  9.  
  10. The term "Abs Var" has type "tm'" while it is expected to have type "tm".
  11.  
  12. Example id : tm := fun _ => Abs Var.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement