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.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent |
| 2 | import Mathlib.AlgebraicGeometry.FunctionField |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 4 | |
| 5 | /-! # Integral Line Bundle Sections -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.IntegralLineBundleSections.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Sections of a line bundle on an integral scheme are detected on any nonempty open. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def overFrameOnOpenLinearEquiv {X : Scheme.{u}} {M : X.Modules} {W : X.Opens} |
| 18 | (e : M.over W ≅ SheafOfModules.unit (X.ringCatSheaf.over W)) |
| 19 | {U : X.Opens} (hU : U ≤ W) : Γ(M, U) ≃ₗ[Γ(X, U)] Γ(X, U) := |
| 20 | ((SheafOfModules.evaluation (X.ringCatSheaf.over W) |
| 21 | (.op (Over.mk (homOfLE hU)))).mapIso e).toLinearEquiv |
| 22 | |
| 23 | theorem overFrameOnOpenLinearEquiv_restrict |
| 24 | {X : Scheme.{u}} {M : X.Modules} {W : X.Opens} |
| 25 | (e : M.over W ≅ SheafOfModules.unit (X.ringCatSheaf.over W)) |
| 26 | {U V : X.Opens} (h : V ≤ U) (hU : U ≤ W) (s : Γ(M, U)) : |
| 27 | X.presheaf.map (homOfLE h).op (overFrameOnOpenLinearEquiv e hU s) = |
| 28 | overFrameOnOpenLinearEquiv e (h.trans hU) (M.presheaf.map (homOfLE h).op s) := by |
| 29 | let a : Over.mk (homOfLE (h.trans hU)) ⟶ Over.mk (homOfLE hU) := |
| 30 | Over.homMk (homOfLE h) |
| 31 | exact (PresheafOfModules.naturality_apply e.hom.val a.op s).symm |
| 32 | |
| 33 | theorem framed_section_restriction_injective |
| 34 | {X : Scheme.{u}} [IsIntegral X] {M : X.Modules} {W : X.Opens} |
| 35 | (e : M.over W ≅ SheafOfModules.unit (X.ringCatSheaf.over W)) |
| 36 | {U V : X.Opens} [Nonempty V] (h : V ≤ U) (hU : U ≤ W) : |
| 37 | Function.Injective (M.presheaf.map (homOfLE h).op) := by |
| 38 | intro s t hst |
| 39 | apply (overFrameOnOpenLinearEquiv e hU).injective |
| 40 | apply map_injective_of_isIntegral X (homOfLE h) |
| 41 | rw [overFrameOnOpenLinearEquiv_restrict e h hU, |
| 42 | overFrameOnOpenLinearEquiv_restrict e h hU, hst] |
| 43 | |
| 44 | theorem lineBundle_section_restriction_injective |
| 45 | {X : Scheme.{u}} [IsIntegral X] (M : X.Modules) (hM : LineBundle.Construction.IsLineBundle M) |
| 46 | {U V : X.Opens} [Nonempty V] (h : V ≤ U) : |
| 47 | Function.Injective (M.presheaf.map (homOfLE h).op) := by |
| 48 | choose W hx e using hM |
| 49 | let E (x : X) := LineBundleQuasicoherent.Construction.lineBundleOverTrivialization (W x) (e x).some |
| 50 | have hηV : genericPoint X ∈ V := |
| 51 | ((genericPoint_spec X).mem_open_set_iff V.isOpen).mpr (by simpa using ‹Nonempty V›) |
| 52 | have hηW (x : X) : genericPoint X ∈ W x := |
| 53 | ((genericPoint_spec X).mem_open_set_iff (W x).isOpen).mpr |
| 54 | ⟨x, Set.mem_univ x, hx x⟩ |
| 55 | let F : TopCat.Sheaf AddCommGrpCat X := ⟨M.presheaf, M.isSheaf⟩ |
| 56 | intro s t hst |
| 57 | apply F.eq_of_locally_eq' (fun x => U ⊓ W x) U (fun _ => homOfLE inf_le_left) |
| 58 | (by intro x hxU; exact Opens.mem_iSup.mpr ⟨x, hxU, hx x⟩) s t |
| 59 | intro x |
| 60 | let Z : X.Opens := V ⊓ (U ⊓ W x) |
| 61 | have : Nonempty Z := ⟨⟨genericPoint X, hηV, h hηV, hηW x⟩⟩ |
| 62 | apply framed_section_restriction_injective (E x) |
| 63 | (show Z ≤ U ⊓ W x from inf_le_right) inf_le_right |
| 64 | have hh := congrArg (fun z : Γ(M, V) => |
| 65 | M.presheaf.map (homOfLE (show Z ≤ V from inf_le_left)).op z) hst |
| 66 | dsimp only [F] |
| 67 | simp only [← ConcreteCategory.comp_apply, ← Functor.map_comp] at hh ⊢ |
| 68 | exact hh |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.IntegralLineBundleSections.Construction |