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.SerreClassFormula |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Cup |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Gysin |
| 4 | |
| 5 | /-! # Local Serre Cancellation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalSerreCancellation.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Cancel the genuine supported diagonal Thom isomorphism in the |
| 12 | actual local Serre formula on a specified etale coordinate chart. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped MonoidalCategory TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalIsolation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.SerreClassFormula.Constructions.Chart OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Cup.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Gysin.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.EtaleSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.VectorHeadChange.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.VectorPresentationTarget.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.GysinDegree.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) (p q : ℕ) |
| 27 | (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) (Z : Geometric.DimensionCycles.DimensionCycleSupport V (p + q)) |
| 28 | (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 29 | [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] [IsOpenImmersion j.left] |
| 30 | [Algebra (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] |
| 31 | [IsScalarTower ℂ (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] |
| 32 | [Algebra.IsStandardEtale (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] |
| 33 | |
| 34 | local instance : IsIntegral (X ⊗ X).left := Affine.ProductIs.Constructions.affineProduct_isIntegral X X |
| 35 | local instance : Smooth (X ⊗ X).hom := inferInstanceAs (Smooth (pullback.fst X.hom X.hom ≫ X.hom)) |
| 36 | local instance : IsIntegral (Ambient.Constructions.productVariety V V).toOver.left := (Ambient.Constructions.productVariety V V).property |
| 37 | local instance : Smooth (Ambient.Constructions.productVariety V V).toOver.hom := (Ambient.Constructions.productVariety V V).presentation.smooth |
| 38 | local instance : Nonempty (OpenEquations.Constructions.productOpen V X j) := |
| 39 | ⟨⟨OpenEquations.Constructions.center V X j (genericPoint X.left), OpenEquations.Constructions.center_mem V X j (genericPoint X.left)⟩⟩ |
| 40 | |
| 41 | theorem exists_chart_serre_pullback_formula (hpos : 0 < V.complexDimension) |
| 42 | (hxA : IntersectionGeometry.supportPoint Z.val ∈ (A.val : Set V.carrier)) |
| 43 | (hxB : IntersectionGeometry.supportPoint Z.val ∈ (B.val : Set V.carrier)) |
| 44 | (hproper : ∀ C : IrreducibleCloseds V.carrier, |
| 45 | (C : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (B.val : Set V.carrier) → p + q ≤ Geometric.DimensionCycles.dimensionCodimension V C) |
| 46 | (y : X.left) (hy : j.left y = Z.genericPoint) : |
| 47 | ∃ W : (Ambient.Constructions.productVariety V V).carrier.Opens, W ≤ OpenEquations.Constructions.productOpen V X j ∧ |
| 48 | (Ambient.Constructions.diagonalSupport V (p + q) Z).genericPoint ∈ W ∧ |
| 49 | ∀ (U : Opens (Ambient.Constructions.productVariety V V).analyticSpace) |
| 50 | (_hUW : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen (Ambient.Constructions.productVariety V V).toOver W) |
| 51 | (hUP : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenVector.Constructions.productOpenOverMap V X j))) |
| 52 | (_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)))) |
| 53 | (_hUR : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ (Ambient.Constructions.diagonalSupport V (p + q) Z).regularAmbientOpen) |
| 54 | (O : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 55 | (_hi : Set.InjOn (Section.VectorHeadChange.Constructions.sectionVectorEquation X V.complexDimension (EtaleSectionVector.Constructions.coordinateSections X V.complexDimension)) O) |
| 56 | (_hO : ∀ u : U, (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X |
| 57 | (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hUP u)).1 ∈ O ∧ |
| 58 | (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X |
| 59 | (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hUP u)).2 ∈ O) |
| 60 | {L : Type} (u : L → U) (_hu : IsOpen (Set.range u)ᶜ) |
| 61 | (_hC : (Subtype.val : U → (Ambient.Constructions.productVariety V V).analyticSpace) ⁻¹' |
| 62 | Set.range (LocalIsolation.Constructions.pairedSupport V p q A B).analyticInclusion ⊆ Set.range u) |
| 63 | (_hZ : (Subtype.val : U → (Ambient.Constructions.productVariety V V).analyticSpace) ⁻¹' |
| 64 | Set.range (Ambient.Constructions.diagonalSupport V (p + q) Z).analyticInclusion ⊆ Set.range u), |
| 65 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularComplementTopCatMap |
| 66 | (A := (ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularComplementInclusion ⁻¹' (Set.range u)ᶜ) (B := (Set.range u)ᶜ) |
| 67 | (fun _ hx => hx) (2 * (p + q)) |
| 68 | (Open.SupportedLift.Constructions.Map.relativeClassMap (Ambient.Constructions.productVariety V V) U (Set.range u) (p + q) |
| 69 | (Open.SupportedLift.Constructions.restrictCycle (Ambient.Constructions.productVariety V V) U (Set.range u) (p + q) (Finsupp.single (LocalIsolation.Constructions.pairedSupport V p q A B) 1))) = |
| 70 | Open.SupportedLift.Constructions.Map.relativeClassMap V (Closed.ImmersionOpenRestriction.Constructions.sourceOpen (ComplexImmersion.Constructions.diagonalImmersion V) U) |
| 71 | ((ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularComplementInclusion ⁻¹' Set.range u) (p + q) |
| 72 | (Open.SupportedLift.Constructions.restrictCycle V (Closed.ImmersionOpenRestriction.Constructions.sourceOpen (ComplexImmersion.Constructions.diagonalImmersion V) U) |
| 73 | ((ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularComplementInclusion ⁻¹' Set.range u) (p + q) |
| 74 | (Finsupp.single Z (IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val Z.val))) := by |
| 75 | classical |
| 76 | obtain ⟨W, hWP, hxW, hf⟩ := SerreClassFormula.Constructions.Chart.exists_chart_serre_formula V p q A B Z X j hpos hxA hxB hproper y hy |
| 77 | refine ⟨W, hWP, hxW, ?_⟩ |
| 78 | intro U hUW hUP hUB hUR O hi hO L u hu hC hZ |
| 79 | let D := ComplexImmersion.Constructions.diagonalOpenImmersion V U |
| 80 | obtain ⟨a, ha⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 81 | (Set.range D.regularComplementInclusion)ᶜ) (2 * V.complexDimension) D.regularThomClass |
| 82 | let g := Intersection.GysinDegree.Constructions.intersectionGysinAt D a ha u hu ((p + q) + V.complexDimension) (Nat.add_comm _ _) |
| 83 | apply g.toLinearEquiv.injective |
| 84 | have hl := hf U hUW hUB u hu (by |
| 85 | intro C hne |
| 86 | have he : C = LocalIsolation.Constructions.pairedSupport V p q A B := by |
| 87 | by_contra hn |
| 88 | exact hne (Finsupp.single_eq_of_ne hn) |
| 89 | subst C |
| 90 | exact hC) |
| 91 | have h := congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 92 | (Cup.Constructions.diagonalCup_mapsTo V X j U hUP hUB O hi hO u) (2 * ((p + q) + V.complexDimension))) hl |
| 93 | rw [Cup.Constructions.cycleVectorClass_diagonalGysin V X j U hUP hUB O hi hO u hu (p + q) |
| 94 | (Finsupp.single (LocalIsolation.Constructions.pairedSupport V p q A B) 1) a ha] at h |
| 95 | have ht := Cycle.VectorPresentationTarget.Constructions.presentTo_cycleClass (Ambient.Constructions.productVariety V V) (OpenEquations.Constructions.productOpen V X j) U hUB u V.complexDimension |
| 96 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension) (Set.range u) (Set.range D.regularComplementInclusion) |
| 97 | (Set.range D.regularComplementInclusion ∩ Set.range u) rfl |
| 98 | (Cup.Constructions.diagonalVector_range_eq V X j U hUP hUB O hi hO) (Set.inter_comm _ _) |
| 99 | ((p + q) + V.complexDimension) |
| 100 | (Finsupp.single (Ambient.Constructions.diagonalSupport V (p + q) Z) (IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val Z.val)) |
| 101 | exact h.trans (ht.trans (Gysin.Constructions.diagonalGysin_singleCycle V (p + q) Z U hUR u hZ hu a ha |
| 102 | (IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val Z.val)).symm) |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.LocalSerreCancellation.Constructions |