Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import Mathlib.Algebra.Homology.HomologicalComplex |
| 2 | import Mathlib.Algebra.Category.Grp.Abelian |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 4 | |
| 5 | /-! # Cochain Zero Cycle Maps -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Cech.CochainZeroCycleMaps.Projective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Direct functorial maps on degree-zero cycles, without passing through homology. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | universe u v |
| 15 | |
| 16 | section Additive |
| 17 | variable {K L : CochainComplex AddCommGrpCat.{u} ℕ} |
| 18 | |
| 19 | def addZeroCyclesMap (f : K ⟶ L) : (K.d 0 1).hom.ker →+ (L.d 0 1).hom.ker where |
| 20 | toFun z := ⟨f.f 0 z, by |
| 21 | have h := ConcreteCategory.congr_hom (f.comm 0 1) z.val |
| 22 | change L.d 0 1 (f.f 0 z.val) = f.f 1 (K.d 0 1 z.val) at h |
| 23 | exact h.trans ((congrArg (fun x => f.f 1 x) z.property).trans (map_zero _))⟩ |
| 24 | map_zero' := Subtype.ext (map_zero _) |
| 25 | map_add' x y := Subtype.ext (map_add _ x.val y.val) |
| 26 | |
| 27 | theorem addZeroCyclesMap_bijective_of_split (f : K ⟶ L) (g : L ⟶ K) |
| 28 | (hgf : g ≫ f = 𝟙 L) (hf : Function.Injective (f.f 0)) : |
| 29 | Function.Bijective (addZeroCyclesMap f) := by |
| 30 | constructor |
| 31 | · intro x y h |
| 32 | exact Subtype.ext (hf (congrArg Subtype.val h)) |
| 33 | · intro z |
| 34 | refine ⟨addZeroCyclesMap g z, Subtype.ext ?_⟩ |
| 35 | exact congrArg (fun h : L ⟶ L => h.f 0 z.val) hgf |
| 36 | |
| 37 | def addZeroCyclesEquivOfIso (e : K ≅ L) : (K.d 0 1).hom.ker ≃+ (L.d 0 1).hom.ker := |
| 38 | AddEquiv.ofBijective (addZeroCyclesMap e.hom) |
| 39 | (addZeroCyclesMap_bijective_of_split e.hom e.inv e.inv_hom_id |
| 40 | (HomologicalComplex.eval AddCommGrpCat (.up ℕ) 0 |>.mapIso e).addCommGroupIsoToAddEquiv.injective) |
| 41 | |
| 42 | end Additive |
| 43 | |
| 44 | variable {R : Type u} [Ring R] {K L : CochainComplex (ModuleCat.{v} R) ℕ} |
| 45 | |
| 46 | def linearZeroCyclesMap (f : K ⟶ L) : (K.d 0 1).hom.ker →ₗ[R] (L.d 0 1).hom.ker where |
| 47 | toFun z := ⟨f.f 0 z, by |
| 48 | have h := ConcreteCategory.congr_hom (f.comm 0 1) z.val |
| 49 | change L.d 0 1 (f.f 0 z.val) = f.f 1 (K.d 0 1 z.val) at h |
| 50 | exact h.trans ((congrArg (fun x => f.f 1 x) z.property).trans (map_zero _))⟩ |
| 51 | map_add' x y := Subtype.ext (map_add _ x.val y.val) |
| 52 | map_smul' r x := Subtype.ext ((f.f 0).hom.map_smul r x.val) |
| 53 | |
| 54 | theorem linearZeroCyclesMap_bijective_of_split (f : K ⟶ L) (g : L ⟶ K) |
| 55 | (hgf : g ≫ f = 𝟙 L) (hf : Function.Injective (f.f 0)) : |
| 56 | Function.Bijective (linearZeroCyclesMap f) := by |
| 57 | constructor |
| 58 | · intro x y h |
| 59 | exact Subtype.ext (hf (congrArg Subtype.val h)) |
| 60 | · intro z |
| 61 | refine ⟨linearZeroCyclesMap g z, Subtype.ext ?_⟩ |
| 62 | exact congrArg (fun h : L ⟶ L => h.f 0 z.val) hgf |
| 63 | |
| 64 | def linearZeroCyclesEquivOfIso (e : K ≅ L) : (K.d 0 1).hom.ker ≃ₗ[R] (L.d 0 1).hom.ker := |
| 65 | LinearEquiv.ofBijective (linearZeroCyclesMap e.hom) |
| 66 | (linearZeroCyclesMap_bijective_of_split e.hom e.inv e.inv_hom_id |
| 67 | (HomologicalComplex.eval (ModuleCat R) (.up ℕ) 0 |>.mapIso e).toLinearEquiv.injective) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.SheafCohomology.Cech.CochainZeroCycleMaps.Projective |