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.ScalarTowerFiberIsomorphism |
| 2 | import Mathlib.RingTheory.LocalRing.RingHom.Basic |
| 3 | import Mathlib.RingTheory.LocalRing.ResidueField.Basic |
| 4 | import Mathlib.RingTheory.Noetherian.Basic |
| 5 | |
| 6 | /-! # Coefficient Fiber Isomorphism -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.CoefficientFiberIsomorphism |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A map between finite modules over a noetherian local algebra is an |
| 13 | isomorphism if its coefficient closed fiber is and its target is coefficient-flat. -/ |
| 14 | |
| 15 | open TensorProduct |
| 16 | |
| 17 | universe u v w t |
| 18 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 19 | variable {B : Type v} [CommRing B] [IsLocalRing B] [IsNoetherianRing B] |
| 20 | variable [Algebra R B] [IsLocalHom (algebraMap R B)] |
| 21 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module B M] [IsScalarTower R B M] |
| 22 | variable {N : Type t} [AddCommGroup N] [Module R N] [Module B N] [IsScalarTower R B N] |
| 23 | |
| 24 | theorem localAlgebraModule_bijective_of_closedFiber |
| 25 | (f : M →ₗ[B] N) [Module.Finite B M] [Module.Finite B N] [Module.Flat R N] |
| 26 | (h : Function.Bijective ((f.restrictScalars R).lTensor (IsLocalRing.ResidueField R))) : |
| 27 | Function.Bijective f := by |
| 28 | apply ScalarTowerFiberIsomorphism.scalarTower_bijective_of_quotientTensor_of_flat (IsLocalRing.maximalIdeal R) _ f h |
| 29 | apply le_trans _ (IsLocalRing.maximalIdeal_le_jacobson ⊥) |
| 30 | rw [Ideal.map_le_iff_le_comap, IsLocalRing.maximalIdeal_comap] |
| 31 | |
| 32 | theorem localAlgebra_bijective_of_closedFiber |
| 33 | {C : Type w} [CommRing C] [Algebra R C] [Algebra B C] [IsScalarTower R B C] |
| 34 | [Module.Finite B C] [Module.Flat R C] |
| 35 | (h : Function.Bijective (((Algebra.linearMap B C).restrictScalars R).lTensor |
| 36 | (IsLocalRing.ResidueField R))) : Function.Bijective (algebraMap B C) := |
| 37 | localAlgebraModule_bijective_of_closedFiber (Algebra.linearMap B C) h |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.CoefficientFiberIsomorphism |