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.AffineProduct.CoordinateNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AffineProduct.TransitionDerivation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorCoefficientNaturality |
| 4 | |
| 5 | /-! # Derivation Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AffineProduct.DerivationNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A commuting square of actual affine product automorphisms induces |
| 12 | the corresponding restriction square of derivations on their fibers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 18 | |
| 19 | variable (k : Type) [Field k] {X Y : Over (Spec (.of k))} [IsAffine X.left] [IsAffine Y.left] |
| 20 | |
| 21 | local instance affineProductDerivationNaturality_sourceCommRing : |
| 22 | CommRing (DualNumber k ⊗[k] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) := |
| 23 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) |
| 24 | |
| 25 | local instance affineProductDerivationNaturality_targetCommRing : |
| 26 | CommRing (DualNumber k ⊗[k] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) := |
| 27 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) |
| 28 | |
| 29 | theorem affineProductAutomorphismAlgebra_natural (f : X ⟶ Y) |
| 30 | (eX : (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X ≅ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X) |
| 31 | (eY : (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj Y ≅ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj Y) |
| 32 | (h : eX.hom ≫ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).map f = |
| 33 | (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).map f ≫ eY.hom) : |
| 34 | (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f)).comp |
| 35 | (Coordinates.affineProductAutomorphismAlgebra k Y eY).toAlgHom = |
| 36 | (Coordinates.affineProductAutomorphismAlgebra k X eX).toAlgHom.comp |
| 37 | (Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f)) := by |
| 38 | let M := Algebra.TensorProduct.map (AlgHom.id (DualNumber k) (DualNumber k)) (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f) |
| 39 | have hc := IsoNaturalitySquares.conjugateIso_natural (Coordinates.affineProductCoordinates k X) (Coordinates.affineProductCoordinates k Y) |
| 40 | ((Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).map f) |
| 41 | (Affine.AlgebraAutomorphismNaturality.affineOverAlgHom (DualNumber k) (DualNumber k ⊗[k] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) |
| 42 | (DualNumber k ⊗[k] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k X) M) |
| 43 | (CoordinateNaturality.affineProductCoordinates_natural k f) eX eY h |
| 44 | have hs := congrArg Over.Hom.left hc |
| 45 | change (Coordinates.affineProductCoordinateAutomorphism k X eX).hom.left ≫ Spec.map (CommRingCat.ofHom M.toRingHom) = |
| 46 | Spec.map (CommRingCat.ofHom M.toRingHom) ≫ (Coordinates.affineProductCoordinateAutomorphism k Y eY).hom.left at hs |
| 47 | have hx := Coordinates.affineProductAutomorphismAlgebra_spec k X eX |
| 48 | have hy := Coordinates.affineProductAutomorphismAlgebra_spec k Y eY |
| 49 | rw [← hx, ← hy, ← Spec.map_comp, ← Spec.map_comp] at hs |
| 50 | have hr := congrArg CommRingCat.Hom.hom (Spec.map_injective hs.symm) |
| 51 | exact AlgHom.ext (fun a => RingHom.congr_fun hr a) |
| 52 | |
| 53 | theorem affineProductTransitionDerivation_natural (f : X ⟶ Y) |
| 54 | (eX : (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X ≅ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj X) |
| 55 | (eY : (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj Y ≅ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).obj Y) |
| 56 | (heX : (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map eX.hom = 𝟙 _) |
| 57 | (heY : (Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k)).map eY.hom = 𝟙 _) |
| 58 | (h : eX.hom ≫ (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).map f = |
| 59 | (Over.pullback (Smooth.AffineDualProduct.dualBaseProjection k)).map f ≫ eY.hom) |
| 60 | (a : HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k Y) : |
| 61 | HilbertConstruction.Affine.OverMorphisms.affineOverMap k f (TransitionDerivation.affineProductTransitionDerivation k Y eY heY a) = |
| 62 | TransitionDerivation.affineProductTransitionDerivation k X eX heX (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f a) := |
| 63 | Dual.TensorCoefficientNaturality.dualTensorTransitionDerivation_natural (HilbertConstruction.Affine.OverMorphisms.affineOverMap k f) |
| 64 | (Coordinates.affineProductAutomorphismAlgebra k Y eY) (Coordinates.affineProductAutomorphismAlgebra k X eX) |
| 65 | (ReductionIdentity.affineProductAutomorphismAlgebra_reduction k Y eY heY) |
| 66 | (ReductionIdentity.affineProductAutomorphismAlgebra_reduction k X eX heX) |
| 67 | (affineProductAutomorphismAlgebra_natural k f eX eY h) a |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AffineProduct.DerivationNaturality |