Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1939 commits
Select commit Hold shift + click to select a range
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
524df01
Merge branch 'definition-of-depth' into mbkybky/AuslanderBuchsbaum
Thmoas-Guan Dec 17, 2025
31582f0
Merge branch 'master' into Dimension-Shifting-Tools
Thmoas-Guan Dec 17, 2025
01071c0
refactor classical choose
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
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
9e2dca0
Merge branch 'master' into mbkybky/AuslanderBuchsbaum
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
9190fa9
Merge branch 'master' into WithBot-ENat-lemmas
Thmoas-Guan Dec 18, 2025
5ae2b50
Merge branch 'master' into Regular-Local-Ring-Def
Thmoas-Guan Dec 18, 2025
d961a0a
Merge branch 'master' into Regular-Local-Ring
Thmoas-Guan Dec 18, 2025
4a82bb7
fix
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
747fac1
Merge branch 'definition-of-depth' into mbkybky/AuslanderBuchsbaum
Thmoas-Guan Dec 18, 2025
83faa18
fix
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
55f3efd
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Dec 18, 2025
28da506
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Dec 18, 2025
0b2dc1c
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Dec 18, 2025
7dca183
Merge branch 'mbkybky/AuslanderBuchsbaum' into finite-projective-dime…
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
6bfc5ee
Merge branch 'WithBot-ENat-lemmas' into Regular-Local-Ring
Thmoas-Guan Dec 22, 2025
60fe450
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Dec 22, 2025
dcf8b15
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Dec 22, 2025
a1b7439
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
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
87686c7
Merge branch 'definition-of-depth' into mbkybky/AuslanderBuchsbaum
Thmoas-Guan Dec 28, 2025
024e87b
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
ec3afd8
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Dec 28, 2025
c37e42d
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Dec 28, 2025
e7a3cd3
Merge branch 'mbkybky/AuslanderBuchsbaum' into finite-projective-dime…
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
b0cb05e
Merge branch 'master' into mbkybky/AuslanderBuchsbaum
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
078853c
fix
Thmoas-Guan Dec 29, 2025
de321c1
golf
YaelDillies Jan 1, 2026
050d5ae
remove unused intermediate lemma
Thmoas-Guan Jan 5, 2026
c220224
Merge branch 'master' into Regular-Local-Ring-Def
Thmoas-Guan Jan 5, 2026
e103dc9
move lemma and golf
Thmoas-Guan Jan 5, 2026
c4d888a
Merge branch 'Regular-Local-Ring-Def' into Regular-Local-Ring
Thmoas-Guan Jan 5, 2026
7936fc4
fix condition
Thmoas-Guan Jan 5, 2026
bfe3a88
fix
Thmoas-Guan Jan 5, 2026
a1190ab
Merge branch 'WithBot-ENat-lemmas' into Regular-Local-Ring
Thmoas-Guan Jan 5, 2026
58c27f5
use AddLECancellable
Thmoas-Guan Jan 6, 2026
9fed251
Merge branch 'WithBot-ENat-lemmas' into Regular-Local-Ring
Thmoas-Guan Jan 6, 2026
0d4c07b
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Jan 6, 2026
ae721c3
Merge branch 'WithBot-ENat-lemmas' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 6, 2026
6b28f5c
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Jan 6, 2026
e9e23ab
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Jan 6, 2026
cdd5d9f
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Jan 6, 2026
cb7097d
Merge branch 'mbkybky/AuslanderBuchsbaum' into finite-projective-dime…
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
daa6688
Merge branch 'master' into mbkybky/AuslanderBuchsbaum
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
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
07cb690
Merge branch 'definition-of-depth' into mbkybky/AuslanderBuchsbaum
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
c40c51e
Merge branch 'definition-of-depth' into mbkybky/AuslanderBuchsbaum
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
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
64d8100
Merge branch 'Dimension-Shifting-Tools' into mbkybky/AuslanderBuchsbaum
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
7868aeb
Merge branch 'master' into Regular-Local-Ring-Def
Thmoas-Guan Jan 6, 2026
215145b
Merge branch 'WithBot-ENat-lemmas' into Regular-Local-Ring
Thmoas-Guan Jan 6, 2026
0735d5e
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Jan 6, 2026
655e6be
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Jan 6, 2026
054da8d
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Jan 6, 2026
d156395
Merge branch 'mbkybky/AuslanderBuchsbaum' into finite-projective-dime…
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
6cbc6a6
Merge branch 'master' into Regular-Local-Ring-Def
Thmoas-Guan Jan 25, 2026
6fd188d
Merge branch 'master' into Regular-Local-Ring
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
9524257
Merge branch 'Dimension-Shifting-Tools' into mbkybky/AuslanderBuchsbaum
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
1dcffea
fix
Thmoas-Guan Jan 25, 2026
aa9e9f1
Merge branch 'Ischebeck-theorem' into definition-of-Cohen-Macaulay
Thmoas-Guan Jan 25, 2026
5968d79
fix
Thmoas-Guan Jan 25, 2026
98cf621
fix
Thmoas-Guan Jan 25, 2026
aa4add0
fix import
Thmoas-Guan Jan 25, 2026
5588e47
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Jan 25, 2026
86b231a
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Jan 25, 2026
22091b5
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Jan 25, 2026
3065049
Merge branch 'mbkybky/AuslanderBuchsbaum' into finite-projective-dime…
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
a8d3209
Merge branch 'master' into mbkybky/AuslanderBuchsbaum
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
3e6b8d5
fix doc
Thmoas-Guan Jan 28, 2026
9ad898f
golf
Thmoas-Guan Jan 28, 2026
13ca00e
Merge branch 'master' into Regular-Local-Ring-Def
Thmoas-Guan Jan 28, 2026
d810ab7
golf
Thmoas-Guan Jan 28, 2026
7e3a308
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
530ec21
Merge branch 'WithBot-ENat-lemmas' into Regular-Local-Ring
Thmoas-Guan Jan 28, 2026
772fb23
Merge branch 'Regular-Local-Ring-Def' into Regular-Local-Ring
Thmoas-Guan Jan 28, 2026
1e3847b
fix
Thmoas-Guan Jan 28, 2026
ae77160
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Jan 28, 2026
a3dcd6f
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Jan 28, 2026
aec02b1
fix
Thmoas-Guan Jan 28, 2026
0c6cb4a
golf
Thmoas-Guan Jan 28, 2026
5ab8509
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Jan 28, 2026
dd03ade
Merge branch 'mbkybky/AuslanderBuchsbaum' into finite-projective-dime…
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
a54376f
Merge branch 'master' into mbkybky/AuslanderBuchsbaum
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
1dbf9df
Merge branch 'master' into Ischebeck-theorem
Thmoas-Guan Feb 7, 2026
88ebf95
Merge branch 'master' into Regular-Local-Ring-Def
Thmoas-Guan Feb 7, 2026
4485092
Merge branch 'master' into Regular-Local-Ring
Thmoas-Guan Feb 7, 2026
3bf3a4e
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Feb 7, 2026
f7f072c
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Feb 7, 2026
4f32eaa
add some lemma about spanRank
Thmoas-Guan Feb 15, 2026
6cf21b0
Update SpanRank.lean
Thmoas-Guan Feb 16, 2026
ca8bab0
move instance
Thmoas-Guan Feb 16, 2026
4547600
golf variable
Thmoas-Guan Feb 16, 2026
663e0bd
Merge branch 'spanRank-lemma' into Regular-Local-Ring
Thmoas-Guan Feb 16, 2026
31fc340
remove duplicated
Thmoas-Guan Feb 16, 2026
514f992
Merge branch 'spanRank-lemma' into Regular-Local-Ring-Def
Thmoas-Guan Feb 16, 2026
90825f5
Merge branch 'Regular-Local-Ring-Def' into Regular-Local-Ring
Thmoas-Guan Feb 16, 2026
60ce0cd
remove duplicated
Thmoas-Guan Feb 16, 2026
66a2354
Merge branch 'Regular-Local-Ring-Def' into Regular-Local-Ring
Thmoas-Guan Feb 16, 2026
4c9e0d2
add compatibility with DVR
Thmoas-Guan Feb 16, 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
01cf03b
Merge branch 'definition-of-depth' into mbkybky/AuslanderBuchsbaum
Thmoas-Guan Feb 18, 2026
a22ad4c
Merge branch 'master' into spanRank-lemma
Thmoas-Guan Feb 18, 2026
4c679e0
Merge branch 'master' into Regular-Local-Ring-Def
Thmoas-Guan Feb 18, 2026
8a043f4
Merge branch 'master' into Regular-Local-Ring
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
0f3342f
Merge branch 'definition-of-depth' into mbkybky/AuslanderBuchsbaum
Thmoas-Guan Feb 18, 2026
09e7c05
fix
Thmoas-Guan Feb 18, 2026
975d6d2
remove unrelated stuffs
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
7f4146c
fix
Thmoas-Guan Feb 18, 2026
c4e0ccd
Merge branch 'spanRank-lemma' into Regular-Local-Ring-Def
Thmoas-Guan Feb 18, 2026
dcbf52a
Merge branch 'Regular-Local-Ring-Def' into Regular-Local-Ring
Thmoas-Guan Feb 18, 2026
5919bb3
fix
Thmoas-Guan Feb 18, 2026
25299d9
Merge branch 'Regular-Local-Ring' into maximal-CM-module
Thmoas-Guan Feb 18, 2026
5b1bf99
Merge branch 'definition-of-Cohen-Macaulay' into maximal-CM-module
Thmoas-Guan Feb 18, 2026
2000328
fix
Thmoas-Guan Feb 18, 2026
80ad60e
Merge branch 'maximal-CM-module' into finite-projective-dimension-of-…
Thmoas-Guan Feb 18, 2026
6c933d5
Merge branch 'mbkybky/AuslanderBuchsbaum' into finite-projective-dime…
Thmoas-Guan Feb 18, 2026
eb3051e
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
7 changes: 7 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.Maximal
public import Mathlib.RingTheory.Complex
public import Mathlib.RingTheory.Conductor
public import Mathlib.RingTheory.Congruence.Basic
Expand Down Expand Up @@ -6450,11 +6452,16 @@ public import Mathlib.RingTheory.QuasiFinite.Weakly
public import Mathlib.RingTheory.QuotSMulTop
public import Mathlib.RingTheory.Radical
public import Mathlib.RingTheory.ReesAlgebra
public import Mathlib.RingTheory.Regular.AuslanderBuchsbaum
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.RegularLocalRing.Basic
public import Mathlib.RingTheory.RegularLocalRing.Defs
public import Mathlib.RingTheory.RegularLocalRing.GlobalDimension
public import Mathlib.RingTheory.RingHom.Bijective
public import Mathlib.RingTheory.RingHom.EssFiniteType
public import Mathlib.RingTheory.RingHom.Etale
Expand Down
15 changes: 15 additions & 0 deletions Mathlib/Algebra/Module/SpanRank.lean
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Authors: Wanyi He, Jiedong Jiang, Xuchun Li, Christian Merten, Jingting Wang, An
module

