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.AbelianScheme.FrobeniusKernel.Power |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.QuotientAction |
| 3 | |
| 4 | /-! # Quotient Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Canonical comparisons of actual isogeny quotients. Equal scheme kernels |
| 12 | give an isomorphism by fpqc descent. The action and ordered full marking |
| 13 | are then proved to agree from their constructions, not assumed compatible. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Power.Construction |
| 22 | |
| 23 | variable {S : Scheme.{u}} {d : ℕ} |
| 24 | variable {A B C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S} |
| 25 | |
| 26 | local instance isogeny_epi (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : Epi f.hom := by |
| 27 | have : EffectiveEpi f.hom := Picard.PoincareBundle.Epi.Construction.effectiveEpi_over_of_fpqc f.hom |
| 28 | infer_instance |
| 29 | |
| 30 | def SameKernel (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 31 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A C) : Prop := |
| 32 | ∀ (T : Over S) (a : T ⟶ A.scheme), a ≫ f.hom = 1 ↔ a ≫ g.hom = 1 |
| 33 | |
| 34 | theorem quotient_comparison_exists |
| 35 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A C) |
| 36 | (hk : SameKernel f g) : |
| 37 | ∃ e : B.scheme ≅ C.scheme, IsMonHom e.hom ∧ f.hom ≫ e.hom = g.hom := by |
| 38 | obtain ⟨b, ⟨hbHom, hb⟩, _⟩ := Picard.PoincareBundle.Epi.Construction.fpqc_group_hom_descent f.hom g.hom |
| 39 | (fun T a ha => (hk T a).mp ha) |
| 40 | obtain ⟨c, ⟨hcHom, hc⟩, _⟩ := Picard.PoincareBundle.Epi.Construction.fpqc_group_hom_descent g.hom f.hom |
| 41 | (fun T a ha => (hk T a).mpr ha) |
| 42 | have hbc : b ≫ c = 𝟙 B.scheme := by |
| 43 | apply (cancel_epi f.hom).mp |
| 44 | rw [← Category.assoc, hb, hc, Category.comp_id] |
| 45 | have hcb : c ≫ b = 𝟙 C.scheme := by |
| 46 | apply (cancel_epi g.hom).mp |
| 47 | rw [← Category.assoc, hc, hb, Category.comp_id] |
| 48 | exact ⟨⟨b, c, hbc, hcb⟩, hbHom, hb⟩ |
| 49 | |
| 50 | def quotientIso |
| 51 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A C) |
| 52 | (hk : SameKernel f g) : B.scheme ≅ C.scheme := |
| 53 | (quotient_comparison_exists f g hk).choose |
| 54 | |
| 55 | instance quotientIso_isMonHom |
| 56 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A C) |
| 57 | (hk : SameKernel f g) : IsMonHom (quotientIso f g hk).hom := |
| 58 | (quotient_comparison_exists f g hk).choose_spec.1 |
| 59 | |
| 60 | theorem quotientIso_projection |
| 61 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A C) |
| 62 | (hk : SameKernel f g) : f.hom ≫ (quotientIso f g hk).hom = g.hom := |
| 63 | (quotient_comparison_exists f g hk).choose_spec.2 |
| 64 | |
| 65 | /-- Every chosen level section is transported through the constructed |
| 66 | quotient comparison. This proves equality of the actual ordered marking. -/ |
| 67 | theorem quotientIso_preserves_quotientLevel |
| 68 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A C) |
| 69 | (hk : SameKernel f g) {n N : ℕ} (hnN : Nat.Coprime n N) |
| 70 | (hf : ∀ (T : Over S) (a : T ⟶ A.scheme), a ≫ f.hom = 1 → a ^ n = 1) |
| 71 | (level : A.FullLevel N) (T : (Over S)ᵒᵖ) |
| 72 | (c : (AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor d N S).obj T) : |
| 73 | ((AbelianScheme.FrobeniusKernel.Power.Construction.quotientLevel f hnN hf level).hom.app T c).val ≫ (quotientIso f g hk).hom = |
| 74 | ((AbelianScheme.FrobeniusKernel.Power.Construction.quotientLevel g hnN (fun T a ha => hf T a ((hk T a).mpr ha)) level).hom.app T c).val := by |
| 75 | rw [AbelianScheme.FrobeniusKernel.Power.Construction.quotientLevel_transports, AbelianScheme.FrobeniusKernel.Power.Construction.quotientLevel_transports, |
| 76 | Category.assoc, quotientIso_projection] |
| 77 | |
| 78 | /-- The descended integral endomorphism action is also preserved by the |
| 79 | same quotient comparison; its compatibility is proved by cancellation. -/ |
| 80 | theorem quotientIso_preserves_quotientAction |
| 81 | {R : Type v} [CommRing R] (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A) |
| 82 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A C) |
| 83 | (hk : SameKernel f g) (hf : AbelianScheme.FrobeniusKernel.QuotientActionBase.Construction.ActionStableKernel ρ f) (hg : AbelianScheme.FrobeniusKernel.QuotientActionBase.Construction.ActionStableKernel ρ g) |
| 84 | (r : R) : |
| 85 | (AbelianScheme.FrobeniusKernel.QuotientActionBase.Construction.quotientAction ρ f hf).map r ≫ (quotientIso f g hk).hom = |
| 86 | (quotientIso f g hk).hom ≫ (AbelianScheme.FrobeniusKernel.QuotientActionBase.Construction.quotientAction ρ g hg).map r := by |
| 87 | apply (cancel_epi f.hom).mp |
| 88 | rw [← Category.assoc, AbelianScheme.FrobeniusKernel.QuotientActionBase.Construction.quotientAction_intertwines, Category.assoc, |
| 89 | quotientIso_projection, ← Category.assoc, quotientIso_projection, |
| 90 | AbelianScheme.FrobeniusKernel.QuotientActionBase.Construction.quotientAction_intertwines] |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison |