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.Cartier.IdealEquation |
| 2 | |
| 3 | /-! # Ideal Subopen Equation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.IdealSubopenEquation.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A frame of the actual invertible ideal generates its full |
| 12 | equation ideal on every smaller open, allowing affine stalk computations. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {X Z : Scheme.{0}} (i : Z ⟶ X) [QuasiCompact i] |
| 17 | (hi : IdealBundle.Cycles.HasRegularPrincipalImageIdeals i) |
| 18 | |
| 19 | theorem cartierIdealSubopenEquation_kernel (x : X) (W : X.Opens) |
| 20 | (hW : W ≤ (IdealBundle.Cycles.cartierIdealLineBundle i hi).trivializingOpen x) : |
| 21 | RingHom.ker (i.app W).hom = |
| 22 | Ideal.span {LineBundle.MorphismCoordinate.Cycles.lineBundleMorphismCoordinate (IdealBundle.Cycles.cartierIdealLineBundle i hi) |
| 23 | (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) x W hW} := by |
| 24 | let L := IdealBundle.Cycles.cartierIdealLineBundle i hi |
| 25 | let e := L.sectionFrame x W hW |
| 26 | apply le_antisymm |
| 27 | · intro t ht |
| 28 | let s := (LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionsIso i W).inv ⟨t, ht⟩ |
| 29 | have h₁ := LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionsIso_inv_apply i W ⟨t, ht⟩ |
| 30 | have h₂ := LineBundle.MorphismCoordinate.Cycles.lineBundleMorphismCoordinate_apply L (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) x W hW s |
| 31 | exact Ideal.mem_span_singleton'.mpr ⟨e s, (h₁.symm.trans h₂).symm⟩ |
| 32 | · apply Ideal.span_le.mpr |
| 33 | intro t ht |
| 34 | rcases Set.mem_singleton_iff.mp ht with rfl |
| 35 | change (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i).app W (e.symm 1) ∈ RingHom.ker (i.app W).hom |
| 36 | rw [← LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply i W (e.symm 1)] |
| 37 | exact LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_mem i W _ |
| 38 | |
| 39 | theorem cartierIdealSubopenEquation_ne_zero [IsIntegral X] (x : X) (W : X.Opens) [Nonempty W] |
| 40 | (hW : W ≤ (IdealBundle.Cycles.cartierIdealLineBundle i hi).trivializingOpen x) : |
| 41 | LineBundle.MorphismCoordinate.Cycles.lineBundleMorphismCoordinate (IdealBundle.Cycles.cartierIdealLineBundle i hi) (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) x W hW ≠ 0 := by |
| 42 | intro ht |
| 43 | have he := LineBundle.MorphismRationalCoordinate.Cycles.lineBundleMorphismFieldCoordinate_on_open (IdealBundle.Cycles.cartierIdealLineBundle i hi) |
| 44 | (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) x W hW |
| 45 | rw [ht, map_zero] at he |
| 46 | exact IdealEquation.BundleCycles.cartierIdealMorphismFieldCoordinate_ne_zero i hi x he |
| 47 | |
| 48 | end |
| 49 | |
| 50 | /-! Every local frame of an actual Cartier ideal gives a regular |
| 51 | equation, including on arbitrary smaller opens. -/ |
| 52 | |
| 53 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 54 | |
| 55 | theorem cartierIdealSubopenEquation_regular {X Z : Scheme.{0}} |
| 56 | (i : Z ⟶ X) [QuasiCompact i] (hi : IdealBundle.Cycles.HasRegularPrincipalImageIdeals i) |
| 57 | (x : X) (W : X.Opens) |
| 58 | (hW : W ≤ (IdealBundle.Cycles.cartierIdealLineBundle i hi).trivializingOpen x) : |
| 59 | IsRegular (LineBundle.MorphismCoordinate.Cycles.lineBundleMorphismCoordinate (IdealBundle.Cycles.cartierIdealLineBundle i hi) |
| 60 | (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) x W hW) := by |
| 61 | let L := IdealBundle.Cycles.cartierIdealLineBundle i hi |
| 62 | let e := L.sectionFrame x W hW |
| 63 | let t := LineBundle.MorphismCoordinate.Cycles.lineBundleMorphismCoordinate L (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) x W hW |
| 64 | have hmap (a : Γ(X, W)) : LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear i W (e.symm a) = a * t := by |
| 65 | have h := LineBundle.MorphismCoordinate.Cycles.lineBundleMorphismCoordinate_apply L (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) x W hW (e.symm a) |
| 66 | rw [e.apply_symm_apply] at h |
| 67 | exact (LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply i W (e.symm a)).trans h |
| 68 | have hr : IsRightRegular t := by |
| 69 | intro a b h |
| 70 | apply e.symm.injective |
| 71 | apply LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_injective i W |
| 72 | exact (hmap a).trans (h.trans (hmap b).symm) |
| 73 | exact ⟨fun a b h => hr ((mul_comm _ _).trans (h.trans (mul_comm _ _))), hr⟩ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.IdealSubopenEquation.BundleCycles |