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.CartierDuality.LocalIsomorphismsIs |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.MultiplicationReduction |
| 3 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 4 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 5 | |
| 6 | /-! # Geometric Finiteness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.GeometricFiniteness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # CartierDuality: detecting finiteness after algebraically closed base changes |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | attribute [local instance] Over.cartesianMonoidalCategory |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace Construction.Schemes |
| 24 | |
| 25 | /-- A proper morphism over an arbitrary base is finite if every |
| 26 | base change to an algebraically closed field is finite. -/ |
| 27 | theorem finite_of_algClosed_baseChanges {S : Scheme.{u}} {X Y : Over S} |
| 28 | (f : X ⟶ Y) [IsProper f.left] |
| 29 | (h : ∀ (K : Type u) [Field K] [IsAlgClosed K] (a : Spec (.of K) ⟶ S), |
| 30 | IsFinite ((Over.pullback a).map f).left) : IsFinite f.left := by |
| 31 | let : LocallyQuasiFinite f.left := by |
| 32 | apply LocallyQuasiFinite.of_finite_preimage_singleton |
| 33 | intro y |
| 34 | let K := AlgebraicClosure (Y.left.residueField y) |
| 35 | let v : Spec (.of K) ⟶ Y.left := |
| 36 | Spec.map (CommRingCat.ofHom (algebraMap (Y.left.residueField y) K)) ≫ |
| 37 | Y.left.fromSpecResidueField y |
| 38 | let a := v ≫ Y.hom |
| 39 | let j : Spec (.of K) ⟶ pullback Y.hom a := pullback.lift v (𝟙 _) (by simp [a]) |
| 40 | let y' := j (IsLocalRing.closedPoint K) |
| 41 | have hy : pullback.fst Y.hom a y' = y := by |
| 42 | have hj : j ≫ pullback.fst Y.hom a = v := pullback.lift_fst _ _ _ |
| 43 | have hv : v (IsLocalRing.closedPoint K) = y := Y.left.fromSpecResidueField_apply y _ |
| 44 | exact (congrArg (fun g : Spec (.of K) ⟶ Y.left => g (IsLocalRing.closedPoint K)) hj).trans hv |
| 45 | let fp := ((Over.pullback a).map f).left |
| 46 | let : IsFinite fp := h K a |
| 47 | have hf := (fp.finite_preimage_singleton y').image (pullback.fst X.hom a) |
| 48 | rw [Scheme.image_preimage_eq_of_isPullback (LocalIsomorphismsIs.Construction.LocalIsomorphisms.pullbackMap_isPullback a f).flip, |
| 49 | Set.image_singleton, hy] at hf |
| 50 | exact hf |
| 51 | exact IsFinite.of_isProper_of_locallyQuasiFinite f.left |
| 52 | |
| 53 | theorem finite_positive_powers_of_geometric_characteristic_primes {S : Scheme.{u}} |
| 54 | (A : Over S) [GrpObj A] [IsCommMonObj A] [IsProper A.hom] |
| 55 | (hchar : ∀ (K : Type u) [Field K] [IsAlgClosed K] (a : Spec (.of K) ⟶ S) |
| 56 | (p : ℕ), p.Prime → (p : K) = 0 → |
| 57 | let B := (Over.pullback a).obj A |
| 58 | letI : GrpObj B := Functor.grpObjObj |
| 59 | IsFinite ((𝟙 B : B ⟶ B) ^ p).left) |
| 60 | (n : ℕ) (hn : 0 < n) : IsFinite ((𝟙 A : A ⟶ A) ^ n).left := by |
| 61 | let : IsProper ((𝟙 A : A ⟶ A) ^ n).left := TorsionQuotient.Quasi.TorsionGeometry.power_isProper A n |
| 62 | apply finite_of_algClosed_baseChanges |
| 63 | intro K hK hclosed a |
| 64 | let F := Over.pullback a |
| 65 | let B := F.obj A |
| 66 | let hgroup : GrpObj B := Functor.grpObjObj |
| 67 | let hcomm : IsCommMonObj B := Functor.isCommMonObj_obj (F := F) (M := A) |
| 68 | let hproper : IsProper B.hom := inferInstanceAs (IsProper (pullback.snd A.hom a)) |
| 69 | have hf := @MultiplicationReduction.Construction.Multiplication.finite_positive_powers_of_characteristic_prime K hK B |
| 70 | hgroup hcomm hproper (fun p hp hz => hchar K a p hp hz) n hn |
| 71 | have he : F.map ((𝟙 A : A ⟶ A) ^ n) = (𝟙 B : B ⟶ B) ^ n := |
| 72 | ((F.homMonoidHom (X := A) (M := A)).map_pow (𝟙 A) n).trans |
| 73 | (congrArg (fun f => f ^ n) (F.map_id A)) |
| 74 | exact (congrArg (fun f => f.left) he).symm ▸ hf |
| 75 | |
| 76 | end Construction.Schemes |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.GeometricFiniteness |