-
Notifications
You must be signed in to change notification settings - Fork 693
Use full_path for absolute paths more consistently #20371
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
Merged
Merged
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
SkySkimmer
added a commit
to SkySkimmer/QuickChick
that referenced
this pull request
Mar 20, 2025
SkySkimmer
added a commit
to SkySkimmer/coq-dpdgraph
that referenced
this pull request
Mar 20, 2025
SkySkimmer
added a commit
to SkySkimmer/coq-lsp
that referenced
this pull request
Mar 20, 2025
SkySkimmer
added a commit
to SkySkimmer/coqhammer
that referenced
this pull request
Mar 20, 2025
… returning full_path)
SkySkimmer
added a commit
to SkySkimmer/coq-tactician
that referenced
this pull request
Mar 20, 2025
SkySkimmer
added a commit
to SkySkimmer/vsrocq
that referenced
this pull request
Mar 20, 2025
24e6cc6
to
2460b07
Compare
LasseBlaauwbroek
added a commit
to coq-tactician/coq-tactician
that referenced
this pull request
Mar 21, 2025
Adapt to rocq-prover/rocq#20371 (Libnames.dirpath deprecated)
liyishuai
pushed a commit
to SkySkimmer/QuickChick
that referenced
this pull request
Mar 24, 2025
This check is anyway redundant with the kernel side check. For a modtype T it would check for T.T. Also the nametabs for modules and for modtypes are separate and it would only check one, but the kernel puts modules and modtypes in the same namespace.
(the synterp side are used by synterp-only functions)
We deprecated [Libnames.dirpath] because it is confusing when [dirpath_of_path] has a different meaning.
In particular, the module and section nametabs use full_path instead of dirpath, and the libobject object_prefix contains a full_path instead of a dirpath. Note that the comment on `Lib.current_dirpath false` was apparently incorrect (or maybe this changed semantics at some point?)
2460b07
to
48ef29b
Compare
ppedrot
approved these changes
Mar 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing out of the ordinary.
@coqbot bench |
🏁 Bench results:
🐢 Top 25 slow downs┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ TOP 25 SLOW DOWNS │ │ │ │ OLD NEW DIFF %DIFF Ln FILE │ ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ 119 121 1.9945 1.67% 22 coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ArithWithCasts.v.html │ │ 9.04 9.63 0.5884 6.51% 434 coq-mathcomp-odd-order/theories/PFsection12.v.html │ │ 93.4 94.0 0.5329 0.57% 20 coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/NBE.v.html │ │ 42.015 42.447 0.4320 1.03% 834 coq-vst/veric/binop_lemmas4.v.html │ │ 1.73 2.15 0.4222 24.44% 635 coq-bedrock2/bedrock2/src/bedrock2Examples/lightbulb.v.html │ │ 1.28 1.67 0.3888 30.32% 2103 coq-fiat-parsers/src/Parsers/BooleanRecognizerOptimized.v.html │ │ 15.4 15.8 0.3570 2.31% 618 coq-fiat-crypto-with-bedrock/rupicola/bedrock2/compiler/src/compiler/FlattenExpr.v.html │ │ 11.474 11.814 0.3400 2.96% 126 coq-vst/veric/binop_lemmas6.v.html │ │ 31.84 32.178 0.3380 1.06% 97 coq-vst/veric/binop_lemmas5.v.html │ │ 36.6 36.9 0.3174 0.87% 974 coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html │ │ 29.3 29.6 0.3117 1.06% 12 coq-fourcolor/theories/proof/job001to106.v.html │ │ 11.0 11.3 0.2700 2.46% 705 coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html │ │ 15.3 15.6 0.2675 1.74% 620 coq-fiat-crypto-with-bedrock/rupicola/bedrock2/compiler/src/compiler/FlattenExpr.v.html │ │ 2.88 3.14 0.2642 9.18% 597 coq-unimath/UniMath/CategoryTheory/DisplayedCats/Examples/SetGroupoidComprehension.v.html │ │ 23.0 23.2 0.2511 1.09% 79 coq-rewriter/src/Rewriter/Rewriter/Examples/PerfTesting/SieveOfEratosthenes.v.html │ │ 32.4 32.7 0.2439 0.75% 12 coq-fourcolor/theories/proof/job439to465.v.html │ │ 79.5 79.7 0.2429 0.31% 48 coq-fiat-crypto-with-bedrock/src/Curves/Weierstrass/AffineProofs.v.html │ │ 0.00730 0.244 0.2364 3239.74% 171 coq-mathcomp-analysis/theories/trigo.v.html │ │ 0.00205 0.234 0.2320 11295.08% 157 coq-metacoq-erasure/erasure/theories/Typed/ExtractionCorrectness.v.html │ │ 0.00168 0.234 0.2319 13768.82% 159 coq-metacoq-erasure/erasure/theories/Typed/Erasure.v.html │ │ 0.0127 0.242 0.2293 1805.87% 115 coq-mathcomp-analysis/theories/lebesgue_measure.v.html │ │ 0.000862 0.228 0.2272 26353.83% 287 coq-metacoq-erasure/erasure/theories/Typed/Erasure.v.html │ │ 25.1 25.4 0.2186 0.87% 12 coq-fourcolor/theories/proof/job223to226.v.html │ │ 12.3 12.6 0.2181 1.77% 14 coq-fiat-crypto-with-bedrock/src/Language/IdentifiersGENERATED.v.html │ │ 0.00329 0.221 0.2173 6616.01% 194 coq-mathcomp-analysis/theories/derive.v.html │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 🐇 Top 25 speed ups┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ TOP 25 SPEED UPS │ │ │ │ OLD NEW DIFF %DIFF Ln FILE │ ├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ 179 174 -4.9875 -2.79% 233 coq-fiat-crypto-with-bedrock/rupicola/bedrock2/deps/riscv-coq/src/riscv/Proofs/DecodeByExtension.v.html │ │ 202 200 -2.0027 -0.99% 8 coq-neural-net-interp-computed-lite/theories/MaxOfTwoNumbersSimpler/Computed/AllLogits.v.html │ │ 18.4 17.5 -0.9123 -4.97% 31 coq-engine-bench-lite/coq/PerformanceDemos/pattern.v.html │ │ 65.1 64.2 -0.8523 -1.31% 609 coq-fiat-crypto-with-bedrock/rupicola/bedrock2/bedrock2/src/bedrock2Examples/lightbulb.v.html │ │ 236 235 -0.7563 -0.32% 141 coq-fiat-crypto-with-bedrock/src/UnsaturatedSolinasHeuristics/Tests.v.html │ │ 38.6 38.0 -0.5076 -1.32% 224 coq-performance-tests-lite/PerformanceExperiments/rewrite_lift_lets_map.v.html │ │ 133 133 -0.5040 -0.38% 155 coq-fiat-crypto-with-bedrock/src/UnsaturatedSolinasHeuristics/Tests.v.html │ │ 22.2 21.7 -0.4815 -2.17% 49 coq-fiat-crypto-with-bedrock/src/Curves/Weierstrass/AffineProofs.v.html │ │ 15.654 15.24 -0.4140 -2.64% 1208 coq-vst/floyd/Component.v.html │ │ 14.9 14.5 -0.3891 -2.62% 3153 coq-fiat-crypto-with-bedrock/src/Assembly/WithBedrock/Proofs.v.html │ │ 22.3 22.0 -0.3736 -1.67% 12 coq-fourcolor/theories/proof/job303to306.v.html │ │ 99.5 99.2 -0.3702 -0.37% 968 coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html │ │ 4.10 3.75 -0.3492 -8.51% 1127 coq-unimath/UniMath/CategoryTheory/Hyperdoctrines/PartialEqRels/PERSubobjectClassifier.v.html │ │ 45.8 45.5 -0.3313 -0.72% 110 coq-bedrock2/bedrock2/src/bedrock2Examples/full_mul.v.html │ │ 24.1 23.7 -0.3217 -1.34% 12 coq-fourcolor/theories/proof/job486to489.v.html │ │ 42.8 42.5 -0.3216 -0.75% 579 coq-fiat-crypto-with-bedrock/rupicola/bedrock2/compiler/src/compiler/MMIO.v.html │ │ 11.4 11.1 -0.3153 -2.76% 410 coq-verdi-raft/theories/RaftProofs/LeaderLogsLogMatchingProof.v.html │ │ 38.3 38.0 -0.3140 -0.82% 3 coq-fiat-crypto-with-bedrock/src/ExtractionJsOfOCaml/bedrock2_fiat_crypto.v.html │ │ 64.3 64.0 -0.3119 -0.49% 609 coq-bedrock2/bedrock2/src/bedrock2Examples/lightbulb.v.html │ │ 11.8 11.5 -0.3097 -2.61% 2864 coq-fiat-crypto-with-bedrock/src/Assembly/WithBedrock/Proofs.v.html │ │ 28.7 28.4 -0.3092 -1.08% 32 coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/MontgomeryLadderRISCV.v.html │ │ 2.85 2.55 -0.3079 -10.79% 1001 coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html │ │ 33.729 33.424 -0.3050 -0.90% 194 coq-vst/veric/expr_lemmas4.v.html │ │ 4.79 4.49 -0.3016 -6.30% 1331 coq-mathcomp-odd-order/theories/PFsection9.v.html │ │ 56.7 56.4 -0.3000 -0.53% 731 coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JacobianCoZ.v.html │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ |
@coqbot merge now |
@ppedrot: Please take care of the following overlays:
|
ppedrot
added a commit
to ejgallego/coq-lsp
that referenced
this pull request
Mar 27, 2025
Adapt to rocq-prover/rocq#20371 (object_prefix moved to libobject)
ppedrot
added a commit
to rocq-prover/vsrocq
that referenced
this pull request
Mar 27, 2025
Adapt to rocq-prover/rocq#20371 (dirpath_of_module -> path_of_module)
ppedrot
added a commit
to rocq-community/coq-dpdgraph
that referenced
this pull request
Mar 27, 2025
Adapt to rocq-prover/rocq#20371 (Nametab.dirpath_of_module -> path_of_module)
lukaszcz
pushed a commit
to lukaszcz/coqhammer
that referenced
this pull request
Mar 27, 2025
… returning full_path)
Lysxia
pushed a commit
to QuickChick/QuickChick
that referenced
this pull request
Mar 27, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
In particular, the module and section nametabs use full_path instead
of dirpath, and the libobject object_prefix contains a full_path
instead of a dirpath.
Note that the comment on
Lib.current_dirpath false
was apparentlyincorrect (or maybe this changed semantics at some point?)
Overlays: