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.CategoryTheory.ConcreteCategory.EpiMono |
| 3 | |
| 4 | /-! # Ring Pushout Tensor Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RingPushoutTensorComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical tensor map for a pushout of commutative rings is bijective. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R A B C : Type u} [CommRing R] [CommRing A] [CommRing B] [CommRing C] |
| 17 | [Algebra R A] [Algebra R B] [Algebra R C] |
| 18 | |
| 19 | theorem tensorLift_bijective_of_isPushout (i : A →ₐ[R] C) (j : B →ₐ[R] C) |
| 20 | (H : IsPushout (CommRingCat.ofHom (algebraMap R A)) |
| 21 | (CommRingCat.ofHom (algebraMap R B)) |
| 22 | (CommRingCat.ofHom i.toRingHom) (CommRingCat.ofHom j.toRingHom)) : |
| 23 | Function.Bijective (Algebra.TensorProduct.lift i j (fun _ _ => .all _ _)) := by |
| 24 | let H₀ := CommRingCat.isPushout_tensorProduct R A B |
| 25 | let e := H₀.isoIsPushout (CommRingCat.of A) (CommRingCat.of B) H |
| 26 | have he : CommRingCat.ofHom |
| 27 | (Algebra.TensorProduct.lift i j (fun _ _ => .all _ _)).toRingHom = e.hom := by |
| 28 | apply H₀.hom_ext |
| 29 | · change _ = _ ≫ (H₀.isoIsPushout (CommRingCat.of A) (CommRingCat.of B) H).hom |
| 30 | rw [IsPushout.inl_isoIsPushout_hom] |
| 31 | ext a |
| 32 | simp |
| 33 | · change _ = _ ≫ (H₀.isoIsPushout (CommRingCat.of A) (CommRingCat.of B) H).hom |
| 34 | rw [IsPushout.inr_isoIsPushout_hom] |
| 35 | ext b |
| 36 | simp |
| 37 | have hfun : (Algebra.TensorProduct.lift i j (fun _ _ => .all _ _)) = |
| 38 | e.commRingCatIsoToRingEquiv.toRingHom := by |
| 39 | exact congrArg CommRingCat.Hom.hom he |
| 40 | exact (congrArg (fun k : (TensorProduct R A B) →+* C => Function.Bijective k) hfun).mpr |
| 41 | e.commRingCatIsoToRingEquiv.bijective |
| 42 | |
| 43 | theorem isPushout_of_tensorLift_bijective (i : A →ₐ[R] C) (j : B →ₐ[R] C) |
| 44 | (h : Function.Bijective (Algebra.TensorProduct.lift i j (fun _ _ => .all _ _))) : |
| 45 | IsPushout (CommRingCat.ofHom (algebraMap R A)) |
| 46 | (CommRingCat.ofHom (algebraMap R B)) |
| 47 | (CommRingCat.ofHom i.toRingHom) (CommRingCat.ofHom j.toRingHom) := by |
| 48 | let l := CommRingCat.ofHom (Algebra.TensorProduct.lift i j |
| 49 | (fun _ _ => .all _ _)).toRingHom |
| 50 | have : IsIso l := (ConcreteCategory.isIso_iff_bijective l).mpr h |
| 51 | refine (CommRingCat.isPushout_tensorProduct R A B).of_iso |
| 52 | (Iso.refl _) (Iso.refl _) (Iso.refl _) (asIso l) ?_ ?_ ?_ ?_ |
| 53 | · simp |
| 54 | · simp |
| 55 | · ext r |
| 56 | simp [l] |
| 57 | · ext r |
| 58 | simp [l] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RingPushoutTensorComparison |