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.DeformationPunctured |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Punctured.DivisorPullback |
| 3 | |
| 4 | /-! # Punctured Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.PuncturedCycle.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The genuine punctured fiber generic points and their complete cycle extension commute with open restriction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X Y : Scheme.{0}} (i : X ⟶ Y) [IsOpenImmersion i] (I : Y.IdealSheafData) |
| 15 | |
| 16 | theorem globalOpenPuncturedMap_genericPoint (x : X) : |
| 17 | DeformationPunctured.BundleCycles.globalOpenPuncturedMap i I (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i) x) = |
| 18 | Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint I (i x) := by |
| 19 | let j := DeformationPunctured.BundleCycles.globalOpenPuncturedMap i I |
| 20 | have h := DeformationPunctured.BundleCycles.globalOpenPuncturedMap_projection i I |
| 21 | have hp : Punctured.DeformationCharts.BundleCycles.puncturedDeformationProjection I (j (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i) x)) = i x := |
| 22 | (congrArg (fun k => k (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i) x)) h).trans |
| 23 | (congrArg i (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint_projection (I.comap i) x)) |
| 24 | have hs := Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint_specializes I (i x) (j (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i) x)) hp |
| 25 | have hm : Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint I (i x) ∈ j.opensRange := |
| 26 | hs.mem_open j.opensRange.isOpen ⟨Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i) x, rfl⟩ |
| 27 | obtain ⟨a, ha⟩ := hm |
| 28 | have hqa : Punctured.DeformationCharts.BundleCycles.puncturedDeformationProjection (I.comap i) a = x := by |
| 29 | apply i.isOpenEmbedding.injective |
| 30 | exact (congrArg (fun k => k a) h).symm.trans |
| 31 | ((congrArg (Punctured.DeformationCharts.BundleCycles.puncturedDeformationProjection I) ha).trans (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint_projection I (i x))) |
| 32 | have ht := (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint_specializes (I.comap i) x a hqa).map j.continuous |
| 33 | exact ((congrArg (fun y => j (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i) x) ⤳ y) ha).mp ht).antisymm hs |>.eq |
| 34 | |
| 35 | theorem puncturedCycleExtension_open (z : Y →₀ ℚ) : |
| 36 | Finsupp.comapDomain (DeformationPunctured.BundleCycles.globalOpenPuncturedMap i I) (Punctured.DivisorPullback.BundleCycles.puncturedCycleExtension I z) |
| 37 | (DeformationPunctured.BundleCycles.globalOpenPuncturedMap i I).isOpenEmbedding.injective.injOn = |
| 38 | Punctured.DivisorPullback.BundleCycles.puncturedCycleExtension (I.comap i) (Finsupp.comapDomain i z i.isOpenEmbedding.injective.injOn) := by |
| 39 | ext a |
| 40 | change Finsupp.mapDomain (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint I) z (DeformationPunctured.BundleCycles.globalOpenPuncturedMap i I a) = |
| 41 | Finsupp.mapDomain (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i)) |
| 42 | (Finsupp.comapDomain i z i.isOpenEmbedding.injective.injOn) a |
| 43 | by_cases ha : a ∈ Set.range (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint (I.comap i)) |
| 44 | · obtain ⟨x, rfl⟩ := ha |
| 45 | rw [globalOpenPuncturedMap_genericPoint, |
| 46 | Finsupp.mapDomain_apply_of_injective (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint_injective I), |
| 47 | Finsupp.mapDomain_apply_of_injective (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint_injective (I.comap i))] |
| 48 | rfl |
| 49 | · have hj : DeformationPunctured.BundleCycles.globalOpenPuncturedMap i I a ∉ Set.range (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint I) := by |
| 50 | rintro ⟨y, hy⟩ |
| 51 | have hb : i (Punctured.DeformationCharts.BundleCycles.puncturedDeformationProjection (I.comap i) a) = y := |
| 52 | (congrArg (fun k => k a) (DeformationPunctured.BundleCycles.globalOpenPuncturedMap_projection i I)).symm.trans |
| 53 | ((congrArg (Punctured.DeformationCharts.BundleCycles.puncturedDeformationProjection I) hy.symm).trans (Punctured.DeformationFlat.BundleCycles.puncturedFiberGenericPoint_projection I y)) |
| 54 | have he := globalOpenPuncturedMap_genericPoint i I (Punctured.DeformationCharts.BundleCycles.puncturedDeformationProjection (I.comap i) a) |
| 55 | rw [hb] at he |
| 56 | exact ha ⟨_, (DeformationPunctured.BundleCycles.globalOpenPuncturedMap i I).isOpenEmbedding.injective (he.trans hy)⟩ |
| 57 | rw [Finsupp.mapDomain_of_notMem_range _ _ hj, Finsupp.mapDomain_of_notMem_range _ _ ha] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.PuncturedCycle.BundleCycles |