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.Diagonal.OpenVector |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ComplexImmersion |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction |
| 4 | |
| 5 | /-! # Open Zero -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenZero.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On an injective coordinate neighborhood the actual diagonal |
| 12 | section vector vanishes precisely on the actual projective diagonal. -/ |
| 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.OpenVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ComplexImmersion.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions.Support OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PointProduct.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EtaleSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.VectorHeadChange.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.AnalyticCoordinateDifference.Constructions |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 27 | |
| 28 | theorem point_mem_diagonal_iff (z : (Ambient.Constructions.productVariety V V).analyticSpace) : |
| 29 | z ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.diagonal V)) ↔ |
| 30 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.first V V) z = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.second V V) z := by |
| 31 | constructor |
| 32 | · rintro ⟨x, rfl⟩ |
| 33 | change (x ≫ Ambient.Constructions.diagonal V) ≫ Ambient.Constructions.first V V = (x ≫ Ambient.Constructions.diagonal V) ≫ Ambient.Constructions.second V V |
| 34 | simp only [Category.assoc, Ambient.Constructions.diagonal_first, Ambient.Constructions.diagonal_second] |
| 35 | · intro h |
| 36 | refine ⟨z ≫ Ambient.Constructions.first V V, ?_⟩ |
| 37 | apply BinaryFan.IsLimit.hom_ext (Ambient.Constructions.productLimit V V) |
| 38 | · change ((z ≫ Ambient.Constructions.first V V) ≫ Ambient.Constructions.diagonal V) ≫ Ambient.Constructions.first V V = z ≫ Ambient.Constructions.first V V |
| 39 | rw [Category.assoc, Ambient.Constructions.diagonal_first, Category.comp_id] |
| 40 | · change ((z ≫ Ambient.Constructions.first V V) ≫ Ambient.Constructions.diagonal V) ≫ Ambient.Constructions.second V V = z ≫ Ambient.Constructions.second V V |
| 41 | rw [Category.assoc, Ambient.Constructions.diagonal_second, Category.comp_id] |
| 42 | exact h |
| 43 | |
| 44 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 45 | [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] [IsOpenImmersion j.left] |
| 46 | |
| 47 | local instance : IsIntegral (X ⊗ X).left := Affine.ProductIs.Constructions.affineProduct_isIntegral X X |
| 48 | local instance : Smooth (X ⊗ X).hom := inferInstanceAs (Smooth (pullback.fst X.hom X.hom ≫ X.hom)) |
| 49 | local instance : IsIntegral (Ambient.Constructions.productVariety V V).toOver.left := (Ambient.Constructions.productVariety V V).property |
| 50 | local instance : Smooth (Ambient.Constructions.productVariety V V).toOver.hom := (Ambient.Constructions.productVariety V V).presentation.smooth |
| 51 | local instance : Nonempty (OpenEquations.Constructions.productOpen V X j) := |
| 52 | ⟨⟨OpenEquations.Constructions.center V X j (genericPoint X.left), OpenEquations.Constructions.center_mem V X j (genericPoint X.left)⟩⟩ |
| 53 | |
| 54 | variable (U : Opens (Ambient.Constructions.productVariety V V).analyticSpace) |
| 55 | (hU : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenVector.Constructions.productOpenOverMap V X j))) |
| 56 | |
| 57 | theorem lift_first (u : U) : |
| 58 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u)).1 = |
| 59 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.first V V) u.val := by |
| 60 | change (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u ≫ fst X X) ≫ j = u.val ≫ Ambient.Constructions.first V V |
| 61 | rw [Category.assoc, ← OpenVector.Constructions.productOpenOverMap_first, ← Category.assoc] |
| 62 | exact congrArg (fun z => z ≫ Ambient.Constructions.first V V) (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift_commutes (OpenVector.Constructions.productOpenOverMap V X j) U hU u) |
| 63 | |
| 64 | theorem lift_second (u : U) : |
| 65 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u)).2 = |
| 66 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.second V V) u.val := by |
| 67 | change (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u ≫ snd X X) ≫ j = u.val ≫ Ambient.Constructions.second V V |
| 68 | rw [Category.assoc, ← OpenVector.Constructions.productOpenOverMap_second, ← Category.assoc] |
| 69 | exact congrArg (fun z => z ≫ Ambient.Constructions.second V V) (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift_commutes (OpenVector.Constructions.productOpenOverMap V X j) U hU u) |
| 70 | |
| 71 | variable (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)))) |
| 72 | (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 73 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 74 | (O : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (hi : Set.InjOn (Section.VectorHeadChange.Constructions.sectionVectorEquation X n (EtaleSectionVector.Constructions.coordinateSections X n)) O) |
| 75 | (hO : ∀ u : U, (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u)).1 ∈ O ∧ |
| 76 | (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u)).2 ∈ O) |
| 77 | |
| 78 | include hi hO in |
| 79 | theorem diagonalBaseVector_zero_iff (u : U) : |
| 80 | u ∈ Set.range (ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularComplementInclusion ↔ |
| 81 | 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 = 0 := by |
| 82 | rw [Closed.ImmersionOpenRestriction.Constructions.Support.restricted_range] |
| 83 | change u.val ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.diagonal V)) ↔ _ |
| 84 | rw [point_mem_diagonal_iff, OpenVector.Constructions.diagonalBaseVector_apply V X j n U hU hUB] |
| 85 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.first V V) u.val = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.second V V) u.val ↔ |
| 86 | _ - _ = (0 : Fin n → ℂ) |
| 87 | rw [sub_eq_zero, ← lift_first V X j U hU u, ← lift_second V X j U hU u] |
| 88 | constructor |
| 89 | · intro h |
| 90 | exact congrArg (Section.VectorHeadChange.Constructions.sectionVectorEquation X n (EtaleSectionVector.Constructions.coordinateSections X n)) |
| 91 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion j).injective h) |
| 92 | · intro h |
| 93 | exact congrArg (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j) (hi (hO u).1 (hO u).2 h) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenZero.Constructions |