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.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PicardPullbackId |
| 3 | |
| 4 | /-! # Relative Picard -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RelativePicard |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual line pulled back from the test scheme disappears in the |
| 11 | relative Picard sheaf, by open trivializations and fppf separatedness. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf Opposite _root_.TopologicalSpace |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | |
| 17 | namespace Construction.RelativePicardBaseTwist |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} |
| 21 | |
| 22 | def openObject (T : Over S) (U : T.left.Opens) : Over S := Over.mk (U.ι ≫ T.hom) |
| 23 | |
| 24 | def openInclusion (T : Over S) (U : T.left.Opens) : openObject T U ⟶ T := Over.homMk U.ι |
| 25 | |
| 26 | theorem openCover_mem (T : Over S) {I : Type u} (U : I → T.left.Opens) (hU : IsOpenCover U) : |
| 27 | Sieve.ofArrows (fun i => openObject T (U i)) (fun i => openInclusion T (U i)) ∈ |
| 28 | (Scheme.fppfTopology.over S) T := by |
| 29 | rw [GrothendieckTopology.mem_over_iff, Sieve.overEquiv_ofArrows] |
| 30 | exact (Precoverage.toGrothendieck_mono Scheme.zariskiPrecoverage_le_fppfPrecoverage) |
| 31 | _ (T.left.openCoverOfIsOpenCover U hU).mem_grothendieckTopology |
| 32 | |
| 33 | theorem sections_ext (T : Over S) (F : Sheaf (Scheme.fppfTopology.over S) (Type (u + 1))) |
| 34 | {I : Type u} (U : I → T.left.Opens) (hU : IsOpenCover U) {x y : F.obj.obj (op T)} |
| 35 | (h : ∀ i, F.obj.map (openInclusion T (U i)).op x = F.obj.map (openInclusion T (U i)).op y) : x = y := by |
| 36 | let a : PUnit.{u + 2} ⟶ F.obj.obj (op T) := ↾(fun _ => x) |
| 37 | let b : PUnit.{u + 2} ⟶ F.obj.obj (op T) := ↾(fun _ => y) |
| 38 | have hab : a = b := F.property.hom_ext_ofArrows |
| 39 | (fun i => openInclusion T (U i)) (openCover_mem T U hU) (by |
| 40 | intro i |
| 41 | apply ConcreteCategory.ext_apply |
| 42 | intro z |
| 43 | exact h i) |
| 44 | exact congrArg (fun c => c PUnit.unit) hab |
| 45 | |
| 46 | def baseTwist (A : Over S) {T : Over S} (m : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass T.left) |
| 47 | (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op T)) : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op T) := by |
| 48 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (T ⊗ A).left at q ⊢ |
| 49 | exact AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (fst T A).left m * q |
| 50 | |
| 51 | theorem baseTwist_natural (A : Over S) {T U : Over S} (h : U ⟶ T) |
| 52 | (m : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass T.left) (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op T)) : |
| 53 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).map h.op (baseTwist A m q) = |
| 54 | baseTwist A (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass h.left m) ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).map h.op q) := by |
| 55 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (T ⊗ A).left at q |
| 56 | change Quotients.FiniteDescent.PicardPullbackId.Construction.PicardPullback.map (h ⊗ₘ 𝟙 A).left |
| 57 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (fst T A).left m * q) = _ |
| 58 | rw [map_mul] |
| 59 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (h ⊗ₘ 𝟙 A).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (fst T A).left m) * _ = |
| 60 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (fst U A).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass h.left m) * _ |
| 61 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 62 | have he : (h ⊗ₘ 𝟙 A).left ≫ (fst T A).left = (fst U A).left ≫ h.left := |
| 63 | congrArg Over.Hom.left (tensorHom_fst h (𝟙 A)) |
| 64 | rw [he] |
| 65 | rfl |
| 66 | |
| 67 | theorem baseTwist_trivial (A : Over S) {T : Over S} (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op T)) : |
| 68 | baseTwist A (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass T.left) q = q := by |
| 69 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (T ⊗ A).left at q |
| 70 | unfold baseTwist |
| 71 | rw [AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_trivial] |
| 72 | exact one_mul q |
| 73 | |
| 74 | theorem toRelativePicard_baseTwist (A : Over S) {T : Over S} (M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle T.left) |
| 75 | (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op T)) : |
| 76 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (op T) (baseTwist A (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M) q) = |
| 77 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (op T) q := by |
| 78 | choose U hx he using M.locallyTrivial |
| 79 | have hU : IsOpenCover U := by |
| 80 | apply top_unique |
| 81 | intro x _ |
| 82 | exact Opens.mem_iSup.mpr ⟨x, hx x⟩ |
| 83 | apply sections_ext T (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf A) U hU |
| 84 | intro i |
| 85 | rw [← (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).naturality_apply, ← (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).naturality_apply] |
| 86 | apply congrArg ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (op (openObject T (U i)))) |
| 87 | rw [baseTwist_natural] |
| 88 | have hi : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (openInclusion T (U i)).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M) = |
| 89 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass (openObject T (U i)).left := Quotient.sound (he i) |
| 90 | rw [hi, baseTwist_trivial] |
| 91 | |
| 92 | theorem toRelativePicard_baseTwist_class (A : Over S) {T : Over S} (m : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass T.left) |
| 93 | (q : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op T)) : |
| 94 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (op T) (baseTwist A m q) = (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (op T) q := by |
| 95 | induction m using Quotient.inductionOn with |
| 96 | | h M => exact toRelativePicard_baseTwist A M q |
| 97 | |
| 98 | end Construction.RelativePicardBaseTwist |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RelativePicard |