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.AbelianModuli.ReferenceFamily.Intrinsic.InfinitesimalTranslation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ProductProjections |
| 3 | |
| 4 | /-! # Coefficient Product Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CoefficientProductChart |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original coefficient scheme of an affine dual-number chart |
| 11 | is the actual product with the dual-number test. The isomorphism has |
| 12 | the literal coefficient-extension and projection maps as projections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver LieRanks.dualNumberTest |
| 19 | |
| 20 | variable (B : CommAlgCat ℂ) |
| 21 | |
| 22 | def dualCoefficientProductMap : EtaleSplittingAt.EtaleSplitting.affineOver ℂ (DualNumber B) ⟶ LieRanks.dualNumberTest ℂ ⊗ EtaleSplittingAt.EtaleSplitting.affineOver ℂ B := |
| 23 | lift (Affine.AlgebraAutomorphismNaturality.affineOverAlgHom ℂ (DualNumber ℂ) (DualNumber B) (NumberCoefficients.dualNumberAlgMap (Algebra.ofId ℂ B))) |
| 24 | (CoefficientSchemeTests.dualCoefficientProjection ℂ B) |
| 25 | |
| 26 | theorem dualCoefficientProductMap_left : |
| 27 | (dualCoefficientProductMap B).left = |
| 28 | Spec.map (CommRingCat.ofHom (NumberCoefficients.dualTensorCoefficients ℂ B).toRingHom) ≫ |
| 29 | (pullbackSpecIso ℂ (DualNumber ℂ) B).inv := by |
| 30 | apply pullback.hom_ext |
| 31 | · have h := HilbertConstruction.Affine.ProductProjections.affineProductComparison_fst ℂ (DualNumber ℂ) B (DualNumber B) (NumberCoefficients.dualTensorCoefficients ℂ B) |
| 32 | have he : (NumberCoefficients.dualTensorCoefficients ℂ B).comp (Algebra.TensorProduct.includeLeft (S := ℂ)) = |
| 33 | NumberCoefficients.dualNumberAlgMap (Algebra.ofId ℂ B) := Algebra.TensorProduct.lift_comp_includeLeft _ _ _ |
| 34 | rw [he] at h |
| 35 | exact (congrArg Over.Hom.left (lift_fst _ _)).trans h.symm |
| 36 | · have h := HilbertConstruction.Affine.ProductProjections.affineProductComparison_snd ℂ (DualNumber ℂ) B (DualNumber B) (NumberCoefficients.dualTensorCoefficients ℂ B) |
| 37 | have he : (NumberCoefficients.dualTensorCoefficients ℂ B).comp Algebra.TensorProduct.includeRight = |
| 38 | TrivSqZeroExt.inlAlgHom ℂ B B := Algebra.TensorProduct.lift_comp_includeRight _ _ (fun _ _ => Commute.all _ _) |
| 39 | rw [he] at h |
| 40 | exact (congrArg Over.Hom.left (lift_snd _ _)).trans h.symm |
| 41 | |
| 42 | def dualCoefficientProductSchemeIso : |
| 43 | (EtaleSplittingAt.EtaleSplitting.affineOver ℂ (DualNumber B)).left ≅ (LieRanks.dualNumberTest ℂ ⊗ EtaleSplittingAt.EtaleSplitting.affineOver ℂ B).left := |
| 44 | (Scheme.Spec.mapIso (NumberCoefficients.dualTensorCoefficientEquiv ℂ B).toRingEquiv.toCommRingCatIso.op) ≪≫ |
| 45 | (pullbackSpecIso ℂ (DualNumber ℂ) B).symm |
| 46 | |
| 47 | theorem dualCoefficientProductMap_eq_iso : |
| 48 | (dualCoefficientProductMap B).left = (dualCoefficientProductSchemeIso B).hom := |
| 49 | dualCoefficientProductMap_left B |
| 50 | |
| 51 | instance dualCoefficientProductMap_isIso : IsIso (dualCoefficientProductMap B).left := |
| 52 | (dualCoefficientProductMap_eq_iso B).symm ▸ (dualCoefficientProductSchemeIso B).isIso_hom |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CoefficientProductChart |