test-suite/bugs/bug_4813.v
raw| 1 | (* On the strength of "apply with" (see also #4782) *) |
| 2 | |
| 3 | Record ProverT := { Facts : Type }. |
| 4 | Record ProverT_correct (P : ProverT) := { Valid : Facts P -> Prop ; |
| 5 | Valid_weaken : Valid = Valid }. |
| 6 | Definition reflexivityValid (_ : unit) := True. |
| 7 | Definition reflexivityProver_correct : ProverT_correct {| Facts := unit |}. |
| 8 | Proof. |
| 9 | eapply Build_ProverT_correct with (Valid := reflexivityValid). |
| 10 | Abort. |