aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_4813.v
blob: d1a2ebe82036be8f506483c8c99d376e4c7f52a9 (plain)
1
2
3
4
5
6
7
8
9
10
(* On the strength of "apply with" (see also #4782) *)

Record ProverT := { Facts : Type }.
Record ProverT_correct (P : ProverT) :=  { Valid : Facts P -> Prop ;
                                           Valid_weaken : Valid = Valid }.
Definition reflexivityValid (_ : unit) := True.
Definition reflexivityProver_correct : ProverT_correct {| Facts := unit |}.
Proof.
    eapply Build_ProverT_correct with (Valid := reflexivityValid).
Abort.