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.OpenFrame.GlobalTuples |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.TransitionEquations |
| 3 | |
| 4 | /-! # Global Compatibility -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.GlobalCompatibility |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global sections of the frame presheaf are exactly the compatible regular-function tuples on its covering opens. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} (D : Transitions.OpenFrameTransitions U) |
| 17 | |
| 18 | theorem openFrameGlobalTupleEquiv_compatible (x : SectionModules.OpenFrameLocalTuple U ⊤) : |
| 19 | x ∈ SectionModules.openFrameSectionModule U D ⊤ ↔ Frame.TransitionEquations.FrameCompatible D (GlobalTuples.openFrameGlobalTupleEquiv U x) := by |
| 20 | rw [SectionModules.openFrameSectionModule_mem_iff] |
| 21 | change (∀ i j, _) ↔ ∀ i j, Frame.TransitionEquations.FrameTransitionEquation D i j (U i ⊓ U j) |
| 22 | inf_le_left inf_le_right (GlobalTuples.openFrameGlobalTupleEquiv U x i) (GlobalTuples.openFrameGlobalTupleEquiv U x j) |
| 23 | apply forall₂_congr |
| 24 | intro i j |
| 25 | let Q := ((⊤ : X.Opens) ⊓ U i) ⊓ U j |
| 26 | let W := U i ⊓ U j |
| 27 | have a : W ≤ Q := le_inf (le_inf le_top inf_le_left) inf_le_right |
| 28 | have qj : Q ≤ (⊤ : X.Opens) ⊓ U j := le_inf le_top inf_le_right |
| 29 | have hi := (Relative.OpenFunctionUnits.openFunction_restriction_comp (le_inf le_top (le_refl (U i))) |
| 30 | (show W ≤ U i from inf_le_left) (x i)).trans |
| 31 | (Relative.OpenFunctionUnits.openFunction_restriction_comp (show Q ≤ (⊤ : X.Opens) ⊓ U i from inf_le_left) a (x i)).symm |
| 32 | have hj := (Relative.OpenFunctionUnits.openFunction_restriction_comp (le_inf le_top (le_refl (U j))) |
| 33 | (show W ≤ U j from inf_le_right) (x j)).trans (Relative.OpenFunctionUnits.openFunction_restriction_comp qj a (x j)).symm |
| 34 | have ht := D.restrict Q W a i j (inf_le_left.trans inf_le_right) inf_le_right |
| 35 | have hm := (congrArg₂ (fun r s : Γ(X, W) => r * s) ht.symm hj).trans |
| 36 | ((X.presheaf.map (homOfLE a).op).hom.map_mul _ _).symm |
| 37 | have hinj := (LocalFreeness.openFunctionRestriction_bijective_of_eq a (by ext z; simp [W, Q])).injective |
| 38 | exact ((congrArg₂ Eq hi hm).to_iff.trans hinj.eq_iff).symm |
| 39 | |
| 40 | def openFrameGlobalCompatibleModule : Submodule Γ(X, ⊤) (GlobalTuples.OpenFrameGlobalTuple U) := |
| 41 | (SectionModules.openFrameSectionModule U D ⊤).map (GlobalTuples.openFrameGlobalTupleEquiv U).toLinearMap |
| 42 | |
| 43 | theorem openFrameGlobalCompatibleModule_mem (x : GlobalTuples.OpenFrameGlobalTuple U) : |
| 44 | x ∈ openFrameGlobalCompatibleModule D ↔ Frame.TransitionEquations.FrameCompatible D x := by |
| 45 | constructor |
| 46 | · rintro ⟨y, hy, rfl⟩ |
| 47 | exact (openFrameGlobalTupleEquiv_compatible D y).mp hy |
| 48 | · intro hx |
| 49 | refine ⟨(GlobalTuples.openFrameGlobalTupleEquiv U).symm x, ?_, (GlobalTuples.openFrameGlobalTupleEquiv U).apply_symm_apply x⟩ |
| 50 | exact (openFrameGlobalTupleEquiv_compatible D _).mpr |
| 51 | ((congrArg (Frame.TransitionEquations.FrameCompatible D) ((GlobalTuples.openFrameGlobalTupleEquiv U).apply_symm_apply x)).mpr hx) |
| 52 | |
| 53 | def openFrameGlobalSectionEquiv : |
| 54 | SectionModules.openFrameSectionModule U D ⊤ ≃ₗ[Γ(X, ⊤)] openFrameGlobalCompatibleModule D := |
| 55 | (GlobalTuples.openFrameGlobalTupleEquiv U).submoduleMap (SectionModules.openFrameSectionModule U D ⊤) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.GlobalCompatibility |