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.HodgeConjecture.CMExtraction.LatticeCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalLatticeGenerators |
| 3 | |
| 4 | /-! # Lattice Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LatticeGenerators.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The completion of the actual lattice is generated by the images |
| 11 | of its specified integral basis. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | open _root_.Module |
| 16 | |
| 17 | theorem span_image_integral_basis {V W J A : Type*} |
| 18 | [AddCommGroup V] [AddCommGroup W] [CommRing A] [Module A W] [Fintype J] |
| 19 | (L : Submodule ℤ V) (b : Basis J ℤ L) (f : V →+ W) : |
| 20 | Submodule.span A (Set.range (fun j => f (b j).val)) = |
| 21 | Submodule.span A (f '' (L : Set V)) := by |
| 22 | apply le_antisymm |
| 23 | · apply Submodule.span_le.mpr |
| 24 | rintro _ ⟨j, rfl⟩ |
| 25 | exact Submodule.subset_span ⟨(b j).val, (b j).property, rfl⟩ |
| 26 | · apply Submodule.span_le.mpr |
| 27 | rintro _ ⟨x, hx, rfl⟩ |
| 28 | have he : (∑ j, b.equivFun ⟨x, hx⟩ j • (b j).val) = x := by |
| 29 | simpa only [Submodule.coe_sum, Submodule.coe_smul] using |
| 30 | congrArg (fun z : L => z.val) (b.sum_equivFun ⟨x, hx⟩) |
| 31 | rw [← he, map_sum] |
| 32 | apply Submodule.sum_mem |
| 33 | intro j _ |
| 34 | rw [map_zsmul] |
| 35 | exact (Submodule.span A (Set.range (fun j => f (b j).val))).toAddSubgroup.zsmul_mem |
| 36 | (Submodule.subset_span (Set.mem_range_self j)) _ |
| 37 | |
| 38 | variable (E : Type) [Field E] [NumberField E] |
| 39 | {I J : Type*} [Fintype I] [DecidableEq I] [Fintype J] [DecidableEq J] |
| 40 | (L : Submodule ℤ (I → E)) [Submodule.IsLattice ℚ L] (b : Basis J ℤ L) |
| 41 | |
| 42 | def completedVectorBasis (j : J) : I → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E := |
| 43 | fun i => AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E ((b j).val i) |
| 44 | |
| 45 | omit [Fintype I] [DecidableEq I] [DecidableEq J] [Submodule.IsLattice ℚ L] in |
| 46 | theorem completedVectorLattice_span_basis : |
| 47 | Submodule.span AbelianModuli.ReferenceFamily.AdelicData.integralFiniteAdeles (Set.range (completedVectorBasis E L b)) = |
| 48 | LatticeCoordinates.TestTransport.completedVectorLattice E L := by |
| 49 | exact span_image_integral_basis L b |
| 50 | (AddMonoidHom.pi (fun i => (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E).toAddMonoidHom.comp |
| 51 | (Pi.evalAddMonoidHom (fun _ : I => E) i))) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LatticeGenerators.TestTransport |