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.Regular.CoefficientConormalLinearity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.ChartConormalRestriction |
| 3 | import Mathlib.AlgebraicGeometry.Properties |
| 4 | |
| 5 | /-! # Presentation Conormal Linearity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationConormalLinearity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Any actual affine presentation of an open in a smooth integral |
| 12 | complex group has coefficient-linear conormal coordinates, including |
| 13 | the empty chart. The chart ring need not be its chosen global-section |
| 14 | presentation. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 20 | |
| 21 | variable (G : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral G.left] [Smooth G.hom] [GrpObj G] |
| 22 | (B : CommAlgCat ℂ) (i : EtaleSplittingAt.EtaleSplitting.affineOver ℂ B ⟶ G) [IsOpenImmersion i.left] |
| 23 | |
| 24 | include i in |
| 25 | omit [IsIntegral G.left] [GrpObj G] in |
| 26 | theorem affinePresentationAlgebra_smooth : Algebra.Smooth ℂ B := by |
| 27 | have hs : Smooth (i.left ≫ G.hom) := inferInstance |
| 28 | have h : Smooth (EtaleSplittingAt.EtaleSplitting.affineOver ℂ B).hom := (congrArg Smooth i.w).mp hs |
| 29 | exact RingHom.smooth_algebraMap.mp (HasRingHomProperty.Spec_iff.mp h) |
| 30 | |
| 31 | include i in |
| 32 | omit [Smooth G.hom] [GrpObj G] in |
| 33 | theorem affinePresentationAlgebra_isDomain [Nontrivial B] : IsDomain B := by |
| 34 | have : Nonempty (EtaleSplittingAt.EtaleSplitting.affineOver ℂ B).left := inferInstanceAs (Nonempty (PrimeSpectrum B)) |
| 35 | have : IsIntegral (EtaleSplittingAt.EtaleSplitting.affineOver ℂ B).left := isIntegral_of_isOpenImmersion i.left |
| 36 | exact (affine_isIntegral_iff (.of B)).mp this |
| 37 | |
| 38 | def affinePresentationConormalLinearEquiv : |
| 39 | Derivation ℂ B B ≃ₗ[B] (Constructed.IdentityConormal.constructedIdentityConormal ℂ G →ₗ[ℂ] B) := by |
| 40 | let F := ChartCoefficientConormal.affineChartCoefficientConormalEquiv ℂ B B G i |
| 41 | refine { toEquiv := F, map_add' := ?_, map_smul' := ?_ } |
| 42 | · intro d e |
| 43 | cases subsingleton_or_nontrivial B with |
| 44 | | inl h => |
| 45 | let := h |
| 46 | exact Subsingleton.elim _ _ |
| 47 | | inr h => |
| 48 | let := h |
| 49 | have : Algebra.Smooth ℂ B := affinePresentationAlgebra_smooth G B i |
| 50 | have : IsDomain B := affinePresentationAlgebra_isDomain G B i |
| 51 | exact Regular.CoefficientConormalLinearity.regularCoefficientConormal_add G B i B d e |
| 52 | · intro c d |
| 53 | cases subsingleton_or_nontrivial B with |
| 54 | | inl h => |
| 55 | let := h |
| 56 | exact Subsingleton.elim _ _ |
| 57 | | inr h => |
| 58 | let := h |
| 59 | have : Algebra.Smooth ℂ B := affinePresentationAlgebra_smooth G B i |
| 60 | have : IsDomain B := affinePresentationAlgebra_isDomain G B i |
| 61 | exact Regular.CoefficientConormalLinearity.regularCoefficientConormal_smul G B i B c d |
| 62 | |
| 63 | variable (D : CommAlgCat ℂ) (j : EtaleSplittingAt.EtaleSplitting.affineOver ℂ D ⟶ G) [IsOpenImmersion j.left] |
| 64 | |
| 65 | theorem affinePresentationConormalLinearEquiv_natural (q : B →ₐ[ℂ] D) (hq : q.toRingHom.Etale) |
| 66 | (hi : AlgebraAutomorphismNaturality.affineOverAlgHom ℂ B D q ≫ i = j) (d : Derivation ℂ B B) |
| 67 | (z : Constructed.IdentityConormal.constructedIdentityConormal ℂ G) : |
| 68 | affinePresentationConormalLinearEquiv G D j (EtaleHomDerivation.etaleAlgHomDerivationLinear q hq d) z = |
| 69 | q (affinePresentationConormalLinearEquiv G B i d z) := |
| 70 | ChartConormalRestriction.affineChartCoefficientConormalEquiv_restriction ℂ B D q hq G i j hi d z |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationConormalLinearity |