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.AlgebraAutomorphismNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IsoNaturalitySquares |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateDiagramIso |
| 4 | |
| 5 | /-! # Base Change Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.BaseChangeCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Tensor coordinates identify the actual base changes of arbitrary |
| 12 | affine families, naturally in the original scheme maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver AlgebraAutomorphismNaturality.affineOverAlgHom |
| 18 | |
| 19 | variable (R T : Type) [CommRing R] [CommRing T] [Algebra R T] |
| 20 | |
| 21 | local instance baseChangeCoordinates_commRing (X : Over (Spec (.of R))) [IsAffine X.left] : |
| 22 | CommRing (T ⊗[R] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R X) := |
| 23 | Algebra.TensorProduct.instCommRing (R := R) (A := T) (B := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R X) |
| 24 | |
| 25 | def affineBaseChangeCoordinates (X : Over (Spec (.of R))) [IsAffine X.left] : |
| 26 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R T)))).obj X ≅ |
| 27 | EtaleSplittingAt.EtaleSplitting.affineOver T (T ⊗[R] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R X) := by |
| 28 | let A := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R X |
| 29 | let a : X ≅ EtaleSplittingAt.EtaleSplitting.affineOver R A := HilbertConstruction.Affine.OverChartPoints.affineOverIso R X |
| 30 | exact (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R T)))).mapIso a ≪≫ |
| 31 | (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R A T).symm |
| 32 | |
| 33 | theorem affineBaseChangeCoordinates_natural |
| 34 | {X Y : Over (Spec (.of R))} [IsAffine X.left] [IsAffine Y.left] (f : X ⟶ Y) : |
| 35 | (affineBaseChangeCoordinates R T X).hom ≫ |
| 36 | AlgebraAutomorphismNaturality.affineOverAlgHom T (T ⊗[R] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R Y) |
| 37 | (T ⊗[R] HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R X) |
| 38 | (Algebra.TensorProduct.map (AlgHom.id T T) (HilbertConstruction.Affine.OverMorphisms.affineOverMap R f)) = |
| 39 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R T)))).map f ≫ |
| 40 | (affineBaseChangeCoordinates R T Y).hom := by |
| 41 | let F := Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R T))) |
| 42 | let A := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R X |
| 43 | let B := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra R Y |
| 44 | let ex : X ≅ EtaleSplittingAt.EtaleSplitting.affineOver R A := HilbertConstruction.Affine.OverChartPoints.affineOverIso R X |
| 45 | let ey : Y ≅ EtaleSplittingAt.EtaleSplitting.affineOver R B := HilbertConstruction.Affine.OverChartPoints.affineOverIso R Y |
| 46 | let q := HilbertConstruction.Affine.OverMorphisms.affineOverMap R f |
| 47 | let M := AlgebraAutomorphismNaturality.affineOverAlgHom T (T ⊗[R] B) (T ⊗[R] A) |
| 48 | (Algebra.TensorProduct.map (AlgHom.id T T) q) |
| 49 | have hb : (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R A T).hom ≫ F.map (AlgebraAutomorphismNaturality.affineOverAlgHom R B A q) = |
| 50 | M ≫ (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R B T).hom := AlgebraAutomorphismNaturality.affineBaseChangeIso_natural R B A T q |
| 51 | have hi := IsoNaturalitySquares.iso_inverse_square (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R A T) |
| 52 | (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R B T) M (F.map (AlgebraAutomorphismNaturality.affineOverAlgHom R B A q)) hb |
| 53 | have hn : f ≫ ey.hom = ex.hom ≫ AlgebraAutomorphismNaturality.affineOverAlgHom R B A q := HilbertConstruction.Affine.CoordinateDiagramIso.affineOverIso_natural R f |
| 54 | calc |
| 55 | (affineBaseChangeCoordinates R T X).hom ≫ M = |
| 56 | (F.map ex.hom ≫ (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R A T).inv) ≫ M := rfl |
| 57 | _ = F.map ex.hom ≫ ((EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R A T).inv ≫ M) := Category.assoc _ _ _ |
| 58 | _ = F.map ex.hom ≫ |
| 59 | (F.map (AlgebraAutomorphismNaturality.affineOverAlgHom R B A q) ≫ (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R B T).inv) := by rw [hi] |
| 60 | _ = F.map (ex.hom ≫ AlgebraAutomorphismNaturality.affineOverAlgHom R B A q) ≫ (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R B T).inv := by |
| 61 | rw [F.map_comp, Category.assoc] |
| 62 | _ = F.map (f ≫ ey.hom) ≫ (EtaleSplittingAt.EtaleSplitting.affineBaseChangeIso R B T).inv := by rw [← hn] |
| 63 | _ = F.map f ≫ (affineBaseChangeCoordinates R T Y).hom := by |
| 64 | rw [F.map_comp, Category.assoc] |
| 65 | rfl |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.BaseChangeCoordinates |