4ba097a141
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
9 lines
325 B
Text
9 lines
325 B
Text
import Int.
|
|
variable list : Type -> Type
|
|
variable nil {A : Type} : list A
|
|
variable cons {A : Type} (head : A) (tail : list A) : list A
|
|
variables a b : Int
|
|
variables n m : Nat
|
|
definition l1 : list Int := cons a (cons b (cons n nil))
|
|
definition l2 : list Int := cons a (cons n (cons b nil))
|
|
check cons a (cons b (cons n nil))
|