test-suite/bugs/bug_17687.v
raw| 1 | (* -*- coq-prog-args: ("-noinit"); -*- *) |
| 2 | |
| 3 | Declare ML Module "rocq-runtime.plugins.ltac". |
| 4 | Global Set Default Proof Mode "Classic". |
| 5 | |
| 6 | Inductive paths {A : Type} (a : A) : forall _:A, Type := idpath : paths a a. |
| 7 | Axiom transport : forall {A : Type} (x : A) (p : paths x x), paths x x. |
| 8 | Lemma t (x : Type) (eq : paths x x) : paths (transport x eq) (transport x eq). |
| 9 | Fail rewrite eq. |
| 10 | Succeed try rewrite eq. |
| 11 | Abort. |