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.AbsoluteOpenPullback |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportGenericPoint |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedAbsoluteClass |
| 4 | |
| 5 | /-! # Empty Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.EmptyPullback.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A canonical cycle class restricts to zero on an actual open |
| 12 | that misses its support, including every omitted graded generic point. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 16 | |
| 17 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral Y.left] [Smooth Y.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 19 | (f : X ⟶ Y) (B : IrreducibleCloseds Y.left) (p : ℕ) |
| 20 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension B Y.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 21 | |
| 22 | theorem schemeAbsoluteCycleClass_pullback_empty |
| 23 | (hempty : f.left ⁻¹' (B : Set Y.left) = ∅) : |
| 24 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (2 * p) f (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass Y B p hp) = 0 := by |
| 25 | let TX := TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 26 | let TY := TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) |
| 27 | let A := (∅ : Set TX)ᶜ |
| 28 | let C := (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y B))ᶜ |
| 29 | have hm : Set.MapsTo (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) A C := by |
| 30 | intro x _ hx |
| 31 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion_range] at hx |
| 32 | have h : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ f.left ⁻¹' (B : Set Y.left) := hx |
| 33 | rw [hempty] at h |
| 34 | exact h |
| 35 | let c := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) hm |
| 36 | (2 * p) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y B p hp) |
| 37 | have h := ConcreteCategory.congr_hom |
| 38 | (CycleClass.Geometric.RelativeCohomologyExtensionNaturality.Cohomology.relativeCohomologyInclusion_naturality (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) hm (2 * p)) |
| 39 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y B p hp) |
| 40 | have hz := (CycleClass.Geometric.ClosedSupportFiltration.Cycles.cohomologyWithEmptySupport_isZero (ModuleCat.of ℚ ℚ) TX (2 * p)).eq_of_src |
| 41 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) TX A (2 * p)) 0 |
| 42 | exact h.symm.trans ((ConcreteCategory.congr_hom hz c).trans rfl) |
| 43 | |
| 44 | theorem schemeCycleClass_pullback_empty |
| 45 | (hempty : f.left ⁻¹' (B : Set Y.left) = ∅) : |
| 46 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) f (Scheme.AbsoluteCycleClass.BundleCycles.schemeCycleClass Y B p hp) = 0 := by |
| 47 | change Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (p + p) f |
| 48 | (cast (congrArg (fun n => (Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) Y n : Type)) (two_mul p)) |
| 49 | (Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass Y B p hp)) = _ |
| 50 | rw [Scheme.AbsoluteProjection.BundleCycles.schemeBettiMap_cast (ModuleCat.of ℚ ℚ) f (two_mul p), schemeAbsoluteCycleClass_pullback_empty f B p hp hempty] |
| 51 | exact (Scheme.GradedAbsoluteClass.BundleCycles.schemeBettiDegreeEquiv_apply X (two_mul p) 0).symm.trans (map_zero _) |
| 52 | |
| 53 | omit [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 54 | theorem openSupport_preimage_empty_of_generic_not_mem [IsOpenImmersion f.left] |
| 55 | (hB : irreducibleSetEquivPoints B ∉ Set.range f.left) : f.left ⁻¹' (B : Set Y.left) = ∅ := by |
| 56 | apply Set.eq_empty_iff_forall_notMem.mpr |
| 57 | intro x hx |
| 58 | exact hB ((Open.SupportGenericPoint.BundleCycles.openSupportPullback_nonempty_generic f.left B).mp |
| 59 | ((Open.SupportRestriction.BundleCycles.openSupportPullback_nonempty_iff f.left B).mpr ⟨x, hx⟩)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.EmptyPullback.BundleCycles |