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.FamilyMorphism.TensorCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.DerivationPresheaf |
| 3 | |
| 4 | /-! # Tensor Restriction Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.TensorRestrictionSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original restricted family morphism commutes with both affine |
| 11 | restrictions on coordinate rings and on their actual tensor base changes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | attribute [local implicit_reducible] Affine.OpenDiagram.familyAffineOpenDiagram |
| 17 | |
| 18 | variable (R T : Type) [CommRing R] [CommRing T] [Algebra R T] |
| 19 | {X Y : Over (Spec (.of R))} (f : X ⟶ Y) |
| 20 | (V V' : X.left.affineOpens) (W W' : Y.left.affineOpens) |
| 21 | (t : V'.1 ≤ V.1) (s : W'.1 ≤ W.1) |
| 22 | (h : V.1 ≤ f.left ⁻¹ᵁ W.1) (h' : V'.1 ≤ f.left ⁻¹ᵁ W'.1) |
| 23 | |
| 24 | theorem familyMorphismAffineCoordinates_square : |
| 25 | (Affine.OpenDiagram.familyAffineCoordinateMap R X t).comp (TensorCoordinates.familyMorphismAffineCoordinates R f V W h) = |
| 26 | (TensorCoordinates.familyMorphismAffineCoordinates R f V' W' h').comp (Affine.OpenDiagram.familyAffineCoordinateMap R Y s) := by |
| 27 | have : IsAffine (HilbertConstruction.Open.ParameterPoints.openParameterScheme X V.1).left := V.2 |
| 28 | have : IsAffine (HilbertConstruction.Open.ParameterPoints.openParameterScheme X V'.1).left := V'.2 |
| 29 | have : IsAffine (HilbertConstruction.Open.ParameterPoints.openParameterScheme Y W.1).left := W.2 |
| 30 | have : IsAffine (HilbertConstruction.Open.ParameterPoints.openParameterScheme Y W'.1).left := W'.2 |
| 31 | have H := congrArg |
| 32 | (HilbertConstruction.Affine.OverMorphisms.affineOverMap R (X := (Affine.OpenDiagram.familyAffineOpenDiagram X).obj V') (Y := (Affine.OpenDiagram.familyAffineOpenDiagram Y).obj W)) |
| 33 | (OpenRestrictions.familyMorphismOpenRestriction_square f t s h h') |
| 34 | rw [HilbertConstruction.Affine.OverFunctoriality.affineOverMap_comp, HilbertConstruction.Affine.OverFunctoriality.affineOverMap_comp] at H |
| 35 | exact H |
| 36 | |
| 37 | theorem familyMorphismTensorCoordinates_square : |
| 38 | (FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R T X t).comp (TensorCoordinates.familyMorphismTensorCoordinates R T f V W h) = |
| 39 | (TensorCoordinates.familyMorphismTensorCoordinates R T f V' W' h').comp (FixedFiber.DerivationPresheaf.fixedFiberTensorRestriction R T Y s) := by |
| 40 | apply AlgHom.ext |
| 41 | intro u |
| 42 | induction u using TensorProduct.inductionOn with |
| 43 | | add u v hu hv => simp only [map_add, hu, hv] |
| 44 | | tmul c a => |
| 45 | exact congrArg (fun b => c ⊗ₜ[R] b) (AlgHom.congr_fun (familyMorphismAffineCoordinates_square R f V V' W W' t s h h') a) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.TensorRestrictionSquare |