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.FormalGeometry.Completion.ProEtale.AlgebraBaseChange |
| 2 | import Mathlib.Algebra.Category.Ring.Constructions |
| 3 | |
| 4 | /-! # Cech Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.CechSquare.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: the actual affine Čech square for tensor base change |
| 12 | |
| 13 | The two unit maps in algebra descent form the coordinate-ring pushout |
| 14 | of the covering map with itself. Thus their spectra are the actual overlap. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 25 | |
| 26 | /-- The adjunction unit is the inclusion of the right tensor factor. -/ |
| 27 | theorem commAlgAdj_unit_hom (A : CommAlgCat.{u} R) : |
| 28 | letI : Algebra R S := f.toAlgebra |
| 29 | ((CommBaseChange.Construction.commAlgExtendRestrictAdj f).unit.app A).hom = |
| 30 | Algebra.TensorProduct.includeRight := by |
| 31 | let : Algebra R S := f.toAlgebra |
| 32 | ext a |
| 33 | rfl |
| 34 | |
| 35 | /-- The actual tensor base-change unit is the lower map in a ring pushout square. -/ |
| 36 | theorem commAlgUnit_isPushout (A : CommAlgCat.{u} R) : |
| 37 | IsPushout (CommRingCat.ofHom f) (CommRingCat.ofHom (algebraMap R A)) |
| 38 | (CommRingCat.ofHom (algebraMap S ((CommBaseChange.Construction.commAlgExtend f).obj A))) |
| 39 | (CommRingCat.ofHom (((CommBaseChange.Construction.commAlgExtendRestrictAdj f).unit.app A).hom.toRingHom)) := by |
| 40 | let : Algebra R S := f.toAlgebra |
| 41 | simpa only [commAlgAdj_unit_hom] using! CommRingCat.isPushout_tensorProduct R S A |
| 42 | |
| 43 | /-- The two descent cofaces form the actual ring pushout over the local cover. -/ |
| 44 | theorem commAlgCech_isPushout (A : CommAlgCat.{u} R) : |
| 45 | IsPushout |
| 46 | (CommRingCat.ofHom (((CommBaseChange.Construction.commAlgExtendRestrictAdj f).unit.app A).hom.toRingHom)) |
| 47 | (CommRingCat.ofHom (((CommBaseChange.Construction.commAlgExtendRestrictAdj f).unit.app A).hom.toRingHom)) |
| 48 | (CommRingCat.ofHom (((CommBaseChange.Construction.commAlgRestrict f).map ((CommBaseChange.Construction.commAlgExtend f).map |
| 49 | ((CommBaseChange.Construction.commAlgExtendRestrictAdj f).unit.app A))).hom.toRingHom)) |
| 50 | (CommRingCat.ofHom (((CommBaseChange.Construction.commAlgExtendRestrictAdj f).unit.app |
| 51 | ((CommBaseChange.Construction.commAlgRestrict f).obj ((CommBaseChange.Construction.commAlgExtend f).obj A))).hom.toRingHom)) := by |
| 52 | let adj := CommBaseChange.Construction.commAlgExtendRestrictAdj f |
| 53 | let U := (CommBaseChange.Construction.commAlgRestrict f).obj ((CommBaseChange.Construction.commAlgExtend f).obj A) |
| 54 | let d := (CommBaseChange.Construction.commAlgExtend f).map (adj.unit.app A) |
| 55 | have h₁ : CommRingCat.ofHom (algebraMap R A) ≫ |
| 56 | CommRingCat.ofHom ((adj.unit.app A).hom.toRingHom) = |
| 57 | CommRingCat.ofHom (algebraMap R U) := by |
| 58 | ext r |
| 59 | exact (adj.unit.app A).hom.commutes r |
| 60 | have h₂ : CommRingCat.ofHom (algebraMap S ((CommBaseChange.Construction.commAlgExtend f).obj A)) ≫ |
| 61 | CommRingCat.ofHom (((CommBaseChange.Construction.commAlgRestrict f).map d).hom.toRingHom) = |
| 62 | CommRingCat.ofHom (algebraMap S ((CommBaseChange.Construction.commAlgExtend f).obj U)) := by |
| 63 | ext s |
| 64 | exact d.hom.commutes s |
| 65 | apply IsPushout.of_top (t := commAlgUnit_isPushout f A) |
| 66 | · rw [h₁, h₂] |
| 67 | exact commAlgUnit_isPushout f U |
| 68 | · exact congrArg (fun g => CommRingCat.ofHom g.hom.toRingHom) |
| 69 | (adj.unit.naturality (adj.unit.app A)).symm |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.CechSquare.Construction |