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.CompatibleSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.FrameRatios |
| 3 | |
| 4 | /-! # Natural Sheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalSheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local frames commuting with restriction determine their actual regular-function transition cocycle. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type v} |
| 17 | |
| 18 | structure NaturalSheafFrames (U : ι → X.Opens) (M : X.Modules) where |
| 19 | frame : ∀ (V : X.Opens) (i : ι), V ≤ U i → Γ(X, V) ≃ₗ[Γ(X, V)] Γ(M, V) |
| 20 | restrict : ∀ (V W : X.Opens) (h : W ≤ V) (i : ι) (hi : V ≤ U i) (r : Γ(X, V)), |
| 21 | M.presheaf.map (homOfLE h).op (frame V i hi r) = |
| 22 | frame W i (h.trans hi) (X.presheaf.map (homOfLE h).op r) |
| 23 | |
| 24 | namespace NaturalSheafFrames |
| 25 | |
| 26 | variable {U : ι → X.Opens} {M : X.Modules} (E : NaturalSheafFrames U M) |
| 27 | |
| 28 | theorem ratio_restrict (V W : X.Opens) (h : W ≤ V) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j) : |
| 29 | X.presheaf.map (homOfLE h).op (Linear.FrameRatios.linearFrameRatio (E.frame V i hi) (E.frame V j hj)) = |
| 30 | Linear.FrameRatios.linearFrameRatio (E.frame W i (h.trans hi)) (E.frame W j (h.trans hj)) := by |
| 31 | apply (E.frame W i (h.trans hi)).injective |
| 32 | have hi' := E.restrict V W h i hi (Linear.FrameRatios.linearFrameRatio (E.frame V i hi) (E.frame V j hj)) |
| 33 | have hj' := E.restrict V W h j hj 1 |
| 34 | exact hi'.symm.trans ((congrArg (M.presheaf.map (homOfLE h).op) |
| 35 | ((E.frame V i hi).apply_symm_apply (E.frame V j hj 1))).trans |
| 36 | (hj'.trans ((congrArg (E.frame W j (h.trans hj)) ((X.presheaf.map (homOfLE h).op).hom.map_one)).trans |
| 37 | ((E.frame W i (h.trans hi)).apply_symm_apply (E.frame W j (h.trans hj) 1)).symm))) |
| 38 | |
| 39 | def transitions : OpenFrame.Transitions.OpenFrameTransitions U where |
| 40 | value V i j hi hj := Linear.FrameRatios.linearFrameRatioUnit (E.frame V i hi) (E.frame V j hj) |
| 41 | restrict := E.ratio_restrict |
| 42 | self V i hi := Units.ext (Linear.FrameRatios.linearFrameRatio_self (E.frame V i hi)) |
| 43 | comp V i j k hi hj hk := Units.ext (Linear.FrameRatios.linearFrameRatio_comp (E.frame V i hi) (E.frame V j hj) (E.frame V k hk)) |
| 44 | |
| 45 | def compatible : CompatibleSheaf.CompatibleSheafFrames E.transitions M where |
| 46 | frame := E.frame |
| 47 | restrict := E.restrict |
| 48 | change V i j hi hj r := Linear.FrameRatios.linearFrameRatio_frame (E.frame V i hi) (E.frame V j hj) r |
| 49 | |
| 50 | end NaturalSheafFrames |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalSheaf |