test-suite/bugs/bug_19557_2.v
raw| 1 | |
| 2 | Definition not (A : Type) := A -> False. |
| 3 | |
| 4 | Record HProp := { |
| 5 | hprop_type : Type ; |
| 6 | }. |
| 7 | |
| 8 | Coercion hprop_type : HProp >-> Sortclass. |
| 9 | |
| 10 | Definition merely (A : Type) : HProp. |
| 11 | Admitted. |
| 12 | |
| 13 | Section SwapTypes. |
| 14 | |
| 15 | Context (A B : Type). |
| 16 | |
| 17 | Lemma foo X (p:merely (X = B)) : |
| 18 | sigT (fun p0 : not (merely (X = A)) => merely (X = B)). |
| 19 | refine (existT _ (fun q => _) p). |
| 20 | Abort. |
| 21 | End SwapTypes. |