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 OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.HomPresheaf |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.KoszulHomotopy |
| 4 | |
| 5 | /-! # Hom Coefficient Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.HomCoefficientComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native exterior Koszul Hom presheaf is the ordinary additive |
| 12 | Hom functor applied to the original Koszul chain complex. -/ |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | universe u |
| 17 | variable {C : Type u} [Category C] |
| 18 | (R : Type u) [CommRing R] (V : Type u) [AddCommGroup V] [Module R V] |
| 19 | (P : Cᵒᵖ ⥤ ModuleCat.{u} R) (l : Module.Dual R V) |
| 20 | |
| 21 | def iso : |
| 22 | HomCoefficientFunctor.complex R P (Exterior.KoszulComplex.complex R V l) ≅ |
| 23 | HomPresheaf.complex R V P l := |
| 24 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 25 | intro i j hij |
| 26 | have h : i + 1 = j := hij |
| 27 | subst j |
| 28 | apply NatTrans.ext |
| 29 | funext a |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro φ |
| 33 | apply LinearMap.ext |
| 34 | intro x |
| 35 | dsimp only [HomCoefficientFunctor.complex, Functor.mapHomologicalComplex_obj_d, |
| 36 | HomologicalComplex.op_d, HomCoefficientFunctor.functor, |
| 37 | HomCoefficientFunctor.precomp] |
| 38 | symm |
| 39 | change (show (⋀[R]^i V) →ₗ[R] P.obj a from φ) |
| 40 | ((Exterior.KoszulComplex.complex R V l).d (i + 1) i x) = _ |
| 41 | rw [Exterior.KoszulHomotopy.complex_d] |
| 42 | dsimp only [HomPresheaf.complex] |
| 43 | rw [CochainComplex.of_d] |
| 44 | rfl) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.HomCoefficientComplex |