Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1518 commits
Select commit Hold shift + click to select a range
0854824
Merge branch 'definition-of-depth' into Ischebeck-theorem
Thmoas-Guan Nov 30, 2025
a6ef995
Merge branch 'associated-primes-of-localized-module' into definition-…
Thmoas-Guan Nov 30, 2025
0bb7058
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Nov 30, 2025
a092e91
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Nov 30, 2025
7b97d6b
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Nov 30, 2025
db248e7
decompose
jjdishere Dec 1, 2025
847827a
Update DimensionShifting.lean
jjdishere Dec 1, 2025
8e5f397
fix
Thmoas-Guan Dec 1, 2025
5308072
HasExt instance for ModuleCat
Thmoas-Guan Dec 1, 2025
b624d72
add doc
Thmoas-Guan Dec 1, 2025
45f764a
add dimension shifting tool
Thmoas-Guan Dec 1, 2025
4616c80
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 1, 2025
49c0970
fix
Thmoas-Guan Dec 1, 2025
c37ff06
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 1, 2025
cd52fa4
fix docstring
Thmoas-Guan Dec 4, 2025
57987a5
fix universe
Thmoas-Guan Dec 4, 2025
0fe02f8
Merge branch 'master' into ModuleCat-HasExt
Thmoas-Guan Dec 4, 2025
3f22b3d
Merge branch 'ModuleCat-HasExt' into Dimension-Shifting-Tools
Thmoas-Guan Dec 4, 2025
66181dd
fix typo
Thmoas-Guan Dec 4, 2025
c9276a0
fix universe
Thmoas-Guan Dec 4, 2025
17480fd
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 4, 2025
d23f853
fix universe
Thmoas-Guan Dec 4, 2025
b6b16b0
Merge branch 'ModuleCat-HasExt' into rees-theorem-for-depth'
Thmoas-Guan Dec 4, 2025
8659ab6
fix universe
Thmoas-Guan Dec 4, 2025
aebdba3
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Dec 4, 2025
b61a466
fix universe
Thmoas-Guan Dec 4, 2025
0d23236
Merge branch 'definition-of-depth' into depth_of_QuotSMulTop
Thmoas-Guan Dec 4, 2025
23746ee
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Dec 4, 2025
4f9dc29
remove existing instance
Thmoas-Guan Dec 4, 2025
c68fa04
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Dec 4, 2025
2658772
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 4, 2025
ac2a9a8
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 4, 2025
3d1ca03
Merge branch 'definition-of-depth' into Ischebeck-theorem
Thmoas-Guan Dec 4, 2025
b3cbee6
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 4, 2025
d85f8b5
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 4, 2025
2721839
fix explicit universe
Thmoas-Guan Dec 4, 2025
b8502fc
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 4, 2025
8139c7c
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 4, 2025
5b1cb85
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Dec 4, 2025
94057e4
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 4, 2025
19f1abe
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Dec 4, 2025
07b2b5d
Merge branch 'master' into definition-of-depth
Thmoas-Guan Dec 4, 2025
b05629c
Merge branch 'master' into depth_of_QuotSMulTop
Thmoas-Guan Dec 4, 2025
32bff51
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Dec 4, 2025
6ada78c
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Dec 4, 2025
c0a1aee
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 4, 2025
ece612a
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 4, 2025
081ac4c
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 4, 2025
7568d92
use injective preentation
Thmoas-Guan Dec 5, 2025
7d3a198
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 5, 2025
7192d25
fix naming
Thmoas-Guan Dec 5, 2025
96cce05
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 5, 2025
26b1ebf
fix
Thmoas-Guan Dec 5, 2025
af62cb2
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Dec 5, 2025
fc88c2d
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 5, 2025
51ca490
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 5, 2025
83feb00
fix exceed 100 char
Thmoas-Guan Dec 5, 2025
8ed1bcf
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Dec 5, 2025
671ef80
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 5, 2025
b04562f
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 5, 2025
e74f95d
fix naming
Thmoas-Guan Dec 5, 2025
736e6eb
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 5, 2025
b847490
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Dec 5, 2025
9302831
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 5, 2025
89d6822
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 5, 2025
f515cd6
fix naming and variable
Thmoas-Guan Dec 8, 2025
813dc6d
fix docstring
Thmoas-Guan Dec 8, 2025
750a723
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Dec 8, 2025
a6c9031
fix
Thmoas-Guan Dec 8, 2025
2df288c
fix doc and small golf
Thmoas-Guan Dec 9, 2025
8ffa4f6
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Dec 9, 2025
84e0db8
fix universe arrangement
Thmoas-Guan Dec 9, 2025
0a5ef87
Merge branch 'definition-of-depth' into depth_of_QuotSMulTop
Thmoas-Guan Dec 9, 2025
3d31a06
golf
Thmoas-Guan Dec 9, 2025
f401f5e
small golf
Thmoas-Guan Dec 9, 2025
8ada503
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 9, 2025
8048b44
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 9, 2025
a017ed4
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 9, 2025
0477c46
add general version
Thmoas-Guan Dec 9, 2025
c0a5782
add monotone version
Thmoas-Guan Dec 9, 2025
69e7fba
fix naming
Thmoas-Guan Dec 15, 2025
8307e25
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Dec 15, 2025
d50557e
fix
Thmoas-Guan Dec 15, 2025
81ee1d0
fix induction syntax
Thmoas-Guan Dec 16, 2025
36b66b3
golf exists_isRegular_of_exists_subsingleton_ext
Thmoas-Guan Dec 16, 2025
0f165c8
separate a non-degenerate lemma
Thmoas-Guan Dec 16, 2025
882e83b
golf ext_subsingleton_of_exists_isRegular
Thmoas-Guan Dec 16, 2025
63606c8
fix universe
Thmoas-Guan Dec 16, 2025
166e3d3
golf Rees theorem
Thmoas-Guan Dec 16, 2025
9a8b8c6
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Dec 16, 2025
3faeb1f
generalize some lemma
Thmoas-Guan Dec 16, 2025
d896811
add head of long exact sequence of Ext
Thmoas-Guan Dec 16, 2025
f529cfe
fix variable
Thmoas-Guan Dec 16, 2025
d723824
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Dec 16, 2025
18855ad
Merge branch 'master' into definition-of-depth
Thmoas-Guan Dec 16, 2025
ef7bb4f
fix
Thmoas-Guan Dec 16, 2025
31582f0
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Dec 17, 2025
9e15898
Merge branch 'definition-of-depth' into depth_of_QuotSMulTop
Thmoas-Guan Dec 17, 2025
4135574
fix
Thmoas-Guan Dec 17, 2025
2988922
Merge branch 'master' into Ext-finitely-generated
Thmoas-Guan Dec 17, 2025
979c652
Merge branch 'definition-of-depth' into Ischebeck-theorem
Thmoas-Guan Dec 17, 2025
253a61e
golf
Thmoas-Guan Dec 17, 2025
8caef17
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 17, 2025
f9cd638
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 17, 2025
9c504b5
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 17, 2025
48dfa67
separate injective
Thmoas-Guan Dec 17, 2025
1ad2a64
fix naming
Thmoas-Guan Dec 17, 2025
4834264
Merge branch 'master' into head-of-long-exact-sequence-of-Ext
Thmoas-Guan Dec 18, 2025
a18142e
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Dec 18, 2025
5573a3b
Merge branch 'master' into definition-of-depth
Thmoas-Guan Dec 18, 2025
65abe6c
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Dec 18, 2025
253f136
Merge branch 'master' into depth_of_QuotSMulTop
Thmoas-Guan Dec 18, 2025
e5ce3db
Merge branch 'master' into Ext-finitely-generated
Thmoas-Guan Dec 18, 2025
14779d2
Merge branch 'master' into Ischebeck-theorem
Thmoas-Guan Dec 18, 2025
04876b2
Merge branch 'master' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 18, 2025
9de690a
Merge branch 'master' into polynomial-over-CM-ring-is-CM
Thmoas-Guan Dec 18, 2025
9190fa9
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Dec 18, 2025
619e341
Merge branch 'head-of-long-exact-sequence-of-Ext' into definition-of-…
Thmoas-Guan Dec 18, 2025
ec3a16a
remove duplicated
Thmoas-Guan Dec 18, 2025
8aa13a8
Merge branch 'definition-of-depth' into depth_of_QuotSMulTop
Thmoas-Guan Dec 18, 2025
0f252aa
Merge branch 'definition-of-depth' into Ischebeck-theorem
Thmoas-Guan Dec 18, 2025
797a6af
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 18, 2025
34a7687
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 18, 2025
ba361b9
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 18, 2025
d6fcd59
fix missing space
Thmoas-Guan Dec 22, 2025
9c38941
Merge branch 'WithBot-ENat-lemmas' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 22, 2025
a017f41
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 22, 2025
8b808fb
fix variable
Thmoas-Guan Dec 28, 2025
5dfc265
golf
Thmoas-Guan Dec 28, 2025
c5b8261
Merge branch 'head-of-long-exact-sequence-of-Ext' into definition-of-…
Thmoas-Guan Dec 28, 2025
9b7c3ca
fix
Thmoas-Guan Dec 28, 2025
c75bb3e
Merge branch 'definition-of-depth' into depth_of_QuotSMulTop
Thmoas-Guan Dec 28, 2025
38c7704
Merge branch 'definition-of-depth' into Ischebeck-theorem
Thmoas-Guan Dec 28, 2025
221f257
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 28, 2025
c6e912c
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 28, 2025
4859636
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 28, 2025
e967fc5
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Dec 29, 2025
08062ba
move some decls
Thmoas-Guan Dec 29, 2025
ee2dbfc
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Dec 29, 2025
9c9f93b
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Dec 29, 2025
941f207
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Dec 29, 2025
98564d5
Merge branch 'master' into definition-of-depth
Thmoas-Guan Dec 29, 2025
e3b836a
Merge branch 'master' into depth_of_QuotSMulTop
Thmoas-Guan Dec 29, 2025
9fd3854
Merge branch 'master' into Ischebeck-theorem
Thmoas-Guan Dec 29, 2025
d6b9c71
Merge branch 'master' into definition-of-Cohen-Macaulay
Thmoas-Guan Dec 29, 2025
eb05314
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Dec 29, 2025
de321c1
golf
YaelDillies Jan 1, 2026
050d5ae
remove unused intermediate lemma
Thmoas-Guan Jan 5, 2026
58c27f5
use AddLECancellable
Thmoas-Guan Jan 6, 2026
ae721c3
Merge branch 'WithBot-ENat-lemmas' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
5262133
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Jan 6, 2026
99fbbb2
Merge branch 'master' into Ext-finitely-generated
Thmoas-Guan Jan 6, 2026
7d06515
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Jan 6, 2026
617dce2
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Jan 6, 2026
6bfef7d
Merge branch 'master' into definition-of-depth
Thmoas-Guan Jan 6, 2026
d1f6c42
Merge branch 'master' into depth_of_QuotSMulTop
Thmoas-Guan Jan 6, 2026
da78e43
Merge branch 'master' into Ischebeck-theorem
Thmoas-Guan Jan 6, 2026
2ed941b
Merge branch 'master' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
ff6b4a5
Merge branch 'WithBot-ENat-lemmas' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
d3084c8
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 6, 2026
0bc3356
fix doc and namespace
Thmoas-Guan Jan 6, 2026
0468fdd
use generalizing
Thmoas-Guan Jan 6, 2026
9f4ac82
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Jan 6, 2026
5b23a36
fix
Thmoas-Guan Jan 6, 2026
b898001
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Jan 6, 2026
536378f
Merge branch 'definition-of-depth' into depth_of_QuotSMulTop
Thmoas-Guan Jan 6, 2026
1fea94f
Merge branch 'definition-of-depth' into Ischebeck-theorem
Thmoas-Guan Jan 6, 2026
5229142
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
3fbe3f5
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
fdbbdf6
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 6, 2026
34bc2e1
golf
Thmoas-Guan Jan 6, 2026
2be537d
Merge branch 'WithBot-ENat-lemmas' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
1479717
fix naming
Thmoas-Guan Jan 6, 2026
20b0d4c
fix doc
Thmoas-Guan Jan 6, 2026
949550e
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Jan 6, 2026
ecc82cd
fix
Thmoas-Guan Jan 6, 2026
da8810c
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Jan 6, 2026
ae9c10f
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
0c0c022
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 6, 2026
37c731f
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Jan 23, 2026
57b6d0b
move instance
Thmoas-Guan Jan 23, 2026
2359da3
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Jan 23, 2026
261ad47
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Jan 25, 2026
05d5c62
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Jan 25, 2026
e731289
Merge branch 'master' into definition-of-depth
Thmoas-Guan Jan 25, 2026
b6bb425
Merge branch 'master' into depth_of_QuotSMulTop
Thmoas-Guan Jan 25, 2026
50f682c
Merge branch 'master' into Ischebeck-theorem
Thmoas-Guan Jan 25, 2026
37736d4
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 25, 2026
39f85f6
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Jan 25, 2026
c59c0d5
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 25, 2026
6a6f20f
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 25, 2026
1dcffea
fix
Thmoas-Guan Jan 25, 2026
aa9e9f1
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 25, 2026
a6f551d
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 25, 2026
98cf621
fix
Thmoas-Guan Jan 25, 2026
3d0d60b
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 25, 2026
ef4296c
fix
Thmoas-Guan Jan 25, 2026
4ca8eb4
fix using new commits
Thmoas-Guan Jan 25, 2026
dadb074
move some declarations
Thmoas-Guan Jan 26, 2026
cf8ee53
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Jan 26, 2026
ee4f8e0
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Jan 26, 2026
fabf1ae
golf proof
Thmoas-Guan Jan 27, 2026
cb52dec
remove unnecessary part
Thmoas-Guan Jan 27, 2026
2e4f6e2
fix
Thmoas-Guan Jan 27, 2026
a0976a0
Merge branch 'Dimension-Shifting-Tools' into Ext-finitely-generated
Thmoas-Guan Jan 27, 2026
18d5a11
Merge branch 'master' into Ext-finitely-generated
Thmoas-Guan Jan 27, 2026
0e63f29
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Jan 27, 2026
b1a191a
fix variable
Thmoas-Guan Jan 27, 2026
1565938
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Jan 27, 2026
599d500
Merge branch 'master' into definition-of-depth
Thmoas-Guan Jan 27, 2026
46e0a17
Merge branch 'master' into depth_of_QuotSMulTop
Thmoas-Guan Jan 27, 2026
ea0618c
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Jan 27, 2026
d7e9a35
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 27, 2026
4bb29de
Merge branch 'WithBot-ENat-lemmas' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 27, 2026
fe4d469
fix
Thmoas-Guan Jan 27, 2026
685eb91
golf
Thmoas-Guan Jan 27, 2026
0a28800
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 27, 2026
21ecf2a
golf
Thmoas-Guan Jan 27, 2026
3e6b8d5
fix doc
Thmoas-Guan Jan 28, 2026
9ad898f
golf
Thmoas-Guan Jan 28, 2026
3d76295
Merge branch 'Ext-finitely-generated' into Ischebeck-theorem
Thmoas-Guan Jan 28, 2026
7f07842
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 28, 2026
6c834ec
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Jan 28, 2026
2a5a8e4
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Feb 7, 2026
0c7c085
Merge branch 'master' into definition-of-depth
Thmoas-Guan Feb 7, 2026
2b876bf
Merge branch 'master' into depth_of_QuotSMulTop
Thmoas-Guan Feb 7, 2026
2f53edf
Merge branch 'master' into definition-of-Cohen-Macaulay
Thmoas-Guan Feb 7, 2026
0cc43ab
Merge branch 'master' into polynomial-over-CM-ring-is-CM
Thmoas-Guan Feb 7, 2026
1dbf9df
Merge branch 'master' into Ischebeck-theorem
Thmoas-Guan Feb 7, 2026
3d565f3
Merge branch 'master' into rees-theorem-for-depth'
Thmoas-Guan Feb 18, 2026
fe215a6
fix
Thmoas-Guan Feb 18, 2026
500191d
fix
Thmoas-Guan Feb 18, 2026
b418363
fix naming
Thmoas-Guan Feb 18, 2026
b7d69c6
fix doc
Thmoas-Guan Feb 18, 2026
8d6bdfc
golf statement
Thmoas-Guan Feb 18, 2026
121325c
move decl
Thmoas-Guan Feb 18, 2026
a975fe5
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Feb 18, 2026
36bcff7
fix
Thmoas-Guan Feb 18, 2026
c988f34
revert some fix
Thmoas-Guan Feb 18, 2026
0140036
revert some fix
Thmoas-Guan Feb 18, 2026
709e4bf
Merge branch 'rees-theorem-for-depth'' into definition-of-depth
Thmoas-Guan Feb 18, 2026
34669a1
Merge branch 'definition-of-depth' into depth_of_QuotSMulTop
Thmoas-Guan Feb 18, 2026
ea11946
fix
Thmoas-Guan Feb 18, 2026
ad251a6
Merge branch 'definition-of-depth' into Ischebeck-theorem
Thmoas-Guan Feb 18, 2026
94e1699
fix
Thmoas-Guan Feb 18, 2026
2dcf9b4
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Feb 18, 2026
67918d9
Merge branch 'depth_of_QuotSMulTop' into definition-of-Cohen-Macaulay
Thmoas-Guan Feb 18, 2026
c40cc6f
Update Basic.lean
Thmoas-Guan Feb 18, 2026
0d0ce47
Merge branch 'definition-of-Cohen-Macaulay' into polynomial-over-CM-r…
Thmoas-Guan Feb 18, 2026
7427f44
fix
Thmoas-Guan Feb 18, 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
3 changes: 3 additions & 0 deletions Mathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -6037,6 +6037,8 @@ public import Mathlib.RingTheory.Coalgebra.Hom
public import Mathlib.RingTheory.Coalgebra.MonoidAlgebra
public import Mathlib.RingTheory.Coalgebra.MulOpposite
public import Mathlib.RingTheory.Coalgebra.TensorProduct
public import Mathlib.RingTheory.CohenMacaulay.Basic
public import Mathlib.RingTheory.CohenMacaulay.Polynomial
public import Mathlib.RingTheory.Complex
public import Mathlib.RingTheory.Conductor
public import Mathlib.RingTheory.Congruence.Basic
Expand Down Expand Up @@ -6454,6 +6456,7 @@ public import Mathlib.RingTheory.Regular.Category
public import Mathlib.RingTheory.Regular.Depth
public import Mathlib.RingTheory.Regular.Flat
public import Mathlib.RingTheory.Regular.IsSMulRegular
public import Mathlib.RingTheory.Regular.Ischebeck
public import Mathlib.RingTheory.Regular.RegularSequence
public import Mathlib.RingTheory.RingHom.Bijective
public import Mathlib.RingTheory.RingHom.EssFiniteType
Expand Down
44 changes: 34 additions & 10 deletions Mathlib/Algebra/Order/Monoid/Unbundled/WithTop.lean
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,30 @@ theorem add_eq_coe :
lemma add_coe_eq_top_iff : x + b = ⊤ ↔ x = ⊤ := by simp
lemma coe_add_eq_top_iff : a + y = ⊤ ↔ y = ⊤ := by simp

