Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
af64404
cleanup
kim-em Feb 4, 2026
3b56b25
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 4, 2026
699df81
Merge branch 'master' into nightly-testing
kim-em Feb 4, 2026
b78042e
Auto-resolved conflicts in lean-toolchain and lake-manifest.json
Feb 4, 2026
a2e6d91
Merge commit 'af644042004d5987dfcae257cca071a495d2348a' into bump/nig…
Feb 4, 2026
933cbd6
chore: adaptations for nightly-2026-02-03
Feb 4, 2026
e95a8cb
Auto-resolved conflicts in lean-toolchain and lake-manifest.json
Feb 4, 2026
226d511
chore: bump to nightly-2026-02-04
mathlib-nightly-testing[bot] Feb 4, 2026
8096cc4
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 5, 2026
489d547
lake update
kim-em Feb 5, 2026
094bfc7
deps
kim-em Feb 5, 2026
74a7a62
lake update
kim-em Feb 5, 2026
f34d93a
add instance_reducible
kim-em Feb 5, 2026
4bcadff
fixes
kim-em Feb 5, 2026
4664b12
Merge remote-tracking branch 'upstream/master' into bump/v4.29.0
Feb 5, 2026
dfdea35
Merge commit 'f34d93a9c1211ef00e6d473c7ce3eb99d1d1de35' into bump/nig…
Feb 5, 2026
1bcf34d
chore: adaptations for nightly-2026-02-04
Feb 5, 2026
bb8dff3
fixes
kim-em Feb 5, 2026
695752f
fixes
kim-em Feb 5, 2026
42c7b01
fixes
kim-em Feb 5, 2026
8d4e724
fixes for leanprover/lean4#11744
kim-em Feb 5, 2026
d28ca26
fixes for leanprover/lean4#11744
kim-em Feb 5, 2026
aa41720
fixes
kim-em Feb 5, 2026
0126ea7
chore: bump to nightly-2026-02-05
mathlib-nightly-testing[bot] Feb 5, 2026
79c166e
merge lean-pr-testing-12244
mathlib-nightly-testing[bot] Feb 5, 2026
9c2f7b1
chore: remove lemmas now in Lean core
kim-em Feb 5, 2026
4ac60fc
lake update
kim-em Feb 5, 2026
9faca84
.
kim-em Feb 5, 2026
3690cf4
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 6, 2026
32620cc
fix
kim-em Feb 6, 2026
20c4c4b
fix: remove simp from le_refl (now handled by Std.le_refl)
kim-em Feb 6, 2026
f0a5c9d
Merge remote-tracking branch 'upstream/master' into bump/v4.29.0
Feb 6, 2026
f1180c4
Merge commit '20c4c4b3d8a0ec5aabc72aa3d247f2838d829759' into bump/nig…
Feb 6, 2026
c8b024a
chore: adaptations for nightly-2026-02-05
Feb 6, 2026
da5be3b
Update lean-toolchain for testing https://github.com/leanprover/lean4…
Feb 6, 2026
125088f
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 7, 2026
63d3445
chore: bump to nightly-2026-02-07
mathlib-nightly-testing[bot] Feb 7, 2026
139c7c0
merge lean-pr-testing-12276
mathlib-nightly-testing[bot] Feb 7, 2026
2c1bf04
address comments in #173
Rob23oba Feb 7, 2026
9f9b361
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 8, 2026
93c7ab9
lake update
kim-em Feb 8, 2026
5453b7c
lake update
kim-em Feb 8, 2026
0c12c51
lake update importGraph
kim-em Feb 8, 2026
0fcb260
chore: adaptations for nightly-2026-02-04 (#173)
mathlib-nightly-testing[bot] Feb 8, 2026
afbbb48
chore: bump to nightly-2026-02-08
mathlib-nightly-testing[bot] Feb 8, 2026
ed6aae0
fix merge
kim-em Feb 8, 2026
7b50c4c
Merge branch 'nightly-testing' of github.com:leanprover-community/mat…
kim-em Feb 8, 2026
a9c6d41
lake update
kim-em Feb 8, 2026
9ea620f
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 9, 2026
248e419
fix: restore Basic.lean from after #34741 to fix duplicate declarations
kim-em Feb 9, 2026
5584ab1
adaptations for leanprover/lean4#12341
kim-em Feb 9, 2026
d915007
adaptations for leanprover/lean4#12341
kim-em Feb 9, 2026
2b9cf93
chore: update FindSyntax test for reduced syntax count
kim-em Feb 9, 2026
7bba664
fix(MathlibTest/push): adapt to unification hints from lean4#12341
kim-em Feb 9, 2026
7abfa4b
fixes for leanprover/lean4#12341
kim-em Feb 9, 2026
8e0a887
fixes for leanprover/lean4#12341
kim-em Feb 9, 2026
c1ea32a
merge
kim-em Feb 9, 2026
7f45853
chore: bump to nightly-2026-02-09
mathlib-nightly-testing[bot] Feb 9, 2026
5fb8301
merge lean-pr-testing-12341
mathlib-nightly-testing[bot] Feb 9, 2026
3e0af02
fix(GCongr): try syntactic relation matching before whnf
kim-em Feb 9, 2026
fb8ff80
fix(GCongr): handle @[reducible] HasSSubset.SSubset in hypothesis cla…
kim-em Feb 9, 2026
7968b3b
fix: adapt proofs to @[reducible] HasEquiv.Equiv and HasSSubset.SSubset
kim-em Feb 9, 2026
16f29c5
merge master
kim-em Feb 9, 2026
64498e1
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 10, 2026
3578f95
chore: remove unnecessary show
kim-em Feb 10, 2026
5db4d63
fix(GCongr): handle @[reducible] HasSSubset.SSubset in whnfR for _Imp…
kim-em Feb 10, 2026
6b5e9c7
Update lean-toolchain for testing https://github.com/leanprover/lean4…
Feb 10, 2026
c2701d5
lake update aesop
kim-em Feb 10, 2026
eb94767
lake update aesop
kim-em Feb 10, 2026
43413c7
Auto-resolved conflicts in lean-toolchain and lake-manifest.json
Feb 10, 2026
0faf545
fixes for leanprover/lean4#12286
kim-em Feb 10, 2026
193e4ce
chore: bump to nightly-2026-02-10
mathlib-nightly-testing[bot] Feb 10, 2026
6da110f
Merge remote-tracking branch 'upstream/master' into bump/v4.29.0
Feb 10, 2026
9d23085
Update lean-toolchain for testing https://github.com/leanprover/lean4…
Feb 10, 2026
d3dafc7
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 11, 2026
d29d506
Update lean-toolchain for https://github.com/leanprover/lean4/pull/12286
Feb 11, 2026
cb59205
fixes for leanprover/lean4#12286
kim-em Feb 11, 2026
27cc943
Merge branch 'lean-pr-testing-12286' of github.com:leanprover-communi…
kim-em Feb 11, 2026
56a490b
cleanup
kim-em Feb 11, 2026
2713b48
Update lean-toolchain for https://github.com/leanprover/lean4/pull/12286
Feb 11, 2026
64c738a
Merge branch 'lean-pr-testing-12286' of github.com:leanprover-communi…
kim-em Feb 11, 2026
e4ee153
fixes
kim-em Feb 11, 2026
0d0e16f
fixes, hopefully revertible later
kim-em Feb 11, 2026
5848b9f
cleanup
kim-em Feb 11, 2026
d987a9c
upstream Rat.eq_iff_mul_eq_mul, 'lt_iff_le_not_le' -> 'lt_iff_le_and_…
datokrat Feb 11, 2026
ae9f47a
Update lean-toolchain for https://github.com/leanprover/lean4/pull/12412
Feb 11, 2026
2bfb0fe
.
kim-em Feb 11, 2026
e2bb437
bad merge
kim-em Feb 11, 2026
2b8e4e8
raise maxHeartbeats
kim-em Feb 11, 2026
441c429
fix
kim-em Feb 11, 2026
0963585
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 12, 2026
24405c0
empty commit for CI for leanprover/lean4#11744
kim-em Feb 12, 2026
b1bac8b
chore: bump to nightly-2026-02-12
mathlib-nightly-testing[bot] Feb 12, 2026
d5dd8c0
merge lean-pr-testing-12412
mathlib-nightly-testing[bot] Feb 12, 2026
8f78c04
chore: adaptations for nightly-2026-02-05 (#174)
mathlib-nightly-testing[bot] Feb 12, 2026
a931f5c
merge master
kim-em Feb 12, 2026
8dcf318
chore: adaptations for nightly-2026-02-10
kim-em Feb 12, 2026
a13fce1
Auto-resolved conflicts in lean-toolchain and lake-manifest.json
kim-em Feb 12, 2026
a3b8430
fix test outputs
kim-em Feb 12, 2026
d0bd09f
fix bad merge
kim-em Feb 12, 2026
3a3bec8
Merge branch 'bump/nightly-2026-02-10' into nightly-testing
kim-em Feb 12, 2026
75a55da
revert changes to GCongr
kim-em Feb 12, 2026
176e60b
fix tests output again
kim-em Feb 12, 2026
53b834e
fix
kim-em Feb 12, 2026
d6b100d
maxheartbeats
kim-em Feb 12, 2026
8d8fab1
fix
kim-em Feb 12, 2026
5eab67a
Update lean-toolchain for https://github.com/leanprover/lean4/pull/11744
Feb 12, 2026
3f80f7b
chore: bump to nightly-2026-02-12
mathlib-nightly-testing[bot] Feb 12, 2026
7da5050
merge lean-pr-testing-12412
mathlib-nightly-testing[bot] Feb 12, 2026
d647089
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 13, 2026
305026d
bump toolchain (early today, oops!)
kim-em Feb 13, 2026
85a1946
fix lakefile and lake update
kim-em Feb 13, 2026
d487a14
remove upstreamed
kim-em Feb 13, 2026
ac1deab
Merge remote-tracking branch 'nightly-testing/bump/nightly-2026-02-10…
kim-em Feb 13, 2026
9d0e1e6
restore a simp
kim-em Feb 13, 2026
fa64ca5
remove upstreamed and deprecation
kim-em Feb 13, 2026
7c18a1d
deprecation
kim-em Feb 13, 2026
5b9b3ca
clarify adaptation note
kim-em Feb 13, 2026
7006a01
Merge remote-tracking branch 'nightly-testing/bump/nightly-2026-02-10…
kim-em Feb 13, 2026
820ed60
lake update
kim-em Feb 13, 2026
d7bf79b
fix for leanprover/lean4#11744
kim-em Feb 13, 2026
c3e58b4
Auto-resolved conflicts in lean-toolchain and lake-manifest.json
Feb 13, 2026
7f5579b
fix indentation
Ruben-VandeVelde Feb 13, 2026
139e385
Update lean-toolchain for https://github.com/leanprover/lean4/pull/12286
Feb 13, 2026
bd8f964
chore: bump to nightly-2026-02-13-rev1
mathlib-nightly-testing[bot] Feb 13, 2026
8889baa
chore: bump to nightly-2026-02-13-rev2
mathlib-nightly-testing[bot] Feb 13, 2026
7a27a3a
Merge remote-tracking branch 'upstream/master' into bump/v4.29.0
Feb 13, 2026
88d55d6
fix test
kim-em Feb 13, 2026
b9312d5
fix test
kim-em Feb 13, 2026
7523c34
Merge branch 'lean-pr-testing-11744' of github.com:leanprover-communi…
kim-em Feb 13, 2026
2535e4c
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 14, 2026
32ff989
nice, most workarounds not needed with univ_out_params
kim-em Feb 14, 2026
efb5b53
chore: bump to nightly-2026-02-14
mathlib-nightly-testing[bot] Feb 14, 2026
f5578e3
merge lean-pr-testing-11744
mathlib-nightly-testing[bot] Feb 14, 2026
9ca1e39
chore: update batteries for List.reverse_singleton fix
kim-em Feb 14, 2026
8edfc65
.
kim-em Feb 14, 2026
0781dca
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 15, 2026
aec008a
add @[univ_out_params] where universe params are not determined by in…
kim-em Feb 15, 2026
2a27ec7
add #adaptation_note for @[univ_out_params] annotations
kim-em Feb 15, 2026
d61b93d
add library note on universe output parameters, update adaptation notes
kim-em Feb 15, 2026
082d63c
convert #adaptation_note to -- comments for univ_out_params annotations
kim-em Feb 15, 2026
ec04327
fix
kim-em Feb 15, 2026
e1835ce
fix
kim-em Feb 15, 2026
8f7035d
fix
kim-em Feb 15, 2026
f5364bb
fix
kim-em Feb 15, 2026
47811c9
empty commit to retrigger CI
kim-em Feb 15, 2026
3922e3d
chore: bump to nightly-2026-02-15
mathlib-nightly-testing[bot] Feb 15, 2026
d5f7a05
merge lean-pr-testing-12286
mathlib-nightly-testing[bot] Feb 15, 2026
27844eb
lake update
kim-em Feb 15, 2026
8cdd715
chore: bump to nightly-2026-02-15-rev1
mathlib-nightly-testing[bot] Feb 15, 2026
d635d93
lake update
kim-em Feb 15, 2026
40fde98
Auto-resolved conflicts in lean-toolchain and lake-manifest.json
Feb 15, 2026
a054c5e
chore: adaptations for nightly-2026-02-15-rev1
Feb 15, 2026
6120ee2
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 16, 2026
d14e64c
chore: bump to nightly-2026-02-16
mathlib-nightly-testing[bot] Feb 16, 2026
efbc571
Auto-resolved conflicts in lean-toolchain and lake-manifest.json
Feb 16, 2026
0c55f79
Update lean-toolchain for https://github.com/leanprover/lean4/pull/12179
kim-em Feb 16, 2026
855b095
fix_backward_defeq script
kim-em Feb 16, 2026
0e83417
lake update batteries
kim-em Feb 16, 2026
9fcbcf0
non-local set_option, added manually
kim-em Feb 16, 2026
a0ac8ca
manual fixes, script confused by absence of blank lines
kim-em Feb 16, 2026
711c715
times out without manual fix
kim-em Feb 16, 2026
e91d3cc
norm_num tests
kim-em Feb 16, 2026
f26fb38
reduce_mod_char
kim-em Feb 16, 2026
6d2f2e8
fix test output
kim-em Feb 16, 2026
59db9db
set_option globally in RingTheory.SimpleModule.Isotypic
kim-em Feb 16, 2026
e2c1174
set_option globally in RingTheory.Adjoin.Dimension
kim-em Feb 16, 2026
102945f
set_option a section of LinearAlgebra.FiniteDimensional.Basic
kim-em Feb 16, 2026
65af295
set_option globally in Algebra.Homology.BifunctorAssociator
kim-em Feb 16, 2026
85d85cb
set_option in section in Algebra.Homology.BifunctorHomotopy
kim-em Feb 16, 2026
8dd2ddb
set_option globally in Analysis.CStarAlgebra.ContinuousFunctionalCalc…
kim-em Feb 16, 2026
7687cfd
set_option globally in Algebra.Homology.BifunctorShift
kim-em Feb 16, 2026
946645b
set_option in section in Geometry.Manifold.Riemannian.Basic
kim-em Feb 16, 2026
b39e1e4
set_option in section in NumberTheoryCyclotomic.Basic
kim-em Feb 16, 2026
9e6efa5
set_option in section in Analysis.Distribution.SchwartzSpace.Fourier
kim-em Feb 16, 2026
494f517
global set_option in RingTheory.DedekindDomain.LinearDisjoint
kim-em Feb 16, 2026
56f63e0
manual fixes for CategoryTheory.Monoidal.DayConvolution.Closed
kim-em Feb 16, 2026
3515f91
manual fixes for CategoryTheory.Sites.Descent.IsStack
kim-em Feb 16, 2026
f1067a3
manual fixes for Algebra.Homology.DifferentialObject
kim-em Feb 16, 2026
a984ac8
manual fixes for Geometry.RingedSpace.PresheafedSpace
kim-em Feb 16, 2026
8767b74
manual fixes for CategoryTheory.Triangulated.Opposite.Functor
kim-em Feb 16, 2026
e39a78d
manual fixes in Algebra.Homology.HomotopyCategory.ShortExact
kim-em Feb 16, 2026
32020da
manual fixes for Geometry.RingedSpace.PresheafedSpace.Gluing
kim-em Feb 16, 2026
8438a58
manual fixes to CategoryTheory.Sites.Descent.DescentData
kim-em Feb 16, 2026
d6bae81
manual fixes, script confused by absence of blank lines, and a module…
kim-em Feb 16, 2026
294d68c
adaptation_note
kim-em Feb 16, 2026
7a5bb90
x: ./fix_backward_defeq.py
kim-em Feb 16, 2026
69f02e0
x: ./fix_backward_defeq.py
kim-em Feb 16, 2026
1eba589
set_option linter.style.longFile
kim-em Feb 16, 2026
5c1be55
remove unused simp args
kim-em Feb 16, 2026
e5979cc
remove noop tactic
kim-em Feb 16, 2026
66671e7
lake update
kim-em Feb 16, 2026
9c203d6
optimistic linter fixes
kim-em Feb 16, 2026
2fddd34
patch and adaptation note
kim-em Feb 16, 2026
08e1756
slightly more care with the linter
kim-em Feb 16, 2026
c3dc66b
still getting it right
kim-em Feb 16, 2026
b881aee
fix test
kim-em Feb 16, 2026
9361caa
chore: adaptations for nightly-2026-02-15-rev1 (#177)
mathlib-nightly-testing[bot] Feb 16, 2026
f4ad837
Merge remote-tracking branch 'upstream/master' into bump/v4.29.0
kim-em Feb 16, 2026
769144c
chore: adaptations for nightly-2026-02-16
kim-em Feb 16, 2026
3d209fb
fix warning
kim-em Feb 16, 2026
09d194d
fix
kim-em Feb 16, 2026
9cf4e11
fix properly
kim-em Feb 16, 2026
034e30c
chore: adaptations for nightly-2026-02-16 (#179)
kim-em Feb 16, 2026
c0b8018
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 17, 2026
15d45d5
chore: bump to nightly-2026-02-16-rev1
mathlib-nightly-testing[bot] Feb 17, 2026
b4dcc3c
Merge remote-tracking branch 'nightly-testing/lean-pr-testing-12179' …
kim-em Feb 17, 2026
c1044a8
move batteries back to nightly-testing
kim-em Feb 17, 2026
175349b
lake update
kim-em Feb 17, 2026
a5c9272
final fixes for leanprover/lean4#1279
kim-em Feb 17, 2026
0e4ce36
fix for leanprover/lean4#12179
kim-em Feb 17, 2026
c7c2d56
fix for leanprover/lean4#12179
kim-em Feb 17, 2026
b7cf1d3
fix for leanprover/lean4#12179
kim-em Feb 17, 2026
fff082e
fix for leanprover/lean4#12179
kim-em Feb 17, 2026
6a1724a
fix for leanprover/lean4#12179
kim-em Feb 17, 2026
dc17606
fix for leanprover/lean4#12179
kim-em Feb 17, 2026
a4e165b
Merge remote-tracking branch 'upstream/master' into bump/v4.29.0
Feb 17, 2026
3f3ce2c
chore: adaptations for nightly-2026-02-16-rev1
Feb 17, 2026
f09ebb8
chore: adaptations for nightly-2026-02-16-rev1 (#180)
kim-em Feb 17, 2026
d5b4e1e
chore: bump to nightly-2026-02-17
mathlib-nightly-testing[bot] Feb 17, 2026
f45cfc1
Merge remote-tracking branch 'upstream/master' into bump/v4.29.0
Feb 17, 2026
00c0601
chore: adaptations for nightly-2026-02-17
Feb 17, 2026
bc79a49
chore: remove fix_backward_defeq.py (no longer needed)
kim-em Feb 17, 2026
a298d36
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 18, 2026
3117a79
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 19, 2026
51dc3af
chore: bump to nightly-2026-02-19
kim-em Feb 19, 2026
91522ad
chore: adaptations for nightly-2026-02-19
kim-em Feb 19, 2026
e9b8e86
chore: adaptations for nightly-2026-02-19
Feb 19, 2026
20ceb30
pre-emptively set toolchain
kim-em Feb 19, 2026
2eed596
fixes for leanprover/lean4#12572
kim-em Feb 19, 2026
c2d56ca
fixes for leanprover/lean4#12572
kim-em Feb 19, 2026
f5ec7cc
Update lean-toolchain for https://github.com/leanprover/lean4/pull/12572
Feb 20, 2026
8e87adb
remove set_option
kim-em Feb 20, 2026
ea136e5
Merge branch 'lean-pr-testing-12572' of github.com:leanprover-communi…
kim-em Feb 20, 2026
3d80f26
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 20, 2026
335ed01
remove set_option
kim-em Feb 20, 2026
48aee67
fixes for leanprover/lean4#12572
kim-em Feb 20, 2026
f9390f1
fixes for leanprover/lean4#12572
kim-em Feb 20, 2026
b410c84
fixes for leanprover/lean4#12572
kim-em Feb 20, 2026
70cd57c
remove more
kim-em Feb 20, 2026
e0c5286
chore: bump to nightly-2026-02-20
mathlib-nightly-testing[bot] Feb 20, 2026
557dcf5
merge lean-pr-testing-12572
mathlib-nightly-testing[bot] Feb 20, 2026
dedd268
fix
kim-em Feb 20, 2026
bbf1737
Merge commit 'dedd26896dd9e8a630057f6c71366a2ce000043c' into bump/nig…
Feb 20, 2026
b95a70d
chore: adaptations for nightly-2026-02-20
Feb 20, 2026
5a56d21
Merge master into nightly-testing
mathlib-nightly-testing[bot] Feb 21, 2026
c9c3695
fix
kim-em Feb 21, 2026
a05cf64
chore: bump to nightly-2026-02-21
mathlib-nightly-testing[bot] Feb 21, 2026
adb1303
Merge commit 'a05cf64db607e8a9d93ee4083940e5b304e3739a' into bump/nig…
Feb 21, 2026
f2e1a0e
chore: adaptations for nightly-2026-02-21
Feb 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Archive/Imo/Imo2010Q5.lean
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ lemma push {B : Fin 6 → ℕ} {i : Fin 6} (rB : Reachable B) (hi : i < 5) :
· simp_rw [single_eq_of_ne hk, tsub_zero]
rcases eq_or_ne k (i + 1) with rfl | hk'
· simp_rw [single_eq_same, single_succ]; grind
· simp_rw [single_eq_of_ne hk']
· simp_rw [single_eq_of_ne hk', add_zero]
termination_by B i

/-- `(0, 0, 5, 11, 0, 0)` is reachable. -/
Expand Down Expand Up @@ -118,13 +118,14 @@ lemma double {B : Fin 6 → ℕ} {i : Fin 6}
ext k; simp only [comp_apply, add_apply, sub_apply]
have (j : Fin 6) : j + 1 + 1 = j + 2 := by grind
rcases eq_or_ne k i with rfl | hk
· rw [swap_apply_of_ne_of_ne (by simp) (by simp), single_succ, this, single_add_two]
· rw [swap_apply_of_ne_of_ne (by simp) (by simp), single_succ, this, single_add_two, Nat.sub_zero]
· rcases eq_or_ne k (i + 1) with rfl | hk'
· grind [swap_apply_left, single_eq_same]
· rw [single_eq_of_ne hk']
rcases eq_or_ne k (i + 2) with rfl | hk''
· grind [swap_apply_right, single_eq_same, single_succ]
· rw [swap_apply_of_ne_of_ne hk' hk'', single_eq_of_ne hk', this, single_eq_of_ne hk'']
· rw [swap_apply_of_ne_of_ne hk' hk'', single_eq_of_ne hk', this, single_eq_of_ne hk'',
tsub_zero]

set_option backward.isDefEq.respectTransparency false in
/-- `double` as many times as possible, emptying $B_i$ and doubling $B_{i+1}$ that many times. -/
Expand All @@ -142,7 +143,7 @@ lemma doubles {B : Fin 6 → ℕ} {i : Fin 6} (rB : Reachable B) (hi : i < 4) (z
· simp_rw [update_of_ne hk', sub_apply, add_apply, single_eq_of_ne hk', add_zero]
rcases eq_or_ne k i with rfl | hk
· simp_rw [single_eq_same, tsub_self]
· simp_rw [single_eq_of_ne hk]
· simp_rw [single_eq_of_ne hk, tsub_zero]
termination_by B i

set_option backward.isDefEq.respectTransparency false in
Expand All @@ -161,7 +162,7 @@ lemma exp {B : Fin 6 → ℕ} {i : Fin 6}
· simp only [update_of_ne hk', sub_apply, add_apply, single_eq_of_ne hk', add_zero]
rcases eq_or_ne k i with rfl | hk
· simp_rw [single_eq_same, tsub_self]
· simp_rw [single_eq_of_ne hk]
· simp_rw [single_eq_of_ne hk, tsub_zero]

/-- From `(0, 0, k+1, n, 0, 0)` with `n > 0` we can reach `(0, 0, k, 2^n, 0, 0)`. -/
lemma exp_mid {k n : ℕ} (h : Reachable (single 2 (k + 1) + single 3 n)) (hn : 0 < n) :
Expand Down
2 changes: 1 addition & 1 deletion Archive/MiuLanguage/DecisionNec.lean
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ theorem count_equiv_one_or_two_mod3_of_derivable (en : Miustr) :
apply mod3_eq_1_or_mod3_eq_2 h_ih; left
rw [count_append, count_append, count_append]
simp_rw [count_cons_self, count_nil, count_cons, beq_iff_eq, reduceCtorEq, ite_false,
add_right_comm, add_mod_right]
add_right_comm, add_mod_right, add_zero]
| r4 _ h_ih =>
apply mod3_eq_1_or_mod3_eq_2 h_ih; left
rw [count_append, count_append, count_append]
Expand Down
1 change: 0 additions & 1 deletion Archive/Wiedijk100Theorems/AreaOfACircle.lean
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ theorem disc_eq_regionBetween :
theorem measurableSet_disc : MeasurableSet (disc r) := by
apply measurableSet_lt <;> fun_prop

set_option backward.isDefEq.respectTransparency false in
/-- **Area of a Circle**: The area of a disc with radius `r` is `π * r ^ 2`. -/
theorem area_disc : volume (disc r) = NNReal.pi * r ^ 2 := by
let f x := sqrt (r ^ 2 - x ^ 2)
Expand Down
2 changes: 0 additions & 2 deletions Archive/Wiedijk100Theorems/BuffonsNeedle.lean
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ lemma integrable_needleCrossesIndicator :
neg_div, sub_neg_eq_add, add_halves, sub_zero, ← ENNReal.ofReal_mul hd.le,
ENNReal.ofReal_lt_top]

set_option backward.isDefEq.respectTransparency false in
include hd hB hBₘ in
/--
This is a common step in both the short and the long case to simplify the expectation of the
Expand Down Expand Up @@ -328,7 +327,6 @@ lemma integral_arcsin_to_pi_div_two_min (h : d ≤ l) :
simp_rw [min_eq_left ((div_le_iff₀ hl).mp ((Real.arcsin_le_iff_le_sin' hθ_mem).mp hθ₁))]
rw [intervalIntegral.integral_congr this, intervalIntegral.integral_const, smul_eq_mul]

set_option backward.isDefEq.respectTransparency false in
set_option linter.style.whitespace false in
include hd hBₘ hB hl in
/-- Buffon's Needle, the long case (`d ≤ l`) -/
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Algebra/NonUnitalSubalgebra.lean
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,6 @@ theorem coe_iSup_of_directed [Nonempty ι] {S : ι → NonUnitalSubalgebra R A}
(iSup_le fun i ↦ le_iSup (fun i ↦ (S i : Set A)) i) (Set.iUnion_subset fun _ ↦ le_iSup S _)
this.symm ▸ rfl

set_option backward.isDefEq.respectTransparency false in
/-- Define an algebra homomorphism on a directed supremum of non-unital subalgebras by defining
it on each non-unital subalgebra, and proving that it agrees on the intersection of
non-unital subalgebras. -/
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Algebra/Subalgebra/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,6 @@ lemma algebraMap_apply {R A : Type*} [CommSemiring R] [CommSemiring A] [Algebra
(S : Subalgebra R A) (x : S) : algebraMap S A x = x :=
rfl

set_option backward.isDefEq.respectTransparency false in
@[simp]
theorem rangeS_algebraMap {R A : Type*} [CommSemiring R] [CommSemiring A] [Algebra R A]
(S : Subalgebra R A) : (algebraMap S A).rangeS = S.toSubsemiring := by
Expand Down
2 changes: 0 additions & 2 deletions Mathlib/Algebra/Algebra/Subalgebra/Directed.lean
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ theorem coe_iSup_of_directed (dir : Directed (· ≤ ·) K) : ↑(iSup K) = ⋃

variable (K)

set_option backward.isDefEq.respectTransparency false in
/-- Define an algebra homomorphism on a directed supremum of subalgebras by defining
it on each subalgebra, and proving that it agrees on the intersection of subalgebras. -/
noncomputable def iSupLift (dir : Directed (· ≤ ·) K) (f : ∀ i, K i →ₐ[R] B)
Expand Down Expand Up @@ -101,7 +100,6 @@ theorem iSupLift_mk {dir : Directed (· ≤ ·) K} {f : ∀ i, K i →ₐ[R] B}
dsimp [iSupLift, inclusion]
rw [Set.iUnionLift_mk]

set_option backward.isDefEq.respectTransparency false in
theorem iSupLift_of_mem {dir : Directed (· ≤ ·) K} {f : ∀ i, K i →ₐ[R] B}
{hf : ∀ (i j : ι) (h : K i ≤ K j), f i = (f j).comp (inclusion h)}
{T : Subalgebra R A} {hT : T ≤ iSup K} {i : ι} (x : T) (hx : (x : A) ∈ K i) :
Expand Down
3 changes: 2 additions & 1 deletion Mathlib/Algebra/BigOperators/Intervals.lean
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,12 @@ theorem sum_Ico_reflect {δ : Type*} [AddCommMonoid δ] (f : ℕ → δ) (k :
(h : m ≤ n + 1) : (∑ j ∈ Ico k m, f (n - j)) = ∑ j ∈ Ico (n + 1 - m) (n + 1 - k), f j :=
@prod_Ico_reflect (Multiplicative δ) _ f k m n h

set_option backward.isDefEq.respectTransparency false in
theorem prod_range_reflect (f : ℕ → M) (n : ℕ) :
(∏ j ∈ range n, f (n - 1 - j)) = ∏ j ∈ range n, f j := by
cases n
· simp
· simp only [← Nat.Ico_zero_eq_range, Nat.succ_sub_succ_eq_sub]
· simp only [← Nat.Ico_zero_eq_range, Nat.succ_sub_succ_eq_sub, tsub_zero]
rw [prod_Ico_reflect _ _ le_rfl]
simp

Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/BigOperators/NatAntidiagonal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ theorem sum_antidiagonal_succ {n : ℕ} {f : ℕ × ℕ → N} :
(∑ p ∈ antidiagonal (n + 1), f p) = f (0, n + 1) + ∑ p ∈ antidiagonal n, f (p.1 + 1, p.2) :=
@prod_antidiagonal_succ (Multiplicative N) _ _ _

set_option backward.isDefEq.respectTransparency false in
@[to_additive]
theorem prod_antidiagonal_swap {n : ℕ} {f : ℕ × ℕ → M} :
∏ p ∈ antidiagonal n, f p.swap = ∏ p ∈ antidiagonal n, f p := by
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Category/CommBialgCat.lean
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ instance {A : Type u} [CommRing A] [Bialgebra R A] [IsCocomm R A] :
IsCommMonObj (Opposite.op <| CommAlgCat.of R A) where
mul_comm := by ext; exact comm_comul R _

set_option backward.isDefEq.respectTransparency false in
instance {A B : Type u} [CommRing A] [Bialgebra R A] [CommRing B] [Bialgebra R B]
(f : A →ₐc[R] B) : IsMonHom (CommAlgCat.ofHom (f : A →ₐ[R] B)).op where

Expand Down
4 changes: 2 additions & 2 deletions Mathlib/Algebra/Category/Grp/FiniteGrp.lean
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ open CategoryTheory
@[pp_with_univ]
structure FiniteGrp where
/-- A group that is finite -/
toGrp : GrpCat
toGrp : GrpCat.{u}
[isFinite : Finite toGrp]

/-- The category of finite additive groups. -/
@[pp_with_univ]
structure FiniteAddGrp where
/-- An additive group that is finite -/
toAddGrp : AddGrpCat
toAddGrp : AddGrpCat.{u}
[isFinite : Finite toAddGrp]

attribute [to_additive] FiniteGrp
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Category/Grp/ZModuleEquivalence.lean
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ universe u

namespace ModuleCat

set_option backward.isDefEq.respectTransparency false in
/-- The forgetful functor from `ℤ` modules to `AddCommGrpCat` is full. -/
instance forget₂_addCommGroup_full : (forget₂ (ModuleCat ℤ) AddCommGrpCat.{u}).Full where
map_surjective {A B}
Expand Down
2 changes: 0 additions & 2 deletions Mathlib/Algebra/Category/ModuleCat/Adjunctions.lean
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ variable [CommRing R]

namespace FreeMonoidal

set_option backward.isDefEq.respectTransparency false in
/-- The canonical isomorphism `𝟙_ (ModuleCat R) ≅ (free R).obj (𝟙_ (Type u))`.
(This should not be used directly: it is part of the implementation of the
monoidal structure on the functor `free R`.) -/
Expand All @@ -129,7 +128,6 @@ def εIso : 𝟙_ (ModuleCat R) ≅ (free R).obj (𝟙_ (Type u)) where
@[simp]
lemma εIso_hom_one : (εIso R).hom 1 = freeMk PUnit.unit := rfl

set_option backward.isDefEq.respectTransparency false in
@[simp]
lemma εIso_inv_freeMk (x : PUnit) : (εIso R).inv (freeMk x) = 1 := by
dsimp [εIso, freeMk]
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Category/Ring/Adjunctions.lean
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ set_option backward.isDefEq.respectTransparency false in
def coyonedaUnique {n : Type v} [Unique n] : coyoneda.obj (op n) ≅ 𝟭 CommRingCat.{max u v} :=
NatIso.ofComponents (fun X ↦ (RingEquiv.piUnique _).toCommRingCatIso) (fun f ↦ by ext; simp)

set_option backward.isDefEq.respectTransparency false in
/-- The monoid algebra functor `CommGrpCat ⥤ R-Alg` given by `G ↦ R[G]`. -/
@[simps]
def monoidAlgebra (R : CommRingCat.{max u v}) : CommMonCat.{v} ⥤ Under R where
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/CharP/Invertible.lean
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def invertibleOfCoprime {n : ℕ} (h : n.Coprime p) :
invOf_mul_self := by rw [CharP.natCast_gcdA_mul_intCast_eq_gcd, h, Nat.cast_one]
mul_invOf_self := by rw [CharP.intCast_mul_natCast_gcdA_eq_gcd, h, Nat.cast_one]

set_option backward.isDefEq.respectTransparency false in
theorem invOf_eq_of_coprime {n : ℕ} [Invertible (n : R)] (h : n.Coprime p) :
⅟(n : R) = n.gcdA p := by
letI : Invertible (n : R) := invertibleOfCoprime h
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Group/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ theorem npowRec'_two_mul {M : Type*} [Semigroup M] [One M] (k : ℕ) (m : M) :
match k' with
| 0 => rfl
| 1 => simp [npowRec']
| k + 2 => simp [npowRec', ← mul_assoc, Nat.mul_add, ← ih]
| k + 2 => simp [npowRec', ← mul_assoc, ← ih]

@[to_additive]
theorem npowRec'_mul_comm {M : Type*} [Semigroup M] [One M] {k : ℕ} (k0 : k ≠ 0) (m : M) :
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Group/NatPowAssoc.lean
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ theorem npow_mul_comm (m n : ℕ) (x : M) :

theorem npow_mul (x : M) (m n : ℕ) : x ^ (m * n) = (x ^ m) ^ n := by
induction n with
| zero => rw [npow_zero, npow_zero]
| zero => rw [npow_zero, mul_zero, npow_zero]
| succ n ih => rw [mul_add, npow_add, ih, mul_one, npow_add, npow_one]

theorem npow_mul' (x : M) (m n : ℕ) : x ^ (m * n) = (x ^ n) ^ m := by
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Group/Subgroup/Ker.lean
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ theorem subtype_comp_rangeRestrict (f : G →* N) : f.range.subtype.comp f.range
theorem rangeRestrict_surjective (f : G →* N) : Function.Surjective f.rangeRestrict :=
fun ⟨_, g, rfl⟩ => ⟨g, rfl⟩

set_option backward.isDefEq.respectTransparency false in
@[to_additive (attr := simp)]
lemma rangeRestrict_injective_iff {f : G →* N} : Injective f.rangeRestrict ↔ Injective f := by
convert Set.injective_codRestrict _
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Homology/DerivedCategory/Ext/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ lemma comp_mk₀_id (α : Ext X Y n) :
α.comp (mk₀ (𝟙 Y)) (add_zero n) = α := by
letI := HasDerivedCategory.standard C; ext; simp

set_option backward.isDefEq.respectTransparency false in
variable (X Y) in
@[simp]
lemma mk₀_zero : mk₀ (0 : X ⟶ Y) = 0 := by
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Homology/Functor.lean
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ namespace HomologicalComplex

variable [HasZeroMorphisms V] {ι : Type*} {c : ComplexShape ι}

set_option backward.isDefEq.respectTransparency false in
/-- A complex of functors gives a functor to complexes. -/
@[simps]
def asFunctor (C : HomologicalComplex (T ⥤ V) c) :
Expand Down
2 changes: 0 additions & 2 deletions Mathlib/Algebra/Homology/Homotopy.lean
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ def mkInductiveAux₁ :

section

set_option backward.isDefEq.respectTransparency false in
/-- An auxiliary construction for `mkInductive`.
-/
def mkInductiveAux₂ :
Expand All @@ -488,7 +487,6 @@ def mkInductiveAux₂ :
0, zero ≫ (Q.xPrevIso rfl).inv, by simpa using comm_zero⟩ :=
rfl

set_option backward.isDefEq.respectTransparency false in
@[simp] theorem mkInductiveAux₂_add_one (n) :
mkInductiveAux₂ e zero comm_zero one comm_one succ (n + 1) =
letI I := mkInductiveAux₁ e zero one comm_one succ n
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Lie/Engel.lean
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ theorem LieEquiv.isEngelian_iff (e : L ≃ₗ⁅R⁆ L₂) :
LieAlgebra.IsEngelian.{u₁, u₂, u₄} R L ↔ LieAlgebra.IsEngelian.{u₁, u₃, u₄} R L₂ :=
⟨e.surjective.isEngelian, e.symm.surjective.isEngelian⟩

set_option backward.isDefEq.respectTransparency false in
theorem LieAlgebra.exists_engelian_lieSubalgebra_of_lt_normalizer {K : LieSubalgebra R L}
(hK₁ : LieAlgebra.IsEngelian.{u₁, u₂, u₄} R K) (hK₂ : K < K.normalizer) :
∃ (K' : LieSubalgebra R L), LieAlgebra.IsEngelian.{u₁, u₂, u₄} R K' ∧ K < K' := by
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Lie/EngelSubalgebra.lean
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ lemma normalizer_engel (x : L) : normalizer (engel R x) = engel R x := by

variable {R}

set_option backward.isDefEq.respectTransparency false in
open Filter in
/-- A Lie-subalgebra of an Artinian Lie algebra is self-normalizing
if it contains an Engel subalgebra.
Expand Down
2 changes: 0 additions & 2 deletions Mathlib/Algebra/Lie/Quotient.lean
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ instance lieQuotientHasBracket : Bracket (L ⧸ I) (L ⧸ I) :=
theorem mk_bracket (x y : L) : mk ⁅x, y⁆ = ⁅(mk x : L ⧸ I), (mk y : L ⧸ I)⁆ :=
rfl

set_option backward.isDefEq.respectTransparency false in
instance lieQuotientLieRing : LieRing (L ⧸ I) where
add_lie := by
intro x' y' z'; refine Quotient.inductionOn₃' x' y' z' ?_; intro x y z
Expand Down Expand Up @@ -158,7 +157,6 @@ instance lieQuotientLieRing : LieRing (L ⧸ I) where
| rw [← Submodule.Quotient.mk_add (R := R) (M := L)]
apply congr_arg; apply leibniz_lie

set_option backward.isDefEq.respectTransparency false in
instance lieQuotientLieAlgebra : LieAlgebra R (L ⧸ I) where
lie_smul := by
intro t x' y'; refine Quotient.inductionOn₂' x' y' ?_; intro x y
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Lie/Subalgebra.lean
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ instance lieRingModule : LieRingModule L' M where

variable [Module R M]

set_option backward.isDefEq.respectTransparency false in
/-- Given a Lie algebra `L` containing a Lie subalgebra `L' ⊆ L`, together with a Lie module `M` of
`L`, we may regard `M` as a Lie module of `L'` by restriction. -/
instance lieModule [LieModule R L M] : LieModule R L' M where
Expand Down
4 changes: 0 additions & 4 deletions Mathlib/Algebra/Lie/Submodule.lean
Original file line number Diff line number Diff line change
Expand Up @@ -778,12 +778,10 @@ theorem mem_map_of_mem {m : M} (h : m ∈ N) : f m ∈ N.map f :=
theorem mem_comap {m : M} : m ∈ comap f N' ↔ f m ∈ N' :=
Iff.rfl

set_option backward.isDefEq.respectTransparency false in
theorem comap_incl_eq_top : N₂.comap N.incl = ⊤ ↔ N ≤ N₂ := by
rw [← LieSubmodule.toSubmodule_inj, LieSubmodule.toSubmodule_comap, LieSubmodule.incl_coe,
LieSubmodule.top_toSubmodule, Submodule.comap_subtype_eq_top, toSubmodule_le_toSubmodule]

set_option backward.isDefEq.respectTransparency false in
theorem comap_incl_eq_bot : N₂.comap N.incl = ⊥ ↔ N ⊓ N₂ = ⊥ := by
simp only [← toSubmodule_inj, toSubmodule_comap, incl_coe, bot_toSubmodule,
inf_toSubmodule]
Expand Down Expand Up @@ -932,13 +930,11 @@ variable (N : LieSubmodule R L M)
@[simp]
theorem ker_incl : N.incl.ker = ⊥ := (LieModuleHom.ker_eq_bot N.incl).mpr <| injective_incl N

set_option backward.isDefEq.respectTransparency false in
@[simp]
theorem range_incl : N.incl.range = N := by
simp only [← toSubmodule_inj, LieModuleHom.toSubmodule_range, incl_coe]
rw [Submodule.range_subtype]

set_option backward.isDefEq.respectTransparency false in
@[simp]
theorem comap_incl_self : comap N.incl N = ⊤ := by
simp only [← toSubmodule_inj, toSubmodule_comap, incl_coe, top_toSubmodule]
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Lie/TraceForm.lean
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ lemma traceForm_eq_of_le_idealizer :
rw [N.trace_eq_trace_restrict_of_le_idealizer I h x hy]
rfl

set_option backward.isDefEq.respectTransparency false in
include h hy in
/-- Note that this result is slightly stronger than it might look at first glance: we only assume
that `N` is trivial over `I` rather than all of `L`. This means that it applies in the important
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Lie/Weights/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ theorem exists_genWeightSpace_zero_le_ker_of_isNoetherian
∃ k : ℕ, genWeightSpace M (0 : L → R) ≤ LinearMap.ker (toEnd R L M x ^ k) := by
simpa using exists_genWeightSpace_le_ker_of_isNoetherian M (0 : L → R) x

set_option backward.isDefEq.respectTransparency false in
lemma isNilpotent_toEnd_sub_algebraMap [IsNoetherian R M] (χ : L → R) (x : L) :
_root_.IsNilpotent <| toEnd R L (genWeightSpace M χ) x - algebraMap R _ (χ x) := by
have : toEnd R L (genWeightSpace M χ) x - algebraMap R _ (χ x) =
Expand Down
2 changes: 0 additions & 2 deletions Mathlib/Algebra/Lie/Weights/Cartan.lean
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ theorem le_zeroRootSubalgebra : H ≤ zeroRootSubalgebra R L H := by
coe_zeroRootSubalgebra, LieSubmodule.toSubmodule_le_toSubmodule]
exact toLieSubmodule_le_rootSpace_zero R L H

set_option backward.isDefEq.respectTransparency false in
@[simp]
theorem zeroRootSubalgebra_normalizer_eq_self :
(zeroRootSubalgebra R L H).normalizer = zeroRootSubalgebra R L H := by
Expand Down Expand Up @@ -270,7 +269,6 @@ lemma mem_corootSpace {x : H} :
{x | ∃ (a : rootSpace H α) (b : rootSpace H (-α)), ⁅(a : L), (b : L)⁆ = x} ↔ _
simp

set_option backward.isDefEq.respectTransparency false in
lemma mem_corootSpace' {x : H} :
x ∈ corootSpace α ↔
x ∈ Submodule.span R ({⁅y, z⁆ | (y ∈ rootSpace H α) (z ∈ rootSpace H (-α))} : Set H) := by
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Lie/Weights/IsSimple.lean
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ private theorem chi_not_in_q_aux (h_chi_not_in_q : ↑χ ∉ q) :

end

set_option backward.isDefEq.respectTransparency false in
include hq hx_χ hαq in
private theorem invtSubmoduleToLieIdeal_aux (hm_α : m_α ∈ sl2SubmoduleOfRoot hα₀) :
⁅x_χ, m_α⁆ ∈ ⨆ α : {α : Weight K H L // ↑α ∈ q ∧ α.IsNonZero}, sl2SubmoduleOfRoot α.2.2 := by
Expand Down
3 changes: 0 additions & 3 deletions Mathlib/Algebra/Lie/Weights/Killing.lean
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,6 @@ lemma exists_isSl2Triple_of_weight_isNonZero {α : Weight K H L} (hα : α.IsNon
rw [lie_smul, lie_smul, smul_lie, this]
simp [← smul_assoc, f, hh, mul_comm _ (2 * (α h)⁻¹)]

set_option backward.isDefEq.respectTransparency false in
lemma _root_.IsSl2Triple.h_eq_coroot {α : Weight K H L} (hα : α.IsNonZero)
{h e f : L} (ht : IsSl2Triple h e f) (heα : e ∈ rootSpace H α) (hfα : f ∈ rootSpace H (-α)) :
h = coroot α := by
Expand Down Expand Up @@ -626,7 +625,6 @@ noncomputable def sl2SubalgebraOfRoot {α : Weight K H L} (hα : α.IsNonZero) :
choose h e f t ht using exists_isSl2Triple_of_weight_isNonZero hα
exact t.toLieSubalgebra K

set_option backward.isDefEq.respectTransparency false in
lemma mem_sl2SubalgebraOfRoot_iff {α : Weight K H L} (hα : α.IsNonZero) {h e f : L}
(t : IsSl2Triple h e f) (hte : e ∈ rootSpace H α) (htf : f ∈ rootSpace H (-α)) {x : L} :
x ∈ sl2SubalgebraOfRoot hα ↔ ∃ c₁ c₂ c₃ : K, x = c₁ • e + c₂ • f + c₃ • ⁅e, f⁆ := by
Expand Down Expand Up @@ -679,7 +677,6 @@ This represents the image of the coroot space under the inclusion `H ↪ L`. -/
noncomputable abbrev corootSubmodule (α : Weight K H L) : LieSubmodule K H L :=
LieSubmodule.map H.toLieSubmodule.incl (corootSpace α)

set_option backward.isDefEq.respectTransparency false in
open Submodule in
lemma sl2SubmoduleOfRoot_eq_sup (α : Weight K H L) (hα : α.IsNonZero) :
sl2SubmoduleOfRoot hα = genWeightSpace L α ⊔ genWeightSpace L (-α) ⊔ corootSubmodule α := by
Expand Down
1 change: 0 additions & 1 deletion Mathlib/Algebra/Module/FinitePresentation.lean
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ instance : Module.FinitePresentation R R := Module.finitePresentation_of_project
instance : Module.FinitePresentation R (ι →₀ R) := Module.finitePresentation_of_projective _ _
instance : Module.FinitePresentation R (ι → R) := Module.finitePresentation_of_projective _ _

set_option backward.isDefEq.respectTransparency false in
lemma Module.finitePresentation_of_surjective [h : Module.FinitePresentation R M] (l : M →ₗ[R] N)
(hl : Function.Surjective l) (hl' : (LinearMap.ker l).FG) :
Module.FinitePresentation R N := by
Expand Down
Loading