2014-06-28 14:30:36 +00:00
|
|
|
variable N : Type.{1}
|
|
|
|
variables a b c : N
|
|
|
|
variable f : forall {a b : N}, N → N
|
|
|
|
|
|
|
|
check f
|
|
|
|
check @f
|
|
|
|
check @f a
|
|
|
|
check @f a b
|
|
|
|
check @f a b c
|
|
|
|
|
|
|
|
definition l1 : N → N → N → N := @f
|
|
|
|
definition l2 : N → N → N := @f a
|
|
|
|
definition l3 : N → N := @f a b
|
|
|
|
definition l4 : N := @f a b c
|
|
|
|
|
|
|
|
variable g : forall ⦃a b : N⦄, N → N
|
|
|
|
|
|
|
|
check g
|
2014-08-02 03:57:24 +00:00
|
|
|
check g a
|
2014-06-28 14:30:36 +00:00
|
|
|
check @g
|
|
|
|
check @g a
|
|
|
|
check @g a b
|
|
|
|
check @g a b c
|
|
|
|
|
|
|
|
definition l5 : N → N → N → N := @g
|
|
|
|
definition l6 : N → N → N := @g a
|
|
|
|
definition l7 : N → N := @g a b
|
|
|
|
definition l8 : N := @g a b c
|
|
|
|
definition l9 : N → N → N → N := g
|