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.Quotients.FiniteDescent.CharacteristicZeroIs |
| 2 | import Mathlib.Data.Nat.Factorization.Induction |
| 3 | |
| 4 | /-! # Prime Reduction Of -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PrimeReductionOf |
| 7 | |
| 8 | /-! |
| 9 | # Reduction to characteristic-p multiplication on abelian varieties |
| 10 | |
| 11 | Positive multiplication maps are composites of prime multiplication maps. |
| 12 | Primes nonzero in the base field are already handled by infinitesimal |
| 13 | uniqueness. Surjective base change reduces the remaining prime to an |
| 14 | algebraically closed field of that characteristic. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.PrimeReduction |
| 23 | |
| 24 | theorem finite_powers_of_primes {S : Scheme.{u}} (A : Over S) [GrpObj A] |
| 25 | (h : ∀ p : ℕ, p.Prime → IsFinite ((𝟙 A : A ⟶ A) ^ p).left) : |
| 26 | ∀ n : ℕ, 0 < n → IsFinite ((𝟙 A : A ⟶ A) ^ n).left := by |
| 27 | apply Nat.recOnMul |
| 28 | · intro hn |
| 29 | exact (Nat.not_lt_zero _ hn).elim |
| 30 | · intro _ |
| 31 | rw [pow_one] |
| 32 | change IsFinite (𝟙 A.left) |
| 33 | infer_instance |
| 34 | · intro p hp _ |
| 35 | exact h p hp |
| 36 | · intro m n hm hn hmn |
| 37 | have := hm (Nat.pos_of_mul_pos_right hmn) |
| 38 | have := hn (Nat.pos_of_mul_pos_left hmn) |
| 39 | rw [← PowerOrbitEq.Construction.PowerOrbit.power_comp A m n] |
| 40 | exact inferInstanceAs |
| 41 | (IsFinite (((𝟙 A : A ⟶ A) ^ m).left ≫ ((𝟙 A : A ⟶ A) ^ n).left)) |
| 42 | |
| 43 | theorem finite_power_of_nonzero {K : Type u} [Field K] |
| 44 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] [IsProper A.hom] |
| 45 | (n : ℕ) (hn : (n : K) ≠ 0) : IsFinite ((𝟙 A : A ⟶ A) ^ n).left := by |
| 46 | apply CharacteristicZeroIs.Construction.CharacteristicZero.finite_power_of_stalk_units |
| 47 | intro x |
| 48 | let ρ : CommRingCat.of K ⟶ (Spec (.of K)).presheaf.stalk x := |
| 49 | (Scheme.ΓSpecIso (.of K)).inv ≫ (Spec (.of K)).presheaf.germ ⊤ x trivial |
| 50 | simpa only [map_natCast] using (isUnit_iff_ne_zero.mpr hn).map ρ.hom |
| 51 | |
| 52 | /-- Finiteness of multiplication by the characteristic, over algebraically |
| 53 | closed fields, is the only multiplication theorem still needed for FiniteDescent. -/ |
| 54 | theorem finite_field_powers_of_characteristic_prime |
| 55 | (hchar : ∀ (K : Type u) [Field K] [IsAlgClosed K] (p : ℕ) [Fact p.Prime] [CharP K p] |
| 56 | (B : AbelianQuotient.Construction.AbelianScheme (Spec (.of K))), |
| 57 | IsFinite ((𝟙 B.toOver : B.toOver ⟶ B.toOver) ^ p).left) |
| 58 | (K : Type u) [Field K] (A : AbelianQuotient.Construction.AbelianScheme (Spec (.of K))) : |
| 59 | ∀ n : ℕ, 0 < n → IsFinite ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ n).left := by |
| 60 | apply finite_powers_of_primes |
| 61 | intro p hp |
| 62 | by_cases hpK : (p : K) = 0 |
| 63 | · let L := AlgebraicClosure K |
| 64 | let a : Spec (.of L) ⟶ Spec (.of K) := |
| 65 | Spec.map (CommRingCat.ofHom (algebraMap K L)) |
| 66 | have : Fact p.Prime := ⟨hp⟩ |
| 67 | have : CharP K p := (CharP.charP_iff_prime_eq_zero hp).mpr hpK |
| 68 | have : Surjective a := ⟨fun _ => ⟨IsLocalRing.closedPoint L, Subsingleton.elim _ _⟩⟩ |
| 69 | have := RelativeFinitenessIs.Construction.RelativeFiniteness.power_isProper A.toOver p |
| 70 | suffices hf : IsFinite ((Over.pullback a).map |
| 71 | ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ p)).left by |
| 72 | have := hf |
| 73 | exact RelativeFinitenessIs.Construction.RelativeFiniteness.finite_of_surjective_baseChange a _ |
| 74 | let F := Over.pullback a |
| 75 | let B := A.baseChange a |
| 76 | let : GrpObj (F.obj A.toOver) := Functor.grpObjObj |
| 77 | have he : F.map ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ p) = |
| 78 | (𝟙 B.toOver : B.toOver ⟶ B.toOver) ^ p := by |
| 79 | exact ((F.homMonoidHom (X := A.toOver) (M := A.toOver)).map_pow (𝟙 A.toOver) p).trans |
| 80 | (congrArg (fun k => k ^ p) (F.map_id A.toOver)) |
| 81 | change IsFinite (F.map ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ p)).left |
| 82 | rw [he] |
| 83 | exact hchar L p B |
| 84 | · exact finite_power_of_nonzero A.toOver p hpK |
| 85 | |
| 86 | end Construction.PrimeReduction |
| 87 | |
| 88 | namespace Construction |
| 89 | |
| 90 | /-- All relative and prime-to-characteristic steps of FiniteDescent are discharged. |
| 91 | The remaining input is explicitly restricted to characteristic-p |
| 92 | multiplication on abelian varieties over algebraically closed fields. -/ |
| 93 | theorem exists_abelian_scheme_quotient_of_characteristic_prime_finiteness |
| 94 | (hchar : ∀ (K : Type u) [Field K] [IsAlgClosed K] (p : ℕ) [Fact p.Prime] [CharP K p] |
| 95 | (B : AbelianQuotient.Construction.AbelianScheme (Spec (.of K))), |
| 96 | IsFinite ((𝟙 B.toOver : B.toOver ⟶ B.toOver) ^ p).left) |
| 97 | (S : Scheme.{u}) (A : AbelianQuotient.Construction.AbelianScheme S) (H : Over S) [GrpObj H] |
| 98 | (i : H ⟶ A.toOver) [IsMonHom i] |
| 99 | (hi : IsClosedImmersion i.left) (hH : AbelianQuotient.Construction.FiniteLocallyFree H.hom) : |
| 100 | ∃ (B : AbelianQuotient.Construction.AbelianScheme S) (q : A.toOver ⟶ B.toOver), |
| 101 | IsMonHom q ∧ AbelianQuotient.Construction.FiniteLocallyFree q.left ∧ Surjective q.left ∧ |
| 102 | (∀ (T : Over S) (a : T ⟶ A.toOver), |
| 103 | a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) ∧ |
| 104 | (∀ (T : Over S) (f : A.toOver ⟶ T), |
| 105 | (∀ (U : Over S) (a : U ⟶ A.toOver) (h : U ⟶ H), |
| 106 | ((h ≫ i) * a) ≫ f = a ≫ f) → |
| 107 | ∃! g : B.toOver ⟶ T, q ≫ g = f) := by |
| 108 | apply MultiplicationQuotient.Construction.exists_abelian_scheme_quotient_of_field_multiplication _ S A H i hi hH |
| 109 | exact PrimeReduction.finite_field_powers_of_characteristic_prime hchar |
| 110 | |
| 111 | end Construction |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PrimeReductionOf |