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.SectionGenerators |
| 2 | |
| 3 | /-! # Local Freeness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.LocalFreeness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! On any open contained in one frame chart, compatible frame-coordinate sections form a free module of rank one. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} |
| 16 | |
| 17 | theorem openFunctionRestriction_bijective_of_eq {V W : X.Opens} (h : W ≤ V) (he : W = V) : |
| 18 | Function.Bijective (X.presheaf.map (homOfLE h).op) := by |
| 19 | have : IsIso (homOfLE h) := homOfLE_isIso_of_eq h he |
| 20 | exact ConcreteCategory.bijective_of_isIso (X.presheaf.map (homOfLE h).op) |
| 21 | |
| 22 | variable (D : Transitions.OpenFrameTransitions U) |
| 23 | |
| 24 | theorem openFrameGenerator_injective (V : X.Opens) (k : ι) (hV : V ≤ U k) : |
| 25 | Function.Injective (SectionGenerators.openFrameGenerator D V k hV) := by |
| 26 | intro x y h |
| 27 | apply (openFunctionRestriction_bijective_of_eq inf_le_left (inf_eq_left.mpr hV)).injective |
| 28 | exact (D.frameValues_self V k hV x).symm.trans |
| 29 | ((congrArg (fun s : SectionModules.openFrameSectionModule U D V => s.val k) h).trans (D.frameValues_self V k hV y)) |
| 30 | |
| 31 | theorem openFrameGenerator_surjective (V : X.Opens) (k : ι) (hV : V ≤ U k) : |
| 32 | Function.Surjective (SectionGenerators.openFrameGenerator D V k hV) := by |
| 33 | intro s |
| 34 | obtain ⟨x, hx⟩ := (openFunctionRestriction_bijective_of_eq inf_le_left (inf_eq_left.mpr hV)).surjective (s.val k) |
| 35 | refine ⟨x, Subtype.ext ?_⟩ |
| 36 | funext i |
| 37 | let W := (V ⊓ U i) ⊓ U k |
| 38 | have hWi : W ≤ V ⊓ U i := inf_le_left |
| 39 | have hWk : W ≤ V ⊓ U k := le_inf (inf_le_left.trans inf_le_left) inf_le_right |
| 40 | have heW : W = V ⊓ U i := inf_eq_left.mpr (inf_le_left.trans hV) |
| 41 | apply (openFunctionRestriction_bijective_of_eq hWi heW).injective |
| 42 | have hs := (SectionModules.openFrameSectionModule_mem_iff U D V s.val).mp s.property i k |
| 43 | have hx' := congrArg (fun z : Γ(X, V ⊓ U k) => X.presheaf.map (homOfLE hWk).op z) hx |
| 44 | have hk : X.presheaf.map (homOfLE hWk).op (s.val k) = |
| 45 | X.presheaf.map (homOfLE (hWi.trans inf_le_left)).op x := |
| 46 | hx'.symm.trans (Relative.OpenFunctionUnits.openFunction_restriction_comp inf_le_left hWk x) |
| 47 | exact (D.frameValues_restrict V k hV x i W hWi).trans |
| 48 | ((congrArg (fun z : Γ(X, W) => |
| 49 | (D.value W i k (hWi.trans inf_le_right) (hWi.trans (inf_le_left.trans hV))).val * z) hk).symm.trans hs.symm) |
| 50 | |
| 51 | def openFrameLocalEquiv (V : X.Opens) (k : ι) (hV : V ≤ U k) : |
| 52 | Γ(X, V) ≃ₗ[Γ(X, V)] SectionModules.openFrameSectionModule U D V := |
| 53 | LinearEquiv.ofBijective (SectionGenerators.openFrameGenerator D V k hV) |
| 54 | ⟨openFrameGenerator_injective D V k hV, openFrameGenerator_surjective D V k hV⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.LocalFreeness |