lemma _root_.IsAddLeftRegular.withTop (ha : IsAddLeftRegular a) :
IsAddLeftRegular (a : WithTop α) := by
rintro (_ | b) (_ | c) <;> simp [none_eq_top, some_eq_coe, ← coe_add, ha.eq_iff]

lemma _root_.IsAddRightRegular.withTop (ha : IsAddRightRegular a) :
IsAddRightRegular (a : WithTop α) := by
rintro (_ | b) (_ | c) <;> simp [none_eq_top, some_eq_coe, ← coe_add, ha.eq_iff]

lemma _root_.AddLECancellable.withTop [LE α] (ha : AddLECancellable a) :
AddLECancellable (a : WithTop α) := by
rintro (_ | b) (_ | c)
· simp [none_eq_top]
· simp [none_eq_top]
· simp [some_eq_coe, ← coe_add, none_eq_top]
· simpa [none_eq_top, some_eq_coe, ← coe_add] using fun a ↦ ha a

lemma add_right_inj [IsRightCancelAdd α] (hz : z ≠ ⊤) : x + z = y + z ↔ x = y := by
lift z to α using hz; cases x <;> cases y <;> simp [← coe_add]
lift z to α using hz; exact (IsAddRightRegular.all _).withTop.eq_iff

lemma add_right_cancel [IsRightCancelAdd α] (hz : z ≠ ⊤) (h : x + z = y + z) : x = y :=
(WithTop.add_right_inj hz).1 h

