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.Closed.SupportImage |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.GlobalSpecialization |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RationalDivisorRestriction |
| 4 | |
| 5 | /-! # Principal Pushforward -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.PrincipalPushforward.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: closed pushforward of the complete principal divisor |
| 13 | |
| 14 | The actual isomorphism between a reduced support and its closed image |
| 15 | identifies their function fields and every local-ring order, including |
| 16 | poles. Pushing the finite divisor therefore gives the genuine principal |
| 17 | divisor of the transported rational function on the image support. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 21 | |
| 22 | /-- Principal divisors transport under the actual function-field isomorphism. -/ |
| 23 | theorem rationalPrincipalDivisor_iso {A B : Scheme} [IsIntegral A] [IsIntegral B] |
| 24 | [AlgebraicGeometry.IsNoetherian A] [AlgebraicGeometry.IsNoetherian B] |
| 25 | (e : A ≅ B) (g : A.functionField) : |
| 26 | Finsupp.mapDomain e.hom (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor A g) = |
| 27 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor B ((RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom).inv g) := by |
| 28 | ext y |
| 29 | obtain ⟨x, rfl⟩ := e.hom.homeomorph.surjective y |
| 30 | have hi : Function.Injective e.hom := e.hom.homeomorph.injective |
| 31 | change Finsupp.mapDomain e.hom (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor A g) (e.hom x) = |
| 32 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor B ((RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom).inv g) (e.hom x) |
| 33 | rw [Finsupp.mapDomain_apply_of_injective hi, RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, |
| 34 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply] |
| 35 | have he : RationalDivisorRestriction.BundleCycles.openFunctionFieldMap e.hom ((RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom).inv g) = g := |
| 36 | Iso.inv_hom_id_apply (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom) g |
| 37 | exact congrArg (fun n : ℤ => (n : ℚ)) |
| 38 | ((congrArg (fun a => A.ord a x) he.symm).trans |
| 39 | (RationalDivisorRestriction.BundleCycles.ord_openImmersion e.hom ((RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom).inv g) x)) |
| 40 | |
| 41 | variable {X Y : Scheme} (i : X ⟶ Y) [IsClosedImmersion i] |
| 42 | |
| 43 | /-- The same rational function on the actual isomorphic closed-image support. -/ |
| 44 | def closedImageRationalFunction (W : TopologicalSpace.IrreducibleCloseds X) |
| 45 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 46 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (SupportImage.BundleCycles.closedImageSupport i W)).functionField := |
| 47 | (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso (SupportImage.BundleCycles.closedSupportImageIso i W).hom).inv g |
| 48 | |
| 49 | theorem closedImageRationalFunction_ne_zero (W : TopologicalSpace.IrreducibleCloseds X) |
| 50 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) : |
| 51 | closedImageRationalFunction i W g ≠ 0 := |
| 52 | (map_ne_zero_iff _ (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso (SupportImage.BundleCycles.closedSupportImageIso i W).hom).inv.hom.injective).mpr hg |
| 53 | |
| 54 | variable [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 55 | |
| 56 | /-- Closed pushforward preserves all coefficients of the actual principal divisor. -/ |
| 57 | theorem closedPushforward_principalPointDivisor (W : TopologicalSpace.IrreducibleCloseds X) |
| 58 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 59 | Finsupp.mapDomain i (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g) = |
| 60 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (SupportImage.BundleCycles.closedImageSupport i W) (closedImageRationalFunction i W g) := by |
| 61 | let e := SupportImage.BundleCycles.closedSupportImageIso i W |
| 62 | change Finsupp.mapDomain i (Finsupp.embDomain |
| 63 | ⟨CycleClass.Geometric.GenericPoint.reducedSupportι W, (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective⟩ |
| 64 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) g)) = |
| 65 | Finsupp.embDomain |
| 66 | ⟨CycleClass.Geometric.GenericPoint.reducedSupportι (SupportImage.BundleCycles.closedImageSupport i W), |
| 67 | (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportImage.BundleCycles.closedImageSupport i W)).isClosedEmbedding.injective⟩ |
| 68 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme (SupportImage.BundleCycles.closedImageSupport i W)) |
| 69 | ((RationalDivisorRestriction.BundleCycles.openFunctionFieldIso e.hom).inv g)) |
| 70 | rw [Finsupp.embDomain_eq_mapDomain, Finsupp.embDomain_eq_mapDomain, ← Finsupp.mapDomain_comp] |
| 71 | have hc : i ∘ CycleClass.Geometric.GenericPoint.reducedSupportι W = CycleClass.Geometric.GenericPoint.reducedSupportι (SupportImage.BundleCycles.closedImageSupport i W) ∘ e.hom := |
| 72 | funext fun x => (congrArg (fun a => a x) (SupportImage.BundleCycles.closedSupportImageIso_inclusion i W)).symm |
| 73 | change Finsupp.mapDomain (i ∘ CycleClass.Geometric.GenericPoint.reducedSupportι W) _ = _ |
| 74 | rw [hc, Finsupp.mapDomain_comp, rationalPrincipalDivisor_iso] |
| 75 | rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.PrincipalPushforward.BundleCycles |