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.Algebra.Category.Ring.Constructions |
| 2 | import Mathlib.Algebra.Category.CommAlgCat.Basic |
| 3 | |
| 4 | /-! # Cube Tensor Pushout Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeTensorPushoutCoordinates.Construction.CubeCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensor coordinates for a categorical pushout of commutative algebras. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {k : Type u} [CommRing k] (A B : CommAlgCat.{u} k) (C : CommRingCat.{u}) |
| 18 | (a : CommRingCat.of A ⟶ C) (b : CommRingCat.of B ⟶ C) |
| 19 | (H : IsPushout (CommRingCat.ofHom (algebraMap k A)) (CommRingCat.ofHom (algebraMap k B)) a b) |
| 20 | |
| 21 | def tensorPushoutRingEquiv : A ⊗[k] B ≃+* C := |
| 22 | ((CommRingCat.isPushout_tensorProduct k A B).isoIsPushout _ _ H).commRingCatIsoToRingEquiv |
| 23 | |
| 24 | theorem tensorPushoutRingEquiv_left (x : A) : |
| 25 | tensorPushoutRingEquiv A B C a b H (x ⊗ₜ[k] (1 : B)) = a x := by |
| 26 | exact congrArg (fun q : CommRingCat.of A ⟶ C ↦ q x) |
| 27 | ((CommRingCat.isPushout_tensorProduct k A B).inl_isoIsPushout_hom _ _ H) |
| 28 | |
| 29 | theorem tensorPushoutRingEquiv_right (y : B) : |
| 30 | tensorPushoutRingEquiv A B C a b H ((1 : A) ⊗ₜ[k] y) = b y := by |
| 31 | exact congrArg (fun q : CommRingCat.of B ⟶ C ↦ q y) |
| 32 | ((CommRingCat.isPushout_tensorProduct k A B).inr_isoIsPushout_hom _ _ H) |
| 33 | |
| 34 | theorem tensorPushoutRingEquiv_tmul (x : A) (y : B) : |
| 35 | tensorPushoutRingEquiv A B C a b H (x ⊗ₜ[k] y) = a x * b y := by |
| 36 | have ht : x ⊗ₜ[k] y = (x ⊗ₜ[k] (1 : B)) * ((1 : A) ⊗ₜ[k] y) := by simp |
| 37 | rw [ht, map_mul, tensorPushoutRingEquiv_left, tensorPushoutRingEquiv_right] |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeTensorPushoutCoordinates.Construction.CubeCech |