lemma add_left_inj [IsLeftCancelAdd α] (hx : x ≠ ⊤) : x + y = x + z ↔ y = z := by
lift x to α using hx; cases y <;> cases z <;> simp [← coe_add]
lift x to α using hx; exact (IsAddLeftRegular.all _).withTop.eq_iff

lemma add_left_cancel [IsLeftCancelAdd α] (hx : x ≠ ⊤) (h : x + y = x + z) : y = z :=
(WithTop.add_left_inj hx).1 h
Expand Down Expand Up @@ -464,6 +480,22 @@ theorem add_eq_coe :
lemma add_coe_eq_bot_iff : x + b = ⊥ ↔ x = ⊥ := by simp
lemma coe_add_eq_bot_iff : a + y = ⊥ ↔ y = ⊥ := by simp

lemma _root_.IsAddLeftRegular.withBot (ha : IsAddLeftRegular a) :
IsAddLeftRegular (a : WithBot α) := by
rintro (_ | b) (_ | c) <;> simp [none_eq_bot, some_eq_coe, ← coe_add]; simpa using @ha _ _

lemma _root_.IsAddRightRegular.withBot (ha : IsAddRightRegular a) :
IsAddRightRegular (a : WithBot α) := by
rintro (_ | b) (_ | c) <;> simp [none_eq_bot, some_eq_coe, ← coe_add]; simpa using @ha _ _

