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.Relative.CartierBaseChange |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.IdealPullbackIso |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.CartierChowIntersection |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.SeparatedChowIso |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.PulledSupport |
| 6 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.ChartsPullback |
| 7 | |
| 8 | /-! # Cartier Fiber Point -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CartierFiberPoint.BundleCycles |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Intersecting an actual integral fiber support with a relative |
| 15 | Cartier ideal gives minus the corresponding divisor fiber support. -/ |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 20 | |
| 21 | variable {E X D : Scheme.{0}} [AlgebraicGeometry.IsNoetherian E] |
| 22 | [AlgebraicGeometry.IsNoetherian X] [E.IsSeparated] |
| 23 | (p : E ⟶ X) [Smooth p] [GeometricallyIntegral p] |
| 24 | (s : D ⟶ E) [IsClosedImmersion s] [Smooth (s ≫ p)] [GeometricallyIntegral (s ≫ p)] |
| 25 | (hs : Cartier.IdealBundle.Cycles.HasRegularPrincipalImageIdeals s) |
| 26 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 27 | (r : ℕ) (h : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank p (r + 1)) |
| 28 | |
| 29 | include h in |
| 30 | theorem relativeCartierIdeal_fiber_point (d : ℕ) (x : X) |
| 31 | (hx : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f = d) : |
| 32 | LineBundle.SeparatedChow.Cycles.separatedLineBundleChowIntersection (Cartier.IdealBundle.Cycles.cartierIdealLineBundle s hs) (p ≫ f) (d + r) |
| 33 | (Point.CycleChow.BundleCycles.pointCycleToChowQ (p ≫ f) ((d + r) + 1) (Finsupp.single (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint p x) 1)) = |
| 34 | -Point.CycleChow.BundleCycles.pointCycleToChowQ (p ≫ f) (d + r) (Finsupp.single (s (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (s ≫ p) x)) 1) := by |
| 35 | let W := irreducibleSetEquivPoints.symm x |
| 36 | let k := CycleClass.Geometric.GenericPoint.reducedSupportι W |
| 37 | let A := pullback p k |
| 38 | let a : A ⟶ E := pullback.fst p k |
| 39 | let q : A ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme W := pullback.snd p k |
| 40 | let : AlgebraicGeometry.IsNoetherian A := Integral.PulledSupport.BundleCycles.integralPulledSupportScheme_isNoetherian p W |
| 41 | let : IsIntegral A := Integral.PulledSupport.BundleCycles.integralPulledSupportScheme_isIntegral p W |
| 42 | let : A.IsSeparated := ⟨by rw [← terminal.comp_from a]; infer_instance⟩ |
| 43 | let B := pullback a s |
| 44 | let j : B ⟶ A := pullback.fst a s |
| 45 | let b : B ⟶ D := pullback.snd a s |
| 46 | have hp : IsPullback (j ≫ q) b k (s ≫ p) := |
| 47 | (IsPullback.of_hasPullback a s).paste_horiz (IsPullback.of_hasPullback p k).flip |
| 48 | let : Smooth (j ≫ q) := MorphismProperty.of_isPullback hp.flip inferInstance |
| 49 | let : GeometricallyIntegral (j ≫ q) := MorphismProperty.of_isPullback hp.flip inferInstance |
| 50 | let : IsLocallyNoetherian B := LocallyOfFiniteType.isLocallyNoetherian (j ≫ q) |
| 51 | let : IsIntegral B := GeometricallyIntegral.isIntegral_of_isLocallyNoetherian (j ≫ q) |
| 52 | have hj := CartierBaseChange.BundleCycles.relativeCartier_regularPrincipalImageIdeals_baseChange p q a k |
| 53 | (IsPullback.of_hasPullback p k) s j b (IsPullback.of_hasPullback a s) hs |
| 54 | have he := Cartier.IdealPullbackIso.BundleCycles.cartierIdealPullbackIso s j a b (IsPullback.of_hasPullback a s) hs hj |
| 55 | have hk : k (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) = x := |
| 56 | (CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq W).trans (irreducibleSetEquivPoints.apply_symm_apply x) |
| 57 | have ha : a (genericPoint A) = Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint p x := by |
| 58 | have H := Integral.FiberOpen.BundleCycles.integralFiberGenericPoint_naturality p q k a (IsPullback.of_hasPullback p k).flip |
| 59 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) |
| 60 | rw [Integral.FiberFieldNaturality.BundleCycles.integralFiberGenericPoint_generic, hk] at H |
| 61 | exact H |
| 62 | have hb : b (genericPoint B) = Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (s ≫ p) x := by |
| 63 | have H := Integral.FiberOpen.BundleCycles.integralFiberGenericPoint_naturality (s ≫ p) (j ≫ q) k b hp |
| 64 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) |
| 65 | rw [Integral.FiberFieldNaturality.BundleCycles.integralFiberGenericPoint_generic, hk] at H |
| 66 | exact H |
| 67 | have hf : a ≫ (p ≫ f) = q ≫ (k ≫ f) := by |
| 68 | rw [← Category.assoc, pullback.condition, Category.assoc] |
| 69 | have hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (a ≫ (p ≫ f)) = (d + r) + 1 := by |
| 70 | have H := AffineSpace.SourceRank.BundleCycles.affineSpaceSourceFiberGenericPoint_dimension q (k ≫ f) (r + 1) (h.baseChange k) |
| 71 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) |
| 72 | rw [Integral.FiberFieldNaturality.BundleCycles.integralFiberGenericPoint_generic, LineBundle.GenericClass.Cycles.genericPointSupport_dimension, LineBundle.GenericClass.Cycles.genericPointSupport_dimension] at H |
| 73 | rw [hf, H] |
| 74 | exact congrArg (fun n => n + (r + 1)) hx |
| 75 | have H := LineBundle.SeparatedChowPower.Cycles.separatedLineBundleChowIntersection_proper_projection a (p ≫ f) |
| 76 | (Cartier.IdealBundle.Cycles.cartierIdealLineBundle s hs) (d + r) |
| 77 | (Point.CycleChow.BundleCycles.pointCycleToChowQ (a ≫ (p ≫ f)) ((d + r) + 1) (Finsupp.single (genericPoint A) 1)) |
| 78 | rw [LineBundle.GenericClass.Cycles.separatedLineBundleChowIntersection_generic A _ _ (d + r) hd, |
| 79 | Proper.ChowNe.BundleCycles.properChowPushforward_pointClass, IsomorphismDivisorPushforward.BundleCycles.pointPushforward_eq_mapDomain_of_immersion a, |
| 80 | Finsupp.mapDomain_single, ha] at H |
| 81 | have hClass := LineBundle.IsoDivisor.Cycles.lineBundleIso_chowClass he (a ≫ (p ≫ f)) (d + r) hd |
| 82 | have hjb : a (j (genericPoint B)) = s (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (s ≫ p) x) := |
| 83 | (congrArg (fun k : B ⟶ E => k (genericPoint B)) (pullback.condition (f := a) (g := s))).trans |
| 84 | (congrArg s hb) |
| 85 | rw [← H, hClass, Integral.CartierChowIntersection.BundleCycles.integralCartierIdeal_chowClass j hj (a ≫ (p ≫ f)) (d + r) hd, |
| 86 | map_neg, Proper.ChowNe.BundleCycles.properChowPushforward_pointClass, IsomorphismDivisorPushforward.BundleCycles.pointPushforward_eq_mapDomain_of_immersion a, |
| 87 | Finsupp.mapDomain_single, hjb] |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CartierFiberPoint.BundleCycles |