| 1 |
Require Import TestSuite.relationclasses. |
| 2 |
|
| 3 |
Definition RowType := list Type. |
| 4 |
|
| 5 |
Inductive RowTypeDecidable (P : forall T, relation T) `(forall T, Equivalence (P T)) |
| 6 |
: RowType -> Type := |
| 7 |
| RTDecNil : RowTypeDecidable P _ nil |
| 8 |
| RTDecCons : forall T Ts, (forall t0 t1 : T, |
| 9 |
{P T t0 t1} + {~P T t0 t1}) |
| 10 |
-> RowTypeDecidable P _ Ts |
| 11 |
-> RowTypeDecidable P _ (cons T Ts). |
| 12 |
(* Toplevel input, characters 15-378: |
| 13 |
Error: |
| 14 |
Last occurrence of "RowTypeDecidable" must have "H" as 2nd argument in |
| 15 |
"RowTypeDecidable P (fun T : Type => H T) nil". *) |