test-suite/bugs/bug_4160_2.v
raw| 1 | Inductive paths {A : Set} (a : A) : forall _ : A, Set := idpath : paths a a. |
| 2 | Inductive bool := B. |
| 3 | Inductive String : Set := string (c : bool) : String. |
| 4 | Definition head_type (s : String) : Set := |
| 5 | match s with string _ => bool end. |
| 6 | Axiom head : forall s : String, head_type s. |
| 7 | Definition ne_head (x y : bool) (H : paths (string x) (string y)) : |
| 8 | paths (head (string x)) (head (string y)). |
| 9 | Proof. |
| 10 | Fail case H. |
| 11 | Abort. |