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.Section.Cup |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Section.Principal |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.NormalizationSection |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportTransport |
| 6 | |
| 7 | /-! # Cup Principal Local -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalLocal.Constructions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On a bounded affine normalization neighborhood avoiding the genuine |
| 14 | exceptional boundary, the two canonical classes in the same algebraic |
| 15 | support agree. All rational functions come from the original section. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions.Nonzero OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.OpenFunctionField.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Principal.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero.Constructions.BoundaryUnion OAI.AlgebraicGeometry.CycleClass.Thom.Affine.NormalizationSection.Constructions.Class |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.Cup.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Section.Principal.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportTransport.Constructions |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.BaseImage.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.ParentGraphImage.Constructions |
| 24 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 25 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GraphSectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 26 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions |
| 27 | |
| 28 | set_option backward.isDefEq.respectTransparency false |
| 29 | set_option backward.isDefEq.respectTransparency.types false |
| 30 | |
| 31 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 32 | (B : V.carrier.Opens) (hB : B ≤ Normalization.AmbientMap.Constructions.ambientOpen V D.val) |
| 33 | [Nonempty B] [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 34 | [IsAffine (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left] [IsAffine (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineSource D B).left] |
| 35 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 36 | (U : Opens V.analyticSpace) |
| 37 | (hUJ : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B))) |
| 38 | (hgood : (U : Set V.analyticSpace) ⊆ Normalization.PrincipalZero.Constructions.BoundaryUnion.commonOpen V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs) |
| 39 | |
| 40 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 41 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 42 | local instance : Nonempty (⊤ : (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineSource D B).left.Opens) := |
| 43 | ⟨⟨genericPoint (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineSource D B).left, Opens.mem_top _⟩⟩ |
| 44 | |
| 45 | variable (d : ℕ) (f : MvPolynomial (Fin d) ℂ →ₐ[ℂ] Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineSource D B).left, ⊤)) (hf : Function.Surjective f) |
| 46 | [IsClosedImmersion (Affine.SchemeGraph.Constructions.globalGraphSchemeMap (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineMap D B) f).left] |
| 47 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 48 | (hb : ∀ y, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.PrincipalBoundary.Constructions.fullAmbientMap V D.val) |
| 49 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.sourceToSmooth D B hB) y) ∈ U → Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f y ∈ K) |
| 50 | |
| 51 | local notation "P" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.ParentGraphImage.Constructions.supportCycle V D.val |
| 52 | local notation "j" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B |
| 53 | local notation "F" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.sectionClosedSupport D B s |
| 54 | local notation "S" => Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.BaseImage.Constructions.Class.baseImage P U) ∩ Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hUJ s) |
| 55 | local notation "q" => OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.dimensionCodimension V D.val + 1 |
| 56 | local notation "c" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Principal.Constructions.normalizedPrincipalCycle V D.val (OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs |
| 57 | |
| 58 | include hf hK hb hgood in |
| 59 | theorem sectionCupClass_eq_principal_bounded : |
| 60 | Cup.Constructions.Class.sectionCupClass D B s U hUJ = Principal.Constructions.Class.sectionPrincipalClass D B s hs U := by |
| 61 | have hsn := Affine.SectionFunction.Constructions.Nonzero.sourceSection_germ_ne_zero D B hB s hs |
| 62 | have hgood' : (U : Set V.analyticSpace) ⊆ Normalization.PrincipalZero.Constructions.BoundaryUnion.commonOpen V D.val |
| 63 | (Normalization.OpenFunctionField.Constructions.originalFunction V D.val (Normalization.GoodSmoothMap.Constructions.AffineOpen.sourceToSmooth D B hB) |
| 64 | ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineSource D B).left.germToFunctionField ⊤ ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineMap D B).left.appTop s))) |
| 65 | (Normalization.OpenFunctionField.Constructions.originalFunction_ne_zero V D.val (Normalization.GoodSmoothMap.Constructions.AffineOpen.sourceToSmooth D B hB) _ hsn) := by |
| 66 | simpa only [Affine.SectionFunction.Constructions.originalFunction_eq_parentSectionFunction] using hgood |
| 67 | have hlocal := Affine.NormalizationSection.Constructions.Class.affine_cycle_sectionCup_eq_normalizedPrincipalClass D B hB s hsn U hUJ hgood' d f hf K hK hb |
| 68 | have h : ImageIntersectionCup.Constructions.imageIntersectionCup (Normalization.BaseImage.Constructions.Class.baseImage P U) (NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hUJ s) (Normalization.GraphSectionCup.Constructions.baseImage_openComplement P U) |
| 69 | (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hUJ) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) s) |
| 70 | (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) s)) |
| 71 | (Geometric.DimensionCycles.dimensionCodimension V D.val) 1 (Normalization.BaseImage.Constructions.Class.baseImageCycleClass P U) (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hUJ s) = |
| 72 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S q (Open.SupportedLift.Constructions.restrictCycle V U S q c) := by |
| 73 | simpa only [Affine.SectionFunction.Constructions.originalFunction_eq_parentSectionFunction] using hlocal |
| 74 | exact (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 75 | (Cup.Constructions.Class.cupSupport_mapsTo D B s U hUJ) (2 * q)) h).trans |
| 76 | ((Open.SupportTransport.Constructions.relativeClassMap_restrict_support_congr V U S {x : U | V.analyticUnderlying x.val ∈ F} |
| 77 | (Cup.Constructions.Class.cupSupport_eq_closedSupport D B s U hUJ) q c).trans |
| 78 | (Principal.Constructions.Class.sectionPrincipalClass_eq_local D B s hs U).symm) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalLocal.Constructions |