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.Cycle.VectorPresentationTarget |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Finite.VectorStep |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation |
| 4 | |
| 5 | /-! # Vector Recursion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.VectorRecursion.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Intrinsic recursion for the actual cycle-vector class: the |
| 12 | principal step and remaining vector give the same class after the |
| 13 | literal equality of their intersection supports. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.Vector.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.VectorPresentationTarget.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.VectorStep.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EvenIntersectionAssociativity.Constructions.SupportedCupTargets OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 25 | |
| 26 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 27 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 28 | |
| 29 | variable (p n : ℕ) (B : V.carrier.Opens) [Nonempty B] |
| 30 | (r : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (s : Fin n → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 31 | (U : Opens V.analyticSpace) |
| 32 | (hU : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B))) |
| 33 | {L : Type} (u : L → U) (hu : IsOpen (Set.range u)ᶜ) |
| 34 | |
| 35 | local notation "j" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B |
| 36 | local notation "w" => OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hU r |
| 37 | local notation "v" => OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage j U hU n s |
| 38 | local notation "hv" => OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage_openComplement j U hU n s |
| 39 | local notation "ht" => OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage_mapsTo j U hU n s |
| 40 | local notation "S" => Set.range u ∩ Set.range w |
| 41 | local notation "G" => Set.range w ∩ Set.range v |
| 42 | local notation "F" => (Set.range u ∩ Set.range w) ∩ Set.range v |
| 43 | local notation "u₁" => (Subtype.val : {y : U // y ∈ Set.range u ∩ Set.range w} → U) |
| 44 | |
| 45 | include hu in |
| 46 | theorem cutImage_openComplement : IsOpen (Set.range u₁)ᶜ := by |
| 47 | rw [Subtype.range_coe] |
| 48 | exact Finite.VectorStep.Constructions.step_openComplement V B r U hU u hu |
| 49 | |
| 50 | theorem headTailIntersection_eq : |
| 51 | Vector.Constructions.Class.vectorIntersectionSupport V B U hU u (n + 1) (Fin.cons r s) = |
| 52 | Vector.Constructions.Class.vectorIntersectionSupport V B U hU u₁ n s := by |
| 53 | change Set.range u ∩ Set.range (BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage j U hU (n + 1) (Fin.cons r s)) = |
| 54 | Set.range u₁ ∩ Set.range v |
| 55 | rw [BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage_cons, Subtype.range_coe, Set.inter_assoc] |
| 56 | |
| 57 | theorem tailClass_mapsTo : Set.MapsTo (𝟙 (TopCat.of U)) |
| 58 | (Vector.Constructions.Class.vectorIntersectionSupport V B U hU u (n + 1) (Fin.cons r s))ᶜ |
| 59 | (Vector.Constructions.Class.vectorIntersectionSupport V B U hU u₁ n s)ᶜ := |
| 60 | EvenIntersectionAssociativity.Constructions.SupportedCupTargets.id_mapsTo_eq _ _ _ (congrArg Set.compl (headTailIntersection_eq V n B r s U hU u)) |
| 61 | |
| 62 | variable (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 63 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 64 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ Set.range u) |
| 65 | (hne : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)) |
| 66 | (hr : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), letI := hne D hD |
| 67 | Affine.SectionFunction.Constructions.parentSectionFunction D B r ≠ 0) |
| 68 | |
| 69 | include hc in |
| 70 | theorem cycleVectorClassAt_step : |
| 71 | Vector.Constructions.Class.cycleVectorClassAt V B U hU u p (n + 1) ((p + 1) + n) (by omega) (Fin.cons r s) hu c = |
| 72 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 73 | (tailClass_mapsTo V n B r s U hU u) (2 * ((p + 1) + n)) |
| 74 | (Vector.Constructions.Class.cycleVectorClassAt V B U hU u₁ (p + 1) n ((p + 1) + n) rfl s |
| 75 | (cutImage_openComplement V B r U hU u hu) (Finite.SectionEuler.Constructions.originalPrincipalStepSum V p B r c hne hr)) := by |
| 76 | let d := (p + 1) + n |
| 77 | have hT : Set.range (BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage j U hU (n + 1) (Fin.cons r s)) = G := BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage_cons j U hU n r s |
| 78 | have hF : Set.range u ∩ G = F := (Set.inter_assoc (Set.range u) (Set.range w) (Set.range v)).symm |
| 79 | let hf := VectorPresentationTarget.Constructions.presentTo_mapsTo V B U hU u (n + 1) (Fin.cons r s) (Set.range u) G F rfl hT hF |
| 80 | let hg := VectorPresentationTarget.Constructions.presentTo_mapsTo V B U hU u₁ n s S (Set.range v) F Subtype.range_coe rfl rfl |
| 81 | apply VectorPresentationTarget.Constructions.presentTo_injective V B U hU u (n + 1) (Fin.cons r s) (Set.range u) G F rfl hT hF (2 * d) |
| 82 | have hleft := VectorPresentationTarget.Constructions.presentTo_cycleVectorClass V B U hU u (n + 1) (Fin.cons r s) |
| 83 | (Set.range u) G F rfl hT hF p d (by omega) hu hu (Finite.VectorStep.Constructions.vector_openComplement V B r U hU v hv) |
| 84 | (Finite.VectorStep.Constructions.finalComplement_eq V B r U hU u v) (Finite.VectorStep.Constructions.vector_mapsTo V n B r s U hU v ht) c |
| 85 | have hraw := Finite.VectorStep.Constructions.cycle_vectorCup_eq_step_vectorCup V p n B r s U hU u hu v hv ht c hc hne hr |
| 86 | rw [Finite.SectionEuler.Constructions.cycleSectionStep_eq_sum] at hraw |
| 87 | let z := Vector.Constructions.Class.cycleVectorClassAt V B U hU u₁ (p + 1) n d rfl s (cutImage_openComplement V B r U hU u hu) |
| 88 | (Finite.SectionEuler.Constructions.originalPrincipalStepSum V p B r c hne hr) |
| 89 | have hcomp := ConcreteCategory.congr_hom |
| 90 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) (𝟙 (TopCat.of U)) |
| 91 | hf (tailClass_mapsTo V n B r s U hU u) (2 * d)) z |
| 92 | have hright := VectorPresentationTarget.Constructions.presentTo_cycleVectorClass V B U hU u₁ n s S (Set.range v) F Subtype.range_coe rfl rfl |
| 93 | (p + 1) d rfl (cutImage_openComplement V B r U hU u hu) (Finite.VectorStep.Constructions.step_openComplement V B r U hU u hu) hv |
| 94 | (Finite.VectorStep.Constructions.stepComplement_eq V B r U hU u v) ht (Finite.SectionEuler.Constructions.originalPrincipalStepSum V p B r c hne hr) |
| 95 | have he : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) hf (2 * d) |
| 96 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 97 | (tailClass_mapsTo V n B r s U hU u) (2 * d) z) = |
| 98 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) hg (2 * d) z := hcomp |
| 99 | exact hleft.trans (hraw.trans (he.trans hright).symm) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.VectorRecursion.Constructions |