Closed pi8027 closed 2 years ago
Lemma vcgen_25 ...
Proof.
move=> *.
Time lra. (* Finished transaction in 4.308 secs (3.801u,0.007s) (successful) *)
Restart.
Time lra. (* Finished transaction in 0.57 secs (0.552u,0.s) (successful) *)
Qed.
This is exactly the issue I pointed out in https://github.com/math-comp/algebra-tactics/pull/54#discussion_r1029139823. I will fix it in a separate PR.
TODOs have been addressed. Let's merge.
Lemma vcgen_25 ... Proof. move=> *. Time lra. (* Finished transaction in 4.308 secs (3.801u,0.007s) (successful) *) Restart. Time lra. (* Finished transaction in 0.57 secs (0.552u,0.s) (successful) *) Qed.
This is exactly the issue I pointed out in #54 (comment). I will fix it in a separate PR.
I implemented the proposed solution (#74), but it does not fix the issue. The significant slowdown comes from coq.typecheck
. I guess that coq.typecheck
can be very slow in the presence of many large hypotheses. Does it explain the issue? @gares
TODOs:
ring
andfield
,Strategy expand
declarations, andvcgen_25
is not very fast.cc: @proux01