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.AlgebraicGeometry.ComplexMultiplication.WeightOne |
| 2 | import Mathlib.Algebra.DirectSum.Module |
| 3 | |
| 4 | /-! # Decomposition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CM decompositions with possibly different coefficient fields |
| 12 | |
| 13 | Each component is an actual rational subspace of a weight-one Hodge |
| 14 | structure. Its inclusion preserves Hodge type, and it carries a rank-one |
| 15 | action of a CM number field. The fields are allowed to vary by component. |
| 16 | The internal-direct-sum condition asserts that these subspaces give the |
| 17 | whole rational vector space, with uniqueness of the decomposition. |
| 18 | -/ |
| 19 | |
| 20 | open scoped DirectSum |
| 21 | |
| 22 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 23 | |
| 24 | /-- One rank-one CM summand of a rational weight-one Hodge structure. -/ |
| 25 | structure CMComponent (H : WeightOne.CM.WeightOneHodgeStructure U) where |
| 26 | subspace : Submodule ℚ U |
| 27 | hodge : WeightOne.CM.WeightOneHodgeStructure subspace |
| 28 | inclusion_hodge : WeightOne.CM.IsHodgeMap hodge H subspace.subtype |
| 29 | field : Type |
| 30 | [fieldStructure : Field field] |
| 31 | [fieldAlgebra : Algebra ℚ field] |
| 32 | [scalarAction : Module field subspace] |
| 33 | [scalarTower : IsScalarTower ℚ field subspace] |
| 34 | cm : WeightOne.CM.RankOneCMAction field hodge |
| 35 | |
| 36 | attribute [instance] CMComponent.fieldStructure CMComponent.fieldAlgebra |
| 37 | CMComponent.scalarAction CMComponent.scalarTower |
| 38 | |
| 39 | /-- The exact finite-direct-sum hypothesis of the manuscript, at the level |
| 40 | of rational Hodge structures. This contains no cycle-class hypothesis. -/ |
| 41 | structure CMDecomposition (H : WeightOne.CM.WeightOneHodgeStructure U) where |
| 42 | numberOfComponents : ℕ |
| 43 | component : Fin numberOfComponents → CMComponent H |
| 44 | isInternal : DirectSum.IsInternal (fun i => (component i).subspace) |
| 45 | |
| 46 | namespace CMDecomposition |
| 47 | |
| 48 | variable {H : WeightOne.CM.WeightOneHodgeStructure U} (D : CMDecomposition H) |
| 49 | |
| 50 | /-- The sum map itself is an isomorphism, so the stated decomposition is |
| 51 | neither just a spanning family nor an assumed cohomological conclusion. -/ |
| 52 | def linearEquiv : (⨁ i, (D.component i).subspace) ≃ₗ[ℚ] U := |
| 53 | LinearEquiv.ofBijective |
| 54 | (DirectSum.coeLinearMap (fun i => (D.component i).subspace)) D.isInternal |
| 55 | |
| 56 | /-- On each summand the direct-sum isomorphism is its actual subtype inclusion. -/ |
| 57 | @[simp] |
| 58 | theorem linearEquiv_lof (i : Fin D.numberOfComponents) (x : (D.component i).subspace) : |
| 59 | D.linearEquiv |
| 60 | (DirectSum.lof ℚ (Fin D.numberOfComponents) (fun j => (D.component j).subspace) i x) = |
| 61 | (x : U) := by |
| 62 | exact DirectSum.coeLinearMap_lof (fun j => (D.component j).subspace) i x |
| 63 | |
| 64 | /-- Each rational summand has the degree of its own CM field. -/ |
| 65 | theorem component_finrank (i : Fin D.numberOfComponents) : |
| 66 | Module.finrank ℚ (D.component i).subspace = Module.finrank ℚ (D.component i).field := |
| 67 | (D.component i).cm.rational_finrank |
| 68 | |
| 69 | end CMDecomposition |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM |