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.SupportedOpenScalar |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentrationNaturality |
| 3 | |
| 4 | /-! # Supported Open Restriction Scalar -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedOpenRestrictionScalar |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The action of a function on a common source open commutes with |
| 11 | restriction between the actual supported principal diagrams. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Injective.Comparison OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SubschemeCoefficientUnit OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedOpenScalar |
| 16 | variable {Y : Scheme.{0}} {C : Type} [Preorder C] [HasFiniteProducts C] |
| 17 | (F G : C ⥤ Y.Opens) (α : G ⟶ F) {ι : Type} [LinearOrder ι] (W : ι → C) |
| 18 | |
| 19 | def restriction (N : Y.Modules) (c q : ℕ) := |
| 20 | homologyMap (AffinePrincipal.InjectiveRestriction.sourceMap F G α W N c) q |
| 21 | |
| 22 | theorem coefficient_natural {N P : Y.Modules} (a : N ⟶ P) (c q : ℕ) : |
| 23 | homologyMap (AffinePrincipal.Injective.Comparison.sourceMap F W N c a) q ≫ restriction F G α W P c q = |
| 24 | restriction F G α W N c q ≫ homologyMap (AffinePrincipal.Injective.Comparison.sourceMap G W N c a) q := by |
| 25 | have h := congrArg (fun b => homologyMap b q) |
| 26 | (AffinePrincipal.InjectiveRestriction.naturality F G α W |
| 27 | ((single _ (.up ℕ) c).map ((SheafOfModules.toSheaf Y.ringCatSheaf).map a))) |
| 28 | change homologyMap (AffinePrincipal.Injective.Comparison.sourceMap F W N c a ≫ |
| 29 | AffinePrincipal.InjectiveRestriction.sourceMap F G α W P c) q = |
| 30 | homologyMap (AffinePrincipal.InjectiveRestriction.sourceMap F G α W N c ≫ |
| 31 | AffinePrincipal.Injective.Comparison.sourceMap G W N c a) q at h |
| 32 | rw [homologyMap_comp, homologyMap_comp] at h |
| 33 | exact h |
| 34 | |
| 35 | variable (V : Y.Opens) (hF : ∀ r, F.obj r ≤ V) (hG : ∀ r, G.obj r ≤ V) |
| 36 | (N : Y.Modules) (c q : ℕ) (z : Γ(Y,V)) |
| 37 | |
| 38 | theorem action_restriction : |
| 39 | SupportedOpenScalar.action F V hF W N c z q ≫ restriction F G α W N c q = |
| 40 | restriction F G α W N c q ≫ SupportedOpenScalar.action G V hG W N c z q := by |
| 41 | let eF := SupportedOpenScalar.unitIso F V hF W N c q |
| 42 | let eG := SupportedOpenScalar.unitIso G V hG W N c q |
| 43 | let aF := homologyMap (AffinePrincipal.Injective.Comparison.sourceMap F W (Open.SubschemeCoefficientUnit.extension V N) c (Open.SubschemeCoefficientUnit.scalar V N z)) q |
| 44 | let aG := homologyMap (AffinePrincipal.Injective.Comparison.sourceMap G W (Open.SubschemeCoefficientUnit.extension V N) c (Open.SubschemeCoefficientUnit.scalar V N z)) q |
| 45 | let rN := restriction F G α W N c q |
| 46 | let rP := restriction F G α W (Open.SubschemeCoefficientUnit.extension V N) c q |
| 47 | have hu : eF.hom ≫ rP = rN ≫ eG.hom := coefficient_natural F G α W (Open.SubschemeCoefficientUnit.unit V N) c q |
| 48 | have hs : aF ≫ rP = rP ≫ aG := coefficient_natural F G α W (Open.SubschemeCoefficientUnit.scalar V N z) c q |
| 49 | have hi := CohomologyConcentrationNaturality.inverse_square rN rP eF eG hu.symm |
| 50 | change (eF.hom ≫ aF ≫ eF.inv) ≫ rN = rN ≫ (eG.hom ≫ aG ≫ eG.inv) |
| 51 | simp only [Category.assoc] |
| 52 | rw [← hi, ← Category.assoc aF rP, hs] |
| 53 | simpa only [Category.assoc] using congrArg (fun b => b ≫ aG ≫ eG.inv) hu |
| 54 | |
| 55 | theorem fixed_restriction (x : (AffinePrincipal.Injective.Comparison.source F W N c).homology q) |
| 56 | (hx : SupportedOpenScalar.action F V hF W N c z q x = x) : |
| 57 | SupportedOpenScalar.action G V hG W N c z q (restriction F G α W N c q x) = |
| 58 | restriction F G α W N c q x := by |
| 59 | have h := ConcreteCategory.congr_hom (action_restriction F G α W V hF hG N c q z) x |
| 60 | change restriction F G α W N c q (SupportedOpenScalar.action F V hF W N c z q x) = _ at h |
| 61 | rw [hx] at h |
| 62 | exact h.symm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedOpenRestrictionScalar |