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.Divisors.LineBundles.Finite.SectionParentClass |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionCommonBoundary |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteAffine.FiberMeeting |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteAffine.ChartBounds |
| 5 | |
| 6 | /-! # Section Neighborhood -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteAffine.SectionNeighborhood.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! On an actual affine inverse-image chart, the full supported section formula follows from the single global principal boundary. Fiber coverage and all local divisor good-open conditions are constructed. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GraphImage.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.IntrinsicAmbient |
| 22 | |
| 23 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 24 | [AlgebraicGeometry.IsNoetherian S.left] [IsIntegral N.left] [Smooth N.hom] |
| 25 | [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] |
| 26 | (k : S ⟶ N) [IsFinite k.left] (B : N.left.Opens) |
| 27 | [Nonempty B] [Nonempty (k.left ⁻¹ᵁ B)] [IsAffine (OpenChart.BundleCycles.finiteAffineBase B).left] |
| 28 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 29 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 30 | |
| 31 | local instance finiteAffineSectionParentNoetherian : AlgebraicGeometry.IsNoetherian ((OpenChart.BundleCycles.finiteAffineSource k B)).left := |
| 32 | Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian ((OpenChart.BundleCycles.finiteAffineSourceInclusion k B)).left |
| 33 | local instance finiteAffineSectionParentTopNonempty : Nonempty (⊤ : ((OpenChart.BundleCycles.finiteAffineSource k B)).left.Opens) := |
| 34 | ⟨⟨genericPoint ((OpenChart.BundleCycles.finiteAffineSource k B)).left, Opens.mem_top _⟩⟩ |
| 35 | |
| 36 | variable (s : Γ(((OpenChart.BundleCycles.finiteAffineBase B)).left, ⊤)) (hsn : ((OpenChart.BundleCycles.finiteAffineSource k B)).left.germToFunctionField ⊤ (((OpenChart.BundleCycles.finiteAffineMap k B)).left.appTop s) ≠ 0) |
| 37 | |
| 38 | variable (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 39 | (hUJ : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenChart.BundleCycles.finiteAffineBaseInclusion B))) |
| 40 | (hgood : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Finite.PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (Finite.ParentSection.BundleCycles.finiteParentRationalFunction (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) (Scheme.germToFunctionField (Over.left (OpenChart.BundleCycles.finiteAffineSource k B)) ⊤ (Scheme.Hom.appTop (Over.Hom.left (OpenChart.BundleCycles.finiteAffineMap k B)) s))) k) |
| 41 | |
| 42 | variable (d : ℕ) (f : MvPolynomial (Fin d) ℂ →ₐ[ℂ] Γ(((OpenChart.BundleCycles.finiteAffineSource k B)).left, ⊤)) (hf : Function.Surjective f) |
| 43 | [IsClosedImmersion (CycleClass.Thom.Affine.SchemeGraph.Constructions.globalGraphSchemeMap (OpenChart.BundleCycles.finiteAffineMap k B) f).left] |
| 44 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 45 | (hb : ∀ y, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) y) ∈ U → CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f y ∈ K) |
| 46 | (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) |
| 47 | |
| 48 | include hf hK hb hgood hsn in |
| 49 | theorem finiteAffine_sectionCup_eq_parentPrincipalClass : |
| 50 | CycleClass.Thom.ImageIntersectionCup.Constructions.imageIntersectionCup (Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) (Finite.SectionSupport.BundleCycles.finiteBaseSectionImage (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s) (Finite.BaseImageClass.BundleCycles.finiteBaseImage_openComplement k U) |
| 51 | (CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (OpenChart.BundleCycles.finiteAffineBase B) s) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (OpenChart.BundleCycles.finiteAffineBase B) s)) |
| 52 | p 1 ((k.left.residueDegree (genericPoint S.left) : ℚ) • Finite.BaseImageClass.BundleCycles.finiteBaseImageCycleClass k p hp U) |
| 53 | (CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s) = |
| 54 | LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRelativeClassMap N U (Set.range (Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) ∩ Set.range (Finite.SectionSupport.BundleCycles.finiteBaseSectionImage (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s)) n (p + 1) hn |
| 55 | (LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRestrictCycle N U (Set.range (Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) ∩ Set.range (Finite.SectionSupport.BundleCycles.finiteBaseSectionImage (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s)) n (Finite.ParentSection.BundleCycles.finiteParentPrincipalCycle k (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) n (Scheme.germToFunctionField (Over.left (OpenChart.BundleCycles.finiteAffineSource k B)) ⊤ (Scheme.Hom.appTop (Over.Hom.left (OpenChart.BundleCycles.finiteAffineMap k B)) s)))) := by |
| 56 | let : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (OpenChart.BundleCycles.finiteAffineSource k B)) := (CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates_closedEmbedding f hf).isEmbedding.metrizableSpace |
| 57 | let : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (OpenChart.BundleCycles.finiteAffineBase B)) := |
| 58 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion (OpenChart.BundleCycles.finiteAffineBaseInclusion B)).isEmbedding.metrizableSpace |
| 59 | let : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (CycleClass.Thom.SchemeDivisor.GraphImage.Constructions.graphTarget (OpenChart.BundleCycles.finiteAffineBase B) d)) := |
| 60 | (CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.IntrinsicAmbient.nativeGraphHomeomorph (OpenChart.BundleCycles.finiteAffineBase B) d).isEmbedding.metrizableSpace |
| 61 | exact Finite.SectionParentClass.BundleCycles.finiteCycle_sectionCup_eq_parentPrincipalClass k p hp (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) (OpenChart.BundleCycles.finiteAffineMap k B) (OpenChart.BundleCycles.finiteAffineBaseInclusion B) (OpenChart.BundleCycles.finiteAffineChart_square k B) |
| 62 | d f hf U hUJ (OpenChart.BundleCycles.finiteAffineChart_covers_fibers k B U hUJ) s hsn |
| 63 | (fun z => hgood.trans (Finite.SectionCommonBoundary.BundleCycles.finitePrincipalCommonOpen_subset_sectionDivisor k (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) (((OpenChart.BundleCycles.finiteAffineMap k B)).left.appTop s) hsn z)) |
| 64 | K hK hb n hn (FiberMeeting.BundleCycles.finiteAffineChart_covers_meeting_supports k B U hUJ n) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | /-! Every point in the actual common open has (finiteAffineSourceInclusion k B) section-formula neighborhood. The polynomial graph, compact bound, fiber cover, and divisor regularity are all constructed internally. -/ |
| 69 | |
| 70 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 71 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 72 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 73 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions |
| 74 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GraphImage.Constructions |
| 75 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.IntrinsicAmbient |
| 76 | |
| 77 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 78 | [AlgebraicGeometry.IsNoetherian S.left] [IsIntegral N.left] [Smooth N.hom] |
| 79 | [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] |
| 80 | (k : S ⟶ N) [IsFinite k.left] (B : N.left.Opens) |
| 81 | [Nonempty B] [Nonempty (k.left ⁻¹ᵁ B)] [IsAffine (OpenChart.BundleCycles.finiteAffineBase B).left] |
| 82 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 83 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 84 | |
| 85 | local instance finiteSectionNeighborhoodNoetherian : AlgebraicGeometry.IsNoetherian ((OpenChart.BundleCycles.finiteAffineSource k B)).left := |
| 86 | Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian ((OpenChart.BundleCycles.finiteAffineSourceInclusion k B)).left |
| 87 | local instance finiteSectionNeighborhoodTopNonempty : Nonempty (⊤ : ((OpenChart.BundleCycles.finiteAffineSource k B)).left.Opens) := |
| 88 | ⟨⟨genericPoint ((OpenChart.BundleCycles.finiteAffineSource k B)).left, Opens.mem_top _⟩⟩ |
| 89 | |
| 90 | variable (s : Γ(((OpenChart.BundleCycles.finiteAffineBase B)).left, ⊤)) (hsn : ((OpenChart.BundleCycles.finiteAffineSource k B)).left.germToFunctionField ⊤ (((OpenChart.BundleCycles.finiteAffineMap k B)).left.appTop s) ≠ 0) |
| 91 | |
| 92 | variable (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) |
| 93 | |
| 94 | include hsn in |
| 95 | theorem finiteAffine_exists_section_principal_neighborhood (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (OpenChart.BundleCycles.finiteAffineBase B)) |
| 96 | (hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenChart.BundleCycles.finiteAffineBaseInclusion B) x ∈ Finite.PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (Finite.ParentSection.BundleCycles.finiteParentRationalFunction (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) (Scheme.germToFunctionField (Over.left (OpenChart.BundleCycles.finiteAffineSource k B)) ⊤ (Scheme.Hom.appTop (Over.Hom.left (OpenChart.BundleCycles.finiteAffineMap k B)) s))) k) : |
| 97 | ∃ (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 98 | (hUJ : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenChart.BundleCycles.finiteAffineBaseInclusion B))), |
| 99 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenChart.BundleCycles.finiteAffineBaseInclusion B) x ∈ U ∧ |
| 100 | (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Finite.PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (Finite.ParentSection.BundleCycles.finiteParentRationalFunction (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) (Scheme.germToFunctionField (Over.left (OpenChart.BundleCycles.finiteAffineSource k B)) ⊤ (Scheme.Hom.appTop (Over.Hom.left (OpenChart.BundleCycles.finiteAffineMap k B)) s))) k ∧ |
| 101 | CycleClass.Thom.ImageIntersectionCup.Constructions.imageIntersectionCup (Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) (Finite.SectionSupport.BundleCycles.finiteBaseSectionImage (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s) (Finite.BaseImageClass.BundleCycles.finiteBaseImage_openComplement k U) |
| 102 | (CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (OpenChart.BundleCycles.finiteAffineBase B) s) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (OpenChart.BundleCycles.finiteAffineBase B) s)) |
| 103 | p 1 ((k.left.residueDegree (genericPoint S.left) : ℚ) • Finite.BaseImageClass.BundleCycles.finiteBaseImageCycleClass k p hp U) |
| 104 | (CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s) = |
| 105 | LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRelativeClassMap N U (Set.range (Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) ∩ Set.range (Finite.SectionSupport.BundleCycles.finiteBaseSectionImage (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s)) n (p + 1) hn |
| 106 | (LineBundles.Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRestrictCycle N U (Set.range (Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) ∩ Set.range (Finite.SectionSupport.BundleCycles.finiteBaseSectionImage (OpenChart.BundleCycles.finiteAffineBaseInclusion B) U hUJ s)) n |
| 107 | (Finite.ParentSection.BundleCycles.finiteParentPrincipalCycle k (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) n (Scheme.germToFunctionField (Over.left (OpenChart.BundleCycles.finiteAffineSource k B)) ⊤ (Scheme.Hom.appTop (Over.Hom.left (OpenChart.BundleCycles.finiteAffineMap k B)) s)))) := by |
| 108 | obtain ⟨d, f, U₀, K, hf, hclosed, hx₀, hU₀, hK, hb⟩ := ChartBounds.BundleCycles.finiteAffineChart_exists_bounded_graph k B x |
| 109 | let : IsClosedImmersion (CycleClass.Thom.Affine.SchemeGraph.Constructions.globalGraphSchemeMap (OpenChart.BundleCycles.finiteAffineMap k B) f).left := hclosed |
| 110 | let U := U₀ ⊓ Finite.PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (Finite.ParentSection.BundleCycles.finiteParentRationalFunction (OpenChart.BundleCycles.finiteAffineSourceInclusion k B) (Scheme.germToFunctionField (Over.left (OpenChart.BundleCycles.finiteAffineSource k B)) ⊤ (Scheme.Hom.appTop (Over.Hom.left (OpenChart.BundleCycles.finiteAffineMap k B)) s))) k |
| 111 | have hUJ : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenChart.BundleCycles.finiteAffineBaseInclusion B)) := fun _ hz => hU₀ hz.1 |
| 112 | refine ⟨U, hUJ, ⟨hx₀, hx⟩, (fun _ hz => hz.2), ?_⟩ |
| 113 | exact finiteAffine_sectionCup_eq_parentPrincipalClass k B p hp s hsn U hUJ (fun _ hz => hz.2) |
| 114 | d f hf K hK (fun y hy => hb y hy.1) n hn |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.Divisors.LineBundles.FiniteAffine.SectionNeighborhood.BundleCycles |