lemma _root_.AddLECancellable.withBot [LE α] (ha : AddLECancellable a) :
AddLECancellable (a : WithBot α) := by
rintro (_ | b) (_ | c)
· simp [none_eq_bot]
· simp [none_eq_bot]
· simp [some_eq_coe, ← coe_add, none_eq_bot]
· simpa [none_eq_bot, some_eq_coe, ← coe_add] using fun a ↦ ha a

lemma add_right_inj [IsRightCancelAdd α] (hz : z ≠ ⊥) : x + z = y + z ↔ x = y := by
lift z to α using hz; cases x <;> cases y <;> simp [← coe_add]

Expand Down Expand Up @@ -674,12 +706,4 @@ protected def _root_.AddMonoidHom.withBotMap {M N : Type*} [AddZeroClass M] [Add
(f : M →+ N) : WithBot M →+ WithBot N :=
{ ZeroHom.withBotMap f.toZeroHom, AddHom.withBotMap f.toAddHom with toFun := WithBot.map f }

-- instance orderedAddCommMonoid [OrderedAddCommMonoid α] : OrderedAddCommMonoid (WithBot α) :=
-- { WithBot.partialOrder, WithBot.addCommMonoid with
-- add_le_add_left := fun _ _ h c => add_le_add_left h c }
--
-- instance linearOrderedAddCommMonoid [LinearOrderedAddCommMonoid α] :
-- LinearOrderedAddCommMonoid (WithBot α) :=
-- { WithBot.linearOrder, WithBot.orderedAddCommMonoid with }

end WithBot
24 changes: 24 additions & 0 deletions Mathlib/Data/ENat/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -611,3 +611,27 @@ lemma WithBot.add_one_le_iff {n : ℕ} {m : WithBot ℕ∞} : n + 1 ≤ m ↔ n
· simp
· rw [WithBot.coe_le_coe, ENat.coe_add, ENat.coe_one, ENat.add_one_le_iff (ENat.coe_ne_top n),
← WithBot.coe_lt_coe, WithBot.coe_natCast]

lemma WithBot.add_natCast_cancel {a b : WithBot ℕ∞} {c : ℕ} : a + c = b + c ↔ a = b :=
(IsAddRightRegular.all c).withTop.withBot.eq_iff

lemma WithBot.add_one_cancel {a b : WithBot ℕ∞} : a + 1 = b + 1 ↔ a = b :=
(IsAddRightRegular.all 1).withTop.withBot.eq_iff

lemma WithBot.natCast_add_cancel {a b : WithBot ℕ∞} {c : ℕ} : c + a = c + b ↔ a = b :=
(IsAddLeftRegular.all c).withTop.withBot.eq_iff

lemma WithBot.one_add_cancel {a b : WithBot ℕ∞} : 1 + a = 1 + b ↔ a = b :=
(IsAddLeftRegular.all 1).withTop.withBot.eq_iff

lemma WithBot.add_le_add_natCast_right_iff {a b : WithBot ℕ∞} {c : ℕ} : a + c ≤ b + c ↔ a ≤ b :=
(Contravariant.AddLECancellable (a := c)).withTop.withBot.add_le_add_iff_right

lemma WithBot.add_le_add_one_right_iff {a b : WithBot ℕ∞} : a + 1 ≤ b + 1 ↔ a ≤ b :=
WithBot.add_le_add_natCast_right_iff

lemma WithBot.add_le_add_natCast_left_iff {a b : WithBot ℕ∞} {c : ℕ} : c + a ≤ c + b ↔ a ≤ b := by
rw [add_comm _ a, add_comm _ b, WithBot.add_le_add_natCast_right_iff]

lemma WithBot.add_le_add_one_left_iff {a b : WithBot ℕ∞} : 1 + a ≤ 1 + b ↔ a ≤ b :=
WithBot.add_le_add_natCast_left_iff
Loading
Loading