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
chore: adaptations for nightly-2024-04-07 #11997
Conversation
@@ -60,20 +60,6 @@ theorem not_false' : ¬false := nofun | |||
theorem eq_iff_eq_true_iff {a b : Bool} : a = b ↔ ((a = true) ↔ (b = true)) := by | |||
cases a <;> cases b <;> simp | |||
|
|||
-- Porting note (#10756): new theorem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These have been upstreamed.
Mathlib/Data/Fin/Basic.lean
Outdated
@@ -1609,7 +1609,6 @@ theorem le_sub_one_iff {n : ℕ} {k : Fin (n + 1)} : k ≤ k - 1 ↔ k = 0 := by | |||
simp | |||
#align fin.le_sub_one_iff Fin.le_sub_one_iff | |||
|
|||
@[simp] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already merged to master as #11967
@@ -356,7 +356,7 @@ lemma map_comp {i j k : Fin (n + 1 + 1)} (hij : i ≤ j) (hjk : j ≤ k) : | |||
· dsimp | |||
rw [id_comp] | |||
· obtain _ | _ | k := k | |||
· simp at hjk | |||
· simp [Nat.succ.injEq] at hjk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something equivalent to this was removed from the default simp set because it was going haywire on numerals.
…nity/mathlib4 into bump/nightly-2024-04-07
2013e81
to
da393b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The majority of the remaining changes seem to be:
- slowdowns / simpNF timeputs with notes
- [Merged by Bors] - fix: improve proofs in QuadraticModuleCat.Monoidal #12233
- rfl-after-conv
- A few remaining
Ne.def
/id.def
changes - updates for Std bump
Everything else seems an improvement or relatively inoffensive, so I think we should let #12233 merge, cherry-pick it to bump/v4.8.0 and then merge this.
-- Adaptation note: at nightly-2024-03-27, | ||
-- we had to increase `maxHeartbeats` here from 8000 to 16000. | ||
-- Adaptation note: at nightly-2024-04-01, | ||
-- we had to increase `maxHeartbeats` here from 16000 to 24000. | ||
-- (Note: successive runs are faster, because of the `exact?` cache initialisation.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, I'm a bit sad about these. Do we have ideas about how to get the number down again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately not yet. :-(
Co-authored-by: Johan Commelin <johan@commelin.net>
I've looked through the entire diff. Looks fine to me. bors d+ |
✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
bors r- |
Canceled. |
) These are changes from #11997, the latest adaptation PR for nightly-2024-04-07, which can be made directly on master. Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
) These are changes from #11997, the latest adaptation PR for nightly-2024-04-07, which can be made directly on master. Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
) These are changes from #11997, the latest adaptation PR for nightly-2024-04-07, which can be made directly on master. Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
This is the PR to
bump/v4.8.0
, bringing us up fromnightly-2024-03-24
tonightly-2024-04-07
(so almost two weeks).Note that the release of v4.8.0-rc1 has been delayed because of remaining issues:
This PR contains a number of
set_option maxHeartbeats ...
or@[nolint simpNF]
which are required by heartbeats errors.These are due to changes to
IsDefEq
from leanprover/lean4#3807.So far, the ones I've looked in detail have revealed some problems where we are probably abusing defeq a bit, so I would appreciate any available eyes on these to see which ones ought to be fixed in Mathlib, and which ones are problematic.
It's been a long road to keep
nightly-testing
alive, and some big refactors have been landing onmaster
, and I'm sure there are mistakes in how I've merged things here, so please be gentle if I've messed things up (and in particular feel free to revert changes that look like mistakes, as long as you test them!). :-)