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.RestrictionCompatibility |
| 2 | |
| 3 | /-! # Difference Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.DifferenceNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The difference measuring compatibility of two frame coordinates commutes with ordinary regular-function restriction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} (D : Transitions.OpenFrameTransitions U) |
| 16 | |
| 17 | theorem openFrameDifference_restriction {V W : X.Opens} (h : W ≤ V) |
| 18 | (x : SectionModules.OpenFrameLocalTuple U V) (i j : ι) : |
| 19 | SectionModules.openFrameDifference U D W i j (TupleRestrictions.openFrameTupleRestriction U h x) = |
| 20 | X.presheaf.map (homOfLE (inf_le_inf (inf_le_inf h (le_refl (U i))) (le_refl (U j)))).op |
| 21 | (SectionModules.openFrameDifference U D V i j x) := by |
| 22 | let Q := (V ⊓ U i) ⊓ U j |
| 23 | let Z := (W ⊓ U i) ⊓ U j |
| 24 | have a : Z ≤ Q := inf_le_inf (inf_le_inf h (le_refl (U i))) (le_refl (U j)) |
| 25 | have qj : Q ≤ V ⊓ U j := le_inf (inf_le_left.trans inf_le_left) inf_le_right |
| 26 | have zj : Z ≤ W ⊓ U j := le_inf (inf_le_left.trans inf_le_left) inf_le_right |
| 27 | have hi := (Relative.OpenFunctionUnits.openFunction_restriction_comp (inf_le_inf h (le_refl (U i))) |
| 28 | (show Z ≤ W ⊓ U i from inf_le_left) (x i)).trans |
| 29 | (Relative.OpenFunctionUnits.openFunction_restriction_comp (show Q ≤ V ⊓ U i from inf_le_left) a (x i)).symm |
| 30 | have hj := (Relative.OpenFunctionUnits.openFunction_restriction_comp (inf_le_inf h (le_refl (U j))) zj (x j)).trans |
| 31 | (Relative.OpenFunctionUnits.openFunction_restriction_comp qj a (x j)).symm |
| 32 | have ht := D.restrict Q Z a i j (inf_le_left.trans inf_le_right) inf_le_right |
| 33 | have hm := (congrArg₂ (fun r s : Γ(X, Z) => r * s) ht.symm hj).trans |
| 34 | ((X.presheaf.map (homOfLE a).op).hom.map_mul _ _).symm |
| 35 | exact (congrArg₂ (fun r s : Γ(X, Z) => r - s) hi hm).trans |
| 36 | ((X.presheaf.map (homOfLE a).op).hom.map_sub _ _).symm |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.DifferenceNaturality |