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.Point.SupportMap |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.MorphismOrderStalk |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.PrincipalRestriction |
| 4 | |
| 5 | /-! # Support Divisor Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportDivisorRestriction.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: complete support-divisor restriction from actual local isomorphisms |
| 13 | |
| 14 | The inclusion square and equality of underlying support sets identify |
| 15 | the coefficients that survive. The actual support-stalk isomorphisms |
| 16 | and preserved coheights identify their native rational orders. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 20 | |
| 21 | variable {X Y : Scheme} [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 22 | (f : X ⟶ Y) (x : X) |
| 23 | |
| 24 | theorem pointSupportPrincipalDivisor_comap (hf : Function.Injective f) |
| 25 | (hsupport : f ⁻¹' (irreducibleSetEquivPoints.symm (f x) : Set Y) = |
| 26 | (irreducibleSetEquivPoints.symm x : Set X)) |
| 27 | [IsIso (SupportMap.BundleCycles.pointSupportFunctionFieldMap f x)] |
| 28 | (hstalk : ∀ z : CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x), |
| 29 | IsIso ((SupportMap.BundleCycles.pointSupportMap f x).stalkMap z)) |
| 30 | (hheight : ∀ z : CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x), |
| 31 | coheight (SupportMap.BundleCycles.pointSupportMap f x z) = coheight z) |
| 32 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm (f x))).functionField) : |
| 33 | Finsupp.comapDomain f (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm (f x)) g) hf.injOn = |
| 34 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) (SupportMap.BundleCycles.pointSupportFunctionFieldMap f x g) := by |
| 35 | ext q |
| 36 | by_cases hq : q ∈ (irreducibleSetEquivPoints.symm x : Set X) |
| 37 | · have hr : q ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) := by |
| 38 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 39 | exact hq |
| 40 | obtain ⟨z, rfl⟩ := hr |
| 41 | have hp := congrArg (fun j => j z) (SupportMap.BundleCycles.pointSupportMap_inclusion f x) |
| 42 | change CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (f x)) (SupportMap.BundleCycles.pointSupportMap f x z) = |
| 43 | f (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x) z) at hp |
| 44 | change Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm (f x)) g |
| 45 | (f (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x) z)) = _ |
| 46 | rw [← hp, Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support, Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support] |
| 47 | let : IsIso ((SupportMap.BundleCycles.pointSupportMap f x).stalkMap z) := hstalk z |
| 48 | let hη := SupportNaturality.BundleCycles.pointSupportMap_genericPoint f x (SupportMap.BundleCycles.pointSupportMap f x) (SupportMap.BundleCycles.pointSupportMap_inclusion f x) |
| 49 | let : IsIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap (SupportMap.BundleCycles.pointSupportMap f x) hη) := |
| 50 | inferInstanceAs (IsIso (SupportMap.BundleCycles.pointSupportFunctionFieldMap f x)) |
| 51 | exact congrArg (fun n : ℤ => (n : ℚ)) |
| 52 | (MorphismOrderStalk.BundleCycles.ord_of_stalkMap_isIso (SupportMap.BundleCycles.pointSupportMap f x) hη z (hheight z) g).symm |
| 53 | · have hq' : f q ∉ (irreducibleSetEquivPoints.symm (f x) : Set Y) := by |
| 54 | intro h |
| 55 | apply hq |
| 56 | exact (congrArg (fun S : Set X => q ∈ S) hsupport).mp h |
| 57 | exact (Open.PrincipalRestriction.BundleCycles.schemePrincipalPointDivisor_off_support (irreducibleSetEquivPoints.symm (f x)) g (f q) hq').trans |
| 58 | (Open.PrincipalRestriction.BundleCycles.schemePrincipalPointDivisor_off_support (irreducibleSetEquivPoints.symm x) |
| 59 | (SupportMap.BundleCycles.pointSupportFunctionFieldMap f x g) q hq).symm |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportDivisorRestriction.BundleCycles |