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.HilbertScheme.Presentations.TensorNilpotentDevissage |
| 2 | import Mathlib.RingTheory.Flat.Stability |
| 3 | |
| 4 | /-! # Maximal Ideal Flat Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MaximalIdealFlatReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reduction of a base-changed module by an extended maximal ideal |
| 11 | is flat over the reduced coefficient ring, by scalar extension from |
| 12 | the old residue field. -/ |
| 13 | |
| 14 | open TensorProduct |
| 15 | |
| 16 | universe u v w |
| 17 | variable {B : Type u} [CommRing B] (A : Type v) [CommRing A] [Algebra B A] |
| 18 | variable (M : Type w) [AddCommGroup M] [Module B M] |
| 19 | |
| 20 | theorem extendedMaximalIdeal_reduction_flat (I : Ideal B) [I.IsMaximal] : |
| 21 | Module.Flat (A ⧸ I.map (algebraMap B A)) |
| 22 | ((A ⧸ I.map (algebraMap B A)) ⊗[A] (A ⊗[B] M)) := by |
| 23 | let k := B ⧸ I |
| 24 | let C := A ⧸ I.map (algebraMap B A) |
| 25 | let : Field k := Ideal.Quotient.field I |
| 26 | let : Algebra k C := Ideal.Quotient.algebraQuotientOfLEComap (Ideal.le_comap_map : |
| 27 | I ≤ (I.map (algebraMap B A)).comap (algebraMap B A)) |
| 28 | let : IsScalarTower B k C := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 29 | have : Module.Flat k (k ⊗[B] M) := inferInstance |
| 30 | have : Module.Flat C (C ⊗[k] (k ⊗[B] M)) := inferInstance |
| 31 | have : Module.Flat C (C ⊗[B] M) := Module.Flat.of_linearEquiv |
| 32 | (AlgebraTensorModule.cancelBaseChange B k C C M).symm |
| 33 | exact Module.Flat.of_linearEquiv (AlgebraTensorModule.cancelBaseChange B A C C M) |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MaximalIdealFlatReduction |