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.Open.SupportGenericPoint |
| 3 | |
| 4 | /-! # Support Open Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportOpenCycle.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! # LineBundleCycles: the actual induced map of prime supports under an open immersion is an open immersion -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | theorem reducedSupportι_eqToHom {X : Scheme.{0}} {W V : IrreducibleCloseds X} (h : W = V) : |
| 17 | eqToHom (congrArg CycleClass.Geometric.GenericPoint.reducedSupportScheme h) ≫ CycleClass.Geometric.GenericPoint.reducedSupportι V = CycleClass.Geometric.GenericPoint.reducedSupportι W := by |
| 18 | subst V |
| 19 | simp |
| 20 | |
| 21 | variable {X Y : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] |
| 22 | (i : X ⟶ Y) [IsOpenImmersion i] (x : X) |
| 23 | |
| 24 | theorem pointSupportMap_open_factorization : |
| 25 | SupportMap.BundleCycles.pointSupportMap i x = |
| 26 | eqToHom (congrArg CycleClass.Geometric.GenericPoint.reducedSupportScheme (Open.SupportGenericPoint.BundleCycles.openRestrictedSupport_pointClosure i x).symm) ≫ |
| 27 | Open.SupportRestriction.BundleCycles.openRestrictedSupportMap i (irreducibleSetEquivPoints.symm (i x)) := by |
| 28 | apply (cancel_mono (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i x)))).mp |
| 29 | rw [SupportMap.BundleCycles.pointSupportMap_inclusion, Category.assoc, Open.SupportRestriction.BundleCycles.openRestrictedSupportMap_inclusion, |
| 30 | ← Category.assoc, reducedSupportι_eqToHom] |
| 31 | exact (Open.SupportGenericPoint.BundleCycles.openRestrictedSupport_pointClosure i x).symm |
| 32 | |
| 33 | instance pointSupportMap_open_isOpenImmersion : IsOpenImmersion (SupportMap.BundleCycles.pointSupportMap i x) := by |
| 34 | rw [pointSupportMap_open_factorization i x] |
| 35 | infer_instance |
| 36 | |
| 37 | instance pointSupportFunctionFieldMap_open_isIso : IsIso (SupportMap.BundleCycles.pointSupportFunctionFieldMap i x) := |
| 38 | inferInstanceAs (IsIso (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (SupportMap.BundleCycles.pointSupportMap i x))) |
| 39 | |
| 40 | omit [IsOpenImmersion i] in |
| 41 | theorem pointSupportMap_open_preimage (U : Y.Opens) : |
| 42 | (SupportMap.BundleCycles.pointSupportMap i x) ⁻¹ᵁ ((CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i x))) ⁻¹ᵁ U) = |
| 43 | (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) ⁻¹ᵁ (i ⁻¹ᵁ U) := |
| 44 | congrArg (fun f => f ⁻¹ᵁ U) (SupportMap.BundleCycles.pointSupportMap_inclusion i x) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | /-! # LineBundleCycles: open restriction commutes with the actual cycle inclusion from a prime support -/ |
| 49 | |
| 50 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 51 | |
| 52 | variable {X Y : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] |
| 53 | (i : X ⟶ Y) [IsOpenImmersion i] (x : X) |
| 54 | |
| 55 | theorem pointSupportOpen_pointCycle |
| 56 | (z : CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm (i x)) →₀ ℚ) : |
| 57 | Finsupp.comapDomain i |
| 58 | (Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i x))) z) |
| 59 | i.isOpenEmbedding.injective.injOn = |
| 60 | Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) |
| 61 | (Finsupp.comapDomain (SupportMap.BundleCycles.pointSupportMap i x) z (SupportMap.BundleCycles.pointSupportMap i x).isOpenEmbedding.injective.injOn) := by |
| 62 | ext y |
| 63 | by_cases hy : y ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) |
| 64 | · obtain ⟨w, rfl⟩ := hy |
| 65 | have hp := congrArg (fun f => f w) (SupportMap.BundleCycles.pointSupportMap_inclusion i x) |
| 66 | change CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i x)) (SupportMap.BundleCycles.pointSupportMap i x w) = |
| 67 | i (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x) w) at hp |
| 68 | change Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i x))) z |
| 69 | (i (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x) w)) = _ |
| 70 | rw [← hp, |
| 71 | Finsupp.mapDomain_apply_of_injective (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i x))).isClosedEmbedding.injective, |
| 72 | Finsupp.mapDomain_apply_of_injective (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)).isClosedEmbedding.injective] |
| 73 | rfl |
| 74 | · have hi : i y ∉ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i x))) := by |
| 75 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 76 | intro h |
| 77 | apply hy |
| 78 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι, ← Open.SupportGenericPoint.BundleCycles.openRestrictedSupport_pointClosure i x, Open.SupportRestriction.BundleCycles.openRestrictedSupport_coe] |
| 79 | exact h |
| 80 | exact (Finsupp.mapDomain_of_notMem_range _ _ hi).trans |
| 81 | (Finsupp.mapDomain_of_notMem_range _ _ hy).symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportOpenCycle.BundleCycles |