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 Mathlib.RingTheory.TensorProduct.Maps |
| 2 | |
| 3 | /-! # Graph Ring Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphRingMap.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual tensor-product coordinate-ring map defining an affine graph is surjective whenever its coordinate presentation is. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | variable {k R S A : Type*} [CommRing k] [CommRing R] [CommRing S] [CommRing A] |
| 14 | [Algebra k R] [Algebra k S] [Algebra k A] |
| 15 | |
| 16 | def graphRingMap (h : R →ₐ[k] A) (f : S →ₐ[k] A) : R ⊗[k] S →ₐ[k] A := |
| 17 | Algebra.TensorProduct.lift h f (fun _ _ => Commute.all _ _) |
| 18 | |
| 19 | theorem graphRingMap_left (h : R →ₐ[k] A) (f : S →ₐ[k] A) : |
| 20 | (graphRingMap h f).comp Algebra.TensorProduct.includeLeft = h := |
| 21 | Algebra.TensorProduct.lift_comp_includeLeft _ _ _ |
| 22 | |
| 23 | theorem graphRingMap_right (h : R →ₐ[k] A) (f : S →ₐ[k] A) : |
| 24 | (graphRingMap h f).comp Algebra.TensorProduct.includeRight = f := |
| 25 | Algebra.TensorProduct.lift_comp_includeRight' _ _ _ |
| 26 | |
| 27 | theorem graphRingMap_surjective (h : R →ₐ[k] A) (f : S →ₐ[k] A) (hf : Function.Surjective f) : |
| 28 | Function.Surjective (graphRingMap h f) := by |
| 29 | intro a |
| 30 | obtain ⟨s, rfl⟩ := hf a |
| 31 | exact ⟨Algebra.TensorProduct.includeRight s, AlgHom.congr_fun (graphRingMap_right h f) s⟩ |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphRingMap.Constructions |