public import Mathlib.Data.ENat.Lattice
public import Mathlib.LinearAlgebra.Dimension.Free
public import Mathlib.LinearAlgebra.Dimension.StrongRankCondition
public import Mathlib.RingTheory.Finiteness.Ideal

Expand Down Expand Up @@ -128,6 +129,9 @@ lemma fg_iff_spanRank_eq_spanFinrank {p : Submodule R M} : p.spanRank = p.spanFi
rw [spanFinrank, ← spanRank_finite_iff_fg, eq_comm]
exact cast_toNat_eq_iff_lt_aleph0

lemma FG.spanRank_eq_spanFinrank {p : Submodule R M} (fg : p.FG) : p.spanRank = p.spanFinrank :=
fg_iff_spanRank_eq_spanFinrank.mpr fg

lemma spanRank_span_le_card (s : Set M) : (Submodule.span R s).spanRank ≤ #s := by
rw [spanRank]
let s' : {s1 : Set M // span R s1 = span R s} := ⟨s, rfl⟩
Expand Down Expand Up @@ -363,6 +367,17 @@ theorem Submodule.rank_eq_spanRank_of_free [Module.Free R M] [StrongRankConditio
rw [← Basis.mk_eq_rank'' B, ← Basis.mk_eq_spanRank B, ← Cardinal.lift_id #(Set.range B),
Cardinal.mk_range_eq_of_injective B.injective, Cardinal.lift_id _]

lemma Module.finrank_eq_spanFinrank_of_free [StrongRankCondition R]
(M : Type*) [AddCommGroup M] [Module R M] [Module.Free R M] :
Module.finrank R M = (⊤ : Submodule R M).spanFinrank := by
by_cases fin : Module.Finite R M
· have : Submodule.spanFinrank (⊤ : Submodule R M) = Module.rank R M := by
rw [← Submodule.fg_iff_spanRank_eq_spanFinrank.mpr fin.1,
Submodule.rank_eq_spanRank_of_free]
simpa only [← Module.finrank_eq_rank, Nat.cast_inj] using this.symm
· have fin' : ¬ (⊤ : Submodule R M).FG := Not.intro (fun h ↦ fin ⟨h⟩)
rw [Module.finrank_of_not_finite fin, Submodule.spanFinrank_of_not_fg fin']

theorem Submodule.rank_le_spanRank [StrongRankCondition R] :
Module.rank R M ≤ (⊤ : Submodule R M).spanRank := by
rw [Module.rank, Submodule.spanRank]
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/Algebra/Module/Torsion/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,10 @@ def submodule_torsionBy_orderIso (a : R) :
left_inv := by intro; ext; simp [restrictScalarsEmbedding]
right_inv := by intro; ext; simp [restrictScalarsEmbedding] }

instance (M : Type*) [AddCommGroup M] [Module R M] [Module.Finite R M] (I : Ideal R) :
Module.Finite (R ⧸ I) (M ⧸ I • (⊤ : Submodule R M)) :=
Module.Finite.of_restrictScalars_finite R _ _

end Submodule

end NeedsGroup
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
5 changes: 5 additions & 0 deletions Mathlib/LinearAlgebra/Span/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -875,3 +875,8 @@ theorem coord_apply_smul (y : Submodule.span R ({x} : Set M)) : coord R M x h y
Subtype.ext_iff.1 <| (toSpanNonzeroSingleton R M x h).apply_symm_apply _

end LinearEquiv

lemma Submodule.span_val_image_eq_iff {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M]
(p : Submodule R M) (s : Set p) :
Submodule.span R (Subtype.val '' s) = p ↔ Submodule.span R s = ⊤ := by
simp [← (Submodule.map_injective_of_injective p.injective_subtype).eq_iff, Submodule.map_span]
Loading
Loading