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.PELModuli.CMPoints.PrimeToDegreeTorsion |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.FlattenTorsionFactors |
| 3 | |
| 4 | /-! # Torsion Factor Iso -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.PELModuli.CMPoints.TorsionFactorIso |
| 11 | |
| 12 | /-! Maps from abelian torsion to a finite product of factors, allowing |
| 13 | different factor dimensions and preserving all test-scheme functor maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped Classical _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {S : Scheme.{0}} {g h : ℕ} |
| 19 | |
| 20 | def torsionCommFunctor (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (N : ℕ) : (Over S)ᵒᵖ ⥤ CommGrpCat where |
| 21 | obj T := CommGrpCat.of (A.torsionPoints N T.unop) |
| 22 | map f := CommGrpCat.ofHom (A.torsionPullback N f.unop) |
| 23 | map_id T := by |
| 24 | apply CommGrpCat.hom_ext |
| 25 | apply MonoidHom.ext |
| 26 | intro x |
| 27 | exact Subtype.ext (Category.id_comp x.val) |
| 28 | map_comp f k := by |
| 29 | apply CommGrpCat.hom_ext |
| 30 | apply MonoidHom.ext |
| 31 | intro x |
| 32 | exact Subtype.ext (Category.assoc _ _ x.val) |
| 33 | |
| 34 | def mixedHomOnTorsion (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S) |
| 35 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] (N : ℕ) : |
| 36 | A.torsionFunctor N ⟶ B.torsionFunctor N where |
| 37 | app T := GrpCat.ofHom { |
| 38 | toFun x := ⟨x.val ≫ f, by |
| 39 | change (x.val ≫ f) ^ N = 1 |
| 40 | have hx : x.val ^ N = 1 := x.property |
| 41 | rw [← MonObj.pow_comp, hx, MonObj.one_comp]⟩ |
| 42 | map_one' := Subtype.ext (MonObj.one_comp _) |
| 43 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val _) } |
| 44 | naturality _ _ _ := by ext x; exact Subtype.ext (Category.assoc _ _ _) |
| 45 | |
| 46 | variable {I : Type} [Fintype I] {d : I → ℕ} |
| 47 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (B : ∀ i, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (d i) S) |
| 48 | |
| 49 | def torsionFactorMap (f : ∀ i, A.scheme ⟶ (B i).scheme) (hf : ∀ i, IsMonHom (f i)) |
| 50 | (N : ℕ) : A.torsionFunctor N ⟶ FlattenTorsionFactors.piGroupFunctor (fun i => torsionCommFunctor (B i) N) where |
| 51 | app T := GrpCat.ofHom (MonoidHom.pi (fun i => |
| 52 | letI := hf i; ((mixedHomOnTorsion A (B i) (f i) N).app T).hom)) |
| 53 | naturality T U a := by |
| 54 | apply GrpCat.hom_ext |
| 55 | apply MonoidHom.ext |
| 56 | intro x |
| 57 | funext i |
| 58 | exact Subtype.ext (Category.assoc _ _ _) |
| 59 | |
| 60 | def torsionFactorAssemble (f : ∀ i, (B i).scheme ⟶ A.scheme) (hf : ∀ i, IsMonHom (f i)) |
| 61 | (N : ℕ) : FlattenTorsionFactors.piGroupFunctor (fun i => torsionCommFunctor (B i) N) ⟶ A.torsionFunctor N := |
| 62 | FlattenTorsionFactors.piGroupCharacterAssemble (fun i => torsionCommFunctor (B i) N) (torsionCommFunctor A N) |
| 63 | (fun i => letI := hf i; mixedHomOnTorsion (B i) A (f i) N) |
| 64 | |
| 65 | theorem torsionFactorAssemble_val |
| 66 | (f : ∀ i, (B i).scheme ⟶ A.scheme) (hf : ∀ i, IsMonHom (f i)) |
| 67 | (N : ℕ) (T : Over S) (x : ∀ i, (B i).torsionPoints N T) : |
| 68 | ((torsionFactorAssemble A B f hf N).app (.op T) x).val = ∏ i, (x i).val ≫ f i := by |
| 69 | let y (i : I) : A.torsionPoints N T := |
| 70 | letI := hf i |
| 71 | (mixedHomOnTorsion (B i) A (f i) N).app (.op T) (x i) |
| 72 | exact map_prod (A.torsionPoints N T).subtype y Finset.univ |
| 73 | |
| 74 | structure AbelianScalarFactorization where |
| 75 | multiplier : ℕ |
| 76 | positive : 0 < multiplier |
| 77 | forward : ∀ i, A.scheme ⟶ (B i).scheme |
| 78 | backward : ∀ i, (B i).scheme ⟶ A.scheme |
| 79 | forward_group : ∀ i, IsMonHom (forward i) |
| 80 | backward_group : ∀ i, IsMonHom (backward i) |
| 81 | diagonal : ∀ i, backward i ≫ forward i = (B i).multiplication multiplier |
| 82 | offDiagonal : ∀ i j, i ≠ j → backward i ≫ forward j = 1 |
| 83 | total : (∏ i, forward i ≫ backward i) = A.multiplication multiplier |
| 84 | |
| 85 | end AlgebraicGeometry.PELModuli.CMPoints.TorsionFactorIso |
| 86 | |
| 87 | namespace AlgebraicGeometry.PELModuli.CMPoints.TorsionFactorIso.AbelianScalarFactorization |
| 88 | |
| 89 | /-! An actual algebraic scalar splitting gives a torsion-functor |
| 90 | isomorphism at every order coprime to its multiplier. -/ |
| 91 | |
| 92 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 93 | open scoped Classical _root_.CategoryTheory.MonObj |
| 94 | |
| 95 | variable {S : Scheme.{0}} {I : Type} [Fintype I] {g : ℕ} {d : I → ℕ} |
| 96 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : ∀ i, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (d i) S} |
| 97 | (D : AbelianScalarFactorization A B) |
| 98 | |
| 99 | theorem torsionFactorAssemble_factor (N : ℕ) (T : Over S) (x : A.torsionPoints N T) : |
| 100 | (torsionFactorAssemble A B D.backward D.backward_group N).app (.op T) |
| 101 | ((torsionFactorMap A B D.forward D.forward_group N).app (.op T) x) = |
| 102 | x ^ D.multiplier := by |
| 103 | apply Subtype.ext |
| 104 | refine (torsionFactorAssemble_val A B D.backward D.backward_group N T |
| 105 | ((torsionFactorMap A B D.forward D.forward_group N).app (.op T) x)).trans ?_ |
| 106 | change (∏ i, (x.val ≫ D.forward i) ≫ D.backward i) = x.val ^ D.multiplier |
| 107 | have h := map_prod (A.pointsPullback x.val) (fun i => D.forward i ≫ D.backward i) Finset.univ |
| 108 | change x.val ≫ (∏ i, D.forward i ≫ D.backward i) = |
| 109 | ∏ i, x.val ≫ (D.forward i ≫ D.backward i) at h |
| 110 | simp_rw [Category.assoc] |
| 111 | rw [← h, D.total] |
| 112 | simp only [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.multiplication, MonObj.comp_pow, Category.comp_id] |
| 113 | |
| 114 | theorem torsionFactorMap_assemble (N : ℕ) (T : Over S) |
| 115 | (x : ∀ i, (B i).torsionPoints N T) : |
| 116 | (torsionFactorMap A B D.forward D.forward_group N).app (.op T) |
| 117 | ((torsionFactorAssemble A B D.backward D.backward_group N).app (.op T) x) = |
| 118 | x ^ D.multiplier := by |
| 119 | classical |
| 120 | funext i |
| 121 | apply Subtype.ext |
| 122 | change ((torsionFactorAssemble A B D.backward D.backward_group N).app (.op T) x).val ≫ |
| 123 | D.forward i = (x i).val ^ D.multiplier |
| 124 | rw [torsionFactorAssemble_val] |
| 125 | change (∏ j, (x j).val ≫ D.backward j) ≫ D.forward i = (x i).val ^ D.multiplier |
| 126 | let : IsMonHom (D.forward i) := D.forward_group i |
| 127 | have h := map_prod (IsMonHom.monoidHom (D.forward i) T) |
| 128 | (fun j => (x j).val ≫ D.backward j) Finset.univ |
| 129 | change (∏ j, (x j).val ≫ D.backward j) ≫ D.forward i = |
| 130 | ∏ j, ((x j).val ≫ D.backward j) ≫ D.forward i at h |
| 131 | rw [h, Finset.prod_eq_single i] |
| 132 | · rw [Category.assoc, D.diagonal] |
| 133 | simp only [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.multiplication, MonObj.comp_pow, Category.comp_id] |
| 134 | · intro j _ hji |
| 135 | rw [Category.assoc, D.offDiagonal j i hji, MonObj.comp_one] |
| 136 | · simp |
| 137 | |
| 138 | theorem torsionFactorMap_isIso (N : ℕ) (hN : N.Coprime D.multiplier) : |
| 139 | IsIso (torsionFactorMap A B D.forward D.forward_group N) := by |
| 140 | have (T : (Over S)ᵒᵖ) : IsIso ((torsionFactorMap A B D.forward D.forward_group N).app T) := by |
| 141 | have hb := PrimeToDegreeTorsion.bijective_of_scalar_composites |
| 142 | ((torsionFactorMap A B D.forward D.forward_group N).app T) |
| 143 | ((torsionFactorAssemble A B D.backward D.backward_group N).app T) |
| 144 | N D.multiplier hN |
| 145 | (fun x => Subtype.ext x.property) |
| 146 | (fun x => funext (fun i => Subtype.ext (x i).property)) |
| 147 | (D.torsionFactorAssemble_factor N T.unop) (D.torsionFactorMap_assemble N T.unop) |
| 148 | exact (MulEquiv.toGrpIso (MulEquiv.ofBijective |
| 149 | ((torsionFactorMap A B D.forward D.forward_group N).app T).hom hb)).isIso_hom |
| 150 | exact NatIso.isIso_of_isIso_app _ |
| 151 | |
| 152 | def torsionFactorIso (N : ℕ) (hN : N.Coprime D.multiplier) : |
| 153 | A.torsionFunctor N ≅ FlattenTorsionFactors.piGroupFunctor (fun i => torsionCommFunctor (B i) N) := by |
| 154 | let := D.torsionFactorMap_isIso N hN |
| 155 | exact asIso (torsionFactorMap A B D.forward D.forward_group N) |
| 156 | |
| 157 | end AlgebraicGeometry.PELModuli.CMPoints.TorsionFactorIso.AbelianScalarFactorization |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI |