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.CompatibleSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.UnitTensorEquivalence |
| 3 | |
| 4 | /-! # Coordinates From Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensor coordinates in a local rank-one frame are products of the ordinary frame coefficients. -/ |
| 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 : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames D M) |
| 18 | |
| 19 | def CompatibleSheaf.CompatibleSheafFrames.tensorCoordinate (d : ℕ) (V : X.Opens) (i : ι) (hi : V ≤ U i) : |
| 20 | TensorPower.Presheaf.tensorPowerSections M d V ≃ₗ[Γ(X, V)] Γ(X, V) := |
| 21 | (PiTensorProduct.congr (fun _ : Fin d => (E.frame V i hi).symm)).trans (Finite.UnitTensorEquivalence.finiteUnitTensorEquiv Γ(X, V) (Fin d)) |
| 22 | |
| 23 | theorem CompatibleSheaf.CompatibleSheafFrames.tensorCoordinate_tprod (d : ℕ) (V : X.Opens) (i : ι) (hi : V ≤ U i) (x : Fin d → Γ(M, V)) : |
| 24 | E.tensorCoordinate d V i hi (PiTensorProduct.tprod Γ(X, V) x) = ∏ k, (E.frame V i hi).symm (x k) := by |
| 25 | exact (congrArg (Finite.UnitTensorEquivalence.finiteUnitTensorEquiv Γ(X, V) (Fin d)) |
| 26 | (PiTensorProduct.congr_tprod (fun _ : Fin d => (E.frame V i hi).symm) x)).trans |
| 27 | (Finite.UnitTensorEquivalence.finiteUnitTensorEquiv_tprod Γ(X, V) (Fin d) _) |
| 28 | |
| 29 | theorem CompatibleSheaf.CompatibleSheafFrames.tensorCoordinate_tprod_change (d : ℕ) (V : X.Opens) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j) |
| 30 | (x : Fin d → Γ(M, V)) : |
| 31 | E.tensorCoordinate d V i hi (PiTensorProduct.tprod Γ(X, V) x) = |
| 32 | (D.value V i j hi hj).val ^ d * E.tensorCoordinate d V j hj (PiTensorProduct.tprod Γ(X, V) x) := by |
| 33 | rw [E.tensorCoordinate_tprod, E.tensorCoordinate_tprod] |
| 34 | simp_rw [E.coordinate_change V i j hi hj] |
| 35 | rw [Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |