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.Scheme.ClosedCycleGysin |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportAmbientNormalPair |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenImmersion |
| 4 | |
| 5 | /-! # Closed Cycle Image Immersion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedCycleImageImmersion.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On the constructed regular-source neighborhoods, the actual |
| 12 | ambient image of a possibly singular source divisor is a closed |
| 13 | complex immersion of the expected codimension. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions |
| 18 | CycleClass.Thom.Scheme.RegularSupport.Constructions CycleClass.Thom.Scheme.OpenImmersion.Constructions |
| 19 | |
| 20 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 21 | [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 22 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 23 | (i : X ⟶ Y) [IsClosedImmersion i.left] |
| 24 | (Z : IrreducibleCloseds X.left) |
| 25 | |
| 26 | def schemeRegularClosedCycleMap : CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z ⟶ Y := CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X Z ≫ i |
| 27 | |
| 28 | instance schemeRegularClosedCycleMap_immersion : IsImmersion (schemeRegularClosedCycleMap i Z).left := by |
| 29 | change IsImmersion ((CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X Z).left ≫ i.left) |
| 30 | infer_instance |
| 31 | |
| 32 | omit [IsIntegral X.left] [IsIntegral Y.left] [Smooth Y.hom] |
| 33 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] [IsClosedImmersion i.left] in |
| 34 | theorem schemeRegularClosedCycleMap_apply (t : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z)) : |
| 35 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (schemeRegularClosedCycleMap i Z) t = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularInclusion X Z t) := |
| 36 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X Z) i t |
| 37 | |
| 38 | variable (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + p = |
| 39 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 40 | (q : ℕ) (hq : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 41 | (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z)) |
| 42 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularAnalyticModel (Fin p → ℂ) |
| 43 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularComplementInclusion (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularInclusion X Z x)) |
| 44 | (hP : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' P.neighborhood ⊆ (SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair X Z q hq x).neighborhood) |
| 45 | |
| 46 | include hP in |
| 47 | theorem schemeRegularClosedCycleRange : |
| 48 | (Subtype.val ⁻¹' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (schemeRegularClosedCycleMap i Z)) : Set P.openNeighborhood) = |
| 49 | Subtype.val ⁻¹' (ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ := by |
| 50 | classical |
| 51 | ext y |
| 52 | constructor |
| 53 | · rintro ⟨t, ht⟩ |
| 54 | change y.val ∉ ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z |
| 55 | rw [← ht, schemeRegularClosedCycleMap_apply] |
| 56 | exact (ClosedCycleGysin.BundleCycles.schemeClosedCycleImage_mem_iff i Z _).mpr |
| 57 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularInclusion_subset X Z ⟨t, rfl⟩) |
| 58 | · intro hy |
| 59 | have hy' : y.val ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ∘ CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z) := |
| 60 | not_not.mp hy |
| 61 | obtain ⟨t, ht⟩ := hy' |
| 62 | have ht' : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z t) = y.val := ht |
| 63 | have htP : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z t) ∈ P.neighborhood := |
| 64 | ht'.symm ▸ y.property |
| 65 | have htG := SupportAmbientNormalPair.BundleCycles.schemeSupportAmbientPair_avoids_boundary X Z q hq x (hP htP) |
| 66 | have hreg : CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z t ∈ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularInclusion X Z) := by |
| 67 | by_contra hn |
| 68 | apply htG |
| 69 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.analyticBoundary_eq] |
| 70 | exact ⟨⟨t, rfl⟩, hn⟩ |
| 71 | obtain ⟨u, hu⟩ := hreg |
| 72 | refine ⟨u, ?_⟩ |
| 73 | rw [schemeRegularClosedCycleMap_apply, hu] |
| 74 | exact ht |
| 75 | |
| 76 | omit [Smooth Y.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 77 | include hp hq in |
| 78 | theorem schemeClosedCycleImageCodimension : |
| 79 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X Z).hom + (p + q) = |
| 80 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom := by |
| 81 | have hr := CycleClass.Thom.Scheme.RegularSupport.Constructions.regularDimension_eq X Z |
| 82 | have hX := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom |
| 83 | omega |
| 84 | |
| 85 | def schemeLocalClosedCycleImmersion : CycleClass.Thom.Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeManifold Y) P.openNeighborhood) (p + q) := |
| 86 | CycleClass.Thom.Scheme.OpenImmersion.Constructions.restrictedImmersion (schemeRegularClosedCycleMap i Z) P.openNeighborhood (p + q) (schemeClosedCycleImageCodimension Z p hp q hq) (by |
| 87 | rw [schemeRegularClosedCycleRange i Z p hp q hq x P hP] |
| 88 | exact (ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z).isOpen.isClosed_compl.preimage continuous_subtype_val) |
| 89 | |
| 90 | theorem schemeLocalClosedCycleImmersion_range : Set.range (schemeLocalClosedCycleImmersion i Z p hp q hq x P hP).regularComplementInclusion = |
| 91 | Subtype.val ⁻¹' (ClosedCycleGysin.BundleCycles.schemeClosedCycleImageOpen i Z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ := |
| 92 | (CycleClass.Thom.Scheme.OpenImmersion.Constructions.restrictedMap_range (schemeRegularClosedCycleMap i Z) P.openNeighborhood).trans (schemeRegularClosedCycleRange i Z p hp q hq x P hP) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedCycleImageImmersion.BundleCycles |