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.Tensor.CoordinatesFromFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReindexedOpenFrameTransitions |
| 3 | |
| 4 | /-! # Frame Comparisons -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local tensor-product coordinates give frame-independent comparisons with any sheaf realizing the powered cocycle. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type v} {U : ι → X.Opens} {D : OpenFrame.Transitions.OpenFrameTransitions U} |
| 17 | variable {M N : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames D M) (d : ℕ) (F : CompatibleSheaf.CompatibleSheafFrames (D.power d) N) |
| 18 | |
| 19 | def CompatibleSheaf.CompatibleSheafFrames.tensorComparison (V : X.Opens) (i : ι) (hi : V ≤ U i) : |
| 20 | TensorPower.Presheaf.tensorPowerSections M d V ≃ₗ[Γ(X, V)] Γ(N, V) := |
| 21 | (E.tensorCoordinate d V i hi).trans (F.frame V i hi) |
| 22 | |
| 23 | theorem CompatibleSheaf.CompatibleSheafFrames.tensorComparison_independent (V : X.Opens) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j) : |
| 24 | E.tensorComparison d F V i hi = E.tensorComparison d F V j hj := by |
| 25 | apply LinearEquiv.toLinearMap_injective |
| 26 | apply PiTensorProduct.ext |
| 27 | apply MultilinearMap.ext |
| 28 | intro x |
| 29 | exact (congrArg (F.frame V i hi) (E.tensorCoordinate_tprod_change d V i j hi hj x)).trans |
| 30 | (F.change V i j hi hj (E.tensorCoordinate d V j hj (PiTensorProduct.tprod Γ(X, V) x))) |
| 31 | |
| 32 | theorem CompatibleSheaf.CompatibleSheafFrames.tensorCoordinate_restrict_tprod (V W : X.Opens) (h : W ≤ V) (i : ι) (hi : V ≤ U i) |
| 33 | (x : Fin d → Γ(M, V)) : |
| 34 | E.tensorCoordinate d W i (h.trans hi) |
| 35 | (TensorPower.Presheaf.tensorPowerRestriction M d (homOfLE h).op (PiTensorProduct.tprod Γ(X, V) x)) = |
| 36 | X.presheaf.map (homOfLE h).op (E.tensorCoordinate d V i hi (PiTensorProduct.tprod Γ(X, V) x)) := by |
| 37 | rw [TensorPower.Presheaf.tensorPowerRestriction_tprod, E.tensorCoordinate_tprod, E.tensorCoordinate_tprod] |
| 38 | exact (Finset.prod_congr rfl (fun k _ => E.coordinate_restrict V W h i hi (x k))).trans |
| 39 | (map_prod (X.presheaf.map (homOfLE h).op).hom (fun k => (E.frame V i hi).symm (x k)) Finset.univ).symm |
| 40 | |
| 41 | theorem CompatibleSheaf.CompatibleSheafFrames.tensorComparison_restrict_tprod (V W : X.Opens) (h : W ≤ V) (i j : ι) |
| 42 | (hi : W ≤ U i) (hj : V ≤ U j) (x : Fin d → Γ(M, V)) : |
| 43 | E.tensorComparison d F W i hi |
| 44 | (TensorPower.Presheaf.tensorPowerRestriction M d (homOfLE h).op (PiTensorProduct.tprod Γ(X, V) x)) = |
| 45 | N.presheaf.map (homOfLE h).op (E.tensorComparison d F V j hj (PiTensorProduct.tprod Γ(X, V) x)) := by |
| 46 | have he := congrArg (fun e : TensorPower.Presheaf.tensorPowerSections M d W ≃ₗ[Γ(X, W)] Γ(N, W) => |
| 47 | e (TensorPower.Presheaf.tensorPowerRestriction M d (homOfLE h).op (PiTensorProduct.tprod Γ(X, V) x))) |
| 48 | (E.tensorComparison_independent d F W i j hi (h.trans hj)) |
| 49 | exact he.trans ((congrArg (F.frame W j (h.trans hj)) (E.tensorCoordinate_restrict_tprod d V W h j hj x)).trans |
| 50 | (F.restrict V W h j hj (E.tensorCoordinate d V j hj (PiTensorProduct.tprod Γ(X, V) x))).symm) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |