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.Open.SubschemeCoefficientUnit |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenFixedClass |
| 3 | |
| 4 | /-! # Open Scalar -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenScalar |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The source-open scalar action is the original ambient principal |
| 11 | action, transported through the actual restriction unit. The additive |
| 12 | coordinates retain the original two pushforwards and restriction map. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction |
| 18 | variable {Y X Z : Scheme.{u}} (f : Y ⟶ X) (i : X ⟶ Z) |
| 19 | (U : Z.Opens) (hU : IsAffineOpen U) (N : Y.Modules) |
| 20 | |
| 21 | abbrev ambient : Y.Opens := (f ≫ i) ⁻¹ᵁ U |
| 22 | |
| 23 | def coefficientScalar (z : Γ(Y,ambient f i U)) : |
| 24 | OpenRestriction.image f i (OpenRestriction.extension (ambient f i U) N) ⟶ OpenRestriction.image f i (OpenRestriction.extension (ambient f i U) N) := |
| 25 | (Scheme.Modules.pushforward i).map ((Scheme.Modules.pushforward f).map |
| 26 | (Open.SubschemeCoefficientUnit.scalar (ambient f i U) N z)) |
| 27 | |
| 28 | def scalarMap (z : Γ(Y,ambient f i U)) := Principal.SectionPresheaf.moduleHom U hU (coefficientScalar f i U N z) |
| 29 | |
| 30 | theorem scalar_unit (z : Γ(Y,ambient f i U)) : |
| 31 | OpenFixedClass.scalar f i U hU N z ≫ OpenRestriction.map f i U hU (ambient f i U) N = |
| 32 | OpenRestriction.map f i U hU (ambient f i U) N ≫ scalarMap f i U hU N z := by |
| 33 | apply NatTrans.ext |
| 34 | funext r |
| 35 | apply ModuleCat.hom_ext |
| 36 | apply LinearMap.ext |
| 37 | intro x |
| 38 | let O := Principal.ClosedScalars.pullbackOpen (f ≫ i) U r.unop |
| 39 | let a := homOfLE ((ambient f i U).ι.image_preimage_le O) |
| 40 | change N.presheaf.map a.op |
| 41 | (Y.presheaf.map |
| 42 | (Principal.ClosedScalars.pullbackInclusion (f ≫ i) U r.unop).op z • |
| 43 | (show Γ(N,O) from x)) = |
| 44 | (Open.SubschemeCoefficientUnit.scalar (ambient f i U) N z).app O (N.presheaf.map a.op x) |
| 45 | rw [Open.SubschemeCoefficientUnit.scalar_app, N.map_smul] |
| 46 | congr 1 |
| 47 | rw [← ConcreteCategory.comp_apply, ← Y.presheaf.map_comp] |
| 48 | rfl |
| 49 | |
| 50 | private abbrev sections (M : Y.Modules) : Y.Opensᵒᵖ ⥤ AddCommGrpCat.{u} := |
| 51 | ((SheafOfModules.toSheaf Y.ringCatSheaf).obj M).obj |
| 52 | |
| 53 | def diagramIso : |
| 54 | OpenFixedClass.source f i U hU N ⋙ Principal.AdditiveSections.forgetScalars U ≅ |
| 55 | (OpenReindex.wideOpens (f ≫ i) U hU).op ⋙ sections N := |
| 56 | NatIso.ofComponents (fun _ => Iso.refl _) (fun {_ _} _ => rfl) |
| 57 | |
| 58 | variable {N} {P : Y.Modules} (a : N ⟶ P) |
| 59 | |
| 60 | theorem diagramIso_natural : |
| 61 | Functor.whiskerRight |
| 62 | (Principal.SectionPresheaf.moduleHom U hU ((Scheme.Modules.pushforward i).map ((Scheme.Modules.pushforward f).map a))) |
| 63 | (Principal.AdditiveSections.forgetScalars U) ≫ (diagramIso f i U hU P).hom = |
| 64 | (diagramIso f i U hU N).hom ≫ |
| 65 | Open.SubschemeSectionDiagram.coefficientMap |
| 66 | (OpenReindex.wideOpens (f ≫ i) U hU) a := by |
| 67 | apply NatTrans.ext |
| 68 | funext r |
| 69 | rfl |
| 70 | |
| 71 | variable (N) (V : Y.Opens) |
| 72 | |
| 73 | def localDiagramIso : |
| 74 | OpenFixedClass.source f i U hU (OpenRestriction.extension V N) ⋙ |
| 75 | Principal.AdditiveSections.forgetScalars U ≅ |
| 76 | OpenReindex.geometricSections (f ≫ i) U hU V N := |
| 77 | diagramIso f i U hU (OpenRestriction.extension V N) ≪≫ |
| 78 | (OpenReindex.pushforwardIso (f ≫ i) U hU (OpenRestriction.extension V N)).symm ≪≫ |
| 79 | OpenReindex.extensionIso (f ≫ i) U hU V N |
| 80 | |
| 81 | theorem localDiagramIso_apply (r : Principal.SectionPresheaf.Index U) |
| 82 | (x : Γ(N,V.ι ''ᵁ (V.ι ⁻¹ᵁ ((f ≫ i) ⁻¹ᵁ Principal.SectionPresheaf.openSubset U r)))) : |
| 83 | (localDiagramIso f i U hU N V).hom.app (op r) x = |
| 84 | N.presheaf.map |
| 85 | (eqToHom (OpenReindex.extensionOpen_eq (f ≫ i) U hU V r).symm).op x := rfl |
| 86 | |
| 87 | def additiveRestriction : |
| 88 | OpenFixedClass.source f i U hU N ⋙ Principal.AdditiveSections.forgetScalars U ⟶ |
| 89 | OpenFixedClass.source f i U hU (OpenRestriction.extension V N) ⋙ |
| 90 | Principal.AdditiveSections.forgetScalars U := |
| 91 | Functor.whiskerRight (OpenRestriction.map f i U hU V N) (Principal.AdditiveSections.forgetScalars U) |
| 92 | |
| 93 | def geometricRestriction : |
| 94 | (OpenReindex.wideOpens (f ≫ i) U hU).op ⋙ sections N ⟶ |
| 95 | OpenReindex.geometricSections (f ≫ i) U hU V N := |
| 96 | Functor.whiskerRight |
| 97 | (NatTrans.op (OpenReindex.geometricInclusion (f ≫ i) U hU V)) (sections N) |
| 98 | |
| 99 | theorem restriction_apply (r : Principal.SectionPresheaf.Index U) (x : Γ(N,(f ≫ i) ⁻¹ᵁ Principal.SectionPresheaf.openSubset U r)) : |
| 100 | (localDiagramIso f i U hU N V).hom.app (op r) ((OpenRestriction.map f i U hU V N).app (op r) x) = |
| 101 | N.presheaf.map ((OpenReindex.geometricInclusion (f ≫ i) U hU V).app r).op x := by |
| 102 | rw [localDiagramIso_apply f i U hU N V r ((OpenRestriction.map f i U hU V N).app (op r) x)] |
| 103 | rw [OpenRestriction.map_app f i U hU V N r x] |
| 104 | erw [← ConcreteCategory.comp_apply, ← N.presheaf.map_comp] |
| 105 | rfl |
| 106 | |
| 107 | theorem restriction_square : |
| 108 | additiveRestriction f i U hU N V ≫ (localDiagramIso f i U hU N V).hom = |
| 109 | (diagramIso f i U hU N).hom ≫ geometricRestriction f i U hU N V := by |
| 110 | apply NatTrans.ext |
| 111 | funext r |
| 112 | apply ConcreteCategory.hom_ext |
| 113 | intro x |
| 114 | exact restriction_apply f i U hU N V r.unop x |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenScalar |