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.Isogenies.NeighborCounting.EvaluationIntegersHenselian |
| 2 | |
| 3 | /-! # Evaluation DVR Lifts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVRLifts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | A constructed finite evaluation DVR, packaged with its fraction field, |
| 11 | completeness, henselianity, and the actual residue-ring identification. |
| 12 | Every field is supplied by the integral-closure construction proved above. |
| 13 | -/ |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | structure EvaluationDVR (R L : Type u) [CommRing R] [IsLocalRing R] |
| 18 | [Field L] [Algebra R L] where |
| 19 | carrier : Type u |
| 20 | [ring : CommRing carrier] |
| 21 | [domain : IsDomain carrier] |
| 22 | [dvr : IsDiscreteValuationRing carrier] |
| 23 | [henselian : HenselianLocalRing carrier] |
| 24 | [complete : IsAdicComplete (IsLocalRing.maximalIdeal carrier) carrier] |
| 25 | [algebra : Algebra R carrier] |
| 26 | [algebraToField : Algebra carrier L] |
| 27 | [scalarTower : IsScalarTower R carrier L] |
| 28 | [fractionField : IsFractionRing carrier L] |
| 29 | [finite : Module.Finite R carrier] |
| 30 | residueIso : IsLocalRing.ResidueField R ≃+* IsLocalRing.ResidueField carrier |
| 31 | residue_compatible : ∀ r : R, residueIso (IsLocalRing.residue R r) = |
| 32 | IsLocalRing.residue carrier (algebraMap R carrier r) |
| 33 | |
| 34 | attribute [instance] EvaluationDVR.ring EvaluationDVR.domain EvaluationDVR.dvr EvaluationDVR.henselian |
| 35 | EvaluationDVR.complete EvaluationDVR.algebra EvaluationDVR.algebraToField EvaluationDVR.scalarTower |
| 36 | EvaluationDVR.fractionField EvaluationDVR.finite |
| 37 | |
| 38 | variable (R K L : Type u) [CommRing R] [IsDomain R] |
| 39 | variable [IsDiscreteValuationRing R] [HenselianLocalRing R] |
| 40 | variable [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 41 | variable [IsAlgClosed (IsLocalRing.ResidueField R)] |
| 42 | variable [Field K] [Algebra R K] [IsFractionRing R K] |
| 43 | variable [Field L] [Algebra K L] [Module.Finite K L] [Algebra.IsSeparable K L] |
| 44 | variable [Algebra R L] [IsScalarTower R K L] |
| 45 | |
| 46 | /-- The finite field used to evaluate all generic parameters has an |
| 47 | actual complete henselian DVR of integers with the original residue field. -/ |
| 48 | def evaluationDVR : EvaluationDVR R L := by |
| 49 | let A := EvaluationIntegers.Lifts.evaluationIntegerRing R L |
| 50 | letI : IsDiscreteValuationRing A := EvaluationIntegers.Lifts.evaluationIntegerRing_dvr R K L |
| 51 | letI : HenselianLocalRing A := EvaluationIntegersHenselian.Lifts.evaluationIntegerRing_henselian R K L |
| 52 | letI : IsAdicComplete (IsLocalRing.maximalIdeal A) A := EvaluationIntegersHenselian.Lifts.evaluationIntegerRing_complete R K L |
| 53 | letI : Module.Finite R A := EvaluationIntegers.Lifts.evaluationIntegerRing_finite R K L |
| 54 | letI : IsFractionRing A L := EvaluationIntegers.Lifts.evaluationIntegerRing_fractionField R K L |
| 55 | exact { |
| 56 | carrier := A |
| 57 | residueIso := EvaluationIntegers.Lifts.evaluationIntegerResidueIso R K L |
| 58 | residue_compatible := EvaluationIntegers.Lifts.evaluationIntegerResidueIso_comp R K L } |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVRLifts |