diff options
author | 2001-05-12 22:48:40 +0000 | |
---|---|---|
committer | 2001-05-12 22:48:40 +0000 | |
commit | a61e412f77082ba2e5c6e5bef1b6fefbf4dc617f (patch) | |
tree | 1837b382994fb8304dc454303a2bc4fe697b3ea9 | |
parent | d7ecf8102e94e691b37e30d755ddec92c6704efe (diff) |
Oubli d'hypotheses pour faire fonctionner les exemples
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1748 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r-- | test-suite/success/Case8.v | 4 | ||||
-rw-r--r-- | test-suite/success/Case9.v | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/success/Case8.v b/test-suite/success/Case8.v index 1775c6a3f..73b55028d 100644 --- a/test-suite/success/Case8.v +++ b/test-suite/success/Case8.v @@ -1,3 +1,7 @@ +Inductive listn : nat-> Set := + niln : (listn O) +| consn : (n:nat)nat->(listn n) -> (listn (S n)). + Inductive empty : (n:nat)(listn n)-> Prop := intro_empty: (empty O niln). diff --git a/test-suite/success/Case9.v b/test-suite/success/Case9.v index 39e387d76..a5d07405e 100644 --- a/test-suite/success/Case9.v +++ b/test-suite/success/Case9.v @@ -1,3 +1,5 @@ +Inductive List [A:Set] :Set := + Nil:(List A) | Cons:A->(List A)->(List A). Inductive eqlong : (List nat)-> (List nat)-> Prop := eql_cons : (n,m:nat)(x,y:(List nat)) |