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.CoordinateNeighborhood |
| 2 | |
| 3 | /-! # Source Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.SourceNeighborhood.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The coordinate neighborhood of the diagonal can also be chosen |
| 10 | so that its actual source preimage lies in any prescribed source open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | open scoped MonoidalCategory TensorProduct |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.SupportedProduct.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.CoordinateNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ComplexImmersion.Constructions |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.EtaleSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.VectorHeadChange.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 23 | |
| 24 | theorem diagonalPoint_first (x : V.analyticSpace) : |
| 25 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.first V V) (SupportedProduct.Constructions.diagonalPointMap V x) = x := by |
| 26 | change (x ≫ Ambient.Constructions.diagonal V) ≫ Ambient.Constructions.first V V = x |
| 27 | rw [Category.assoc, Ambient.Constructions.diagonal_first, Category.comp_id] |
| 28 | |
| 29 | def firstOpen (K : Opens V.analyticSpace) : Opens (Ambient.Constructions.productVariety V V).analyticSpace := |
| 30 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.first V V) ⁻¹' (K : Set V.analyticSpace), |
| 31 | K.isOpen.preimage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map (Ambient.Constructions.first V V))⟩ |
| 32 | |
| 33 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 34 | [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] [IsOpenImmersion j.left] |
| 35 | (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 36 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 37 | [Algebra.FormallyEtale (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 38 | |
| 39 | local instance : IsIntegral (X ⊗ X).left := Affine.ProductIs.Constructions.affineProduct_isIntegral X X |
| 40 | local instance : Smooth (X ⊗ X).hom := inferInstanceAs (Smooth (pullback.fst X.hom X.hom ≫ X.hom)) |
| 41 | local instance : IsIntegral (Ambient.Constructions.productVariety V V).toOver.left := (Ambient.Constructions.productVariety V V).property |
| 42 | local instance : Smooth (Ambient.Constructions.productVariety V V).toOver.hom := (Ambient.Constructions.productVariety V V).presentation.smooth |
| 43 | local instance : Nonempty (OpenEquations.Constructions.productOpen V X j) := |
| 44 | ⟨⟨OpenEquations.Constructions.center V X j (genericPoint X.left), OpenEquations.Constructions.center_mem V X j (genericPoint X.left)⟩⟩ |
| 45 | |
| 46 | theorem exists_diagonal_source_neighborhood |
| 47 | (G : Opens (Ambient.Constructions.productVariety V V).analyticSpace) |
| 48 | (hGP : (G : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen (Ambient.Constructions.productVariety V V).toOver (OpenEquations.Constructions.productOpen V X j)) |
| 49 | (K : Opens V.analyticSpace) (x : V.analyticSpace) (hxG : SupportedProduct.Constructions.diagonalPointMap V x ∈ G) (hxK : x ∈ K) : |
| 50 | ∃ U : Opens (Ambient.Constructions.productVariety V V).analyticSpace, U ≤ G ∧ SupportedProduct.Constructions.diagonalPointMap V x ∈ U ∧ |
| 51 | Closed.ImmersionOpenRestriction.Constructions.sourceOpen (ComplexImmersion.Constructions.diagonalImmersion V) U ≤ K ∧ |
| 52 | ∃ hUP : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenVector.Constructions.productOpenOverMap V X j)), |
| 53 | ∃ _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))), |
| 54 | ∃ O : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X), |
| 55 | Set.InjOn (Section.VectorHeadChange.Constructions.sectionVectorEquation X n (EtaleSectionVector.Constructions.coordinateSections X n)) O ∧ |
| 56 | ∀ u : U, (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hUP u)).1 ∈ O ∧ |
| 57 | (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hUP u)).2 ∈ O := by |
| 58 | have hx : SupportedProduct.Constructions.diagonalPointMap V x ∈ G ⊓ firstOpen V K := |
| 59 | ⟨hxG, by change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.first V V) (SupportedProduct.Constructions.diagonalPointMap V x) ∈ K; rw [diagonalPoint_first]; exact hxK⟩ |
| 60 | obtain ⟨U, hUG, hxU, hUP, hUB, O, hi, hO⟩ := CoordinateNeighborhood.Constructions.exists_diagonal_coordinate_neighborhood V X j n |
| 61 | (G ⊓ firstOpen V K) (fun _ h => hGP h.1) x hx |
| 62 | refine ⟨U, hUG.trans inf_le_left, hxU, ?_, hUP, hUB, O, hi, hO⟩ |
| 63 | intro y hy |
| 64 | have h : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Ambient.Constructions.first V V) (SupportedProduct.Constructions.diagonalPointMap V y) ∈ K := (hUG hy).2 |
| 65 | rwa [diagonalPoint_first] at h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.SourceNeighborhood.Constructions |