Skip to content
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

Let with Qed: produce really-Qed side definition #17576

Merged
merged 2 commits into from Nov 4, 2023

Conversation

SkySkimmer
Copy link
Contributor

@SkySkimmer SkySkimmer commented May 5, 2023

@coqbot-app coqbot-app bot added the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label May 5, 2023
@SkySkimmer
Copy link
Contributor Author

@coqbot run full ci

@coqbot-app coqbot-app bot removed the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label May 5, 2023
@SkySkimmer
Copy link
Contributor Author

@coqbot bench

@SkySkimmer
Copy link
Contributor Author

NB: when univ monomorphic we could support async / vos for these proofs AFAICT (the current code forces the body but at least in principle we could stop doing that)

@coqbot-app
Copy link
Contributor

coqbot-app bot commented May 6, 2023

🏁 Bench results:

┌──────────────────────────────┬─────────────────────────┬───────────────────────────────────────┬────────────────────────────────────────┬──────────────────────────┐
│                              │      user time [s]      │              CPU cycles               │            CPU instructions            │  max resident mem [KB]   │
│                              │                         │                                       │                                        │                          │
│         package_name         │   NEW      OLD    PDIFF │      NEW             OLD        PDIFF │      NEW             OLD        PDIFF  │   NEW      OLD    PDIFF  │
├──────────────────────────────┼─────────────────────────┼───────────────────────────────────────┼────────────────────────────────────────┼──────────────────────────┤
│       coq-mathcomp-odd-order │  368.55   401.17  -8.13 │  1674352805349   1825120658028  -8.26 │  2719281057960   3054686357487  -10.98 │ 1482252  1568276   -5.49 │
│       coq-mathcomp-character │   62.45    63.25  -1.26 │   283223289129    286856297096  -1.27 │   433213429125    441001086511   -1.77 │  705536   709448   -0.55 │
│           coq-mathcomp-field │   77.11    78.08  -1.24 │   348943359872    353691992843  -1.34 │   568910328800    577883738285   -1.55 │  885540   928076   -4.58 │
│             coq-math-classes │   84.67    85.25  -0.68 │   379046726325    380586547941  -0.40 │   536113061042    538160754603   -0.38 │  516980   519432   -0.47 │
│             coq-fiat-parsers │  328.90   330.27  -0.41 │  1449825339408   1455254904208  -0.37 │  2444281385525   2449301481429   -0.20 │ 2730224  3462328  -21.14 │
│        coq-engine-bench-lite │  155.32   155.92  -0.38 │   660120640650    663187444474  -0.46 │  1244554373739   1246598023943   -0.16 │ 1037408  1037328    0.01 │
│       coq-mathcomp-ssreflect │   27.09    27.19  -0.37 │   121815579701    122425840593  -0.50 │   160468446233    160703692885   -0.15 │  576632   576652   -0.00 │
│         coq-mathcomp-algebra │   61.48    61.69  -0.34 │   277380390393    278618160050  -0.44 │   387984386924    391677901080   -0.94 │  579380   579416   -0.01 │
│                     coq-corn │  775.22   777.28  -0.27 │  3490862181397   3499207888962  -0.24 │  5454520924877   5495625840079   -0.75 │  792008   793704   -0.21 │
│                 coq-bedrock2 │  314.16   314.75  -0.19 │  1418142079643   1419663937672  -0.11 │  2806056895879   2805921527436    0.00 │  861320   862412   -0.13 │
│                     coq-core │  115.23   115.37  -0.12 │   461637701528    457482022159   0.91 │   484135847839    484301488331   -0.03 │  289176   289868   -0.24 │
│ coq-fiat-crypto-with-bedrock │ 6132.94  6140.04  -0.12 │ 27592570252988  27627154735642  -0.13 │ 51073595974996  51074576663421   -0.00 │ 2452004  2450180    0.07 │
│                  coq-bignums │   27.75    27.77  -0.07 │   125033162071    125036101361  -0.00 │   181561375012    180590614453    0.54 │  484860   485284   -0.09 │
│      coq-metacoq-safechecker │  413.47   413.41   0.01 │  1882459813857   1881761208888   0.04 │  3163517239424   3163295364290    0.01 │ 2003628  2001340    0.11 │
│                coq-fourcolor │ 1497.07  1496.77   0.02 │  6621100792060   6619101319451   0.03 │ 12094922966304  12121336528950   -0.22 │ 1278456  1278632   -0.01 │
│                     coq-hott │  148.57   148.51   0.04 │   663748954118    663618156203   0.02 │  1063220431306   1063795054199   -0.05 │  615608   618348   -0.44 │
│                  coq-unimath │ 1477.18  1476.32   0.06 │  6683662601287   6681031278632   0.04 │ 12598461731638  12598606609706   -0.00 │ 1315844  1315696    0.01 │
│                    coq-verdi │   47.28    47.23   0.11 │   211360127494    211367495796  -0.00 │   325942646704    325871467003    0.02 │  527040   524708    0.44 │
│                      coq-vst │  862.75   861.83   0.11 │  3882099662788   3877695334438   0.11 │  6465465220402   6462957356389    0.04 │ 1930752  1928600    0.11 │
│                  coq-coqutil │   39.05    39.00   0.13 │   172065143852    172865310828  -0.46 │   252502717663    252554801636   -0.02 │  558208   558252   -0.01 │
│                 coq-rewriter │  351.82   351.35   0.13 │  1586553528059   1584606983306   0.12 │  2633571142874   2633417963445    0.01 │ 1331632  1328968    0.20 │
│        coq-mathcomp-fingroup │   21.63    21.60   0.14 │    97443277127     97344575076   0.10 │   144460338786    144511663474   -0.04 │  491448   490212    0.25 │
│          coq-category-theory │  720.58   719.24   0.19 │  3268258924943   3261889482090   0.20 │  5640436441262   5639788856985    0.01 │  869848   870324   -0.05 │
│               coq-coquelicot │   36.43    36.36   0.19 │   160594178781    160223906909   0.23 │   224455227422    224520678020   -0.03 │  780964   782264   -0.17 │
│  coq-rewriter-perf-SuperFast │  739.12   737.67   0.20 │  3297947979959   3286667869232   0.34 │  5734731532301   5734648046183    0.00 │ 1312452  1438148   -8.74 │
│            coq-metacoq-pcuic │  624.49   623.24   0.20 │  2808483733003   2805629210577   0.10 │  4195371702875   4196054380722   -0.02 │ 1979064  1976752    0.12 │
│                   coq-geocoq │  604.45   602.93   0.25 │  2727334699927   2719563889438   0.29 │  4313825902373   4314142055886   -0.01 │  999696   997660    0.20 │
│               coq-verdi-raft │  561.53   559.62   0.34 │  2546641761485   2536668282923   0.39 │  3987221567916   3986707523826    0.01 │  818168   817424    0.09 │
│                 coq-compcert │  285.81   284.55   0.44 │  1277331519547   1272169871352   0.41 │  1963567348116   1962261079306    0.07 │ 1129804  1128604    0.11 │
│   coq-performance-tests-lite │  760.61   757.05   0.47 │  3390433822182   3375032153364   0.46 │  5996602347902   5995625331042    0.02 │ 1868940  1868920    0.00 │
│                 coq-coqprime │   45.39    45.17   0.49 │   201863061723    201086678794   0.39 │   311820781065    311965633427   -0.05 │  776740   776848   -0.01 │
│                    coq-color │  225.41   224.31   0.49 │  1003207812357   1000227671944   0.30 │  1475535072265   1475443879265    0.01 │ 1174660  1170748    0.33 │
│        coq-mathcomp-solvable │   76.57    76.18   0.51 │   345767426576    344277571798   0.43 │   534140322481    535221275459   -0.20 │  738156   738400   -0.03 │
│                   coq-stdlib │  411.44   408.80   0.65 │  1747743953431   1738005395204   0.56 │  1448040244018   1448367052952   -0.02 │  641008   643736   -0.42 │
│                coq-fiat-core │   59.91    59.45   0.77 │   252998905567    252001944580   0.40 │   376910483426    376951964269   -0.01 │  491708   490492    0.25 │
└──────────────────────────────┴─────────────────────────┴───────────────────────────────────────┴────────────────────────────────────────┴──────────────────────────┘

