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.Principal.FiberOrdinaryClass |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Support.SectionNonzero |
| 3 | |
| 4 | /-! # Fiber Open Cycle Class -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.FiberOpenCycleClass.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The principal-fiber comparison extends to every finite cycle closed from an actual section-nonvanishing open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 14 | |
| 15 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 16 | [IsIntegral Y.left] [Smooth Y.hom] |
| 17 | [AlgebraicGeometry.IsNoetherian X.left] [AlgebraicGeometry.IsNoetherian Y.left] |
| 18 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 19 | (i : X ⟶ Y) [IsClosedImmersion i.left] (s : Γ(Y.left, ⊤)) |
| 20 | (hzero : Set.range i.left = (Y.left.basicOpen s : Set Y.left)ᶜ) |
| 21 | (hi : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + 1 = Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 22 | (hlocal : ∀ x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X, ∃ (U : Y.left.Opens), IsAffineOpen U ∧ |
| 23 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x ∈ CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen Y U ∧ |
| 24 | RingHom.ker (i.left.app U).hom = Ideal.span {Y.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s}) |
| 25 | {U : Scheme} [AlgebraicGeometry.IsNoetherian U] (j : U ⟶ Y.left) [IsOpenImmersion j] |
| 26 | (hj : Set.range j ⊆ Y.left.basicOpen s) (d p : ℕ) |
| 27 | (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 28 | |
| 29 | include hi hd in |
| 30 | omit [AlgebraicGeometry.IsNoetherian X.left] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 31 | theorem principalFiberClosure_codimension : (d + 1) + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom := by |
| 32 | have h := Closed.SupportedImageGenerator.BundleCycles.closedSupportedImage_codimension d 1 p hi hd |
| 33 | omega |
| 34 | |
| 35 | include hzero hlocal hj in |
| 36 | theorem principalFiber_absoluteClass_openExtension |
| 37 | (c : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (j ≫ Y.hom) (d + 1) →₀ ℚ) : |
| 38 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (2 * p) i |
| 39 | (LineBundles.Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass Y (d + 1) p (principalFiberClosure_codimension hi d p hd) |
| 40 | (Open.CycleRestriction.BundleCycles.openDimensionCycleExtension j Y.hom (d + 1) c)) = |
| 41 | LineBundles.Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass X d p hd |
| 42 | (DimensionChow.BundleCycles.dimensionCycleTransport i.w d (CartierFiber.BundleCycles.principalCartierFiberCycleMap i.left s Y.hom d |
| 43 | (Open.CycleRestriction.BundleCycles.openDimensionCycleExtension j Y.hom (d + 1) c))) := by |
| 44 | classical |
| 45 | let K : Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) Y (2 * p) →ₗ[ℚ] Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X (2 * p) := |
| 46 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) (2 * p) i).hom |
| 47 | change K (LineBundles.Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass Y (d + 1) p (principalFiberClosure_codimension hi d p hd) |
| 48 | (Open.CycleRestriction.BundleCycles.openDimensionCycleExtension j Y.hom (d + 1) c)) = _ |
| 49 | induction c using Finsupp.induction_linear with |
| 50 | | zero => simp only [map_zero] |
| 51 | | add c e hc he => simp only [map_add, hc, he] |
| 52 | | single x r => |
| 53 | let y := Open.CycleRestriction.BundleCycles.openDimensionPointEmbedding j Y.hom (d + 1) x |
| 54 | have hcl : Open.CycleRestriction.BundleCycles.openDimensionCycleExtension j Y.hom (d + 1) (Finsupp.single x r) = Finsupp.single y r := |
| 55 | Finsupp.mapDomain_single |
| 56 | have hpcl : CartierFiber.BundleCycles.principalCartierFiberCycleMap i.left s Y.hom d (Finsupp.single y r) = |
| 57 | r • CartierFiber.BundleCycles.principalCartierFiberCycle i.left s Y.hom d y := Finsupp.linearCombination_single ℚ r y |
| 58 | rw [hcl, hpcl, LineBundles.Scheme.GradedAbsoluteClass.BundleCycles.schemeGradedAbsoluteCycleClass_single, map_smul, map_smul, map_smul] |
| 59 | exact congrArg (fun b => r • b) |
| 60 | (FiberOrdinaryClass.BundleCycles.principalFiber_absoluteClass_pullback i s d p y hd hzero hi hlocal |
| 61 | (Support.SectionNonzero.BundleCycles.supportRegularFunction_pointClosure_ne_zero j s hj x.val)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.FiberOpenCycleClass.BundleCycles |