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.FrobeniusKernel.BaseChange |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.Kernel |
| 3 | import Mathlib.CategoryTheory.Sites.Subcanonical |
| 4 | |
| 5 | /-! # Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Quotient.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The independently constructed subgroup quotient is identified with the |
| 13 | target of relative Frobenius using Homomorphisms as an explicit named input. The |
| 14 | input is the fppf universal property from the Homomorphisms specification, formulated |
| 15 | on all test schemes. No equality of quotient objects is assumed. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {S : Scheme.{u}} {A AF : Over S} [GrpObj A] [GrpObj AF] |
| 25 | |
| 26 | /-- Homomorphisms's quotient property gives descent for maps of sheaves. -/ |
| 27 | theorem kernelQuotient_desc_of_Homomorphisms |
| 28 | (F : A ⟶ AF) [IsMonHom F] |
| 29 | (h_Homomorphisms : Picard.Homomorphisms.Quotient.Construction.IsFppfQuotientByKernel F) |
| 30 | (P : BaseChange.Construction.FppfSheaves S) (a : (BaseChange.Construction.fppfPoints S).obj A ⟶ P) |
| 31 | (ha : |
| 32 | (BaseChange.Construction.fppfPoints S).map |
| 33 | ((fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) * |
| 34 | snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A) ≫ a = |
| 35 | (BaseChange.Construction.fppfPoints S).map (snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A) ≫ a) : |
| 36 | ∃! b : (BaseChange.Construction.fppfPoints S).obj AF ⟶ P, |
| 37 | (BaseChange.Construction.fppfPoints S).map F ≫ b = a := by |
| 38 | let J := Scheme.fppfTopology.over S |
| 39 | let x := J.uliftYonedaEquiv a |
| 40 | have hinv : ∀ (T : Over S) (y : T ⟶ A) (k : Picard.Homomorphisms.Quotient.Construction.kernelPoints F T), |
| 41 | P.obj.map ((k.val * y).op) x = P.obj.map y.op x := by |
| 42 | intro T y k |
| 43 | obtain ⟨j, hj, _⟩ := (Picard.Homomorphisms.Kernel.Construction.kernelScheme_universal F T k.val).mp k.property |
| 44 | let t := lift j y |
| 45 | have hact : t ≫ |
| 46 | ((fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) * |
| 47 | snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A) = k.val * y := by |
| 48 | simp only [t, MonObj.comp_mul, ← Category.assoc, |
| 49 | lift_fst, lift_snd, hj] |
| 50 | have hproj : t ≫ snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A = y := lift_snd _ _ |
| 51 | have h := congrArg (fun b => (BaseChange.Construction.fppfPoints S).map t ≫ b) ha |
| 52 | simp only [← Category.assoc, ← Functor.map_comp, hact, hproj] at h |
| 53 | exact (J.uliftYonedaEquiv_naturality a (k.val * y)).trans |
| 54 | ((congrArg J.uliftYonedaEquiv h).trans |
| 55 | (J.uliftYonedaEquiv_naturality a y).symm) |
| 56 | obtain ⟨b, hb, huniq⟩ := h_Homomorphisms P.obj ((isSheaf_iff_isSheaf_of_type _ _).mp P.property) |
| 57 | x hinv |
| 58 | refine ⟨J.uliftYonedaEquiv.symm b, ?_, ?_⟩ |
| 59 | · apply J.uliftYonedaEquiv.injective |
| 60 | rw [← J.uliftYonedaEquiv_naturality, Equiv.apply_symm_apply] |
| 61 | exact hb |
| 62 | · intro c hc |
| 63 | apply J.uliftYonedaEquiv.injective |
| 64 | rw [Equiv.apply_symm_apply] |
| 65 | apply huniq |
| 66 | rw [J.uliftYonedaEquiv_naturality, hc] |
| 67 | |
| 68 | /-- The Frobenius map coequalizes translation by its scheme-theoretic |
| 69 | kernel, including on nonreduced test schemes. -/ |
| 70 | theorem kernelTranslation_coequalizes |
| 71 | (F : A ⟶ AF) [IsMonHom F] : |
| 72 | ((fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) * |
| 73 | snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A) ≫ F = |
| 74 | snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A ≫ F := by |
| 75 | have hkernel : Picard.Homomorphisms.Kernel.Construction.kernelInclusion F ≫ F = 1 := by |
| 76 | change equalizer.ι F 1 ≫ F = 1 |
| 77 | rw [equalizer.condition, MonObj.comp_one] |
| 78 | rw [MonObj.mul_comp, Category.assoc, hkernel, MonObj.comp_one, one_mul] |
| 79 | |
| 80 | /-- Homomorphisms identifies the independently constructed sheaf quotient by its |
| 81 | kernel with its actual target; this is the geometric quotient bridge. -/ |
| 82 | def kernelQuotientIsoOfHomomorphisms |
| 83 | (F : A ⟶ AF) [IsMonHom F] |
| 84 | (h_Homomorphisms : Picard.Homomorphisms.Quotient.Construction.IsFppfQuotientByKernel F) : |
| 85 | BaseChange.Construction.subgroupQuotient (Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) ≅ (BaseChange.Construction.fppfPoints S).obj AF := by |
| 86 | let H := Picard.Homomorphisms.Kernel.Construction.kernelScheme F |
| 87 | let i := Picard.Homomorphisms.Kernel.Construction.kernelInclusion F |
| 88 | let act := (fst H A ≫ i) * snd H A |
| 89 | let p := (BaseChange.Construction.fppfPoints S).map F |
| 90 | have hp : (BaseChange.Construction.fppfPoints S).map act ≫ p = (BaseChange.Construction.fppfPoints S).map (snd H A) ≫ p := by |
| 91 | rw [← Functor.map_comp, ← Functor.map_comp, kernelTranslation_coequalizes] |
| 92 | have hu (c : Cofork ((BaseChange.Construction.fppfPoints S).map act) ((BaseChange.Construction.fppfPoints S).map (snd H A))) : |
| 93 | ∃! b : (BaseChange.Construction.fppfPoints S).obj AF ⟶ c.pt, p ≫ b = c.π := |
| 94 | kernelQuotient_desc_of_Homomorphisms F h_Homomorphisms c.pt c.π c.condition |
| 95 | let hc : IsColimit (Cofork.ofπ p hp) := |
| 96 | Cofork.IsColimit.mk _ (fun c => Classical.choose (hu c)) |
| 97 | (fun c => (Classical.choose_spec (hu c)).1) |
| 98 | (fun c b hb => (Classical.choose_spec (hu c)).2 b hb) |
| 99 | exact (coequalizerIsCoequalizer ((BaseChange.Construction.fppfPoints S).map act) |
| 100 | ((BaseChange.Construction.fppfPoints S).map (snd H A))).coconePointUniqueUpToIso hc |
| 101 | |
| 102 | /-- The comparison identifies the quotient projection with Frobenius |
| 103 | itself. This pins down the induced marking and endomorphism transport. -/ |
| 104 | theorem kernelQuotientIsoOfHomomorphisms_projection |
| 105 | (F : A ⟶ AF) [IsMonHom F] |
| 106 | (h_Homomorphisms : Picard.Homomorphisms.Quotient.Construction.IsFppfQuotientByKernel F) : |
| 107 | BaseChange.Construction.relationQuotientProjection |
| 108 | ((fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) * |
| 109 | snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A) |
| 110 | (snd (Picard.Homomorphisms.Kernel.Construction.kernelScheme F) A) ≫ |
| 111 | (kernelQuotientIsoOfHomomorphisms F h_Homomorphisms).hom = (BaseChange.Construction.fppfPoints S).map F := by |
| 112 | dsimp only [kernelQuotientIsoOfHomomorphisms] |
| 113 | apply IsColimit.comp_coconePointUniqueUpToIso_hom _ _ WalkingParallelPair.one |
| 114 | apply Cofork.IsColimit.ofExistsUnique |
| 115 | intro t |
| 116 | exact kernelQuotient_desc_of_Homomorphisms F h_Homomorphisms t.pt t.π t.condition |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Quotient.Construction |