Skip to content

Remove the name field from projections.#22114

Open
ppedrot wants to merge 3 commits into
rocq-prover:masterfrom
ppedrot:rm-projection-name
Open

Remove the name field from projections.#22114
ppedrot wants to merge 3 commits into
rocq-prover:masterfrom
ppedrot:rm-projection-name

Conversation

@ppedrot

@ppedrot ppedrot commented Jun 10, 2026

Copy link
Copy Markdown
Member

One now needs an environment to access this data. We are still a long way from removing the compatibility constants but at least it is not in the kernel data structure anymore.

Overlays:

@ppedrot ppedrot added this to the 9.3+rc1 milestone Jun 10, 2026
@ppedrot ppedrot requested review from a team as code owners June 10, 2026 13:33
@ppedrot ppedrot added the kind: cleanup Code removal, deprecation, refactorings, etc. label Jun 10, 2026
@ppedrot ppedrot requested review from a team as code owners June 10, 2026 13:33
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 10, 2026
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 10, 2026
Comment thread kernel/names.ml Outdated

@SkySkimmer SkySkimmer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaks the debug printers, eg on

Set Primitive Projections.
Record R := m { r : nat }.

Check fun x => r x.

breakpoint after understand in check_may_eval and print the term

Comment thread kernel/environ.mli
val get_projections : env -> inductive -> (Names.Projection.Repr.t * Sorts.relevance) array option

val projection_repr_label : env -> Projection.Repr.t -> Id.t
val projection_repr_constant : env -> Projection.Repr.t -> Constant.t

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to move this to higher layers at some point?
we have a table in the other direction in structures.ml but it seems these new functions are used in engine which is below structures.ml

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would agree, but I would still like to proceed incrementally. There are indeed several places where we depend on the projection names in the lower parts of the upper layers, which is bad (notably name generation, which required me to pass an additional environment in some places). Fixing this properly will require a behaviour change, so better left for a later time.

@SkySkimmer SkySkimmer self-assigned this Jun 10, 2026
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 10, 2026
@ppedrot ppedrot force-pushed the rm-projection-name branch from 280e555 to b538f29 Compare June 10, 2026 13:54
@ppedrot ppedrot requested a review from a team as a code owner June 10, 2026 13:54
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 10, 2026
@ppedrot

ppedrot commented Jun 10, 2026

Copy link
Copy Markdown
Member Author

I fixed the detyper to be more lenient with incomplete environments, this is enough to make your precise problem with the debugger disappear.

@SkySkimmer

Copy link
Copy Markdown
Contributor

@coqbot bench

@coqbot-app

coqbot-app Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

🏁 Bench results:

