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.RelativeTorsion |
| 2 | |
| 3 | /-! # Multiplication Covers -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.MultiplicationCovers |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: positive multiplication gives an actual faithfully flat cover |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | attribute [local instance] Over.cartesianMonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.Schemes |
| 21 | |
| 22 | /-- Surjectivity is detected after every algebraically closed field |
| 23 | base change, with no assumptions on the original base scheme. -/ |
| 24 | theorem surjective_of_algClosed_baseChanges {S : Scheme.{u}} {X Y : Over S} (f : X ⟶ Y) |
| 25 | (h : ∀ (K : Type u) [Field K] [IsAlgClosed K] (a : Spec (.of K) ⟶ S), |
| 26 | Surjective ((Over.pullback a).map f).left) : Surjective f.left := by |
| 27 | constructor |
| 28 | intro y |
| 29 | let K := AlgebraicClosure (Y.left.residueField y) |
| 30 | let v : Spec (.of K) ⟶ Y.left := |
| 31 | Spec.map (CommRingCat.ofHom (algebraMap (Y.left.residueField y) K)) ≫ |
| 32 | Y.left.fromSpecResidueField y |
| 33 | let a := v ≫ Y.hom |
| 34 | let j : Spec (.of K) ⟶ pullback Y.hom a := pullback.lift v (𝟙 _) (by simp [a]) |
| 35 | let y' := j (IsLocalRing.closedPoint K) |
| 36 | have hy : pullback.fst Y.hom a y' = y := by |
| 37 | have hj : j ≫ pullback.fst Y.hom a = v := pullback.lift_fst _ _ _ |
| 38 | have hv : v (IsLocalRing.closedPoint K) = y := Y.left.fromSpecResidueField_apply y _ |
| 39 | exact (congrArg (fun g : Spec (.of K) ⟶ Y.left => g (IsLocalRing.closedPoint K)) hj).trans hv |
| 40 | let fp := ((Over.pullback a).map f).left |
| 41 | have : Surjective fp := h K a |
| 42 | obtain ⟨x, hx⟩ := fp.surjective y' |
| 43 | refine ⟨pullback.fst X.hom a x, ?_⟩ |
| 44 | have hs : pullback.fst X.hom a ≫ f.left = fp ≫ pullback.fst Y.hom a := |
| 45 | (LocalIsomorphismsIs.Construction.LocalIsomorphisms.pullbackMap_isPullback a f).w |
| 46 | exact (congrArg (fun g : pullback X.hom a ⟶ Y.left => g x) hs).trans |
| 47 | ((congrArg (pullback.fst Y.hom a) hx).trans hy) |
| 48 | |
| 49 | end Construction.Schemes |
| 50 | |
| 51 | namespace Construction.Multiplication |
| 52 | |
| 53 | /-- Finite multiplication is surjective on an arbitrary relative |
| 54 | abelian scheme, including all residue characteristics. -/ |
| 55 | theorem surjective_power_of_isFinite |
| 56 | {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 57 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 58 | (n : ℕ) [IsFinite ((𝟙 A : A ⟶ A) ^ n).left] : |
| 59 | Surjective ((𝟙 A : A ⟶ A) ^ n).left := by |
| 60 | apply Schemes.surjective_of_algClosed_baseChanges |
| 61 | intro K _ _ a |
| 62 | let F := Over.pullback a |
| 63 | let B := F.obj A |
| 64 | have : Smooth B.hom := inferInstanceAs (Smooth (pullback.snd A.hom a)) |
| 65 | have : IsProper B.hom := inferInstanceAs (IsProper (pullback.snd A.hom a)) |
| 66 | have : GeometricallyConnected B.hom := inferInstanceAs (GeometricallyConnected (pullback.snd A.hom a)) |
| 67 | have hp : F.map ((𝟙 A : A ⟶ A) ^ n) = (𝟙 B : B ⟶ B) ^ n := |
| 68 | ((F.homMonoidHom (X := A) (M := A)).map_pow (𝟙 A) n).trans |
| 69 | (congrArg (fun q => q ^ n) (F.map_id A)) |
| 70 | have hfin : IsFinite (F.map ((𝟙 A : A ⟶ A) ^ n)).left := |
| 71 | MorphismProperty.overPullbackMap (P := @IsFinite) a _ inferInstance |
| 72 | have : IsFinite ((𝟙 B : B ⟶ B) ^ n).left := (congrArg (fun q => q.left) hp) ▸ hfin |
| 73 | have hs : Surjective ((𝟙 B : B ⟶ B) ^ n).left := (MultiplicationFlat.Construction.Multiplication.surjective_flat_power_of_isFinite B n).1 |
| 74 | exact (congrArg (fun q => q.left) hp).symm ▸ hs |
| 75 | |
| 76 | /-- Finite multiplication is an effective epimorphism in native schemes |
| 77 | over the base. This supplies the actual cover used for line descent. -/ |
| 78 | theorem effectiveEpi_power_of_isFinite |
| 79 | {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 80 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 81 | (n : ℕ) [IsFinite ((𝟙 A : A ⟶ A) ^ n).left] : EffectiveEpi ((𝟙 A : A ⟶ A) ^ n) := by |
| 82 | have := MultiplicationFlat.Construction.Multiplication.flat_power_of_isFinite A n |
| 83 | have := surjective_power_of_isFinite A n |
| 84 | exact Picard.Homomorphisms.GroupDescent.Construction.effectiveEpi_over_of_fpqc ((𝟙 A : A ⟶ A) ^ n) |
| 85 | |
| 86 | end Construction.Multiplication |
| 87 | |
| 88 | namespace Construction.RelativeAbelian |
| 89 | |
| 90 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 91 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 92 | (D : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A) |
| 93 | (ell : A ⟶ D.abelian) [IsMonHom ell] [IsFinite ell.left] |
| 94 | |
| 95 | include D ell in |
| 96 | /-- Every positive multiplication map is finite, flat, surjective and |
| 97 | locally of finite presentation, without a global dimension parameter. -/ |
| 98 | theorem positive_power_cover (n : ℕ) (hn : 0 < n) : |
| 99 | IsFinite ((𝟙 A : A ⟶ A) ^ n).left ∧ Flat ((𝟙 A : A ⟶ A) ^ n).left ∧ |
| 100 | Surjective ((𝟙 A : A ⟶ A) ^ n).left ∧ |
| 101 | LocallyOfFinitePresentation ((𝟙 A : A ⟶ A) ^ n).left := by |
| 102 | have hf := RelativeTorsion.Construction.RelativeAbelian.finite_positive_power A D ell n hn |
| 103 | exact ⟨hf, MultiplicationFlat.Construction.Multiplication.flat_power_of_isFinite A n, |
| 104 | Multiplication.surjective_power_of_isFinite A n, |
| 105 | MultiplicationFlat.Construction.Multiplication.locallyOfFinitePresentation_overEnd A _⟩ |
| 106 | |
| 107 | end Construction.RelativeAbelian |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.MultiplicationCovers |