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.CoefficientSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.FromOpenFrames |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.SectionRestriction |
| 4 | |
| 5 | /-! # Coordinate Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.CoordinateSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A compatible global frame tuple gives an actual section, with its local value determined by one coordinate. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} (D : Transitions.OpenFrameTransitions U) |
| 18 | |
| 19 | theorem openFrameSection_coordinate_injective (V : X.Opens) (k : ι) (hV : V ≤ U k) : |
| 20 | Function.Injective (fun z : SectionModules.openFrameSectionModule U D V => z.val k) := by |
| 21 | intro z w h |
| 22 | obtain ⟨a, rfl⟩ := LocalFreeness.openFrameGenerator_surjective D V k hV z |
| 23 | obtain ⟨b, rfl⟩ := LocalFreeness.openFrameGenerator_surjective D V k hV w |
| 24 | have hab : a = b := |
| 25 | (LocalFreeness.openFunctionRestriction_bijective_of_eq inf_le_left (inf_eq_left.mpr hV)).injective |
| 26 | ((D.frameValues_self V k hV a).symm.trans (h.trans (D.frameValues_self V k hV b))) |
| 27 | exact congrArg (SectionGenerators.openFrameGenerator D V k hV) hab |
| 28 | |
| 29 | def openFrameSectionOfCompatible (x : GlobalTuples.OpenFrameGlobalTuple U) (hx : Frame.TransitionEquations.FrameCompatible D x) : |
| 30 | Line.Bundles.structureModule X ⟶ ModuleSheaf.openFrameModuleSheaf D := |
| 31 | (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D)).symm |
| 32 | ((GlobalSections.openFrameGlobalSectionsEquiv D).symm |
| 33 | ⟨x, (GlobalCompatibility.openFrameGlobalCompatibleModule_mem D x).mpr hx⟩) |
| 34 | |
| 35 | theorem openFrameSectionOfCompatible_tuple (x : GlobalTuples.OpenFrameGlobalTuple U) (hx : Frame.TransitionEquations.FrameCompatible D x) : |
| 36 | CoefficientSections.openFrameGlobalTupleMap D |
| 37 | (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D) (openFrameSectionOfCompatible D x hx)) = x := by |
| 38 | let y : GlobalCompatibility.openFrameGlobalCompatibleModule D := |
| 39 | ⟨x, (GlobalCompatibility.openFrameGlobalCompatibleModule_mem D x).mpr hx⟩ |
| 40 | have h : Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D) (openFrameSectionOfCompatible D x hx) = |
| 41 | (show Γ(ModuleSheaf.openFrameModuleSheaf D, ⊤) from (GlobalSections.openFrameGlobalSectionsEquiv D).symm y) := |
| 42 | (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D)).apply_symm_apply _ |
| 43 | exact (congrArg (fun z : Γ(ModuleSheaf.openFrameModuleSheaf D, ⊤) => CoefficientSections.openFrameGlobalTupleMap D z) h).trans |
| 44 | (congrArg Subtype.val ((GlobalSections.openFrameGlobalSectionsEquiv D).apply_symm_apply y)) |
| 45 | |
| 46 | theorem openFrameSection_app_one_of_coordinate_one |
| 47 | (s : Line.Bundles.structureModule X ⟶ ModuleSheaf.openFrameModuleSheaf D) (k : ι) |
| 48 | (hk : (show Γ(X, U k) from CoefficientSections.openFrameGlobalTupleMap D |
| 49 | (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D) s) k) = 1) |
| 50 | (V : X.Opens) (hV : V ≤ U k) : |
| 51 | s.app V (1 : Γ(X, V)) = SectionGenerators.openFrameGenerator D V k hV 1 := by |
| 52 | let z : SectionModules.openFrameSectionModule U D ⊤ := Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D) s |
| 53 | have hv : s.app V (1 : Γ(X, V)) = (ModuleSheaf.openFrameModuleSheaf D).presheaf.map (homOfLE le_top).op z := by |
| 54 | have h := Global.SectionMapValues.moduleSectionHomEquiv_symm_app (ModuleSheaf.openFrameModuleSheaf D) z V 1 |
| 55 | rw [show (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D)).symm z = s from |
| 56 | (Global.Sections.moduleSectionHomEquiv (ModuleSheaf.openFrameModuleSheaf D)).symm_apply_apply s, one_smul] at h |
| 57 | exact h |
| 58 | rw [hv] |
| 59 | change RestrictionCompatibility.openFrameSectionRestriction D (show V ≤ ⊤ from le_top) z = |
| 60 | SectionGenerators.openFrameGenerator D V k hV 1 |
| 61 | apply openFrameSection_coordinate_injective D V k hV |
| 62 | change X.presheaf.map (homOfLE (inf_le_inf le_top (le_refl (U k)))).op (z.val k) = |
| 63 | D.frameValues V k hV 1 k |
| 64 | rw [D.frameValues_self, map_one] |
| 65 | have h := congrArg (X.presheaf.map (homOfLE (show V ⊓ U k ≤ U k from inf_le_right)).op) hk |
| 66 | rw [map_one] at h |
| 67 | change X.presheaf.map (homOfLE (show V ⊓ U k ≤ U k from inf_le_right)).op |
| 68 | (X.presheaf.map (homOfLE (show U k ≤ ⊤ ⊓ U k from le_inf le_top le_rfl)).op |
| 69 | (z.val k)) = 1 at h |
| 70 | exact (Relative.OpenFunctionUnits.openFunction_restriction_comp (le_inf le_top (le_refl (U k))) |
| 71 | (show V ⊓ U k ≤ U k from inf_le_right) (z.val k)).symm.trans h |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.CoordinateSections |