┌─────────────────────────────────────┬─────────────────────────┬───────────────────────────────────────┬─────────────────────────┐
│                                     │      user time [s]      │           CPU instructions            │  max resident mem [KB]  │
│                                     │                         │                                       │                         │
│            package_name             │   NEW      OLD    PDIFF │      NEW             OLD        PDIFF │   NEW      OLD    PDIFF │
├─────────────────────────────────────┼─────────────────────────┼───────────────────────────────────────┼─────────────────────────┤
│                            coq-core │    2.75     2.82  -2.48 │    18617334229     18617062154   0.00 │   90712    90964  -0.28 │
│                         rocq-stdlib │  416.82   424.03  -1.70 │  1508738939388   1508545060723   0.01 │  758740   759516  -0.10 │
│                         coq-unimath │ 1876.22  1887.10  -0.58 │ 15659939521066  15718707680357  -0.37 │ 2036152  1708360  19.19 │
│               coq-engine-bench-lite │  128.16   128.69  -0.41 │   949954873768    953900881071  -0.41 │ 1004604  1004556   0.00 │
│                        rocq-runtime │   75.98    76.28  -0.39 │   551406103090    551115177172   0.05 │  494500   494212   0.06 │
│               rocq-metarocq-erasure │  436.87   438.56  -0.39 │  2983275483942   2983256088133   0.00 │ 1822900  1821548   0.07 │
│                      rocq-equations │    8.45     8.48  -0.35 │    58289816579     58266924538   0.04 │  400972   401140  -0.04 │
│                            coq-hott │  156.60   157.13  -0.34 │  1050198936325   1057638239213  -0.70 │  460728   460748  -0.00 │
│                 coq-category-theory │  637.10   638.80  -0.27 │  4752659918808   4784715642706  -0.67 │ 6751208  6748620   0.04 │
│           rocq-metarocq-safechecker │  311.19   311.78  -0.19 │  2317228821096   2317125890050   0.00 │ 1703604  1701404   0.13 │
│                        rocq-bignums │   25.12    25.14  -0.08 │   160479402281    160465828741   0.01 │  459060   460228  -0.25 │
│                    coq-math-classes │   82.19    82.25  -0.07 │   497539938547    497469007315   0.01 │  514644   514984  -0.07 │
│                             coq-vst │  834.16   834.72  -0.07 │  6324954600826   6325068437571  -0.00 │ 2161768  2161568   0.01 │
│                           rocq-core │    6.73     6.73   0.00 │    41371296952     41370679394   0.00 │  445508   449424  -0.87 │
│                 rocq-metarocq-pcuic │  604.21   604.19   0.00 │  3882624847147   3882885119764  -0.01 │ 1788340  1693464   5.60 │
│                        coq-coqprime │   56.79    56.74   0.09 │   393311245790    393338582932  -0.01 │  821928   818072   0.47 │
│                        coq-rewriter │  330.17   329.75   0.13 │  2461726903888   2459271976987   0.10 │ 1419624  1432988  -0.93 │
│                           coq-color │  229.83   229.51   0.14 │  1454023393349   1453996182032   0.00 │ 1160272  1164036  -0.32 │
│        coq-fiat-crypto-with-bedrock │ 7245.19  7234.03   0.15 │ 59677783561636  59673181742731   0.01 │ 2827020  2827044  -0.00 │
│          coq-performance-tests-lite │  886.87   885.45   0.16 │  7123467489389   7120560030693   0.04 │ 1617324  1484556   8.94 │
│                      coq-verdi-raft │  491.98   491.10   0.18 │  3399403488098   3399199537726   0.01 │  826604   821816   0.58 │
│ coq-neural-net-interp-computed-lite │  235.71   235.22   0.21 │  2263668254783   2263937914806  -0.01 │  880304   880232   0.01 │
│         coq-rewriter-perf-SuperFast │  465.10   463.92   0.25 │  3652618217615   3654571262685  -0.05 │ 1255260  1248604   0.53 │
│                    coq-fiat-parsers │  272.34   271.53   0.30 │  2088387049851   2088330117284   0.00 │ 2034092  2034740  -0.03 │
│                        coq-compcert │  306.69   305.32   0.45 │  1995623198317   1995557395914   0.00 │ 1197288  1202296  -0.42 │
│                rocq-metarocq-common │   41.36    41.11   0.61 │   268399663368    268070740219   0.12 │  904156   905600  -0.16 │
│                         coq-coqutil │   47.08    46.79   0.62 │   291344232799    291325377560   0.01 │  566152   565384   0.14 │
│              rocq-metarocq-template │   81.68    81.10   0.72 │   560026443675    559901714346   0.02 │ 1094896  1095432  -0.05 │
│                       coq-fiat-core │   55.15    54.67   0.88 │   333964626478    334049592025  -0.03 │  482524   482508   0.00 │
│                           coq-verdi │   43.47    43.06   0.95 │   287791643976    287781988717   0.00 │  529012   527100   0.36 │
│                   coq-iris-examples │  368.27   364.41   1.06 │  2407073895986   2383107865431   1.01 │ 1070160  1071996  -0.17 │
│                 rocq-metarocq-utils │   24.61    24.31   1.23 │   159344043320    158637642423   0.45 │  583720   582632   0.19 │
└─────────────────────────────────────┴─────────────────────────┴───────────────────────────────────────┴─────────────────────────┘

