Coverage.agda 775 B

1234567891011121314151617181920212223
  1. module Coverage where
  2. infixr 40 _::_
  3. data List (A : Set) : Set where
  4. [] : List A
  5. _::_ : A -> List A -> List A
  6. data D : Set where
  7. c1 : D -> D
  8. c2 : D
  9. c3 : D -> D -> D -> D
  10. c4 : D -> D -> D
  11. f : D -> D -> D -> D -> List D
  12. f (c3 a (c1 b) (c1 c2)) (c1 (c1 c)) d (c1 (c1 (c1 e))) = a :: b :: c :: d :: e :: []
  13. f (c3 (c4 c2 a) (c1 b) (c1 c)) d (c1 (c1 e)) (c1 (c1 (c1 f))) = a :: b :: c :: d :: e :: f :: []
  14. f a b (c1 c) (c3 d (c1 e) (c1 f)) = a :: b :: c :: d :: e :: f :: []
  15. f (c3 (c4 a c2) b (c1 c)) (c1 d) (c1 (c1 (c1 e))) (c1 (c1 (c1 f))) = a :: b :: c :: d :: e :: f :: []
  16. -- f (c3 a (c1 b) c) (c1 (c1 (c1 d))) (c1 (c1 (c1 e))) f = a :: b :: c :: d :: e :: f :: []
  17. -- f a b (c1 (c1 c)) (c1 (c1 (c1 c2))) = a :: b :: c :: []
  18. f a b c d = a :: b :: c :: d :: []