-
Notifications
You must be signed in to change notification settings - Fork 687
Set firstorder solver explicitly to auto with core in prelude #20820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
TheoWinterhalter
wants to merge
1
commit into
rocq-prover:master
Choose a base branch
from
TheoWinterhalter:auto_with_core_prelude
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Set firstorder solver explicitly to auto with core in prelude #20820
TheoWinterhalter
wants to merge
1
commit into
rocq-prover:master
from
TheoWinterhalter:auto_with_core_prelude
+1
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Théo Zimmermann <theo.zimmermann@telecom-paris.fr>
66a593c
to
98f21d3
Compare
@coqbot run full ci |
Actually, I checked the code and Axiom foo : nat -> False.
Hint Resolve foo : core.
Goal False.
Proof.
debug auto with core.
(* debug auto: *)
(*
* assumption. (*fail*)
* intro. (*fail*)
* simple apply foo (in core). (*success*)
** assumption. (*fail*)
** intro. (*fail*)
* simple apply foo (in core). (*success*)
** assumption. (*fail*)
** intro. (*fail*)
*) |
See #20823. |
Out of curiosity, to assess whether this is really observable, @coqbot bench |
🏁 Bench results:
INFO: failed to install 🐢 Top 25 slow downs┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ TOP 25 SLOW DOWNS │ │ │ │ OLD NEW DIFF %DIFF Ln FILE │ ├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ 93.5 94.9 1.4044 1.50% 968 coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html │ │ 93.4 94.6 1.2076 1.29% 999 coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html │ │ 198 199 0.6265 0.32% 8 coq-neural-net-interp-computed-lite/theories/MaxOfTwoNumbersSimpler/Computed/AllLogits.v.html │ │ 0.434 0.883 0.4492 103.56% 474 rocq-stdlib/theories/MSets/MSetWeakList.v.html │ │ 1.10 1.50 0.4003 36.38% 813 rocq-stdlib/theories/MSets/MSetRBT.v.html │ │ 0.229 0.620 0.3910 171.05% 707 rocq-stdlib/theories/MSets/MSetList.v.html │ │ 0.558 0.925 0.3667 65.70% 816 rocq-stdlib/theories/MSets/MSetRBT.v.html │ │ 0.385 0.749 0.3640 94.45% 1982 rocq-stdlib/theories/FSets/FMapFacts.v.html │ │ 2.25 2.56 0.3008 13.34% 607 rocq-stdlib/theories/Zmod/ZmodBase.v.html │ │ 0.472 0.758 0.2864 60.68% 13 rocq-stdlib/theories/FSets/FMapPositive.v.html │ │ 0.251 0.532 0.2814 112.23% 11 rocq-stdlib/theories/QArith/Qminmax.v.html │ │ 0.367 0.647 0.2802 76.30% 487 rocq-stdlib/theories/MSets/MSetWeakList.v.html │ │ 26.6 26.9 0.2502 0.94% 12 coq-fourcolor/theories/proof/job611to617.v.html │ │ 27.0 27.2 0.2192 0.81% 12 coq-fourcolor/theories/proof/job287to290.v.html │ │ 3.08 3.30 0.2179 7.08% 213 rocq-stdlib/theories/setoid_ring/Ncring_tac.v.html │ │ 0.254 0.470 0.2163 85.20% 313 rocq-stdlib/theories/Reals/Abstract/ConstructiveLUB.v.html │ │ 0.218 0.432 0.2139 97.99% 246 rocq-stdlib/theories/Structures/OrdersEx.v.html │ │ 25.3 25.5 0.2031 0.80% 12 coq-fourcolor/theories/proof/job499to502.v.html │ │ 5.16 5.37 0.2022 3.92% 130 coq-category-theory/Functor/Strong/Product.v.html │ │ 0.470 0.667 0.1969 41.89% 10 rocq-mathcomp-character/character/vcharacter.v.html │ │ 0.316 0.512 0.1959 62.00% 868 rocq-stdlib/theories/MSets/MSetRBT.v.html │ │ 0.223 0.418 0.1958 87.97% 330 coq-corn/metric2/FinEnum.v.html │ │ 23.0 23.2 0.1939 0.84% 79 coq-rewriter/src/Rewriter/Rewriter/Examples/PerfTesting/SieveOfEratosthenes.v.html │ │ 20.4 20.5 0.1689 0.83% 12 coq-fourcolor/theories/proof/job283to286.v.html │ │ 1.26 1.43 0.1644 13.03% 7 coq-mathcomp-analysis/theories/lebesgue_measure.v.html │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 🐇 Top 25 speed ups┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ TOP 25 SPEED UPS │ │ │ │ OLD NEW DIFF %DIFF Ln FILE │ ├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ 66.5 63.0 -3.5200 -5.29% 609 coq-bedrock2/bedrock2/src/bedrock2Examples/lightbulb.v.html │ │ 40.1 38.8 -1.3310 -3.32% 236 coq-rewriter/src/Rewriter/Rewriter/Examples/PerfTesting/LiftLetsMap.v.html │ │ 3.95 3.29 -0.6611 -16.74% 196 rocq-stdlib/theories/ZArith/ZModOffset.v.html │ │ 0.864 0.261 -0.6026 -69.74% 12 rocq-stdlib/theories/MSets/MSets.v.html │ │ 9.37 8.99 -0.3810 -4.07% 434 coq-mathcomp-odd-order/theories/PFsection12.v.html │ │ 36.9 36.5 -0.3786 -1.03% 139 coq-fiat-parsers/src/Parsers/Refinement/SharpenedJSON.v.html │ │ 0.544 0.171 -0.3731 -68.62% 731 rocq-stdlib/theories/MSets/MSetRBT.v.html │ │ 41.093 40.728 -0.3650 -0.89% 834 coq-vst/veric/binop_lemmas4.v.html │ │ 1.65 1.30 -0.3460 -20.98% 572 rocq-stdlib/theories/MSets/MSetAVL.v.html │ │ 8.64 8.33 -0.3092 -3.58% 1331 coq-mathcomp-odd-order/theories/PFsection9.v.html │ │ 0.400 0.107 -0.2931 -73.29% 12 rocq-stdlib/theories/Reals/Abstract/ConstructiveAbs.v.html │ │ 0.460 0.183 -0.2764 -60.12% 586 rocq-stdlib/theories/Strings/Byte.v.html │ │ 0.620 0.359 -0.2606 -42.05% 13 rocq-stdlib/theories/Numbers/DecimalFacts.v.html │ │ 21.7 21.4 -0.2436 -1.13% 651 rocq-stdlib/theories/Zmod/ZmodBase.v.html │ │ 3.13 2.89 -0.2336 -7.47% 1447 rocq-metarocq-erasure/erasure/theories/ErasureFunction.v.html │ │ 24.0 23.8 -0.2320 -0.97% 12 coq-fourcolor/theories/proof/job486to489.v.html │ │ 0.446 0.227 -0.2185 -49.03% 719 rocq-stdlib/theories/MSets/MSetRBT.v.html │ │ 0.593 0.375 -0.2180 -36.79% 21 rocq-stdlib/theories/FSets/FMapAVL.v.html │ │ 3.80 3.59 -0.2132 -5.61% 492 rocq-stdlib/theories/Reals/Cauchy/ConstructiveCauchyRealsMult.v.html │ │ 0.516 0.309 -0.2070 -40.12% 45 rocq-stdlib/theories/Logic/Diaconescu.v.html │ │ 8.57 8.37 -0.2011 -2.35% 925 coq-mathcomp-odd-order/theories/PFsection4.v.html │ │ 28.3 28.1 -0.1948 -0.69% 12 coq-fourcolor/theories/proof/job563to588.v.html │ │ 0.454 0.259 -0.1942 -42.80% 1652 rocq-stdlib/theories/FSets/FMapAVL.v.html │ │ 10.726 10.535 -0.1910 -1.78% 985 coq-vst/floyd/closed_lemmas.v.html │ │ 7.651 7.462 -0.1890 -2.47% 1220 coq-vst/floyd/Component.v.html │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ |
So it is actually observable, at least in the stdlib. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind: cleanup
Code removal, deprecation, refactorings, etc.
needs: independent fix
The PR reveals an independent bug.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR proposes to
Set Firstorder Solver auto with core.
in the prelude so thatoutputs
instead of the current
which is arguably much less informative / confusing.