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.Affine.OpenConormalCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CoefficientConormalLinearity |
| 3 | |
| 4 | /-! # Open Conormal Linearity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.OpenConormalLinearity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On every actual affine open of a smooth integral complex group, |
| 11 | the constructed conormal coordinates are linear over the section ring. |
| 12 | The empty affine open is included. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable (A : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral A.left] [Smooth A.hom] [GrpObj A] |
| 18 | (Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine Y.left] (i : Y ⟶ A) [IsOpenImmersion i.left] |
| 19 | |
| 20 | include i in |
| 21 | omit [IsIntegral A.left] [GrpObj A] in |
| 22 | theorem affineOpenAlgebra_smooth : Algebra.Smooth ℂ (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y) := by |
| 23 | have : Smooth (i.left ≫ A.hom) := inferInstance |
| 24 | have : Smooth Y.hom := (congrArg Smooth i.w).mp this |
| 25 | exact HilbertConstruction.Smooth.AffineSchemeModels.affineOverAlgebra_smooth ℂ Y |
| 26 | |
| 27 | include i in |
| 28 | omit [Smooth A.hom] [GrpObj A] in |
| 29 | theorem affineOpenAlgebra_isDomain [Nontrivial (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y)] : |
| 30 | IsDomain (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y) := by |
| 31 | have : Nonempty Y.left := Nonempty.map (OpenConormalCoordinates.affineOpenCoordinateIso ℂ Y).inv.left |
| 32 | (inferInstanceAs (Nonempty (PrimeSpectrum (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y)))) |
| 33 | have : IsIntegral Y.left := isIntegral_of_isOpenImmersion i.left |
| 34 | exact inferInstanceAs (IsDomain Γ(Y.left, ⊤)) |
| 35 | |
| 36 | def affineOpenConormalLinearEquiv : |
| 37 | Derivation ℂ (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y) ≃ₗ[HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y] |
| 38 | (Constructed.IdentityConormal.constructedIdentityConormal ℂ A →ₗ[ℂ] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y) := by |
| 39 | let B := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y |
| 40 | let F := OpenConormalCoordinates.affineOpenConormalEquiv ℂ A Y 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 := affineOpenAlgebra_smooth A Y i |
| 50 | have : IsDomain B := affineOpenAlgebra_isDomain A Y i |
| 51 | exact Regular.CoefficientConormalLinearity.regularCoefficientConormal_add A B (OpenConormalCoordinates.affineOpenCoordinateInclusion ℂ A Y 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 := affineOpenAlgebra_smooth A Y i |
| 60 | have : IsDomain B := affineOpenAlgebra_isDomain A Y i |
| 61 | exact Regular.CoefficientConormalLinearity.regularCoefficientConormal_smul A B (OpenConormalCoordinates.affineOpenCoordinateInclusion ℂ A Y i) B c d |
| 62 | |
| 63 | theorem affineOpenConormalLinearEquiv_apply |
| 64 | (d : Derivation ℂ (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra ℂ Y)) : |
| 65 | affineOpenConormalLinearEquiv A Y i d = OpenConormalCoordinates.affineOpenConormalEquiv ℂ A Y i d := rfl |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.OpenConormalLinearity |