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.FiniteSupport.CycleTrace |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.CompactTraceDetection |
| 3 | |
| 4 | /-! # Cycle Class Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.CycleClassZero.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite morphisms preserve vanishing of the canonical class of a |
| 11 | finite cycle, with all actual residue-field degrees in its image cycle. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions |
| 15 | |
| 16 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 17 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 18 | [IsIntegral Y.left] [Smooth Y.hom] |
| 19 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 20 | (f : X ⟶ Y) [IsFinite f.left] {I : Type} [Fintype I] (Z : I → IrreducibleCloseds X.left) |
| 21 | |
| 22 | def finiteCycleOmittedBoundary : Closeds Y.left := |
| 23 | ⟨⋃ i, (FiniteSupport.Cover.BundleCycles.finiteSupportOmittedBoundary f (Z i) : Set Y.left), |
| 24 | isClosed_iUnion_of_finite (fun i => (FiniteSupport.Cover.BundleCycles.finiteSupportOmittedBoundary f (Z i)).isClosed)⟩ |
| 25 | |
| 26 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 27 | theorem finiteCycleOmittedBoundary_codimension (q : ℕ) |
| 28 | (hB : ∀ i, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f (Z i)) Y.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 29 | (A : IrreducibleCloseds Y.left) (hA : (A : Set Y.left) ⊆ finiteCycleOmittedBoundary f Z) : |
| 30 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A Y.hom + (q + 1) ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom := by |
| 31 | have hη := A.isIrreducible.isGenericPoint_genericPoint A.isClosed |
| 32 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (hA hη.mem) |
| 33 | apply FiniteSupport.Cover.BundleCycles.finiteSupportOmittedBoundary_codimension f (Z i) q (hB i) A |
| 34 | rw [← hη.def] |
| 35 | exact closure_minimal (Set.singleton_subset_iff.mpr hi) (FiniteSupport.Cover.BundleCycles.finiteSupportOmittedBoundary f (Z i)).isClosed |
| 36 | |
| 37 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 38 | theorem finiteCycleRetainedOpen_subset (i : I) : |
| 39 | (CycleClass.Thom.ProperImage.AnalyticRestriction.Constructions.Construction.schemeAnalyticOpen Y (finiteCycleOmittedBoundary f Z).compl : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) ⊆ |
| 40 | FiniteSupport.Cover.BundleCycles.finiteSupportRetainedOpen f (Z i) := by |
| 41 | intro x hx hbad |
| 42 | exact hx (Set.mem_iUnion.mpr ⟨i, hbad⟩) |
| 43 | |
| 44 | theorem finiteCycleClass_zero_of_source_zero |
| 45 | (p q : ℕ) |
| 46 | (hZ : ∀ i, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Z i) X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 47 | (hB : ∀ i, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f (Z i)) Y.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 48 | (a : I → ℚ) |
| 49 | (hzero : ∑ i, a i • Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass X (Z i) p (hZ i) = 0) |
| 50 | (n : ℕ) (hp : 2 * p + n = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 51 | (hq : 2 * q + n = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) : |
| 52 | ∑ i, a i • ((f.left.residueDegree (irreducibleSetEquivPoints (Z i)) : ℚ) • |
| 53 | Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f (Z i)) q (hB i)) = 0 := by |
| 54 | apply Scheme.CompactTraceDetection.BundleCycles.schemeCohomology_zero_of_compactTrace_outside_closed Y (finiteCycleOmittedBoundary f Z) (q + 1) |
| 55 | (finiteCycleOmittedBoundary_codimension f Z q hB) (2 * q) n hq (by omega) |
| 56 | intro L hL b |
| 57 | let bX := AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 58 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ⁻¹' (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)), FiniteSupport.CycleTrace.BundleCycles.finiteSupport_compactPreimage f L⟩ n |
| 59 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 60 | (A := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ⁻¹' (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)))ᶜ) |
| 61 | (B := (L : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ) (fun _ hx => hx) n b) |
| 62 | let sourceEval : Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X (2 * p) →ₗ[ℚ] ℚ := |
| 63 | (LinearMap.applyₗ' ℚ bX).comp |
| 64 | (AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 65 | (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (2 * p) n hp) |
| 66 | let targetEval : Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) Y (2 * q) →ₗ[ℚ] ℚ := |
| 67 | (LinearMap.applyₗ' ℚ |
| 68 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) L n b)).comp |
| 69 | (AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 70 | (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (2 * q) n hq) |
| 71 | have hz := congrArg sourceEval hzero |
| 72 | simp only [map_sum, map_smul, map_zero] at hz |
| 73 | change targetEval (∑ i, a i • ((f.left.residueDegree (irreducibleSetEquivPoints (Z i)) : ℚ) • |
| 74 | Scheme.AbsoluteCycleClass.BundleCycles.schemeAbsoluteCycleClass Y (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport f (Z i)) q (hB i))) = 0 |
| 75 | simp only [map_sum, map_smul] |
| 76 | refine (Finset.sum_congr rfl ?_).trans hz |
| 77 | intro i _ |
| 78 | exact congrArg (fun t => a i • t) |
| 79 | (FiniteSupport.CycleTrace.BundleCycles.finiteSupport_cycle_compactTrace f (Z i) p q (hZ i) (hB i) n hp hq L |
| 80 | (hL.trans (finiteCycleRetainedOpen_subset f Z i)) b).symm |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.CycleClassZero.BundleCycles |