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.Principal.PushforwardSectionNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechHomotopyEquivalence |
| 3 | |
| 4 | /-! # Open Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction to an actual source open on the original ambient |
| 11 | principal diagram. The coefficient map is the open-immersion restriction |
| 12 | unit, pushed through the original two scheme morphisms. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 19 | variable {Y X Z : Scheme.{u}} (f : Y ⟶ X) (i : X ⟶ Z) |
| 20 | (U : Z.Opens) (hU : IsAffineOpen U) (V : Y.Opens) (N : Y.Modules) |
| 21 | |
| 22 | abbrev extension := (Scheme.Modules.pushforward V.ι).obj (N.restrict V.ι) |
| 23 | abbrev image := (Scheme.Modules.pushforward i).obj ((Scheme.Modules.pushforward f).obj N) |
| 24 | |
| 25 | def coefficientMap : image f i N ⟶ image f i (extension V N) := |
| 26 | (Scheme.Modules.pushforward i).map |
| 27 | ((Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictAdjunction V.ι).unit.app N)) |
| 28 | |
| 29 | def map : Principal.SectionPresheaf.modules U hU (image f i N) ⟶ Principal.SectionPresheaf.modules U hU (image f i (extension V N)) := |
| 30 | Principal.SectionPresheaf.moduleHom U hU (coefficientMap f i V N) |
| 31 | |
| 32 | abbrev openPart (r : Principal.SectionPresheaf.Index U) := V.ι ''ᵁ |
| 33 | (V.ι ⁻¹ᵁ (f ⁻¹ᵁ (i ⁻¹ᵁ Principal.SectionPresheaf.openSubset U r))) |
| 34 | |
| 35 | theorem openPart_eq (r : Principal.SectionPresheaf.Index U) : openPart f i U V r = V ⊓ f ⁻¹ᵁ (i ⁻¹ᵁ Principal.SectionPresheaf.openSubset U r) := by |
| 36 | rw [openPart, Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι] |
| 37 | |
| 38 | theorem map_app (r : Principal.SectionPresheaf.Index U) (x : Γ(N, f ⁻¹ᵁ (i ⁻¹ᵁ Principal.SectionPresheaf.openSubset U r))) : |
| 39 | (OpenRestriction.map f i U hU V N).app (op r) x = |
| 40 | N.presheaf.map (homOfLE (V.ι.image_preimage_le (f ⁻¹ᵁ (i ⁻¹ᵁ Principal.SectionPresheaf.openSubset U r)))).op x := |
| 41 | rfl |
| 42 | |
| 43 | def restrictedSection (ω : Γ((Scheme.Modules.pushforward f).obj N, i ⁻¹ᵁ U)) : |
| 44 | Γ((Scheme.Modules.pushforward f).obj (extension V N), i ⁻¹ᵁ U) := |
| 45 | ((Scheme.Modules.pushforward f).map |
| 46 | ((Scheme.Modules.restrictAdjunction V.ι).unit.app N)).app (i ⁻¹ᵁ U) ω |
| 47 | |
| 48 | theorem section_apply (ω : Γ((Scheme.Modules.pushforward f).obj N, i ⁻¹ᵁ U)) : |
| 49 | restrictedSection f i U V N ω = |
| 50 | N.presheaf.map (homOfLE (V.ι.image_preimage_le (f ⁻¹ᵁ (i ⁻¹ᵁ U)))).op ω := rfl |
| 51 | |
| 52 | theorem symbol (ω : Γ((Scheme.Modules.pushforward f).obj N, i ⁻¹ᵁ U)) : |
| 53 | Principal.PushforwardSection.map i U hU ((Scheme.Modules.pushforward f).obj N) ω ≫ |
| 54 | OpenRestriction.map f i U hU V N = |
| 55 | Principal.PushforwardSection.map i U hU ((Scheme.Modules.pushforward f).obj (extension V N)) |
| 56 | (restrictedSection f i U V N ω) := |
| 57 | Principal.PushforwardSectionNaturality.map i U hU |
| 58 | ((Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictAdjunction V.ι).unit.app N)) ω |
| 59 | |
| 60 | private abbrev ambientRing := Γ(Z, U) |
| 61 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction.ambientRing U |
| 62 | variable {ι : Type u} [LinearOrder ι] (W : ι → Principal.SectionPresheaf.Index U) (c q : ℕ) |
| 63 | |
| 64 | def supportedFunctor : ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} A) ⥤ ModuleCat.{u} A := |
| 65 | single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} A) (.up ℕ) c ⋙ |
| 66 | Supported.CechHomotopyEquivalence.functor W q |
| 67 | |
| 68 | def supportedMap := (supportedFunctor U W c q).map (OpenRestriction.map f i U hU V N) |
| 69 | |
| 70 | theorem supported_symbol (ω : Γ((Scheme.Modules.pushforward f).obj N, i ⁻¹ᵁ U)) : |
| 71 | (supportedFunctor U W c q).map |
| 72 | (Principal.PushforwardSection.map i U hU ((Scheme.Modules.pushforward f).obj N) ω) ≫ |
| 73 | supportedMap f i U hU V N W c q = |
| 74 | (supportedFunctor U W c q).map |
| 75 | (Principal.PushforwardSection.map i U hU ((Scheme.Modules.pushforward f).obj (extension V N)) |
| 76 | (restrictedSection f i U V N ω)) := by |
| 77 | change (supportedFunctor U W c q).map _ ≫ (supportedFunctor U W c q).map _ = _ |
| 78 | rw [← Functor.map_comp, symbol] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction |