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.TupleRestrictions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PulledBackFrameTransitions |
| 3 | |
| 4 | /-! # Pullback Tuples -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackTuples |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullback of actual regular-function frame coordinates along an arbitrary scheme morphism is semilinear over the structural section map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} {ι : Type u} (U : ι → Y.Opens) (f : X ⟶ Y) |
| 17 | |
| 18 | def openFramePullbackTuple (W : Y.Opens) : |
| 19 | SectionModules.OpenFrameLocalTuple U W →ₛₗ[(f.app W).hom] |
| 20 | SectionModules.OpenFrameLocalTuple (fun i => f ⁻¹ᵁ U i) (f ⁻¹ᵁ W) where |
| 21 | toFun x i := f.app (W ⊓ U i) (x i) |
| 22 | map_add' x y := by |
| 23 | funext i |
| 24 | exact (f.app (W ⊓ U i)).hom.map_add (x i) (y i) |
| 25 | map_smul' r x := by |
| 26 | funext i |
| 27 | change f.app (W ⊓ U i) |
| 28 | (@Mul.mul Γ(Y, W ⊓ U i) inferInstance |
| 29 | (Y.presheaf.map (homOfLE (show W ⊓ U i ≤ W from inf_le_left)).op r) (x i)) = |
| 30 | @Mul.mul Γ(X, f ⁻¹ᵁ W ⊓ f ⁻¹ᵁ U i) inferInstance |
| 31 | (X.presheaf.map (homOfLE (show f ⁻¹ᵁ W ⊓ f ⁻¹ᵁ U i ≤ f ⁻¹ᵁ W from inf_le_left)).op (f.app W r)) |
| 32 | (f.app (W ⊓ U i) (x i)) |
| 33 | have hn := ConcreteCategory.congr_hom |
| 34 | (f.naturality (homOfLE (show W ⊓ U i ≤ W from inf_le_left)).op) r |
| 35 | exact ((f.app (W ⊓ U i)).hom.map_mul _ _).trans |
| 36 | (congrArg (fun a : Γ(X, f ⁻¹ᵁ (W ⊓ U i)) => a * f.app (W ⊓ U i) (x i)) hn) |
| 37 | |
| 38 | theorem openFramePullbackTuple_restrict {V W : Y.Opens} (h : W ≤ V) (x : SectionModules.OpenFrameLocalTuple U V) : |
| 39 | openFramePullbackTuple U f W (TupleRestrictions.openFrameTupleRestriction U h x) = |
| 40 | TupleRestrictions.openFrameTupleRestriction (fun i => f ⁻¹ᵁ U i) ((TopologicalSpace.Opens.map f.base).monotone h) |
| 41 | (openFramePullbackTuple U f V x) := by |
| 42 | funext i |
| 43 | exact ConcreteCategory.congr_hom |
| 44 | (f.naturality (homOfLE (inf_le_inf h (le_refl (U i)))).op) (x i) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackTuples |