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.Section.SectionRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Comparison |
| 3 | |
| 4 | /-! # Coordinate Values -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.CoordinateValues |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Relate coordinates of pulled-back sections to their ordinary sheaf-section |
| 12 | values on an image open. This converts local ratio equalities to the section |
| 13 | equalities used in overlap gluing. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y : Scheme.{u}} |
| 21 | |
| 22 | /-- A section's value is its coordinate times the value of the frame. -/ |
| 23 | theorem frameCoordinate_value {M : X.Modules} (e t : Line.Bundles.structureModule X ⟶ M) [IsIso e] : |
| 24 | t.app ⊤ (1 : Γ(X, ⊤)) = Frame.Coordinates.frameCoordinate e t • e.app ⊤ (1 : Γ(X, ⊤)) := by |
| 25 | let c := Frame.Coordinates.frameCoordinate e t |
| 26 | have h := congrArg (fun a : Line.Bundles.structureModule X ⟶ M => a.app ⊤ (1 : Γ(X, ⊤))) |
| 27 | (Frame.Coordinates.frameCoordinateEnd_frame e t) |
| 28 | change e.app ⊤ c = t.app ⊤ (1 : Γ(X, ⊤)) at h |
| 29 | have he := e.app_smul c (1 : Γ(X, ⊤)) |
| 30 | change e.app ⊤ (show Γ(X, ⊤) from c * 1) = c • e.app ⊤ (1 : Γ(X, ⊤)) at he |
| 31 | rw [mul_one] at he |
| 32 | exact h.symm.trans he |
| 33 | |
| 34 | theorem restrictSection_isIso_iff (f : X ⟶ Y) [IsOpenImmersion f] {M : Y.Modules} |
| 35 | (s : Line.Bundles.structureModule Y ⟶ M) : IsIso (Section.SectionRestriction.restrictSection f s) ↔ IsIso (Ample.LineBundles.pullbackSection f s) := by |
| 36 | have hD : Ample.LineBundles.sectionNonvanishing (Section.SectionRestriction.restrictSection f s) = Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) := |
| 37 | (Section.SectionRestriction.sectionNonvanishing_restrictSection f s).trans (Section.Nonvanishing.sectionNonvanishing_pullback f s).symm |
| 38 | exact (Section.Frames.isIso_iff_sectionNonvanishing_eq_top (Section.SectionRestriction.restrictSection f s)).trans |
| 39 | ((congrArg (fun U : X.Opens => U = ⊤) hD).to_iff.trans |
| 40 | (Section.Frames.isIso_iff_sectionNonvanishing_eq_top (Ample.LineBundles.pullbackSection f s)).symm) |
| 41 | |
| 42 | /-- Restriction and canonical pullback give the same ratio wherever the |
| 43 | denominator becomes a frame, even if it is not a global frame originally. -/ |
| 44 | theorem frameCoordinate_restrictSection (f : X ⟶ Y) [IsOpenImmersion f] {M : Y.Modules} |
| 45 | (s t : Line.Bundles.structureModule Y ⟶ M) [hs : IsIso (Ample.LineBundles.pullbackSection f s)] : |
| 46 | letI := (restrictSection_isIso_iff f s).mpr hs |
| 47 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) = |
| 48 | Frame.Coordinates.frameCoordinate (Section.SectionRestriction.restrictSection f s) (Section.SectionRestriction.restrictSection f t) := |
| 49 | @Frame.Comparison.frameCoordinate_functorComparison X Y (Scheme.Modules.restrictFunctor f) (Scheme.Modules.pullback f) |
| 50 | (Scheme.Modules.restrictFunctorIsoPullback f) (Scheme.Modules.restrictUnitIso f) |
| 51 | (Line.Bundles.structureModulePullbackIso f) M s t ((restrictSection_isIso_iff f s).mpr hs) hs |
| 52 | |
| 53 | /-- A local coordinate equality becomes an ordinary equality of section |
| 54 | values on the image open, with scalars transported by the open-immersion ring isomorphism. -/ |
| 55 | theorem local_frameCoordinate_value (f : X ⟶ Y) [IsOpenImmersion f] {M : Y.Modules} |
| 56 | (s t : Line.Bundles.structureModule Y ⟶ M) [IsIso (Ample.LineBundles.pullbackSection f s)] : |
| 57 | t.app (f ''ᵁ ⊤) (1 : Γ(Y, f ''ᵁ ⊤)) = |
| 58 | (f.appIso ⊤).inv (Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t)) • |
| 59 | s.app (f ''ᵁ ⊤) (1 : Γ(Y, f ''ᵁ ⊤)) := by |
| 60 | let s₀ := Section.SectionRestriction.restrictSection f s |
| 61 | let t₀ := Section.SectionRestriction.restrictSection f t |
| 62 | have : IsIso s₀ := (restrictSection_isIso_iff f s).mpr inferInstance |
| 63 | have hv := frameCoordinate_value s₀ t₀ |
| 64 | change t₀.app ⊤ (1 : Γ(X, ⊤)) = (f.appIso ⊤).inv (Frame.Coordinates.frameCoordinate s₀ t₀) • |
| 65 | (show Γ(M, f ''ᵁ ⊤) from s₀.app ⊤ (1 : Γ(X, ⊤))) at hv |
| 66 | have hval := congrArg |
| 67 | (fun z : Γ(M, f ''ᵁ ⊤) => (f.appIso ⊤).inv (Frame.Coordinates.frameCoordinate s₀ t₀) • z) |
| 68 | (Section.SectionRestriction.restrictSection_app_one f s ⊤) |
| 69 | have hcoord := congrArg (fun c : Γ(X, ⊤) => |
| 70 | (f.appIso ⊤).inv c • s.app (f ''ᵁ ⊤) (1 : Γ(Y, f ''ᵁ ⊤))) |
| 71 | (frameCoordinate_restrictSection f s t).symm |
| 72 | exact (Section.SectionRestriction.restrictSection_app_one f t ⊤).symm.trans (hv.trans (hval.trans hcoord)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.CoordinateValues |