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.RepresentationTheory.Theta.Geometric.AlgebraicAction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.TorsionEtaleAt |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.CM.IntegralPolarization |
| 4 | |
| 5 | /-! # CM Isogenies -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.CMIsogenies |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every nonzero integral CM scalar acts by an actual finite etale |
| 12 | isogeny. A complementary integer produces multiplication by a positive |
| 13 | natural number, and its scheme geometry descends to the factor. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexMultiplication.CM.IntegralPolarization |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | theorem integral_scalar_complement {E : Type} [Field E] [NumberField E] |
| 19 | (a : NumberField.RingOfIntegers E) (ha : a ≠ 0) : |
| 20 | ∃ (n : ℕ), 0 < n ∧ ∃ b : NumberField.RingOfIntegers E, a * b = n ∧ b * a = n := by |
| 21 | obtain ⟨n, hn, hi⟩ := AlgebraicGeometry.ComplexMultiplication.CM.IntegralPolarization.exists_positive_integral_multiple E (a.val⁻¹) |
| 22 | let b : NumberField.RingOfIntegers E := ⟨n • a.val⁻¹, hi⟩ |
| 23 | have ha' : a.val ≠ 0 := by exact_mod_cast ha |
| 24 | have hab : a * b = (n : NumberField.RingOfIntegers E) := by |
| 25 | apply Subtype.ext |
| 26 | change a.val * (n • a.val⁻¹) = (n : E) |
| 27 | rw [nsmul_eq_mul, mul_left_comm, mul_inv_cancel₀ ha', mul_one] |
| 28 | exact ⟨n, hn, b, hab, (mul_comm b a).trans hab⟩ |
| 29 | |
| 30 | theorem endSchemeMap_natCast {S : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℕ) : |
| 31 | AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap A (n : AlgebraicGeometry.AbelianScheme.TateComparison.End.IntegralEnd A) = (𝟙 A) ^ n := by |
| 32 | induction n with |
| 33 | | zero => rfl |
| 34 | | succ n ih => |
| 35 | rw [Nat.cast_succ, AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endSchemeMap_add, ih, AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endSchemeMap_one, pow_succ] |
| 36 | |
| 37 | theorem finite_etale_surjective_of_complement {g : ℕ} |
| 38 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (f h : A.scheme ⟶ A.scheme) |
| 39 | (n : ℕ) (hn : 0 < n) (hfh : f ≫ h = (𝟙 A.scheme) ^ n) |
| 40 | (hhf : h ≫ f = (𝟙 A.scheme) ^ n) : |
| 41 | IsFinite f.left ∧ Etale f.left ∧ Surjective f.left := by |
| 42 | let : NeZero n := ⟨hn.ne'⟩ |
| 43 | have hnet : Etale (((𝟙 A.scheme) ^ n).left) := |
| 44 | AlgebraicGeometry.AbelianScheme.TorsionQuotient.Etale.TorsionEtale.power_etale A.scheme n |
| 45 | (AlgebraicGeometry.AbelianModuli.ReferenceFamily.TorsionEtaleAt.TorsionEtale.integer_unit_at_stalk (𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) n) |
| 46 | |
| 47 | have hfh' : f.left ≫ h.left = ((𝟙 A.scheme) ^ n).left := congrArg Over.Hom.left hfh |
| 48 | have hhf' : h.left ≫ f.left = ((𝟙 A.scheme) ^ n).left := congrArg Over.Hom.left hhf |
| 49 | have : Etale (f.left ≫ h.left) := by rw [hfh']; exact hnet |
| 50 | have : Etale (h.left ≫ f.left) := by rw [hhf']; exact hnet |
| 51 | have : IsSeparated (h.left ≫ A.scheme.hom) := by rw [h.w]; infer_instance |
| 52 | have : IsSeparated h.left := IsSeparated.of_comp h.left A.scheme.hom |
| 53 | have : LocallyOfFiniteType (h.left ≫ A.scheme.hom) := by rw [h.w]; infer_instance |
| 54 | have : LocallyOfFiniteType h.left := locallyOfFiniteType_of_comp h.left A.scheme.hom |
| 55 | have : FormallyUnramified h.left := FormallyUnramified.of_comp h.left f.left |
| 56 | have : Etale f.left := Etale.of_comp f.left h.left |
| 57 | have : IsProper (f.left ≫ A.scheme.hom) := by rw [f.w]; infer_instance |
| 58 | have : IsProper f.left := IsProper.of_comp f.left A.scheme.hom |
| 59 | have : ConnectedSpace A.scheme.left := |
| 60 | GeometricallyConnected.connectedSpace_of_subsingleton A.scheme.hom |
| 61 | refine ⟨AlgebraicGeometry.AbelianScheme.TorsionQuotient.Quasi.TorsionGeometry.finite_of_proper_formallyUnramified f.left, inferInstance, ?_⟩ |
| 62 | have hr : IsClopen (Set.range f.left) := |
| 63 | ⟨f.left.isClosedMap.isClosed_range, f.left.isOpenMap.isOpen_range⟩ |
| 64 | exact ⟨Set.range_eq_univ.mp (hr.eq_univ (Set.range_nonempty f.left))⟩ |
| 65 | |
| 66 | theorem integral_action_isogeny {E : Type} [Field E] [NumberField E] {g : ℕ} |
| 67 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 68 | (r : NumberField.RingOfIntegers E →+* AlgebraicGeometry.AbelianScheme.TateComparison.End.IntegralEnd A.scheme) |
| 69 | (a : NumberField.RingOfIntegers E) (ha : a ≠ 0) : |
| 70 | IsFinite (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap A.scheme (r a)).left ∧ |
| 71 | Etale (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap A.scheme (r a)).left ∧ |
| 72 | Surjective (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap A.scheme (r a)).left := by |
| 73 | obtain ⟨n, hn, b, hab, hba⟩ := integral_scalar_complement a ha |
| 74 | apply finite_etale_surjective_of_complement A _ (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap A.scheme (r b)) n hn |
| 75 | · rw [← AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endSchemeMap_mul, ← map_mul, hba, map_natCast, endSchemeMap_natCast] |
| 76 | · rw [← AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endSchemeMap_mul, ← map_mul, hab, map_natCast, endSchemeMap_natCast] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.RepresentationTheory.Theta.Geometric.CMIsogenies |