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.Transitions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionUnits |
| 3 | |
| 4 | /-! # Coordinate Compatibility -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A regular function on one frame open produces compatible coordinates on every overlap by the transition cocycle. -/ |
| 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 | def Transitions.OpenFrameTransitions.frameValues (V : X.Opens) (k : ι) (hV : V ≤ U k) (x : Γ(X, V)) (i : ι) : Γ(X, V ⊓ U i) := |
| 19 | (D.value (V ⊓ U i) i k inf_le_right (inf_le_left.trans hV)).val * |
| 20 | X.presheaf.map (homOfLE (show V ⊓ U i ≤ V from inf_le_left)).op x |
| 21 | |
| 22 | theorem Transitions.OpenFrameTransitions.frameValues_restrict (V : X.Opens) (k : ι) (hV : V ≤ U k) (x : Γ(X, V)) (i : ι) |
| 23 | (W : X.Opens) (hW : W ≤ V ⊓ U i) : |
| 24 | X.presheaf.map (homOfLE hW).op (D.frameValues V k hV x i) = |
| 25 | (D.value W i k (hW.trans inf_le_right) (hW.trans (inf_le_left.trans hV))).val * |
| 26 | X.presheaf.map (homOfLE (hW.trans inf_le_left)).op x := by |
| 27 | exact ((X.presheaf.map (homOfLE hW).op).hom.map_mul _ _).trans |
| 28 | (congrArg₂ (fun a b : Γ(X, W) => a * b) |
| 29 | (D.restrict (V ⊓ U i) W hW i k inf_le_right (inf_le_left.trans hV)) |
| 30 | (Relative.OpenFunctionUnits.openFunction_restriction_comp inf_le_left hW x)) |
| 31 | |
| 32 | theorem Transitions.OpenFrameTransitions.frameValues_compatible (V : X.Opens) (k : ι) (hV : V ≤ U k) (x : Γ(X, V)) (i j : ι) : |
| 33 | X.presheaf.map (homOfLE (show (V ⊓ U i) ⊓ U j ≤ V ⊓ U i from inf_le_left)).op |
| 34 | (D.frameValues V k hV x i) = |
| 35 | (D.value ((V ⊓ U i) ⊓ U j) i j (inf_le_left.trans inf_le_right) inf_le_right).val * |
| 36 | X.presheaf.map (homOfLE (show (V ⊓ U i) ⊓ U j ≤ V ⊓ U j from |
| 37 | le_inf (inf_le_left.trans inf_le_left) inf_le_right)).op (D.frameValues V k hV x j) := by |
| 38 | let W := (V ⊓ U i) ⊓ U j |
| 39 | have hi : W ≤ U i := inf_le_left.trans inf_le_right |
| 40 | have hj : W ≤ U j := inf_le_right |
| 41 | have hk : W ≤ U k := (inf_le_left.trans inf_le_left).trans hV |
| 42 | have hc : (D.value W i j hi hj).val * (D.value W j k hj hk).val = (D.value W i k hi hk).val := |
| 43 | congrArg Units.val (D.comp W i j k hi hj hk) |
| 44 | have hl := D.frameValues_restrict V k hV x i W inf_le_left |
| 45 | have hr := D.frameValues_restrict V k hV x j W (le_inf (inf_le_left.trans inf_le_left) inf_le_right) |
| 46 | exact hl.trans ((congrArg (fun a : Γ(X, W) => a * |
| 47 | (X.presheaf.map (homOfLE (show W ≤ V from inf_le_left.trans inf_le_left)).op x)) hc.symm).trans |
| 48 | ((mul_assoc _ _ _).trans (congrArg (fun a : Γ(X, W) => (D.value W i j hi hj).val * a) hr.symm))) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame |