Skip to content

Commit 2a27af1

Browse files
committed
started defining differential
1 parent eb5f60b commit 2a27af1

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

LeanCommAlg/Koszul.lean

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ noncomputable def zeroObj : V := (HasZeroObject.zero' V).1
3737
#check ExteriorAlgebra.gradedAlgebra R M
3838
#check ExteriorAlgebra R M
3939
#check (ExteriorAlgebra.ι R)
40+
#check (ExteriorAlgebra.ιMulti R) 1
4041
#check DirectSum.lof
4142
#check DirectSum.toModule
4243

@@ -72,17 +73,29 @@ noncomputable def trivialHomologicalComplex : HomologicalComplex V c := {
7273
simp_all
7374
}
7475

76+
open ExteriorAlgebra
77+
78+
--lemma linear_of_ext_mul
79+
80+
def mul_a (a : M) : ExteriorAlgebra R M → ExteriorAlgebra R M :=
81+
--include a into ExteriorAlgebra, then apply the multiplication
82+
--fun m => m * a
83+
sorry
84+
7585
noncomputable def ext_inclusion (i : ℕ) : ⋀[R]^i M →ₗ[R] ExteriorAlgebra R M :=
7686
sorry
7787

7888
noncomputable def ext_proj (i : ℕ) : ExteriorAlgebra R M →ₗ[R] ⋀[R]^i M :=
7989
sorry
8090

8191
noncomputable def ext_mul_a (a : M) : ExteriorAlgebra R M →ₗ[R] ExteriorAlgebra R M :=
82-
sorry
92+
{ toFun := mul_a a
93+
map_add' := fun x y => sorry
94+
map_smul' := fun r x => sorry}
8395

8496
noncomputable def diff_map (i : ℕ) (a : M) : ⋀[R]^i M →ₗ[R] ⋀[R]^(i+1) M :=
85-
(ext_proj (i+1)).comp (ext_inclusion i)
97+
((ext_proj (i+1)).comp (ext_mul_a a)).comp (ext_inclusion i)
98+
8699

87100

88101
def KoszulComplexShape : ComplexShape ℤ := {

0 commit comments

Comments
 (0)