INFO: failed to install
rocq-elpi (in NEW)
rocq-metarocq-translations (in NEW)
coq-bedrock2 (in NEW)

rocq-mathcomp-boot (dependency rocq-elpi failed)
rocq-mathcomp-order (dependency rocq-elpi failed)
rocq-mathcomp-ssreflect (dependency rocq-elpi failed)
rocq-mathcomp-finite-group (dependency rocq-elpi failed)
rocq-mathcomp-algebra (dependency rocq-elpi failed)
rocq-mathcomp-solvable (dependency rocq-elpi failed)
rocq-mathcomp-field (dependency rocq-elpi failed)
rocq-mathcomp-group-representation (dependency rocq-elpi failed)
coq-mathcomp-odd-order (dependency rocq-elpi failed)
coq-mathcomp-analysis (dependency rocq-elpi failed)
coq-corn (dependency rocq-elpi failed)
coq-coquelicot (dependency rocq-elpi failed)
coq-fourcolor (dependency rocq-elpi failed)

🐢 Top 25 slow downs
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                        TOP 25 SLOW DOWNS                                                        │
│                                                                                                                                 │
│ OLD   NEW    DIFF   %DIFF    Ln                    FILE                                                                         │
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 1.35  2.45  1.0934  80.75%   574  coq-fiat-crypto-with-bedrock/src/Bedrock/P256/Jacobian.v.html                                 │
│ 23.9  24.9  1.0546   4.42%   782  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│ 42.0  43.1  1.0296   2.45%     2  coq-fiat-crypto-with-bedrock/src/ExtractionJsOfOCaml/fiat_crypto.v.html                       │
│ 26.6  27.6  1.0234   3.85%   794  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│ 44.1  45.1  0.9824   2.23%     3  coq-fiat-crypto-with-bedrock/src/ExtractionJsOfOCaml/bedrock2_fiat_crypto.v.html              │
│ 28.9  29.7  0.8442   2.92%   145  coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/GarageDoorTop.v.html                  │
│ 44.1  45.0  0.8371   1.90%     3  coq-fiat-crypto-with-bedrock/src/ExtractionJsOfOCaml/WithBedrock/fiat_crypto.v.html           │
│ 27.1  27.9  0.8126   2.99%   148  coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/GarageDoorTop.v.html                  │
│ 26.7  27.5  0.7858   2.94%    34  coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/MontgomeryLadderRISCV.v.html          │
│ 12.7  13.5  0.7762   6.12%  1628  coq-fiat-crypto-with-bedrock/src/Util/FSets/FMapTrie.v.html                                   │
│ 28.8  29.5  0.7304   2.54%    31  coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/MontgomeryLadderRISCV.v.html          │
│ 30.4  31.1  0.6508   2.14%   198  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 31.6  32.2  0.6254   1.98%   121  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 16.7  17.3  0.6240   3.73%   762  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│ 22.4  23.0  0.6056   2.70%   776  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│  200   200  0.6007   0.30%     8  coq-neural-net-interp-computed-lite/theories/MaxOfTwoNumbersSimpler/Computed/AllLogits.v.html │
│ 30.6  31.2  0.5979   1.95%   148  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 88.9  89.5  0.5833   0.66%   999  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html               │
│ 30.7  31.2  0.5604   1.83%   214  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 30.5  31.0  0.5140   1.69%   139  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 30.5  31.0  0.4592   1.51%   166  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 33.3  33.7  0.4458   1.34%   898  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│ 89.0  89.4  0.4079   0.46%   968  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html               │
│ 30.7  31.1  0.3909   1.27%   180  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 30.6  31.0  0.3908   1.28%   157  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
🐇 Top 25 speed ups
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                            TOP 25 SPEED UPS                                                            │
│                                                                                                                                        │
│  OLD    NEW    DIFF     %DIFF    Ln                     FILE                                                                           │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│   108    105  -2.1224   -1.97%    22  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ArithWithCasts.v.html                           │
│   238    236  -1.5951   -0.67%   141  coq-fiat-crypto-with-bedrock/src/UnsaturatedSolinasHeuristics/Tests.v.html                       │
│  16.7   15.4  -1.3194   -7.91%   833  coq-unimath/UniMath/CategoryTheory/ComprehensionCats/CwfFromCompCatWithUniv.v.html               │
│  11.7   10.6  -1.0419   -8.94%   194  coq-fiat-crypto-with-bedrock/src/Fancy/Barrett256.v.html                                         │
│   134    133  -0.8919   -0.66%   155  coq-fiat-crypto-with-bedrock/src/UnsaturatedSolinasHeuristics/Tests.v.html                       │
│  43.0   42.2  -0.8447   -1.96%   578  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/compiler/src/compiler/MMIO.v.html                 │
│  3.28   2.45  -0.8285  -25.23%    34  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ArithWithCasts.v.html                           │
│  55.9   55.1  -0.7863   -1.41%    27  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ToFancyWithCasts.v.html                         │
│  3.74   2.98  -0.7645  -20.43%   130  coq-category-theory/Functor/Strong/Product.v.html                                                │
│  4.15   3.45  -0.6997  -16.85%  1190  coq-unimath/UniMath/CategoryTheory/GrothendieckConstruction/IsPullback.v.html                    │
│ 0.879  0.209  -0.6701  -76.23%   374  rocq-stdlib/theories/Sorting/SetoidList.v.html                                                   │
│  3.90   3.28  -0.6161  -15.81%   492  rocq-stdlib/theories/Reals/Cauchy/ConstructiveCauchyRealsMult.v.html                             │
│  19.2   18.6  -0.5949   -3.10%   481  coq-verdi-raft/theories/RaftProofs/EndToEndLinearizability.v.html                                │
│  38.8   38.2  -0.5613   -1.45%  1423  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/compiler/src/compiler/FlatToRiscvFunctions.v.html │
│  1.01  0.451  -0.5588  -55.34%  2109  rocq-stdlib/theories/FSets/FMapFacts.v.html                                                      │
│  18.8   18.2  -0.5481   -2.92%    31  coq-engine-bench-lite/coq/PerformanceDemos/pattern.v.html                                        │
│  2.12   1.58  -0.5338  -25.23%    42  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ToFancyWithCasts.v.html                         │
│  2.90   2.38  -0.5277  -18.17%   597  coq-unimath/UniMath/CategoryTheory/DisplayedCats/Examples/SetGroupoidComprehension.v.html        │
│  42.5   42.1  -0.4637   -1.09%    50  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html             │
│  4.15   3.71  -0.4444  -10.70%   196  rocq-stdlib/theories/ZArith/ZModOffset.v.html                                                    │
│  24.6   24.1  -0.4296   -1.75%   345  coq-fiat-crypto-with-bedrock/src/Curves/Montgomery/XZProofs.v.html                               │
│  80.6   80.2  -0.4158   -0.52%    20  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/NBE.v.html                                      │
│  4.22   3.85  -0.3743   -8.87%   199  coq-fiat-crypto-with-bedrock/src/Fancy/Montgomery256.v.html                                      │
│  18.6   18.2  -0.3484   -1.88%   670  coq-performance-tests-lite/src/Nia.v.html                                                        │
│  35.5   35.2  -0.3412   -0.96%   835  coq-fiat-crypto-with-bedrock/src/Fancy/Compiler.v.html                                           │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 11, 2026
@ppedrot ppedrot force-pushed the rm-projection-name branch from b538f29 to 6a5bb9a Compare June 11, 2026 11:04
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 11, 2026
@ppedrot

