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.Smooth.AffineDiagramModel |
| 2 | import Mathlib.RingTheory.Flat.Basic |
| 3 | |
| 4 | /-! # Diagram Faithfulness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Model elements embed in the original affine algebras, and the embeddings intertwine every arrow. -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {I : Type v} {A : I → Type u} |
| 17 | variable [∀ i, CommRing (A i)] [∀ i, Algebra R (A i)] |
| 18 | variable {J : Type w} {s t : J → I} {φ : ∀ j, A (s j) →ₐ[R] A (t j)} |
| 19 | variable (M : AffineDiagramModel.SmoothAffineDiagramModel R A s t φ) |
| 20 | |
| 21 | def AffineDiagramModel.SmoothAffineDiagramModel.realization (i : I) : M.algebra i →+* A i := |
| 22 | (M.recovery i).symm.toRingHom.comp |
| 23 | (Algebra.TensorProduct.includeRight (R := M.coefficients) (A := R) (B := M.algebra i)).toRingHom |
| 24 | |
| 25 | theorem AffineDiagramModel.SmoothAffineDiagramModel.realization_injective (i : I) : Function.Injective (M.realization i) := |
| 26 | (M.recovery i).symm.injective.comp |
| 27 | (Algebra.TensorProduct.includeRight_injective |
| 28 | (R := M.coefficients) (A := R) (B := M.algebra i) Subtype.val_injective) |
| 29 | |
| 30 | theorem AffineDiagramModel.SmoothAffineDiagramModel.recovery_realization (i : I) (x : M.algebra i) : |
| 31 | M.recovery i (M.realization i x) = (1 : R) ⊗ₜ[M.coefficients] x := by |
| 32 | change M.recovery i ((M.recovery i).symm ((1 : R) ⊗ₜ[M.coefficients] x)) = _ |
| 33 | exact (M.recovery i).apply_symm_apply _ |
| 34 | |
| 35 | theorem AffineDiagramModel.SmoothAffineDiagramModel.realization_arrow (j : J) (x : M.algebra (s j)) : |
| 36 | M.realization (t j) (M.arrow j x) = φ j (M.realization (s j) x) := by |
| 37 | apply (M.recovery (t j)).injective |
| 38 | rw [M.recovery_realization, M.recovery_naturality, M.recovery_realization] |
| 39 | exact (Algebra.TensorProduct.map_tmul (AlgHom.id R R) (M.arrow j) (1 : R) x).symm |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth |