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.CycleClass.Thom.Open.RangeOver |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEvaluation |
| 4 | |
| 5 | /-! # Open Vector -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenVector.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The section vector on the literal open of the projective product |
| 12 | is the actual coordinate difference on its affine product source. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped MonoidalCategory TensorProduct |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.RangeOver.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEvaluation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EtaleSectionVector.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.VectorHeadChange.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.AnalyticCoordinateDifference.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PointProduct.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 27 | |
| 28 | def productOpenOverMap : X ⊗ X ⟶ (Ambient.Constructions.productVariety V V).toOver := |
| 29 | Over.homMk (OpenNeighborhood.Constructions.productOpenMap V X j) (by |
| 30 | change OpenNeighborhood.Constructions.productOpenMap V X j ≫ (pullback.fst V.structureMap V.structureMap ≫ V.structureMap) = |
| 31 | pullback.fst X.hom X.hom ≫ X.hom |
| 32 | have hf : OpenNeighborhood.Constructions.productOpenMap V X j ≫ pullback.fst V.structureMap V.structureMap = pullback.fst X.hom X.hom ≫ j.left := |
| 33 | pullback.lift_fst _ _ _ |
| 34 | rw [← Category.assoc, hf, Category.assoc] |
| 35 | exact congrArg (fun f : X.left ⟶ Foundations.Scheme.ProjectiveSpace.complexBase => pullback.fst X.hom X.hom ≫ f) j.w) |
| 36 | |
| 37 | instance productOpenOverMap_open [IsOpenImmersion j.left] : IsOpenImmersion (productOpenOverMap V X j).left := |
| 38 | OpenNeighborhood.Constructions.productOpenMap_open V X j |
| 39 | |
| 40 | @[reassoc] |
| 41 | theorem productOpenOverMap_first : productOpenOverMap V X j ≫ Ambient.Constructions.first V V = fst X X ≫ j := by |
| 42 | apply Over.OverMorphism.ext |
| 43 | exact pullback.lift_fst _ _ _ |
| 44 | |
| 45 | @[reassoc] |
| 46 | theorem productOpenOverMap_second : productOpenOverMap V X j ≫ Ambient.Constructions.second V V = snd X X ≫ j := by |
| 47 | apply Over.OverMorphism.ext |
| 48 | exact pullback.lift_snd _ _ _ |
| 49 | |
| 50 | variable [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] [IsOpenImmersion j.left] |
| 51 | |
| 52 | local instance : IsIntegral (X ⊗ X).left := Affine.ProductIs.Constructions.affineProduct_isIntegral X X |
| 53 | local instance : Smooth (X ⊗ X).hom := inferInstanceAs (Smooth (pullback.fst X.hom X.hom ≫ X.hom)) |
| 54 | local instance : IsIntegral (Ambient.Constructions.productVariety V V).toOver.left := (Ambient.Constructions.productVariety V V).property |
| 55 | local instance : Smooth (Ambient.Constructions.productVariety V V).toOver.hom := (Ambient.Constructions.productVariety V V).presentation.smooth |
| 56 | local instance : Nonempty (OpenEquations.Constructions.productOpen V X j) := |
| 57 | ⟨⟨OpenEquations.Constructions.center V X j (genericPoint X.left), OpenEquations.Constructions.center_mem V X j (genericPoint X.left)⟩⟩ |
| 58 | |
| 59 | variable (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 60 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 61 | |
| 62 | omit [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] in |
| 63 | theorem diagonalBaseVector_eq (U : Opens (Ambient.Constructions.productVariety V V).analyticSpace) |
| 64 | (hU : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (productOpenOverMap V X j))) |
| 65 | (hUB : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)))) : |
| 66 | BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB n (OpenEquations.Constructions.diagonalSection V X j n) = |
| 67 | IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (productOpenOverMap V X j) U hU ≫ Affine.DiagonalEvaluation.Constructions.diagonalVector X n := |
| 68 | Open.RangeOver.Constructions.rangeBaseSectionVector (productOpenOverMap V X j) U hU hUB n (Affine.DiagonalEquations.Constructions.coordinateDifferenceSection X n) |
| 69 | |
| 70 | theorem diagonalBaseVector_apply (U : Opens (Ambient.Constructions.productVariety V V).analyticSpace) |
| 71 | (hU : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (productOpenOverMap V X j))) |
| 72 | (hUB : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)))) (u : U) : |
| 73 | BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB n (OpenEquations.Constructions.diagonalSection V X j n) u = |
| 74 | AnalyticCoordinateDifference.Constructions.coordinateDifference n (Section.VectorHeadChange.Constructions.sectionVectorEquation X n (EtaleSectionVector.Constructions.coordinateSections X n)) |
| 75 | (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (productOpenOverMap V X j) U hU u)) := by |
| 76 | rw [diagonalBaseVector_eq] |
| 77 | exact congrFun (Affine.DiagonalEvaluation.Constructions.diagonalVector_eq_difference X n) (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (productOpenOverMap V X j) U hU u) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenVector.Constructions |