ppedrot commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

Let's have a bench with the overlays: @coqbot bench

ppedrot added a commit to ppedrot/coq-elpi that referenced this pull request Jun 11, 2026
Comment thread kernel/names.ml Outdated
@coqbot-app

coqbot-app Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

🏁 Bench results:

┌─────────────────────────────────────┬─────────────────────────┬───────────────────────────────────────┬─────────────────────────┐
│                                     │      user time [s]      │           CPU instructions            │  max resident mem [KB]  │
│                                     │                         │                                       │                         │
│            package_name             │   NEW      OLD    PDIFF │      NEW             OLD        PDIFF │   NEW      OLD    PDIFF │
├─────────────────────────────────────┼─────────────────────────┼───────────────────────────────────────┼─────────────────────────┤
│                      rocq-equations │    8.38     8.73  -4.01 │    59142811274     59106719596   0.06 │  404912   400020   1.22 │
│                            coq-core │    2.76     2.84  -2.82 │    18620087871     18621924818  -0.01 │   90936    91216  -0.31 │
│             rocq-mathcomp-ssreflect │    1.17     1.19  -1.68 │     7671188023      7672632904  -0.02 │  593856   592088   0.30 │
│                           rocq-core │    6.84     6.93  -1.30 │    41373275135     41374318597  -0.00 │  442808   446104  -0.74 │
│                            coq-hott │  156.29   157.60  -0.83 │  1050885459584   1058458115181  -0.72 │  462644   459792   0.62 │
│                 rocq-mathcomp-field │  193.44   194.55  -0.57 │  1452232133777   1451545901637   0.05 │ 2284964  2308604  -1.02 │
│                        rocq-bignums │   25.24    25.36  -0.47 │   160475203347    160480258742  -0.00 │  460824   463072  -0.49 │
│                 coq-category-theory │  637.55   640.19  -0.41 │  4749961094521   4789262000696  -0.82 │ 7291120  6748900   8.03 │
│               rocq-mathcomp-algebra │  391.71   393.13  -0.36 │  2892710285762   2893341510509  -0.02 │ 1594280  1592580   0.11 │
│  rocq-mathcomp-group-representation │  103.39   103.76  -0.36 │   729366097268    729099801002   0.04 │ 1705660  1705616   0.00 │
│                        rocq-runtime │   75.86    76.09  -0.30 │   551140275411    551148139887  -0.00 │  494232   494380  -0.03 │
│               coq-mathcomp-analysis │ 1224.13  1227.79  -0.30 │  8993712985672   8994205156383  -0.01 │ 2106468  2110396  -0.19 │
│                    coq-math-classes │   82.22    82.45  -0.28 │   498331988910    498423100231  -0.02 │  519216   514428   0.93 │
│                rocq-metarocq-common │   41.48    41.56  -0.19 │   268765359285    268480326343   0.11 │  906960   904828   0.24 │
│              rocq-mathcomp-solvable │   98.56    98.66  -0.10 │   665892811487    665873961784   0.00 │ 1092784  1096904  -0.38 │
│                       coq-fourcolor │ 1353.08  1354.28  -0.09 │ 12430194099691  12430100013755   0.00 │ 1018072  1018300  -0.02 │
│                      coq-coquelicot │   38.96    38.99  -0.08 │   235262418578    235248233400   0.01 │  825608   825144   0.06 │
│                 rocq-metarocq-pcuic │  602.79   603.10  -0.05 │  3884554390586   3884930771430  -0.01 │ 1787616  1692996   5.59 │
│                  rocq-mathcomp-boot │   39.48    39.49  -0.03 │   233346862297    233372538607  -0.01 │  665944   666300  -0.05 │
│                            coq-corn │  638.42   638.55  -0.02 │  4329478210190   4329525242172  -0.00 │  619512   619284   0.04 │
│                         coq-unimath │ 1887.37  1887.75  -0.02 │ 15673755155662  15734478821412  -0.39 │ 2036624  1709104  19.16 │
│                       coq-fiat-core │   55.45    55.45   0.00 │   336580464888    336661594114  -0.02 │  480720   483184  -0.51 │
│           rocq-metarocq-safechecker │  311.29   311.18   0.04 │  2316169600697   2315902086628   0.01 │ 1704772  1700720   0.24 │
│              coq-mathcomp-odd-order │  605.32   605.08   0.04 │  4281343499441   4281682999597  -0.01 │ 2651752  2651292   0.02 │
│                        coq-rewriter │  331.28   331.10   0.05 │  2463424986318   2460970525571   0.10 │ 1470212  1473548  -0.23 │
│                 rocq-mathcomp-order │   81.75    81.67   0.10 │   601139614182    601250401759  -0.02 │ 1600248  1601192  -0.06 │
│               rocq-metarocq-erasure │  438.34   437.83   0.12 │  2984780737122   2984132138188   0.02 │ 1823328  1827880  -0.25 │
│        coq-fiat-crypto-with-bedrock │ 7249.75  7235.26   0.20 │ 59705983154943  59695385360060   0.02 │ 2827044  2827140  -0.00 │
│                        coq-compcert │  305.55   304.85   0.23 │  1998217577597   1998181245946   0.00 │ 1198288  1201472  -0.27 │
│              rocq-metarocq-template │   82.02    81.83   0.23 │   560926877513    560873706965   0.01 │ 1097496  1099436  -0.18 │
│                         rocq-stdlib │  416.80   415.81   0.24 │  1509174385331   1508530670104   0.04 │  758628   761176  -0.33 │
│          coq-performance-tests-lite │  888.53   885.44   0.35 │  7124400907722   7120840778333   0.05 │ 1547936  1569132  -1.35 │
│               coq-engine-bench-lite │  128.33   127.88   0.35 │   954083301653    950846354070   0.34 │ 1004524  1004232   0.03 │
│                             coq-vst │  838.47   835.29   0.38 │  6329435704087   6329424342875   0.00 │ 2160788  2159432   0.06 │
│                           coq-verdi │   43.52    43.34   0.42 │   288792270623    288836276551  -0.02 │  531072   527012   0.77 │
│                    coq-fiat-parsers │  274.01   272.70   0.48 │  2093320275834   2093159597420   0.01 │ 2035996  2036268  -0.01 │
│                        coq-coqprime │   57.01    56.71   0.53 │   393953459069    393967052312  -0.00 │  820020   818132   0.23 │
│                         coq-coqutil │   47.34    47.09   0.53 │   293266858038    293227863507   0.01 │  570028   568188   0.32 │
│                      coq-verdi-raft │  493.40   490.64   0.56 │  3402973111413   3403091850206  -0.00 │  826672   821864   0.59 │
│                           rocq-elpi │   16.31    16.19   0.74 │   116917966205    116712055065   0.18 │  451180   451172   0.00 │
│                           coq-color │  231.05   229.32   0.75 │  1458207246052   1458062266996   0.01 │ 1161652  1161544   0.01 │
│          rocq-mathcomp-finite-group │   26.64    26.42   0.83 │   172464920662    172457075109   0.00 │  568464   571680  -0.56 │
│         coq-rewriter-perf-SuperFast │  469.16   464.34   1.04 │  3656502586053   3654581658707   0.05 │ 1250236  1239784   0.84 │
│                   coq-iris-examples │  369.06   364.97   1.12 │  2409960219488   2385302384310   1.03 │ 1068012  1073912  -0.55 │
│ coq-neural-net-interp-computed-lite │  238.73   235.43   1.40 │  2264807897382   2265073036731  -0.01 │  879036   880540  -0.17 │
│                 rocq-metarocq-utils │   24.92    24.56   1.47 │   160075283642    159406711849   0.42 │  585864   585656   0.04 │
└─────────────────────────────────────┴─────────────────────────┴───────────────────────────────────────┴─────────────────────────┘

