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.AbelianModuli.HilbertConstruction.Isogenies |
| 2 | import Mathlib.Data.Int.GCD |
| 3 | |
| 4 | /-! # Markings -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Markings.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Transport of the actual full-level functor used by ReferenceFamily. Complementary |
| 12 | isogenies induce an isomorphism on all N-torsion test-scheme groups when |
| 13 | the multiplier is prime to N. Composition transports every ordered full |
| 14 | marking, without restricting its similitude component. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem torsion_bezout_inverse |
| 23 | {G : Type*} [Group G] (n N : ℕ) (hcop : Nat.Coprime n N) |
| 24 | (x : G) (hx : x ^ N = 1) : (x ^ n) ^ (Nat.gcdA n N) = x := by |
| 25 | have h := congrArg (fun z : ℤ => x ^ z) (Nat.gcd_eq_gcd_ab n N) |
| 26 | simpa only [hcop, Nat.cast_one, zpow_one, zpow_add, zpow_mul, |
| 27 | zpow_natCast, hx, one_zpow, mul_one] using h.symm |
| 28 | |
| 29 | variable {S : Scheme.{u}} {g₁ g₂ : ℕ} |
| 30 | variable (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g₁ S) (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g₂ S) |
| 31 | variable (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 32 | |
| 33 | def torsionPointMap (N : ℕ) (T : Over S) : |
| 34 | A.torsionPoints N T →* B.torsionPoints N T where |
| 35 | toFun x := ⟨x.val ≫ f, by |
| 36 | change (x.val ≫ f) ^ N = 1 |
| 37 | rw [← MonObj.pow_comp, show x.val ^ N = 1 from x.property, MonObj.one_comp]⟩ |
| 38 | map_one' := Subtype.ext (MonObj.one_comp f) |
| 39 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val f) |
| 40 | |
| 41 | theorem torsionPointMap_bijective |
| 42 | (back : B.scheme ⟶ A.scheme) [IsMonHom back] |
| 43 | (n N : ℕ) (hcop : Nat.Coprime n N) |
| 44 | (hfb : f ≫ back = (𝟙 A.scheme) ^ n) |
| 45 | (hbf : back ≫ f = (𝟙 B.scheme) ^ n) (T : Over S) : |
| 46 | Function.Bijective (torsionPointMap A B f N T) := by |
| 47 | constructor |
| 48 | · intro x y hxy |
| 49 | apply Subtype.ext |
| 50 | have h := congrArg (fun z => z.val ≫ back) hxy |
| 51 | change (x.val ≫ f) ≫ back = (y.val ≫ f) ≫ back at h |
| 52 | simp only [Category.assoc, hfb, MonObj.comp_pow, Category.comp_id] at h |
| 53 | rw [← torsion_bezout_inverse n N hcop x.val x.property, |
| 54 | ← torsion_bezout_inverse n N hcop y.val y.property, h] |
| 55 | · intro y |
| 56 | let x := (torsionPointMap B A back N T y) ^ (Nat.gcdA n N) |
| 57 | refine ⟨x, ?_⟩ |
| 58 | apply Subtype.ext |
| 59 | change (((y.val ≫ back) ^ (Nat.gcdA n N)) ≫ f) = y.val |
| 60 | rw [GrpObj.zpow_comp, Category.assoc, hbf, MonObj.comp_pow, Category.comp_id] |
| 61 | exact torsion_bezout_inverse n N hcop y.val y.property |
| 62 | |
| 63 | def torsionFunctorMap (N : ℕ) : A.torsionFunctor N ⟶ B.torsionFunctor N where |
| 64 | app T := GrpCat.ofHom (torsionPointMap A B f N T.unop) |
| 65 | naturality _ _ t := by |
| 66 | apply GrpCat.hom_ext |
| 67 | apply MonoidHom.ext |
| 68 | intro x |
| 69 | apply Subtype.ext |
| 70 | exact Category.assoc t.unop x.val f |
| 71 | |
| 72 | /-- The actual torsion functor isomorphism, natural on all test schemes. -/ |
| 73 | def torsionFunctorIso |
| 74 | (back : B.scheme ⟶ A.scheme) [IsMonHom back] |
| 75 | (n N : ℕ) (hcop : Nat.Coprime n N) |
| 76 | (hfb : f ≫ back = (𝟙 A.scheme) ^ n) |
| 77 | (hbf : back ≫ f = (𝟙 B.scheme) ^ n) : |
| 78 | A.torsionFunctor N ≅ B.torsionFunctor N := by |
| 79 | let t := torsionFunctorMap A B f N |
| 80 | have : ∀ T, IsIso (t.app T) := fun T => by |
| 81 | let e : (A.torsionFunctor N).obj T ≃* (B.torsionFunctor N).obj T := |
| 82 | MulEquiv.ofBijective (torsionPointMap A B f N T.unop) |
| 83 | (torsionPointMap_bijective A B f back n N hcop hfb hbf T.unop) |
| 84 | exact e.toGrpIso.isIso_hom |
| 85 | have : IsIso t := NatIso.isIso_of_isIso_app t |
| 86 | exact asIso t |
| 87 | |
| 88 | /-- Transport any full ordered marking by the quotient isogeny. -/ |
| 89 | def transportFullLevel |
| 90 | {g : ℕ} (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 91 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 92 | (back : B.scheme ⟶ A.scheme) [IsMonHom back] |
| 93 | (n N : ℕ) (hcop : Nat.Coprime n N) |
| 94 | (hfb : f ≫ back = (𝟙 A.scheme) ^ n) |
| 95 | (hbf : back ≫ f = (𝟙 B.scheme) ^ n) |
| 96 | (level : A.FullLevel N) : B.FullLevel N := |
| 97 | level ≪≫ torsionFunctorIso A B f back n N hcop hfb hbf |
| 98 | |
| 99 | theorem transportFullLevel_apply |
| 100 | {g : ℕ} (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 101 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 102 | (back : B.scheme ⟶ A.scheme) [IsMonHom back] |
| 103 | (n N : ℕ) (hcop : Nat.Coprime n N) |
| 104 | (hfb : f ≫ back = (𝟙 A.scheme) ^ n) |
| 105 | (hbf : back ≫ f = (𝟙 B.scheme) ^ n) |
| 106 | (level : A.FullLevel N) (T : Over S) |
| 107 | (c : LocallyConstant T.left (Multiplicative (Fin (2 * g) → ZMod N))) : |
| 108 | (((transportFullLevel A B f back n N hcop hfb hbf level).hom.app (.op T)) c).val = |
| 109 | ((level.hom.app (.op T)) c).val ≫ f := rfl |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Markings.Construction |