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.NumberTheory.PadicHodge.IntegralComparison.PrincipalOpens |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.AffineAcyclicity |
| 3 | |
| 4 | /-! # Principal Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.PrincipalSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: principal sections commute with the actual ambient-ring universe lift |
| 12 | |
| 13 | Localization identifies the lifted original sections with sections on |
| 14 | the spectrum of the lifted ring, naturally in every principal open. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalOpens.Category |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] |
| 24 | |
| 25 | abbrev LiftedRing := AffineAcyclicity.LiftedRing R |
| 26 | |
| 27 | abbrev toLiftedOpens : PrincipalOpens.Category.Principal R ⥤ TopologicalSpace.Opens (PrimeSpectrum (LiftedRing R)) := |
| 28 | PrincipalOpens.Category.toOpens R ⋙ (ZariskiHomeomorphism.opensEquiv |
| 29 | (AffineAcyclicity.spectrumHomeomorph R)).inverse |
| 30 | |
| 31 | theorem toLiftedOpens_obj (r : PrincipalOpens.Category.Principal R) : |
| 32 | (toLiftedOpens R).obj r = PrimeSpectrum.basicOpen (ULift.up r.function : LiftedRing R) := rfl |
| 33 | |
| 34 | abbrev Sections (r : PrincipalOpens.Category.Principal R) := |
| 35 | (Spec.structureSheaf R).obj.obj (op (PrimeSpectrum.basicOpen r.function)) |
| 36 | |
| 37 | abbrev LiftedSections (r : PrincipalOpens.Category.Principal R) := |
| 38 | (Spec.structureSheaf (LiftedRing R)).obj.obj (op ((toLiftedOpens R).obj r)) |
| 39 | |
| 40 | instance sectionsAlgebra (r : PrincipalOpens.Category.Principal R) : Algebra R (Sections R r) := |
| 41 | StructureSheaf.openAlgebra R _ |
| 42 | |
| 43 | instance sectionsLocalization (r : PrincipalOpens.Category.Principal R) : IsLocalization.Away r.function (Sections R r) := |
| 44 | StructureSheaf.IsLocalization.to_basicOpen R r.function |
| 45 | |
| 46 | instance liftedSectionsAlgebra (r : PrincipalOpens.Category.Principal R) : Algebra (LiftedRing R) (LiftedSections R r) := |
| 47 | StructureSheaf.openAlgebra (LiftedRing R) _ |
| 48 | |
| 49 | instance liftedSectionsLocalization (r : PrincipalOpens.Category.Principal R) : |
| 50 | IsLocalization.Away (ULift.up r.function : LiftedRing R) (LiftedSections R r) := |
| 51 | StructureSheaf.IsLocalization.to_basicOpen (LiftedRing R) (ULift.up r.function) |
| 52 | |
| 53 | def sectionsEquiv (r : PrincipalOpens.Category.Principal R) : Sections R r ≃+* LiftedSections R r := |
| 54 | IsLocalization.ringEquivOfRingEquiv (M := Submonoid.powers r.function) |
| 55 | (T := Submonoid.powers (ULift.up r.function : LiftedRing R)) (Sections R r) (LiftedSections R r) |
| 56 | (ULift.ringEquiv : LiftedRing R ≃+* R).symm (by rw [Submonoid.map_powers]; rfl) |
| 57 | |
| 58 | theorem sectionsEquiv_algebraMap (r : PrincipalOpens.Category.Principal R) (x : R) : |
| 59 | sectionsEquiv R r (algebraMap R (Sections R r) x) = |
| 60 | algebraMap (LiftedRing R) (LiftedSections R r) (ULift.up x) := by |
| 61 | unfold sectionsEquiv |
| 62 | exact IsLocalization.ringEquivOfRingEquiv_eq _ _ |
| 63 | |
| 64 | abbrev smallPresheaf := (PrincipalOpens.Category.toOpens R).op ⋙ (Spec.structureSheaf R).obj |
| 65 | abbrev liftedPresheaf := (toLiftedOpens R).op ⋙ (Spec.structureSheaf (LiftedRing R)).obj |
| 66 | |
| 67 | theorem sections_natural {r s : PrincipalOpens.Category.Principal R} (a : r ⟶ s) : |
| 68 | (sectionsEquiv R r).toRingHom.comp ((smallPresheaf R).map a.op).hom = |
| 69 | ((liftedPresheaf R).map a.op).hom.comp (sectionsEquiv R s).toRingHom := by |
| 70 | apply IsLocalization.ringHom_ext (S := Sections R s) (Submonoid.powers s.function) |
| 71 | apply RingHom.ext |
| 72 | intro x |
| 73 | change sectionsEquiv R r ((smallPresheaf R).map a.op (algebraMap R (Sections R s) x)) = |
| 74 | (liftedPresheaf R).map a.op (sectionsEquiv R s (algebraMap R (Sections R s) x)) |
| 75 | rw [sectionsEquiv_algebraMap] |
| 76 | change sectionsEquiv R r (algebraMap R (Sections R r) x) = |
| 77 | algebraMap (LiftedRing R) (LiftedSections R r) (ULift.up x) |
| 78 | exact sectionsEquiv_algebraMap R r x |
| 79 | |
| 80 | theorem sections_natural_apply {r s : PrincipalOpens.Category.Principal R} (a : r ⟶ s) (x : Sections R s) : |
| 81 | sectionsEquiv R r ((smallPresheaf R).map a.op x) = |
| 82 | (liftedPresheaf R).map a.op (sectionsEquiv R s x) := |
| 83 | DFunLike.congr_fun (sections_natural R a) x |
| 84 | |
| 85 | abbrev forgetAdd : CommRingCat.{u} ⥤ AddCommGrpCat.{u} := |
| 86 | forget₂ CommRingCat.{u} RingCat.{u} ⋙ forget₂ RingCat.{u} AddCommGrpCat.{u} |
| 87 | |
| 88 | def additivePresheafIso : |
| 89 | smallPresheaf R ⋙ forgetAdd ⋙ AddCommGrpCat.uliftFunctor.{u + 1} ≅ |
| 90 | liftedPresheaf R ⋙ forgetAdd := |
| 91 | NatIso.ofComponents |
| 92 | (fun r => ((AddEquiv.ulift : ULift.{u + 1} (Sections R r.unop) ≃+ Sections R r.unop).trans |
| 93 | (sectionsEquiv R r.unop).toAddEquiv).toAddCommGrpIso) |
| 94 | (fun a => by |
| 95 | apply AddCommGrpCat.hom_ext |
| 96 | ext x |
| 97 | exact sections_natural_apply R a.unop x.down) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.PrincipalSections |