INFO: failed to install
rocq-metarocq-translations (in NEW)
coq-bedrock2 (in NEW)

🐢 Top 25 slow downs
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                          TOP 25 SLOW DOWNS                                                          │
│                                                                                                                                     │
│  OLD     NEW     DIFF   %DIFF    Ln                    FILE                                                                         │
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│    200     203  3.6221   1.82%     8  coq-neural-net-interp-computed-lite/theories/MaxOfTwoNumbersSimpler/Computed/AllLogits.v.html │
│   24.5    27.9  3.3951  13.85%   129  coq-fiat-crypto-with-bedrock/src/Curves/Weierstrass/Projective.v.html                         │
│   88.3    90.4  2.0794   2.35%   968  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html               │
│   88.5    90.2  1.7619   1.99%   999  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html               │
│   30.6    31.5  0.9645   3.16%   148  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   33.2    34.0  0.8137   2.45%   898  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│   12.7    13.5  0.7844   6.17%  1628  coq-fiat-crypto-with-bedrock/src/Util/FSets/FMapTrie.v.html                                   │
│   30.5    31.3  0.7646   2.50%   157  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   30.4    31.1  0.7628   2.51%   214  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 15.378  16.132  0.7540   4.90%  1209  coq-vst/floyd/Component.v.html                                                                │
│   31.7    32.4  0.7494   2.37%   121  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   44.2    45.0  0.7272   1.64%     3  coq-fiat-crypto-with-bedrock/src/ExtractionJsOfOCaml/bedrock2_fiat_crypto.v.html              │
│   83.4    84.0  0.5823   0.70%    48  coq-fiat-crypto-with-bedrock/src/Curves/Weierstrass/AffineProofs.v.html                       │
│   30.7    31.3  0.5724   1.86%   180  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   28.4    28.9  0.5664   2.00%   305  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/Addchain.v.html                            │
│   30.6    31.2  0.5494   1.79%   166  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 15.425  15.961  0.5360   3.47%  1223  coq-vst/floyd/Component.v.html                                                                │
│   44.6    45.1  0.5157   1.16%     3  coq-fiat-crypto-with-bedrock/src/ExtractionJsOfOCaml/WithBedrock/fiat_crypto.v.html           │
│   50.6    51.1  0.5109   1.01%   567  coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/EdwardsXYZT.v.html                    │
│   30.5    31.0  0.5034   1.65%   139  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   25.3    25.8  0.4833   1.91%   788  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│   30.4    30.9  0.4727   1.55%   198  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   12.4    12.8  0.4280   3.46%   930  coq-unimath/UniMath/CategoryTheory/Hyperdoctrines/PartialEqRels/ExponentialEqs.v.html         │
│   26.6    27.0  0.4201   1.58%   794  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/JoyeLadder.v.html                          │
│ 34.081  34.494  0.4130   1.21%    97  coq-vst/veric/binop_lemmas5.v.html                                                            │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
🐇 Top 25 speed ups
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                             TOP 25 SPEED UPS                                                              │
│                                                                                                                                           │
│  OLD     NEW      DIFF     %DIFF    Ln                     FILE                                                                           │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│   108       106  -1.5758   -1.46%    22  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ArithWithCasts.v.html                           │
│  11.8      10.5  -1.2610  -10.70%   194  coq-fiat-crypto-with-bedrock/src/Fancy/Barrett256.v.html                                         │
│  43.0      41.8  -1.1668   -2.71%   578  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/compiler/src/compiler/MMIO.v.html                 │
│  16.6      15.4  -1.1172   -6.75%   833  coq-unimath/UniMath/CategoryTheory/ComprehensionCats/CwfFromCompCatWithUniv.v.html               │
│  56.0      55.1  -0.8651   -1.55%    27  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ToFancyWithCasts.v.html                         │
│  4.04      3.18  -0.8639  -21.37%  1190  coq-unimath/UniMath/CategoryTheory/GrothendieckConstruction/IsPullback.v.html                    │
│  3.79      2.95  -0.8372  -22.10%   130  coq-category-theory/Functor/Strong/Product.v.html                                                │
│  39.1      38.3  -0.7982   -2.04%  1423  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/compiler/src/compiler/FlatToRiscvFunctions.v.html │
│  80.7      80.1  -0.5988   -0.74%    20  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/NBE.v.html                                      │
│  48.8      48.2  -0.5651   -1.16%   376  coq-unimath/UniMath/ModelCategories/Generated/LNWFSMonoidalStructure.v.html                      │
│  42.2      41.6  -0.5406   -1.28%   235  coq-category-theory/Construction/DecoratedCospan/Category.v.html                                 │
│  2.10      1.57  -0.5281  -25.13%    42  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ToFancyWithCasts.v.html                         │
│  39.6      39.1  -0.4993   -1.26%   236  coq-rewriter/src/Rewriter/Rewriter/Examples/PerfTesting/LiftLetsMap.v.html                       │
│   237       236  -0.4835   -0.20%   141  coq-fiat-crypto-with-bedrock/src/UnsaturatedSolinasHeuristics/Tests.v.html                       │
│  2.84      2.38  -0.4586  -16.13%   597  coq-unimath/UniMath/CategoryTheory/DisplayedCats/Examples/SetGroupoidComprehension.v.html        │
│  4.27      3.82  -0.4503  -10.56%   199  coq-fiat-crypto-with-bedrock/src/Fancy/Montgomery256.v.html                                      │
│ 0.406  0.000109  -0.4058  -99.97%   227  coq-mathcomp-analysis/theories/trigo.v.html                                                      │
│  62.9      62.5  -0.4054   -0.64%   608  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/bedrock2/src/bedrock2Examples/lightbulb.v.html    │
│  22.0      21.6  -0.3812   -1.73%   651  rocq-stdlib/theories/Zmod/ZmodBase.v.html                                                        │
│  5.10      4.73  -0.3760   -7.37%    19  coq-fiat-crypto-with-bedrock/src/Language/IdentifiersBasicGENERATED.v.html                       │
│  13.7      13.4  -0.3647   -2.66%   216  coq-fiat-crypto-with-bedrock/src/Fancy/Barrett256.v.html                                         │
│  2.04      1.68  -0.3606  -17.70%   447  coq-unimath/UniMath/CategoryTheory/DisplayedCats/Examples/StrictTwoSidedDispCat.v.html           │
│  54.6      54.2  -0.3554   -0.65%   296  coq-fiat-crypto-with-bedrock/src/Bedrock/Secp256k1/Addchain.v.html                               │
│ 0.357   0.00181  -0.3547  -99.49%   509  coq-mathcomp-analysis/theories/sequences.v.html                                                  │
│ 0.609     0.256  -0.3528  -57.96%    11  rocq-stdlib/theories/omega/PreOmega.v.html                                                       │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 12, 2026
@ppedrot ppedrot force-pushed the rm-projection-name branch from 6a5bb9a to 8b0c11b Compare June 12, 2026 06:15
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 12, 2026
Comment thread kernel/names.ml Outdated
Comment thread kernel/names.ml Outdated
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 12, 2026
ppedrot added 3 commits June 12, 2026 16:50
One now needs an environment to access this data. We are still a long
way from removing the compatibility constants but at least it is not
in the kernel data structure anymore.
@ppedrot ppedrot force-pushed the rm-projection-name branch from 8b0c11b to 20e3b31 Compare June 12, 2026 14:51
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Jun 12, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants