fix: use pi_congr instead of forall_congr, deprecate the latter - #14516
fix: use pi_congr instead of forall_congr, deprecate the latter#14516sgraf812 wants to merge 1 commit into
Conversation
|
!bench |
|
Benchmark results for f603f6b against 782c1b3 are in. There are significant results. @sgraf812
No significant changes detected. |
This PR generalizes the `conv` and `simp` tactics to apply `pi_congr` instead of `forall_congr`. The test case for #7507 has examples that work now, but only worked at universe `v=0` before. Since there are no more remaining uses of `forall_congr`, it is now deprecated. Closes #7507. Co-authored-by: Sebastian Graf <sg@lean-fro.org>
f603f6b to
ac0e1b2
Compare
|
Reference manual CI status:
|
|
!bench |
|
Benchmark results for ac0e1b2 against 3259610 are in. No significant results found. @sgraf812
Small changes (2✅)
|
|
Mathlib CI status (docs):
|
…he latter (leanprover#7577)" (leanprover#14515) Reverts leanprover#7577, which reached `master` through a stale auto-merge (armed on the PR back in March 2025) rather than a deliberate merge, before review had concluded. The change itself is sound and is re-proposed for normal review in leanprover#14516 (stacked on this revert).
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@c4659da against leanprover-community/mathlib4-nightly-testing@eaeb601 are in. There are significant results. @sgraf812
Large changes (1🟥)
Small changes (1🟥)
|
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@16adcca against leanprover-community/mathlib4-nightly-testing@eaeb601 are in. No significant results found. @sgraf812
Medium changes (2✅)
Small changes (1🟥)
|
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@5f0457a against leanprover-community/mathlib4-nightly-testing@eaeb601 are in. No significant results found. @sgraf812
Medium changes (3✅)
Small changes (3✅, 1🟥)
|
|
Note for review: this patch makes it possible for |
This PR generalizes the
convandsimptactics to applypi_congrinstead offorall_congr. The test case for #7507 has examples that work now, but only worked at universev=0before.Since there are no more remaining uses of
forall_congr, it is now deprecated.Closes #7507.