INFO: failed to install coq-iris-examples
coq-metacoq-erasure
coq-metacoq-template
coq-metacoq-translations
coq-perennial

🐢 Top 25 slow downs
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                               TOP 25 SLOW DOWNS                                                                │
│                                                                                                                                                │
│   OLD       NEW      DIFF    %DIFF     Ln                     FILE                                                                             │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 130.7360  131.8760  1.1400     0.87%   968  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html                    │
│ 130.6770  131.7600  1.0830     0.83%   999  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html                    │
│ 212.4940  213.2570  0.7630     0.36%   141  coq-fiat-crypto-with-bedrock/src/UnsaturatedSolinasHeuristics/Tests.v.html                         │
│   7.1810    7.8830  0.7020     9.78%   881  coq-vst/veric/binop_lemmas4.v.html                                                                 │
│   0.6570    1.2470  0.5900    89.80%   409  coq-corn/complex/AbsCC.v.html                                                                      │
│ 142.3480  142.9160  0.5680     0.40%  1190  coq-unimath/UniMath/CategoryTheory/GrothendieckConstruction/IsPullback.v.html                      │
│ 122.2460  122.7060  0.4600     0.38%   155  coq-fiat-crypto-with-bedrock/src/UnsaturatedSolinasHeuristics/Tests.v.html                         │
│  29.3450   29.7650  0.4200     1.43%    12  coq-fourcolor/theories/job531to534.v.html                                                          │
│  25.9510   26.3710  0.4200     1.62%    12  coq-fourcolor/theories/job495to498.v.html                                                          │
│  26.2090   26.6090  0.4000     1.53%    12  coq-fourcolor/theories/job295to298.v.html                                                          │
│   8.4700    8.8580  0.3880     4.58%   496  coq-rewriter-perf-SuperFast/src/Rewriter/Rewriter/Wf.v.html                                        │
│  26.9310   27.3090  0.3780     1.40%    68  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/deps/riscv-coq/src/riscv/Proofs/VerifyDecode.v.html │
│  27.8640   28.2290  0.3650     1.31%    12  coq-fourcolor/theories/job279to282.v.html                                                          │
│  33.6640   33.9910  0.3270     0.97%    12  coq-fourcolor/theories/job165to189.v.html                                                          │
│   0.5130    0.8070  0.2940    57.31%   946  coq-vst/veric/binop_lemmas2.v.html                                                                 │
│   3.7000    3.9880  0.2880     7.78%    19  coq-fiat-crypto-with-bedrock/src/Language/IdentifiersBasicGENERATED.v.html                         │
│  27.8830   28.1660  0.2830     1.01%    12  coq-fourcolor/theories/job618to622.v.html                                                          │
│  32.1140   32.3660  0.2520     0.78%    12  coq-fourcolor/theories/job107to164.v.html                                                          │
│   0.7740    1.0130  0.2390    30.88%     6  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html               │
│   0.2800    0.5150  0.2350    83.93%   299  coq-fiat-crypto-with-bedrock/src/Assembly/WithBedrock/Proofs.v.html                                │
│   0.0030    0.2340  0.2310  7700.00%   371  coq-fiat-crypto-with-bedrock/src/CLI.v.html                                                        │
│   0.0280    0.2530  0.2250   803.57%   235  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Translation/Proofs/Func.v.html                      │
│  27.9180   28.1390  0.2210     0.79%    12  coq-fourcolor/theories/job535to541.v.html                                                          │
│   0.8160    1.0370  0.2210    27.08%     7  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Translation/Parameters/Defaults.v.html              │
│   0.8130    1.0300  0.2170    26.69%    12  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Translation/Cmd.v.html                              │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

🐇 Top 25 speed ups
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                             TOP 25 SPEED UPS                                                              │
│                                                                                                                                           │
│   OLD       NEW      DIFF     %DIFF    Ln                    FILE                                                                         │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│   3.5750    0.1700  -3.4050  -95.24%   434  coq-mathcomp-odd-order/theories/PFsection10.v.html                                            │
│   1.9770    0.1060  -1.8710  -94.64%  1120  coq-mathcomp-odd-order/theories/PFsection10.v.html                                            │
│   2.0430    0.2290  -1.8140  -88.79%   819  coq-mathcomp-odd-order/theories/PFsection11.v.html                                            │
│  64.0310   62.2720  -1.7590   -2.75%   139  coq-fiat-parsers/src/Parsers/Refinement/SharpenedJSON.v.html                                  │
│   1.8280    0.0870  -1.7410  -95.24%   488  coq-mathcomp-odd-order/theories/PFsection10.v.html                                            │
│   1.9130    0.1730  -1.7400  -90.96%  1913  coq-mathcomp-odd-order/theories/PFsection13.v.html                                            │
│ 124.0540  123.4770  -0.5770   -0.47%    22  coq-fiat-crypto-with-bedrock/src/Rewriter/Passes/ArithWithCasts.v.html                        │
│  52.6020   52.0920  -0.5100   -0.97%    50  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   5.9670    5.5470  -0.4200   -7.04%   167  coq-vst/veric/binop_lemmas6.v.html                                                            │
│  26.3440   25.9390  -0.4050   -1.54%    12  coq-fourcolor/theories/job554to562.v.html                                                     │
│   0.4470    0.0470  -0.4000  -89.49%   887  coq-mathcomp-odd-order/theories/PFsection4.v.html                                             │
│  80.3660   80.0000  -0.3660   -0.46%   618  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/bedrock2/src/bedrock2Examples/lightbulb.v.html │
│   0.4380    0.0780  -0.3600  -82.19%   619  coq-mathcomp-odd-order/theories/PFsection10.v.html                                            │
│  52.7740   52.4150  -0.3590   -0.68%   915  coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/GarageDoor.v.html                     │
│  53.3320   52.9890  -0.3430   -0.64%    50  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│ 112.1290  111.7880  -0.3410   -0.30%    48  coq-fiat-crypto-with-bedrock/src/Curves/Weierstrass/AffineProofs.v.html                       │
│   0.3690    0.0300  -0.3390  -91.87%   467  coq-mathcomp-odd-order/theories/PFsection10.v.html                                            │
│  28.0940   27.7580  -0.3360   -1.20%    12  coq-fourcolor/theories/job291to294.v.html                                                     │
│  22.0660   21.7320  -0.3340   -1.51%    12  coq-fourcolor/theories/job507to510.v.html                                                     │
│  24.2510   23.9480  -0.3030   -1.25%   114  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   0.3350    0.0350  -0.3000  -89.55%   620  coq-mathcomp-odd-order/theories/PFsection10.v.html                                            │
│  19.9050   19.6160  -0.2890   -1.45%    12  coq-fourcolor/theories/job623to633.v.html                                                     │
│   0.4110    0.1240  -0.2870  -69.83%   216  coq-mathcomp-odd-order/theories/PFsection10.v.html                                            │
│  24.2400   23.9590  -0.2810   -1.16%   106  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html          │
│   0.3120    0.0360  -0.2760  -88.46%  1032  coq-mathcomp-odd-order/theories/PFsection11.v.html                                            │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

