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.Cartier.IsomorphicDivisorBaseChange |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.IsomorphicDivisorDegree |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.SeparatedChowIso |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.PulledSupport |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.ChartsPullback |
| 6 | |
| 7 | /-! # Degree On Support -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.DegreeOnSupport.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The ideal of a Cartier divisor isomorphic to the base has |
| 14 | degree minus one on every integral support of a relative curve. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 19 | |
| 20 | variable {E X D : Scheme.{0}} [AlgebraicGeometry.IsNoetherian E] |
| 21 | [AlgebraicGeometry.IsNoetherian X] [E.IsSeparated] [X.IsSeparated] |
| 22 | (p : E ⟶ X) [IsProper p] [Smooth p] [GeometricallyIntegral p] |
| 23 | (h : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank p 1) |
| 24 | (s : D ⟶ E) [IsClosedImmersion s] [IsIso (s ≫ p)] |
| 25 | (hs : IdealBundle.Cycles.HasRegularPrincipalImageIdeals s) |
| 26 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 27 | |
| 28 | include h in |
| 29 | theorem cartierIsomorphicDivisor_degree_on_support (d : ℕ) (x : X) |
| 30 | (hx : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f = d) : |
| 31 | Proper.ChowNe.BundleCycles.properChowPushforward p f d |
| 32 | (LineBundle.SeparatedChow.Cycles.separatedLineBundleChowIntersection (IdealBundle.Cycles.cartierIdealLineBundle s hs) (p ≫ f) d |
| 33 | (Point.CycleChow.BundleCycles.pointCycleToChowQ (p ≫ f) (d + 1) (Finsupp.single (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint p x) 1))) = |
| 34 | -Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Finsupp.single 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 : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).IsSeparated := ⟨by rw [← terminal.comp_from k]; infer_instance⟩ |
| 44 | let j := IsomorphicDivisorBaseChange.BundleCycles.cartierIsomorphicDivisorBaseChangeInclusion p s k |
| 45 | let B := pullback a s |
| 46 | let : IsIntegral B := IsIntegral.of_isIso (inv (j ≫ q)) |
| 47 | have hj := IsomorphicDivisorBaseChange.BundleCycles.cartierIsomorphicDivisorBaseChange_regular p s k hs |
| 48 | have he := IsomorphicDivisorBaseChange.BundleCycles.cartierIsomorphicDivisorBaseChange_idealIso p s k hs |
| 49 | have hk : k (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) = x := |
| 50 | (CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq W).trans (irreducibleSetEquivPoints.apply_symm_apply x) |
| 51 | have ha : a (genericPoint A) = Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint p x := by |
| 52 | have H := Integral.FiberOpen.BundleCycles.integralFiberGenericPoint_naturality p q k a (IsPullback.of_hasPullback p k).flip |
| 53 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) |
| 54 | rw [Integral.FiberFieldNaturality.BundleCycles.integralFiberGenericPoint_generic, hk] at H |
| 55 | exact H |
| 56 | have hc : a ≫ p = q ≫ k := pullback.condition |
| 57 | have hf : a ≫ (p ≫ f) = q ≫ (k ≫ f) := by rw [← Category.assoc, hc, Category.assoc] |
| 58 | have hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (a ≫ (p ≫ f)) = d + 1 := by |
| 59 | have H := AffineSpace.SourceRank.BundleCycles.affineSpaceSourceFiberGenericPoint_dimension q (k ≫ f) 1 (h.baseChange k) |
| 60 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) |
| 61 | rw [Integral.FiberFieldNaturality.BundleCycles.integralFiberGenericPoint_generic, LineBundle.GenericClass.Cycles.genericPointSupport_dimension, LineBundle.GenericClass.Cycles.genericPointSupport_dimension] at H |
| 62 | rw [hf, H] |
| 63 | exact congrArg (fun n => n + 1) hx |
| 64 | have H := LineBundle.SeparatedChowPower.Cycles.separatedLineBundleChowIntersection_proper_projection a (p ≫ f) |
| 65 | (IdealBundle.Cycles.cartierIdealLineBundle s hs) d |
| 66 | (Point.CycleChow.BundleCycles.pointCycleToChowQ (a ≫ (p ≫ f)) (d + 1) (Finsupp.single (genericPoint A) 1)) |
| 67 | rw [LineBundle.GenericClass.Cycles.separatedLineBundleChowIntersection_generic A _ _ d hd, |
| 68 | Proper.ChowNe.BundleCycles.properChowPushforward_pointClass, IsomorphismDivisorPushforward.BundleCycles.pointPushforward_eq_mapDomain_of_immersion a, |
| 69 | Finsupp.mapDomain_single, ha] at H |
| 70 | have hClass := LineBundle.IsoDivisor.Cycles.lineBundleIso_chowClass he (a ≫ (p ≫ f)) d hd |
| 71 | have hdj : p.residueDegree (a (j (genericPoint B))) = 1 := by |
| 72 | have H := congrArg (fun r : A ⟶ X => r.residueDegree (j (genericPoint B))) hc |
| 73 | simpa only [IntersectionTheory.ProjectionFormula.CyclePushforward.residueDegree_comp, IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle.residueDegree_immersion, one_mul, mul_one, |
| 74 | IsomorphicDivisorDegree.BundleCycles.closedIsomorphicDivisor_residueDegree q j] using H |
| 75 | have hpj : p (a (j (genericPoint B))) = x := by |
| 76 | have H := congrArg (fun r : A ⟶ X => r (j (genericPoint B))) hc |
| 77 | have Hq : q (j (genericPoint B)) = genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) := |
| 78 | genericPoint_eq_of_isOpenImmersion (j ≫ q) |
| 79 | exact H.trans ((congrArg k Hq).trans hk) |
| 80 | rw [← H, hClass, Integral.CartierChowIntersection.BundleCycles.integralCartierIdeal_chowClass j hj (a ≫ (p ≫ f)) d hd, |
| 81 | map_neg, map_neg, Proper.ChowNe.BundleCycles.properChowPushforward_pointClass, |
| 82 | IsomorphismDivisorPushforward.BundleCycles.pointPushforward_eq_mapDomain_of_immersion a, Finsupp.mapDomain_single, |
| 83 | Proper.ChowNe.BundleCycles.properChowPushforward_pointClass, IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single, hdj, Nat.cast_one, mul_one, hpj] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.DegreeOnSupport.BundleCycles |