-
Notifications
You must be signed in to change notification settings - Fork 694
forbid unknown level in level-tolerance warning #20933
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
base: master
Are you sure you want to change the base?
Conversation
🔴 CI failure at commit 892669e without any failure in the test-suite ✔️ Corresponding job for the base commit e2b0a78 succeeded ❔ Ask me to try to extract a minimal test case that can be added to the test-suite 🏃
|
🔴 CI failures at commit dbc72d1 without any failure in the test-suite ✔️ Corresponding jobs for the base commit e2b0a78 succeeded ❔ Ask me to try to extract minimal test cases that can be added to the test-suite 🏃
|
@coqbot ci minimize ci-math_classes |
I am now running minimization at commit dbc72d1 on requested target ci-math_classes. I'll come back to you with the results once it's done. |
@coqbot ci minimize ci-mtac2 |
I am now running minimization at commit dbc72d1 on requested target ci-mtac2. I'll come back to you with the results once it's done. |
Error: Could not minimize file /home/runner/work/run-coq-bug-minimizer/run-coq-bug-minimizer/builds/coq/coq-failing/_build_ci/mtac2/theories/tactics/ConstrSelector.v in 9m 34s (from ci-mtac2) (full log on GitHub Actions, cc @JasonGross) build log (truncated to last 26KiB; full 6.1MiB file on GitHub Actions Artifacts under
|
Minimized File /home/runner/work/run-coq-bug-minimizer/run-coq-bug-minimizer/builds/coq/coq-failing/_build_ci/math_classes/theory/jections.v in 14m 9s (from ci-math_classes) (full log on GitHub Actions - verbose log) We are collecting data on the user experience of the Coq Bug Minimizer. 🌟 Minimized Coq File (consider adding this file to the test-suite)(* -*- mode: coq; coq-prog-args: ("-emacs" "-q" "-w" "-deprecated-native-compiler-option" "-native-compiler" "ondemand" "-coqlib" "/github/workspace/builds/coq/coq-failing/_install_ci/lib/coq//" "-R" "/github/workspace/builds/coq/coq-failing/_build_ci/math_classes" "MathClasses" "-Q" "/github/workspace/cwd" "Top" "-Q" "/github/workspace/builds/coq/coq-failing/_install_ci/lib/coq///user-contrib/Bignums" "Bignums" "-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/Stdlib" "Stdlib" "-top" "MathClasses.theory.jections") -*- *)
(* File reduced by coq-bug-minimizer from original input, then from 181 lines to 6 lines, then from 19 lines to 356 lines, then from 362 lines to 6 lines, then from 19 lines to 555 lines, then from 561 lines to 16 lines, then from 29 lines to 67 lines, then from 73 lines to 17 lines, then from 30 lines to 76 lines, then from 80 lines to 16 lines, then from 30 lines to 16 lines *)
(* coqc version 9.2+alpha compiled with OCaml 4.14.2
coqtop version 9.2+alpha
Expected coqc runtime on this file: 0.096 sec *)
Require Corelib.Setoids.Setoid.
Notation "x → y" := (x -> y)
(at level 99, y at level 200, right associativity): type_scope.
Global Generalizable All Variables.
Export Coq.Setoids.Setoid.
Notation "(=)" := equiv (only parsing) : mc_scope.
Global Open Scope mc_scope.
Class Inverse `(A → B) : Type := inverse: B → A.
Arguments inverse {A B} _ {Inverse} _.
Notation "f ⁻¹" := (inverse f) (at level 30) : mc_scope.
Lemma surjective_applied `{Equiv A} `{Equiv B} (f : A → B) `{!Inverse f} `{!Surjective f} x : f (f⁻¹ x) = x. 🛠️ Intermediate Coq File (useful for debugging if minimization did not go as far as you wanted)🛠️ 📜 Intermediate Coq File log (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 6.0MiB file on GitHub Actions Artifacts under
|
rebased on #20952 |
Mtac2 case can be simplified to Notation "'{-' x '-}'" := x (at level 0, x at next level, only parsing).
Check {- 0 + 0 -}. the problem is "at next level" in a level 0 notation: there is no next level. Also for some reason |
I guess it's Lines 1461 to 1466 in fc638f8
AFAICT this code means we always parse the last level even if we're told to parse a non-existing (beyond-last) level. |
cf #20953 |
🔴 CI failure at commit bff5fb1 without any failure in the test-suite ✔️ Corresponding job for the base commit fc638f8 succeeded ❔ Ask me to try to extract a minimal test case that can be added to the test-suite 🏃
|
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. |
for minimizing #20932