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.Affine.RelativeIsomorphismTensorCriterion |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.CoefficientFiberIsomorphism |
| 3 | |
| 4 | /-! # Local Closed Fiber Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.LocalClosedFiberIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite affine morphism over a noetherian local target is an |
| 11 | isomorphism when its coefficient closed fiber is, provided its source is coefficient-flat. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {R A C : Type u} [CommRing R] [IsLocalRing R] |
| 17 | variable [CommRing A] [IsLocalRing A] [IsNoetherianRing A] [CommRing C] |
| 18 | variable [Algebra R A] [IsLocalHom (algebraMap R A)] |
| 19 | variable [Algebra R C] [Algebra A C] [IsScalarTower R A C] |
| 20 | variable [Module.Finite A C] [Module.Flat R C] |
| 21 | |
| 22 | theorem affineLocal_isIso_of_closedFiber |
| 23 | (h : IsIso (Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange (Spec.map (CommRingCat.ofHom (algebraMap A C))) |
| 24 | (Spec.map (CommRingCat.ofHom (algebraMap R A))) |
| 25 | (Spec.map (CommRingCat.ofHom (algebraMap R (IsLocalRing.ResidueField R)))))) : |
| 26 | IsIso (Spec.map (CommRingCat.ofHom (algebraMap A C))) := by |
| 27 | let φ : A →ₐ[R] C := IsScalarTower.toAlgHom R A C |
| 28 | have ht : Function.Bijective (((Algebra.linearMap A C).restrictScalars R).lTensor |
| 29 | (IsLocalRing.ResidueField R)) := |
| 30 | (RelativeIsomorphismTensorCriterion.affineRelativeBaseChange_isIso_iff_tensor (K := IsLocalRing.ResidueField R) φ).mp h |
| 31 | exact isIso_SpecMap_iff.mpr (Local.CoefficientFiberIsomorphism.localAlgebra_bijective_of_closedFiber ht) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.LocalClosedFiberIsomorphism |