@SkySkimmer
Copy link
Contributor Author

@coqbot ci minimize ci-iris

@coqbot-app
Copy link
Contributor

coqbot-app bot commented May 6, 2023

I am now running minimization at commit d185ff1 on requested target ci-iris. I'll come back to you with the results once it's done.

@coqbot-app
Copy link
Contributor

coqbot-app bot commented May 6, 2023

Minimized File /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/algebra/ofe.v (from ci-iris) (full log on GitHub Actions)

We are collecting data on the user experience of the Coq Bug Minimizer.
If you haven't already filled the survey for this PR, please fill out our short survey!

Minimized Coq File (consider adding this file to the test-suite)
(* -*- mode: coq; coq-prog-args: ("-emacs" "-q" "-w" "-notation-overridden" "-w" "-redundant-canonical-projection" "-w" "-future-coercion-class-field" "-w" "-deprecated-native-compiler-option" "-native-compiler" "ondemand" "-Q" "/github/workspace/cwd" "Top" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/prelude" "iris.prelude" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/algebra" "iris.algebra" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/si_logic" "iris.si_logic" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/bi" "iris.bi" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/proofmode" "iris.proofmode" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/base_logic" "iris.base_logic" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/program_logic" "iris.program_logic" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris_heap_lang" "iris.heap_lang" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris_unstable" "iris.unstable" "-Q" "/github/workspace/builds/coq/coq-failing/_build_ci/iris/iris_deprecated" "iris.deprecated" "-Q" "/github/workspace/builds/coq/coq-failing/_install_ci/lib/coq/user-contrib/Autosubst" "Autosubst" "-Q" "/github/workspace/builds/coq/coq-failing/_install_ci/lib/coq/user-contrib/Ltac2" "Ltac2" "-Q" "/github/workspace/builds/coq/coq-failing/_install_ci/lib/coq/user-contrib/stdpp" "stdpp" "-top" "iris.algebra.ofe") -*- *)
(* File reduced by coq-bug-minimizer from original input, then from 1931 lines to 33 lines, then from 46 lines to 107 lines, then from 112 lines to 34 lines, then from 47 lines to 112 lines, then from 117 lines to 34 lines, then from 47 lines to 111 lines, then from 116 lines to 34 lines, then from 47 lines to 1625 lines, then from 1626 lines to 47 lines, then from 60 lines to 93 lines, then from 98 lines to 46 lines, then from 51 lines to 46 lines *)
(* coqc version 8.18+alpha compiled with OCaml 4.14.1
   coqtop version runner-zseo-lx5-project-6138686-concurrent-0:/builds/coq/coq/_build/default,(HEAD detached at a3534d472d) (a3534d472d952ca4b560c3e82043b36c11fa47bf)
   Expected coqc runtime on this file: 0.203 sec *)
Require Coq.Lists.List.
Require Coq.Unicode.Utf8.

Export Set Default Proof Using "Type".
Export Coq.Classes.Morphisms.
Export Coq.Setoids.Setoid.
Export Coq.Unicode.Utf8.

Global Generalizable All Variables.

Declare Scope stdpp_scope.
Global Open Scope stdpp_scope.

Class Equiv A := equiv: relation A.

Infix "≡" := equiv (at level 70, no associativity) : stdpp_scope.

Class Dist A := dist : nat → relation A.
Notation "x ≡{ n }≡ y" := (dist n x y)
  (at level 70, n at next level, format "x  ≡{ n }≡  y").
Notation NonExpansive f := (∀ n, Proper (dist n ==> dist n) f).

Record OfeMixin A `{Equiv A, Dist A} := {
  mixin_equiv_dist (x y : A) : x ≡ y ↔ ∀ n, x ≡{n}≡ y;
  mixin_dist_equivalence n : Equivalence (@dist A _ n);
  mixin_dist_lt n m (x y : A) : x ≡{n}≡ y → m < n → x ≡{m}≡ y;
}.

Structure ofe := Ofe {
  ofe_car :> Type;
  ofe_equiv : Equiv ofe_car;
  ofe_dist : Dist ofe_car;
  ofe_mixin : OfeMixin ofe_car
}.
Global Hint Extern 0 (Dist _) => refine (ofe_dist _); shelve : typeclass_instances.

Section iso_cofe_subtype.
  Context {A B : ofe} `{Cofe A} (P : A → Prop) (f : ∀ x, P x → B) (g : B → A).
  Context (g_dist : ∀ n y1 y2, y1 ≡{n}≡ y2 ↔ g y1 ≡{n}≡ g y2).
  Let Hgne : NonExpansive g.
  Proof.
intros n y1 y2.
apply g_dist.
Qed.
Intermediate Coq File (useful for debugging if minimization did not go as far as you wanted)
Build Log (contains the Coq error message) (truncated to last 8.0KiB; full 3.8MiB file on GitHub Actions Artifacts under build.log)
STALL stdpp/.coq-native/Nstdpp_listset_nodup.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_finite.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_numbers.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_nmap.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_zmap.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_coPset.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_coGset.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_lexico.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_propset.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_decidable.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_list.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_list_numbers.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_functions.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_hlist.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_sorting.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_infinite.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_nat_cancel.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_namespaces.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_telescopes.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_binders.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp/.coq-native/Nstdpp_ssreflect.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp//.coq-native
INSTALL stdpp_unstable/.coq-native/Nstdpp_unstable_bitblast.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp/unstable//.coq-native
INSTALL stdpp_unstable/.coq-native/Nstdpp_unstable_bitvector.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp/unstable//.coq-native
INSTALL stdpp_unstable/.coq-native/Nstdpp_unstable_bitvector_tactics.cmxs /github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//user-contrib/stdpp/unstable//.coq-native
make[3]: Entering directory '/github/workspace/builds/coq/coq-failing/_build_ci/stdpp'
MINIMIZER_DEBUG_EXTRA: coqc: /github/workspace/builds/coq/coq-failing/_install_ci/bin/////coqc
MINIMIZER_DEBUG_EXTRA: coqpath: 
MINIMIZER_DEBUG_EXTRA: pwd: PWD=/github/workspace/builds/coq/coq-failing/_build_ci/stdpp
MINIMIZER_DEBUG_EXTRA: exec: /github/workspace/builds/coq/coq-failing/_install_ci/bin/coqc.orig --print-version 
MINIMIZER_DEBUG: info: /tmp/tmp-coqbot-minimizer.MtFf6F8ufA
MINIMIZER_DEBUG: files: 
make[3]: Leaving directory '/github/workspace/builds/coq/coq-failing/_build_ci/stdpp'
make[2]: Leaving directory '/github/workspace/builds/coq/coq-failing/_build_ci/stdpp'
make[1]: Leaving directory '/github/workspace/builds/coq/coq-failing/_build_ci/stdpp'
+ cd /github/workspace/builds/coq/coq-failing/_build_ci/iris
+ make
+ '[' -z x ']'
+ command make
+ make
make[1]: Entering directory '/github/workspace/builds/coq/coq-failing/_build_ci/iris'
make[2]: Entering directory '/github/workspace/builds/coq/coq-failing/_build_ci/iris'
MINIMIZER_DEBUG_EXTRA: coqc: /github/workspace/builds/coq/coq-failing/_install_ci/bin///coqc
MINIMIZER_DEBUG_EXTRA: coqpath: 
MINIMIZER_DEBUG_EXTRA: pwd: PWD=/github/workspace/builds/coq/coq-failing/_build_ci/iris
MINIMIZER_DEBUG_EXTRA: exec: /github/workspace/builds/coq/coq-failing/_install_ci/bin/coqc.orig --print-version 
MINIMIZER_DEBUG: info: /tmp/tmp-coqbot-minimizer.awZhaFxrhZ
MINIMIZER_DEBUG: files: 
MINIMIZER_DEBUG_EXTRA: coqc: /github/workspace/builds/coq/coq-failing/_install_ci/bin/////coqc
MINIMIZER_DEBUG_EXTRA: coqpath: 
MINIMIZER_DEBUG_EXTRA: pwd: PWD=/github/workspace/builds/coq/coq-failing/_build_ci/iris
MINIMIZER_DEBUG_EXTRA: exec: /github/workspace/builds/coq/coq-failing/_install_ci/bin/coqc.orig --print-version 
MINIMIZER_DEBUG: info: /tmp/tmp-coqbot-minimizer.amIiNYAM5j
MINIMIZER_DEBUG: files: 
MINIMIZER_DEBUG_EXTRA: coqc: /github/workspace/builds/coq/coq-failing/_install_ci/bin/////coqc
MINIMIZER_DEBUG_EXTRA: coqpath: 
MINIMIZER_DEBUG_EXTRA: pwd: PWD=/github/workspace/builds/coq/coq-failing/_build_ci/iris
MINIMIZER_DEBUG_EXTRA: exec: /github/workspace/builds/coq/coq-failing/_install_ci/bin/coqc.orig --print-version 
MINIMIZER_DEBUG: info: /tmp/tmp-coqbot-minimizer.02jxiixn2S
MINIMIZER_DEBUG: files: 
COQLINT
COQC iris/algebra/ofe.v
MINIMIZER_DEBUG_EXTRA: coqc: /github/workspace/builds/coq/coq-failing/_install_ci/bin/////coqc
MINIMIZER_DEBUG_EXTRA: coqpath: 
MINIMIZER_DEBUG_EXTRA: pwd: PWD=/github/workspace/builds/coq/coq-failing/_build_ci/iris
MINIMIZER_DEBUG_EXTRA: exec: /github/workspace/builds/coq/coq-failing/_install_ci/bin/coqc.orig -q -w -notation-overridden -w -redundant-canonical-projection -w -future-coercion-class-field -w -deprecated-native-compiler-option -native-compiler ondemand -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/prelude iris.prelude -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/algebra iris.algebra -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/si_logic iris.si_logic -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/bi iris.bi -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/proofmode iris.proofmode -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/base_logic iris.base_logic -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris/program_logic iris.program_logic -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris_heap_lang iris.heap_lang -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris_unstable iris.unstable -Q /github/workspace/builds/coq/coq-failing/_build_ci/iris/iris_deprecated iris.deprecated iris/algebra/ofe.v 
MINIMIZER_DEBUG: info: /tmp/tmp-coqbot-minimizer.ZIMJ8xbLkR
MINIMIZER_DEBUG: files:  iris/algebra/ofe.v
File "./iris/algebra/ofe.v", line 1580, characters 39-43:
Error:
The following section variable is used but not declared:
g_dist.

You can either update your proof to not depend on g_dist, or you can update your Proof line from
Proof using A B g
to
Proof using A B g g_dist

Command exited with non-zero status 1
iris/algebra/ofe.vo (real: 3.78, user: 3.56, sys: 0.21, mem: 523660 ko)
Makefile.coq:809: recipe for target 'iris/algebra/ofe.vo' failed
make[3]: *** [iris/algebra/ofe.vo] Error 1
Makefile.coq:408: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/github/workspace/builds/coq/coq-failing/_build_ci/iris'
Makefile:3: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/github/workspace/builds/coq/coq-failing/_build_ci/iris'
Makefile.ci:150: recipe for target 'ci-iris' failed
make: *** [ci-iris] Error 2
/github/workspace/builds/coq /github/workspace
::endgroup::
Minimization Log (truncated to last 8.0KiB; full 160KiB file on GitHub Actions Artifacts under bug.log)
ris_deprecated iris.deprecated -Q /github/workspace/builds/coq/coq-passing/_install_ci/lib/coq/user-contrib/Autosubst Autosubst -Q /github/workspace/builds/coq/coq-passing/_install_ci/lib/coq/user-contrib/Ltac2 Ltac2 -Q /github/workspace/builds/coq/coq-passing/_install_ci/lib/coq/user-contrib/iris iris -Q /github/workspace/builds/coq/coq-passing/_install_ci/lib/coq/user-contrib/iris_examples iris_examples -Q /github/workspace/builds/coq/coq-passing/_install_ci/lib/coq/user-contrib/stdpp stdpp -top ofe -o /tmp/bug_01.vo -dump-glob bug_01.glob bug_01.v
getting bug_01.glob (/github/workspace/cwd/bug_01.glob)
getting bug_01.glob (/github/workspace/cwd/bug_01.glob)
�[92m
Succeeded in normalizing Requires.�[0m

Now, I will attempt to split up [Require] statements...
getting /github/workspace/cwd/bug_01.v
NOTE: The file /github/workspace/cwd/bug_01.v is very new (1683366297, 0 seconds old), delaying until it's a bit older
getting /github/workspace/cwd/bug_01.glob
getting /github/workspace/cwd/bug_01.glob

No Requires to split.

In order to efficiently manipulate the file, I have to break it into statements.  I will attempt to do this by matching on periods.
�[92m
Splitting successful.�[0m

I will now attempt to remove any lines after the line which generates the error.

No lines to trim.

In order to efficiently manipulate the file, I have to break it into definitions.  I will now attempt to do this.
Sending statements to coqtop...
Done.  Splitting to definitions...
�[92m
Splitting to definitions successful.�[0m

I will now attempt to remove goals ending in [Abort.]
�[92m
Aborted removal successful.�[0m

I will now attempt to remove unused Ltacs
�[92m
Ltac removal successful.�[0m

I will now attempt to remove unused definitions
�[92m
Definition removal successful.�[0m

I will now attempt to remove unused non-instance, non-canonical structure definitions
�[92m
Non-instance definition removal successful.�[0m

I will now attempt to remove unused variables
�[92m
Variable removal successful.�[0m

I will now attempt to remove unused contexts
�[92m
Context removal successful.�[0m

I will now attempt to replace Qed Obligation with Admit Obligations
�[92m
Admitting Qed Obligations successful.�[0m
Failed to do everything at once; trying one at a time.
Admitting Qed Obligations unsuccessful.
No successful changes.

I will now attempt to replace Qeds with Admitteds

Non-fatal error: Failed to admit Qeds and preserve the error.  
The new error was:
File "/tmp/tmpielesazo/iris/algebra/ofe.v", line 4, characters 0-38:
Warning: Syntax "Export Set" is deprecated, use the attribute syntax
"#[export] Set" instead. [legacy-export-set,deprecated]
File "/tmp/tmpielesazo/iris/algebra/ofe.v", line 41, characters 0-9:
Warning: Let definition Hgne declared as an axiom. [let-as-axiom,vernacular]
Error: The section iso_cofe_subtype needs to be closed.


�[93mIntermediate code not saved.�[0m
Failed to do everything at once; trying one at a time.
Admitting Qeds unsuccessful.
No successful changes.

I will now attempt to replace Qeds with admit. Defined.

Non-fatal error: Failed to admit Qeds and preserve the error.  
The new error was:
File "/tmp/tmpxi4qi34v/iris/algebra/ofe.v", line 4, characters 0-38:
Warning: Syntax "Export Set" is deprecated, use the attribute syntax
"#[export] Set" instead. [legacy-export-set,deprecated]
File "/tmp/tmpxi4qi34v/iris/algebra/ofe.v", line 42, characters 0-8:
Error:  (in proof Hgne): Attempt to save a proof with given up goals. If this
is really what you want to do, use Admitted in place of Qed.


�[93mIntermediate code not saved.�[0m
Failed to do everything at once; trying one at a time.
Admitting Qeds unsuccessful.
No successful changes.

I will now attempt to remove goals ending in [Abort.]
�[92m
Aborted removal successful.�[0m

I will now attempt to remove unused Ltacs
�[92m
Ltac removal successful.�[0m

I will now attempt to remove unused definitions
�[92m
Definition removal successful.�[0m

I will now attempt to remove unused non-instance, non-canonical structure definitions
�[92m
Non-instance definition removal successful.�[0m

I will now attempt to remove unused variables
�[92m
Variable removal successful.�[0m

I will now attempt to remove unused contexts
�[92m
Context removal successful.�[0m

I will now attempt to admit [abstract ...]s
�[92m
Admitting [abstract ...] successful.�[0m
�[92m
Admitting [abstract ...] successful.�[0m
Admitting [abstract ...] unsuccessful.
Admitting [abstract ...] unsuccessful.

I will now attempt to remove goals ending in [Abort.]
�[92m
Aborted removal successful.�[0m

I will now attempt to remove unused Ltacs
�[92m
Ltac removal successful.�[0m

I will now attempt to remove unused definitions
�[92m
Definition removal successful.�[0m

I will now attempt to remove unused non-instance, non-canonical structure definitions
�[92m
Non-instance definition removal successful.�[0m

I will now attempt to remove unused variables
�[92m
Variable removal successful.�[0m

I will now attempt to remove unused contexts
�[92m
Context removal successful.�[0m

I will now attempt to replace Obligation with Admit Obligations
�[92m
Admitting Obligations successful.�[0m
Failed to do everything at once; trying one at a time.
Admitting Obligations unsuccessful.
No successful changes.

I will now attempt to admit lemmas with Admitted
�[92m
Admitting lemmas successful.�[0m
Failed to do everything at once; trying one at a time.
Admitting lemmas unsuccessful.
No successful changes.

I will now attempt to admit definitions with Admitted

Non-fatal error: Failed to admit definitions and preserve the error.  
The new error was:
File "/tmp/tmpielesazo/iris/algebra/ofe.v", line 4, characters 0-38:
Warning: Syntax "Export Set" is deprecated, use the attribute syntax
"#[export] Set" instead. [legacy-export-set,deprecated]
File "/tmp/tmpielesazo/iris/algebra/ofe.v", line 41, characters 0-9:
Warning: Let definition Hgne declared as an axiom. [let-as-axiom,vernacular]
Error: The section iso_cofe_subtype needs to be closed.


�[93mIntermediate code not saved.�[0m
Failed to do everything at once; trying one at a time.
Admitting definitions unsuccessful.
No successful changes.

I will now attempt to admit lemmas with admit. Defined
�[92m
Admitting lemmas successful.�[0m
Failed to do everything at once; trying one at a time.
Admitting lemmas unsuccessful.
No successful changes.

I will now attempt to admit definitions with admit. Defined

Non-fatal error: Failed to admit definitions and preserve the error.  
The new error was:
File "/tmp/tmpxi4qi34v/iris/algebra/ofe.v", line 4, characters 0-38:
Warning: Syntax "Export Set" is deprecated, use the attribute syntax
"#[export] Set" instead. [legacy-export-set,deprecated]
File "/tmp/tmpxi4qi34v/iris/algebra/ofe.v", line 42, characters 0-8:
Error:  (in proof Hgne): Attempt to save a proof with given up goals. If this
is really what you want to do, use Admitted in place of Qed.


�[93mIntermediate code not saved.�[0m
Failed to do everything at once; trying one at a time.
Admitting definitions unsuccessful.
No successful changes.

I will now attempt to export modules
Module exportation unsuccessful.

I will now attempt to split imports and exports
Import/Export splitting unsuccessful.

I will now attempt to split := definitions
One-line definition splitting unsuccessful.

I will now attempt to remove all lines, one at a time
Line removal unsuccessful.

I will now attempt to remove goals ending in [Abort.]
�[92m
Aborted removal successful.�[0m

I will now attempt to remove unused Ltacs
�[92m
Ltac removal successful.�[0m

I will now attempt to remove unused definitions
�[92m
Definition removal successful.�[0m

I will now attempt to remove unused non-instance, non-canonical structure definitions
�[92m
Non-instance definition removal successful.�[0m

I will now attempt to remove unused variables
�[92m
Variable removal successful.�[0m

I will now attempt to remove unused contexts
�[92m
Context removal successful.�[0m

I will now attempt to remove empty sections

No empty sections to remove.

Now, I will attempt to strip repeated newlines and trailing spaces from this file...

No strippable newlines or spaces.

If you have any comments on your experience of the minimizer, please share them in a reply (possibly tagging @JasonGross).
If you believe there's a bug in the bug minimizer, please report it on the bug minimizer issue tracker.

@ejgallego
Copy link
Member

ejgallego commented May 9, 2023

I'm wondering if in the end the best solution would be to have an attribute that controls when something is added to the named environment?

@SkySkimmer
Copy link
Contributor Author

I don't understand what you mean.

@ejgallego
Copy link
Member

I don't understand what you mean.

I mean that the operation of defining a constant vs adding it to the section environment (main use of Let) could be separated.

So instead of:

Let foo : T. Proof. ... Qed.

we could have

Lemma foo : T. Proof. ... Qed.
Add Named Variable foo.

@SkySkimmer
Copy link
Contributor Author

Is that different from

Section S.
  Definition foo := 0. (* or any other definition / tactic proof *)
  Let foo := foo.

which can be done in master?

@SkySkimmer SkySkimmer added the request: full CI Use this label when you want your next push to trigger a full CI. label May 10, 2023
@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 May 10, 2023
@proux01
Copy link
Contributor

proux01 commented May 12, 2023

The 10% speedup on odd-order is impressive.

@SkySkimmer SkySkimmer added the request: full CI Use this label when you want your next push to trigger a full CI. label May 12, 2023
@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 May 12, 2023
@SkySkimmer
Copy link
Contributor Author

@coqbot bench

@coqbot-app
Copy link
Contributor

coqbot-app bot commented May 13, 2023

🏁 Bench results:

┌──────────────────────────────┬─────────────────────────┬───────────────────────────────────────┬───────────────────────────────────────┬──────────────────────────┐
│                              │      user time [s]      │              CPU cycles               │           CPU instructions            │  max resident mem [KB]   │
│                              │                         │                                       │                                       │                          │
│         package_name         │   NEW      OLD    PDIFF │      NEW             OLD        PDIFF │      NEW             OLD        PDIFF │   NEW      OLD    PDIFF  │
├──────────────────────────────┼─────────────────────────┼───────────────────────────────────────┼───────────────────────────────────────┼──────────────────────────┤
│       coq-mathcomp-odd-order │  902.96   950.01  -4.95 │  4133134726926   4348590387552  -4.95 │  7049924292251   7432228091105  -5.14 │ 1466952  1658388  -11.54 │
│       coq-mathcomp-character │  155.26   157.99  -1.73 │   709980393149    721977669687  -1.66 │  1125962568773   1129395028533  -0.30 │ 1283628  1283692   -0.00 │
│                     coq-corn │  767.67   779.31  -1.49 │  3496091443964   3548715957739  -1.48 │  5465953340660   5513379699749  -0.86 │  851756   849956    0.21 │
│                   coq-stdlib │  405.73   411.82  -1.48 │  1739578001690   1765447445397  -1.47 │  1447400249691   1447458961525  -0.00 │  646536   648224   -0.26 │
│                coq-fourcolor │ 1508.36  1527.33  -1.24 │  6880050473506   6968751959319  -1.27 │ 12426819528894  12480520870482  -0.43 │ 2281452  2291348   -0.43 │
│      coq-metacoq-safechecker │  371.51   376.04  -1.20 │  1699511384781   1720073212186  -1.20 │  2871059717719   2871002142745   0.00 │ 2081456  2083296   -0.09 │
│           coq-mathcomp-field │  240.81   243.69  -1.18 │  1100870346836   1113293433412  -1.12 │  1887309267606   1902812081509  -0.81 │ 1452932  1348968    7.71 │
│                coq-fiat-core │   59.40    59.95  -0.92 │   256158475912    257332026133  -0.46 │   376058377329    376039661389   0.00 │  490912   492156   -0.25 │
│                     coq-core │  113.54   114.50  -0.84 │   469549771296    468922173613   0.13 │   484242392568    483992767681   0.05 │  289928   288952    0.34 │
│         coq-mathcomp-algebra │  589.22   593.56  -0.73 │  2694514255767   2713705990620  -0.71 │  4753669326049   4767734078593  -0.29 │ 1427664  1427748   -0.01 │
│            coq-iris-examples │  480.42   483.78  -0.69 │  2182363399695   2196261784167  -0.63 │  3340615310488   3341228607818  -0.02 │ 1067860  1067996   -0.01 │
│                 coq-compcert │  283.02   284.84  -0.64 │  1281456154636   1290666613551  -0.71 │  1951217395516   1952291585938  -0.06 │ 1130672  1133916   -0.29 │
│            coq-metacoq-pcuic │  622.65   626.50  -0.61 │  2829821356985   2846255127822  -0.58 │  4198694589280   4194694968289   0.10 │ 2091144  2094172   -0.14 │
│        coq-mathcomp-solvable │  147.70   148.59  -0.60 │   673717655448    678043971796  -0.64 │  1087005785944   1087679176905  -0.06 │ 1725040  1729416   -0.25 │
│                 coq-rewriter │  345.69   347.53  -0.53 │  1574437282759   1583915154687  -0.60 │  2630513197862   2630840092008  -0.01 │ 1313988  1314340   -0.03 │
│                  coq-bignums │   28.11    28.24  -0.46 │   128206582832    128384317750  -0.14 │   183081679605    182634115941   0.25 │  489780   487464    0.48 │
│          coq-category-theory │  714.99   717.93  -0.41 │  3264159748614   3277208363864  -0.40 │  5613523848179   5613776256097  -0.00 │  923792   928580   -0.52 │
│  coq-rewriter-perf-SuperFast │  735.08   738.10  -0.41 │  3342014563496   3358925316444  -0.50 │  5797302046003   5797310796225  -0.00 │ 1441324  1441352   -0.00 │
│        coq-engine-bench-lite │  156.28   156.79  -0.33 │   671299149906    673979106620  -0.40 │  1262667139584   1255930983903   0.54 │ 1211852  1211904   -0.00 │
│                  coq-coqutil │   39.01    39.13  -0.31 │   175080687493    174467114774   0.35 │   252514156937    252507943833   0.00 │  558488   558544   -0.01 │
│                     coq-hott │  148.29   148.71  -0.28 │   670664047174    672719949472  -0.31 │  1063231582044   1062976493602   0.02 │  620148   619952    0.03 │
│                 coq-bedrock2 │  311.27   312.14  -0.28 │  1422321066131   1426313280075  -0.28 │  2802006663907   2802024182181  -0.00 │  879968   877184    0.32 │
│                    coq-color │  223.78   224.35  -0.25 │  1013893274097   1015160074155  -0.12 │  1472227276717   1472257570968  -0.00 │ 1172588  1176500   -0.33 │
│                  coq-unimath │ 1486.92  1490.38  -0.23 │  6779914495366   6793923940285  -0.21 │ 12741676853587  12739361151993   0.02 │ 1330720  1330108    0.05 │
│ coq-fiat-crypto-with-bedrock │ 6104.14  6117.27  -0.21 │ 27736482200198  27800344907150  -0.23 │ 51027114676050  51021979820727   0.01 │ 2406232  2406728   -0.02 │
│                      coq-vst │  873.68   874.62  -0.11 │  3972336092092   3978385756356  -0.15 │  6573306223091   6568940431792   0.07 │ 2270700  2270208    0.02 │
│                    coq-verdi │   46.67    46.67   0.00 │   211779514146    211743160153   0.02 │   324003956462    323871569181   0.04 │  529076   526796    0.43 │
│                 coq-coqprime │   45.42    45.40   0.04 │   205881364865    205608802434   0.13 │   312930335725    312822965366   0.03 │  777136   776976    0.02 │
│        coq-mathcomp-fingroup │   37.36    37.34   0.05 │   170412978481    170948794977  -0.31 │   262298183412    262376925369  -0.03 │  560516   560128    0.07 │
│               coq-verdi-raft │  558.24   557.68   0.10 │  2547156618322   2543645133004   0.14 │  3985552391488   3985703544920  -0.00 │  820288   820332   -0.01 │
│                coq-perennial │ 5747.62  5734.31   0.23 │ 26211431765610  26161389983966   0.19 │ 43572748250505  43587453501663  -0.03 │ 2317700  2345204   -1.17 │
│             coq-math-classes │   85.79    85.56   0.27 │   388843993280    388085712262   0.20 │   541649582397    543531885908  -0.35 │  517652   522192   -0.87 │
│   coq-performance-tests-lite │  760.00   756.70   0.44 │  3441823884679   3427418086290   0.42 │  6061795734548   6061027767875   0.01 │ 1870584  1870644   -0.00 │
│             coq-fiat-parsers │  327.98   326.49   0.46 │  1474477194731   1469417273299   0.34 │  2448500149504   2448712409280  -0.01 │ 2735676  2735488    0.01 │
│       coq-mathcomp-ssreflect │  245.56   243.81   0.72 │  1124097940710   1116792748159   0.65 │  1961165233824   1962355696109  -0.06 │ 1478680  1478748   -0.00 │
└──────────────────────────────┴─────────────────────────┴───────────────────────────────────────┴───────────────────────────────────────┴──────────────────────────┘

INFO: failed to install coq-coquelicot
coq-geocoq
coq-metacoq-erasure
coq-metacoq-template
coq-metacoq-translations

🐢 Top 25 slow downs
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                               TOP 25 SLOW DOWNS                                                                │
│                                                                                                                                                │
│   OLD       NEW      DIFF    %DIFF     Ln                     FILE                                                                             │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 127.4690  130.1690  2.7000     2.12%   999  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html                    │
│ 127.8510  130.4420  2.5910     2.03%   968  coq-performance-tests-lite/src/fiat_crypto_via_setoid_rewrite_standalone.v.html                    │
│   0.7340    1.2150  0.4810    65.53%   409  coq-corn/complex/AbsCC.v.html                                                                      │
│   5.4640    5.9360  0.4720     8.64%   167  coq-vst/veric/binop_lemmas6.v.html                                                                 │
│  60.8620   61.3120  0.4500     0.74%   139  coq-fiat-parsers/src/Parsers/Refinement/SharpenedJSON.v.html                                       │
│  27.2130   27.5800  0.3670     1.35%    68  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/deps/riscv-coq/src/riscv/Proofs/VerifyDecode.v.html │
│   1.7670    2.1250  0.3580    20.26%  1874  coq-perennial/src/program_proof/wal/recovery_proof.v.html                                          │
│ 143.3790  143.6580  0.2790     0.19%  1190  coq-unimath/UniMath/CategoryTheory/GrothendieckConstruction/IsPullback.v.html                      │
│  30.9900   31.2620  0.2720     0.88%   577  coq-perennial/src/program_proof/simplepb/pb_becomeprimary_proof.v.html                             │
│   9.9320   10.2040  0.2720     2.74%   315  coq-perennial/src/program_proof/mvcc/txn_commit.v.html                                             │
│  11.5000   11.7660  0.2660     2.31%   126  coq-vst/veric/binop_lemmas6.v.html                                                                 │
│   2.9910    3.2550  0.2640     8.83%   492  coq-perennial/src/program_proof/examples/async_mem_alloc_inode_proof.v.html                        │
│   6.7180    6.9810  0.2630     3.91%   356  coq-rewriter-perf-SuperFast/src/Rewriter/Rewriter/Wf.v.html                                        │
│   0.0030    0.2440  0.2410  8033.33%   371  coq-fiat-crypto-with-bedrock/src/CLI.v.html                                                        │
│  16.6940   16.9320  0.2380     1.43%   483  coq-verdi-raft/raft-proofs/EndToEndLinearizability.v.html                                          │
│   0.8080    1.0440  0.2360    29.21%    12  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Translation/Cmd.v.html                              │
│   1.1870    1.4220  0.2350    19.80%     7  coq-fiat-crypto-with-bedrock/src/StandaloneHaskellMain.v.html                                      │
│  51.5970   51.8320  0.2350     0.46%    50  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.html               │
│   2.8690    3.1030  0.2340     8.16%   469  coq-perennial/src/program_proof/examples/inode_proof.v.html                                        │
│   0.8040    1.0380  0.2340    29.10%     3  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Synthesis/New/ComputedOp.v.html                     │
│   1.1850    1.4180  0.2330    19.66%     8  coq-fiat-crypto-with-bedrock/src/StandaloneOCamlMain.v.html                                        │
│   0.7320    0.9640  0.2320    31.69%    29  coq-fiat-crypto-with-bedrock/src/PushButtonSynthesis/SaturatedSolinas.v.html                       │
│   0.8080    1.0360  0.2280    28.22%     7  coq-fiat-crypto-with-bedrock/src/Bedrock/Field/Translation/Parameters/Defaults.v.html              │
│  21.3930   21.6130  0.2200     1.03%   597  coq-perennial/src/goose_lang/lib/encoding/encoding.v.html                                          │
│   0.0110    0.2290  0.2180  1981.82%   107  coq-metacoq-pcuic/pcuic/theories/Typing/PCUICWeakeningConfigTyp.v.html                             │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

🐇 Top 25 speed ups
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                  TOP 25 SPEED UPS                                                                   │
│                                                                                                                                                     │
│   OLD       NEW      DIFF     %DIFF    Ln                      FILE                                                                                 │
├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│   3.1680    0.1630  -3.0050  -94.85%   434  coq-mathcomp-odd-order/theories/PFsection10.v.html                                                      │
│   2.6400    0.6430  -1.9970  -75.64%   819  coq-mathcomp-odd-order/theories/PFsection11.v.html                                                      │
│   1.9280    0.1280  -1.8000  -93.36%  1120  coq-mathcomp-odd-order/theories/PFsection10.v.html                                                      │
│   2.1070    0.5180  -1.5890  -75.42%  1913  coq-mathcomp-odd-order/theories/PFsection13.v.html                                                      │
│   1.6200    0.0840  -1.5360  -94.81%   836  coq-mathcomp-odd-order/theories/PFsection14.v.html                                                      │
│   1.5920    0.0830  -1.5090  -94.79%   488  coq-mathcomp-odd-order/theories/PFsection10.v.html                                                      │
│ 160.2770  159.0800  -1.1970   -0.75%   233  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/deps/riscv-coq/src/riscv/Proofs/DecodeByExtension.v.html │
│  66.1420   65.1310  -1.0110   -1.53%   103  coq-fiat-crypto-with-bedrock/src/Arithmetic/BarrettReduction.v.html                                     │
│   9.4120    8.5110  -0.9010   -9.57%  1508  coq-perennial/src/program_proof/wal/recovery_proof.v.html                                               │
│ 111.4770  110.5800  -0.8970   -0.80%    48  coq-fiat-crypto-with-bedrock/src/Curves/Weierstrass/AffineProofs.v.html                                 │
│  41.9350   41.1180  -0.8170   -1.95%   236  coq-rewriter-perf-SuperFast/src/Rewriter/Rewriter/Examples/PerfTesting/LiftLetsMap.v.html               │
│  36.9410   36.1390  -0.8020   -2.17%    12  coq-fourcolor/theories/job439to465.v.html                                                               │
│   0.8170    0.0550  -0.7620  -93.27%   435  coq-mathcomp-odd-order/theories/PFsection10.v.html                                                      │
│  29.0380   28.2880  -0.7500   -2.58%    12  coq-fourcolor/theories/job466to485.v.html                                                               │
│  53.1400   52.3990  -0.7410   -1.39%   915  coq-fiat-crypto-with-bedrock/src/Bedrock/End2End/X25519/GarageDoor.v.html                               │
│  49.1680   48.4290  -0.7390   -1.50%   365  coq-mathcomp-odd-order/theories/PFsection4.v.html                                                       │
│   0.7620    0.0750  -0.6870  -90.16%   858  coq-mathcomp-odd-order/theories/PFsection11.v.html                                                      │
│   6.9570    6.2920  -0.6650   -9.56%  1724  coq-perennial/src/program_proof/wal/recovery_proof.v.html                                               │
│  45.4280   44.7670  -0.6610   -1.46%   558  coq-fiat-crypto-with-bedrock/rupicola/bedrock2/bedrock2/src/bedrock2Examples/insertionsort.v.html       │
│  20.7070   20.0490  -0.6580   -3.18%    12  coq-fourcolor/theories/job315to318.v.html                                                               │
│  29.5840   28.9430  -0.6410   -2.17%    12  coq-fourcolor/theories/job531to534.v.html                                                               │
│  29.8060   29.1750  -0.6310   -2.12%    12  coq-fourcolor/theories/job287to290.v.html                                                               │
│  29.5150   28.9020  -0.6130   -2.08%  1449  coq-unimath/UniMath/CategoryTheory/EnrichedCats/Examples/KleisliEnriched.v.html                         │
│  31.9190   31.3160  -0.6030   -1.89%    12  coq-fourcolor/theories/job107to164.v.html                                                               │
│  31.6500   31.0740  -0.5760   -1.82%    12  coq-fourcolor/theories/job563to588.v.html                                                               │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

@SkySkimmer
Copy link
Contributor Author

@ejgallego you didn't answer #17576 (comment)

@ejgallego
Copy link
Member

@ejgallego you didn't answer #17576 (comment)

Yes I didn't have time to look at what is going there in detail, it is in my todo list tho.

@github-actions github-actions bot added the needs: rebase Should be rebased on the latest master to solve conflicts or have a newer CI run. label May 24, 2023
@coqbot-app
Copy link
Contributor

coqbot-app bot commented Jun 23, 2023

The "needs: rebase" label was set more than 30 days ago. If the PR is not rebased in 30 days, it will be automatically closed.

@coqbot-app coqbot-app bot added the stale This PR will be closed unless it is rebased. label Jun 23, 2023
@coqbot-app
Copy link
Contributor

coqbot-app bot commented Jul 24, 2023

This PR was not rebased after 30 days despite the warning, it is now closed.

@coqbot-app coqbot-app bot closed this Jul 24, 2023
@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 Nov 4, 2023
@coq coq deleted a comment from coqbot-app bot Nov 4, 2023
@coq coq deleted a comment from coqbot-app bot Nov 4, 2023
@coq coq deleted a comment from coqbot-app bot Nov 4, 2023
@coq coq deleted a comment from coqbot-app bot Nov 4, 2023
@proux01
Copy link
Contributor

proux01 commented Nov 4, 2023

@coqbot merge now

@coqbot-app coqbot-app bot merged commit d52b787 into coq:master Nov 4, 2023
9 of 10 checks passed
Copy link
Contributor

coqbot-app bot commented Nov 4, 2023

@proux01: Please take care of the following overlays:

  • 17576-SkySkimmer-let-abstract.sh

ppedrot added a commit to MetaCoq/metacoq that referenced this pull request Nov 4, 2023
Adapt to coq/coq#17576 (declare_variable takes typing flags argument)
@erikmd
Copy link
Member

erikmd commented Nov 4, 2023

FYI @proux01, given this merge makes coq.dev incompatible with previous releases of math-comp (2.1.0 and 1.8.0),
I'm going to remove the stalled mathcomp/mathcomp:*-coq-dev images & update https://github.com/coq/opam accordingly

@proux01
Copy link
Contributor

proux01 commented Nov 6, 2023

Indeed, thanks @erikmd I forgot that point

@SkySkimmer SkySkimmer deleted the let-abstract branch November 6, 2023 09:48
@SkySkimmer
Copy link
Contributor Author

@proux01 seems like you forgot fiat crypto legacy
I'll make the overlay

@proux01
Copy link
Contributor

proux01 commented Nov 6, 2023

I'm not sure in which state it is since it was already broken.

SkySkimmer added a commit to SkySkimmer/fiat-crypto that referenced this pull request Nov 6, 2023
@SkySkimmer
Copy link
Contributor Author

mit-plv/fiat-crypto#1699

@proux01
Copy link
Contributor

proux01 commented Nov 6, 2023

Thanks

JasonGross pushed a commit to SkySkimmer/fiat-crypto that referenced this pull request Nov 6, 2023
JasonGross pushed a commit to mit-plv/fiat-crypto that referenced this pull request Nov 6, 2023
proux01 added a commit to coq-community/graph-theory that referenced this pull request Nov 7, 2023
palmskog added a commit to coq-community/graph-theory that referenced this pull request Nov 7, 2023
proux01 added a commit to proux01/coq that referenced this pull request Jan 30, 2024
proux01 added a commit to proux01/coq that referenced this pull request Feb 8, 2024
coqbot-app bot added a commit that referenced this pull request Feb 9, 2024
Reviewed-by: jfehrle
Ack-by: SkySkimmer
Co-authored-by: jfehrle <jfehrle@users.noreply.github.com>
louiseddp pushed a commit to louiseddp/coq that referenced this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancement to an existing user-facing feature, tactic, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants