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.ReferenceFamily.LineFrameAtlas |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalSheaf |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.Frames |
| 4 | |
| 5 | /-! # Line Frame Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Constructed.LineFrameCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every original line bundle has an actual affine frame cover. |
| 12 | Its native local frames supply their compatible regular-function |
| 13 | transition cocycle on the original covering opens. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | variable {X : Scheme.{0}} {I : Type} {M : X.Modules} |
| 18 | |
| 19 | def localLineFrameNaturalFrames (s : I → LineFrameAtlas.LocalLineFrame M) : |
| 20 | HilbertConstruction.NaturalSheaf.NaturalSheafFrames (fun i => (s i).domain) M where |
| 21 | frame V i hi := ((s i).coordinates V hi).symm |
| 22 | restrict V W h i hi r := by |
| 23 | apply ((s i).coordinates W (h.trans hi)).injective |
| 24 | rw [(s i).coordinates_restrict h hi, LinearEquiv.apply_symm_apply, LinearEquiv.apply_symm_apply] |
| 25 | |
| 26 | theorem localLineFrameNaturalFrames_transition (s : I → LineFrameAtlas.LocalLineFrame M) (V : X.Opens) |
| 27 | (i j : I) (hi : V ≤ (s i).domain) (hj : V ≤ (s j).domain) : |
| 28 | (localLineFrameNaturalFrames s).transitions.value V i j hi hj = |
| 29 | (s i).transition (s j) V hi hj := by |
| 30 | apply Units.ext |
| 31 | rfl |
| 32 | |
| 33 | structure LineBundleAffineFrameCover (L : HilbertConstruction.Line.Bundles.LineBundle X) where |
| 34 | cover : X.AffineOpenCover |
| 35 | frame : ∀ i : cover.I₀, |
| 36 | L.sheaf.restrict (cover.f i).opensRange.ι ≅ HilbertConstruction.Line.Bundles.structureModule (cover.f i).opensRange.toScheme |
| 37 | |
| 38 | def lineBundleAffineFrameCover (L : HilbertConstruction.Line.Bundles.LineBundle X) : LineBundleAffineFrameCover L := by |
| 39 | classical |
| 40 | choose V hx ha he using L.exists_affine_frame |
| 41 | have hV : IsOpenCover V := by |
| 42 | rw [IsOpenCover] |
| 43 | apply top_unique |
| 44 | intro x _ |
| 45 | exact Opens.mem_iSup.mpr ⟨x, hx x⟩ |
| 46 | let U := Scheme.AffineOpenCover.ofIsOpenCover V hV ha |
| 47 | refine ⟨U, fun i => ?_⟩ |
| 48 | have hi : (U.f i).opensRange = V i := (ha i).opensRange_fromSpec |
| 49 | let e : L.sheaf.restrict (V i).ι ≅ HilbertConstruction.Line.Bundles.structureModule (V i).toScheme := |
| 50 | (Scheme.Modules.restrictFunctorIsoPullback (V i).ι).app L.sheaf ≪≫ (he i).some |
| 51 | exact hi.symm ▸ e |
| 52 | |
| 53 | namespace LineBundleAffineFrameCover |
| 54 | |
| 55 | variable {L : HilbertConstruction.Line.Bundles.LineBundle X} (C : LineBundleAffineFrameCover L) |
| 56 | |
| 57 | def localFrame (i : C.cover.I₀) : LineFrameAtlas.LocalLineFrame L.sheaf := ⟨(C.cover.f i).opensRange, C.frame i⟩ |
| 58 | |
| 59 | def transitions : HilbertConstruction.OpenFrame.Transitions.OpenFrameTransitions (fun i => (C.cover.f i).opensRange) := |
| 60 | (localLineFrameNaturalFrames C.localFrame).transitions |
| 61 | |
| 62 | def compatibleFrames : HilbertConstruction.CompatibleSheaf.CompatibleSheafFrames C.transitions L.sheaf := |
| 63 | (localLineFrameNaturalFrames C.localFrame).compatible |
| 64 | |
| 65 | theorem transition_eq_original (V : X.Opens) (i j : C.cover.I₀) |
| 66 | (hi : V ≤ (C.cover.f i).opensRange) (hj : V ≤ (C.cover.f j).opensRange) : |
| 67 | C.transitions.value V i j hi hj = (C.localFrame i).transition (C.localFrame j) V hi hj := |
| 68 | localLineFrameNaturalFrames_transition C.localFrame V i j hi hj |
| 69 | |
| 70 | end LineBundleAffineFrameCover |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Constructed.LineFrameCover |