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.EvaluationIntegers |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.AdicTransport |
| 3 | import Mathlib.RingTheory.LocalRing.Quotient |
| 4 | |
| 5 | /-! # Evaluation Integers Henselian -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationIntegersHenselian.Lifts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The finite evaluation DVR is complete in its own maximal-ideal topology. |
| 13 | Finite freeness first gives completeness for the old maximal ideal, then |
| 14 | the artinian residue algebra supplies cofinality of the new ideal powers. |
| 15 | -/ |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R K L : Type u) [CommRing R] [IsDomain R] |
| 20 | variable [IsDiscreteValuationRing R] [HenselianLocalRing R] |
| 21 | variable [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 22 | variable [Field K] [Algebra R K] [IsFractionRing R K] |
| 23 | variable [Field L] [Algebra K L] [Module.Finite K L] [Algebra.IsSeparable K L] |
| 24 | variable [Algebra R L] [IsScalarTower R K L] |
| 25 | |
| 26 | theorem evaluationIntegerRing_complete : |
| 27 | letI := EvaluationIntegers.Lifts.evaluationIntegerRing_local R K L |
| 28 | IsAdicComplete (IsLocalRing.maximalIdeal (EvaluationIntegers.Lifts.evaluationIntegerRing R L)) |
| 29 | (EvaluationIntegers.Lifts.evaluationIntegerRing R L) := by |
| 30 | let A := EvaluationIntegers.Lifts.evaluationIntegerRing R L |
| 31 | let := EvaluationIntegers.Lifts.evaluationIntegerRing_local R K L |
| 32 | have : Module.Finite R A := EvaluationIntegers.Lifts.evaluationIntegerRing_finite R K L |
| 33 | have : Module.Free R A := EvaluationIntegers.Lifts.evaluationIntegerRing_free R K L |
| 34 | have : IsAdicComplete (IsLocalRing.maximalIdeal R) A := |
| 35 | FiniteFreeCompletion.Lifts.finite_free_adic_complete R A (IsLocalRing.maximalIdeal R) |
| 36 | let I : Ideal A := (IsLocalRing.maximalIdeal R).map (algebraMap R A) |
| 37 | have : IsAdicComplete I A := (IsAdicComplete.map_algebraMap_iff |
| 38 | (I := IsLocalRing.maximalIdeal R) (S := A) (M := A)).mpr inferInstance |
| 39 | have hI : I ≤ IsLocalRing.maximalIdeal A := |
| 40 | (OAI.Algebra.LocalRing.HenselianLifting.Construction.maximalIdeal_map_le_jacobson R A).trans |
| 41 | (sInf_le ⟨bot_le, IsLocalRing.maximalIdeal.isMaximal A⟩) |
| 42 | let k := IsLocalRing.ResidueField R |
| 43 | let Q := A ⧸ I |
| 44 | let : Algebra k Q := Ideal.Quotient.algebraQuotientOfLEComap Ideal.le_comap_map |
| 45 | have : IsScalarTower R k Q := IsScalarTower.of_algebraMap_eq' rfl |
| 46 | have : Module.Finite k Q := Module.Finite.of_restrictScalars_finite R k Q |
| 47 | have : IsArtinianRing Q := isArtinian_of_tower k inferInstance |
| 48 | obtain ⟨e, he⟩ := IsLocalRing.exists_maximalIdeal_pow_le_of_isArtinianRing_quotient I |
| 49 | exact AdicTransport.Lifts.adic_complete_of_cofinal_powers I (IsLocalRing.maximalIdeal A) A hI e he |
| 50 | |
| 51 | include K in |
| 52 | theorem evaluationIntegerRing_henselian : HenselianLocalRing (EvaluationIntegers.Lifts.evaluationIntegerRing R L) := by |
| 53 | let := EvaluationIntegers.Lifts.evaluationIntegerRing_local R K L |
| 54 | have := evaluationIntegerRing_complete R K L |
| 55 | exact AdicTransport.Lifts.complete_local_henselian (EvaluationIntegers.Lifts.evaluationIntegerRing R L) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationIntegersHenselian.Lifts |