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.Open.SupportRestriction |
| 2 | |
| 3 | /-! # Support Point Cycle -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportPointCycle.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # LineBundleCycles: open restriction of the full finite cycle pushed from a closed integral support -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 12 | |
| 13 | variable {X Y : Scheme.{0}} (i : X ⟶ Y) [IsOpenImmersion i] (W : IrreducibleCloseds Y) |
| 14 | |
| 15 | theorem openRestrictedSupport_pointCycle [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i W)] |
| 16 | (z : CycleClass.Geometric.GenericPoint.reducedSupportScheme W →₀ ℚ) : |
| 17 | Finsupp.comapDomain i (Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι W) z) i.isOpenEmbedding.injective.injOn = |
| 18 | Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W)) |
| 19 | (Finsupp.comapDomain (SupportRestriction.BundleCycles.openRestrictedSupportMap i W) z |
| 20 | (SupportRestriction.BundleCycles.openRestrictedSupportMap i W).isOpenEmbedding.injective.injOn) := by |
| 21 | ext x |
| 22 | by_cases hx : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W)) |
| 23 | · obtain ⟨y, rfl⟩ := hx |
| 24 | have hp : CycleClass.Geometric.GenericPoint.reducedSupportι W (SupportRestriction.BundleCycles.openRestrictedSupportMap i W y) = |
| 25 | i (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W) y) := |
| 26 | congrArg (fun j => j y) (SupportRestriction.BundleCycles.openRestrictedSupportMap_inclusion i W) |
| 27 | change Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι W) z (i (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W) y)) = _ |
| 28 | rw [← hp, Finsupp.mapDomain_apply_of_injective (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective, |
| 29 | Finsupp.mapDomain_apply_of_injective (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W)).isClosedEmbedding.injective] |
| 30 | rfl |
| 31 | · have hi : i x ∉ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by |
| 32 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 33 | intro h |
| 34 | apply hx |
| 35 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι, SupportRestriction.BundleCycles.openRestrictedSupport_coe] |
| 36 | exact h |
| 37 | exact (Finsupp.mapDomain_of_notMem_range _ _ hi).trans |
| 38 | (Finsupp.mapDomain_of_notMem_range _ _ hx).symm |
| 39 | |
| 40 | theorem openRestrictedSupport_pointCycle_empty [IsEmpty (SupportRestriction.BundleCycles.openSupportPullback i W)] |
| 41 | (z : CycleClass.Geometric.GenericPoint.reducedSupportScheme W →₀ ℚ) : |
| 42 | Finsupp.comapDomain i (Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι W) z) i.isOpenEmbedding.injective.injOn = 0 := by |
| 43 | ext x |
| 44 | apply Finsupp.mapDomain_of_notMem_range |
| 45 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 46 | intro hx |
| 47 | exact isEmptyElim (Classical.choice ((SupportRestriction.BundleCycles.openSupportPullback_nonempty_iff i W).mpr ⟨x, hx⟩)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportPointCycle.BundleCycles |