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.ChartConormalRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorProjectionNaturality |
| 3 | |
| 4 | /-! # Open Conormal Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.OpenConormalCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Conormal coordinates on an actual affine open subfamily use its |
| 11 | own global-section algebra and its actual affine coordinate isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 17 | |
| 18 | variable (k : Type) [Field k] (A : Over (Spec (.of k))) |
| 19 | (Y : Over (Spec (.of k))) [IsAffine Y.left] (i : Y ⟶ A) [IsOpenImmersion i.left] |
| 20 | |
| 21 | def affineOpenCoordinateIso : Y ≅ EtaleSplittingAt.EtaleSplitting.affineOver k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) := |
| 22 | HilbertConstruction.Affine.OverChartPoints.affineOverIso k Y |
| 23 | |
| 24 | def affineOpenCoordinateInclusion : EtaleSplittingAt.EtaleSplitting.affineOver k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) ⟶ A := |
| 25 | (affineOpenCoordinateIso k Y).inv ≫ i |
| 26 | |
| 27 | instance affineOpenCoordinateInclusion_open : IsOpenImmersion (affineOpenCoordinateInclusion k A Y i).left := by |
| 28 | have : IsIso (affineOpenCoordinateIso k Y).inv.left := (Over.forget _).map_isIso (affineOpenCoordinateIso k Y).inv |
| 29 | have : IsOpenImmersion (affineOpenCoordinateIso k Y).inv.left := IsOpenImmersion.of_isIso _ |
| 30 | exact IsOpenImmersion.comp _ _ |
| 31 | |
| 32 | variable [GrpObj A] [Smooth A.hom] |
| 33 | |
| 34 | def affineOpenConormalEquiv : |
| 35 | Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) ≃ |
| 36 | (Constructed.IdentityConormal.constructedIdentityConormal k A →ₗ[k] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) := |
| 37 | ChartCoefficientConormal.affineChartCoefficientConormalEquiv k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) |
| 38 | A (affineOpenCoordinateInclusion k A Y i) |
| 39 | |
| 40 | variable (Z : Over (Spec (.of k))) [IsAffine Z.left] (j : Z ⟶ A) [IsOpenImmersion j.left] |
| 41 | (f : Z ⟶ Y) |
| 42 | |
| 43 | omit [GrpObj A] [Smooth A.hom] [IsOpenImmersion i.left] [IsOpenImmersion j.left] in |
| 44 | theorem affineOpenCoordinateInclusion_natural (hf : f ≫ i = j) : |
| 45 | AlgebraAutomorphismNaturality.affineOverAlgHom k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Z) (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f) ≫ |
| 46 | affineOpenCoordinateInclusion k A Y i = affineOpenCoordinateInclusion k A Z j := by |
| 47 | have he : AlgebraAutomorphismNaturality.affineOverAlgHom k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Z) |
| 48 | (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f) ≫ (affineOpenCoordinateIso k Y).inv = (affineOpenCoordinateIso k Z).inv ≫ f := by |
| 49 | apply Over.OverMorphism.ext |
| 50 | exact HilbertConstruction.Affine.TensorProjectionNaturality.affineOverMap_spec_inv f |
| 51 | change _ ≫ ((affineOpenCoordinateIso k Y).inv ≫ i) = (affineOpenCoordinateIso k Z).inv ≫ j |
| 52 | rw [← Category.assoc, he, Category.assoc, hf] |
| 53 | |
| 54 | theorem affineOpenConormalEquiv_natural (hf : f ≫ i = j) |
| 55 | (he : (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f).toRingHom.Etale) |
| 56 | (d : Derivation k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y)) |
| 57 | (z : Constructed.IdentityConormal.constructedIdentityConormal k A) : |
| 58 | affineOpenConormalEquiv k A Z j (EtaleHomDerivation.etaleAlgHomDerivationLinear (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f) he d) z = |
| 59 | HilbertConstruction.Affine.OverMorphisms.affineOverMap k f (affineOpenConormalEquiv k A Y i d z) := |
| 60 | ChartConormalRestriction.affineChartCoefficientConormalEquiv_restriction k (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) (HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Z) |
| 61 | (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f) he A (affineOpenCoordinateInclusion k A Y i) (affineOpenCoordinateInclusion k A Z j) |
| 62 | (affineOpenCoordinateInclusion_natural k A Y i Z j f hf) d z |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.OpenConormalCoordinates |