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.ArithmeticGeometry.Models.CoefficientSystem |
| 2 | import Mathlib.NumberTheory.NumberField.Basic |
| 3 | import Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic |
| 4 | |
| 5 | /-! # Coefficient Fields -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.CoefficientFields |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite sets of coefficients in an algebraic extension of a number |
| 12 | field already form a number field. The original coefficient algebra and |
| 13 | its inclusion into the ambient field are retained. -/ |
| 14 | |
| 15 | open OAI.ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations |
| 16 | |
| 17 | variable (K L : Type) [Field K] [Field L] [Algebra K L] |
| 18 | [Algebra.IsIntegral K L] (s : Finset L) |
| 19 | |
| 20 | theorem algebraicCoefficientRing_finite : Module.Finite K (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) := |
| 21 | Algebra.finite_adjoin_of_finite_of_isIntegral s.finite_toSet |
| 22 | (fun x _ => Algebra.IsIntegral.isIntegral x) |
| 23 | |
| 24 | @[instance_reducible] |
| 25 | def algebraicCoefficientField : Field (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) := by |
| 26 | have : Algebra.IsIntegral K (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) := |
| 27 | Algebra.IsIntegral.of_injective (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s).val Subtype.val_injective |
| 28 | exact (isField_of_isIntegral_of_isField' (R := K) (S := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) |
| 29 | (Field.toIsField K)).toField |
| 30 | |
| 31 | theorem algebraicCoefficientNumberField [NumberField K] : |
| 32 | letI := algebraicCoefficientField K L s |
| 33 | NumberField (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) := by |
| 34 | let := algebraicCoefficientField K L s |
| 35 | have : CharZero (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) := |
| 36 | CharZero.of_addMonoidHom (algebraMap K (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s)).toAddMonoidHom |
| 37 | (by simp) (RingHom.injective _) |
| 38 | have : Module.Finite K (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) := algebraicCoefficientRing_finite K L s |
| 39 | exact { to_finiteDimensional := Module.Finite.trans K (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing K L s) } |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.CoefficientFields |