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.Quotient |
| 2 | |
| 3 | /-! # Prescribed -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Prescribed.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Identification of the quotient for an independently prescribed subgroup. |
| 11 | Homomorphisms is used through its two explicit clauses: the multiplicative subgroup |
| 12 | represents the kernel on every test scheme, and Frobenius is its fppf |
| 13 | quotient. The comparison and its projection equation are constructed here. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A AF H K : Over S} [GrpObj A] [GrpObj AF] |
| 23 | |
| 24 | abbrev subgroupQuotientProjection (i : H ⟶ A) : |
| 25 | (BaseChange.Construction.fppfPoints S).obj A ⟶ BaseChange.Construction.subgroupQuotient i := coequalizer.π _ _ |
| 26 | |
| 27 | theorem subgroupTranslation_of_iso (i : H ⟶ A) (j : K ⟶ A) |
| 28 | (e : H ≅ K) (he : e.hom ≫ j = i) : |
| 29 | (e.hom ⊗ₘ 𝟙 A) ≫ ((fst K A ≫ j) * snd K A) = |
| 30 | (fst H A ≫ i) * snd H A := by |
| 31 | rw [MonObj.comp_mul] |
| 32 | simp only [← Category.assoc, tensorHom_fst, tensorHom_snd, Category.comp_id] |
| 33 | rw [Category.assoc, he] |
| 34 | |
| 35 | def subgroupQuotientMapOfIso (i : H ⟶ A) (j : K ⟶ A) |
| 36 | (e : H ≅ K) (he : e.hom ≫ j = i) : BaseChange.Construction.subgroupQuotient i ⟶ BaseChange.Construction.subgroupQuotient j := |
| 37 | coequalizer.desc (subgroupQuotientProjection j) (by |
| 38 | have h := congrArg (fun f => (BaseChange.Construction.fppfPoints S).map (e.hom ⊗ₘ 𝟙 A) ≫ f) |
| 39 | (coequalizer.condition ((BaseChange.Construction.fppfPoints S).map ((fst K A ≫ j) * snd K A)) |
| 40 | ((BaseChange.Construction.fppfPoints S).map (snd K A))) |
| 41 | simpa only [← Category.assoc, ← Functor.map_comp, |
| 42 | subgroupTranslation_of_iso i j e he, tensorHom_snd, Category.comp_id, |
| 43 | BaseChange.Construction.subgroupQuotient, BaseChange.Construction.relationQuotient, subgroupQuotientProjection] using h) |
| 44 | |
| 45 | theorem subgroupQuotientMapOfIso_projection (i : H ⟶ A) (j : K ⟶ A) |
| 46 | (e : H ≅ K) (he : e.hom ≫ j = i) : |
| 47 | subgroupQuotientProjection i ≫ |
| 48 | subgroupQuotientMapOfIso i j e he = |
| 49 | subgroupQuotientProjection j := |
| 50 | coequalizer.π_desc _ _ |
| 51 | |
| 52 | /-- Equal embedded group schemes have canonically isomorphic constructed |
| 53 | quotients, with the same quotient projection. -/ |
| 54 | def subgroupQuotientIsoOfIso (i : H ⟶ A) (j : K ⟶ A) |
| 55 | (e : H ≅ K) (he : e.hom ≫ j = i) : BaseChange.Construction.subgroupQuotient i ≅ BaseChange.Construction.subgroupQuotient j := by |
| 56 | have hrev : e.inv ≫ i = j := by |
| 57 | rw [← he, ← Category.assoc, e.inv_hom_id, Category.id_comp] |
| 58 | refine { |
| 59 | hom := subgroupQuotientMapOfIso i j e he |
| 60 | inv := subgroupQuotientMapOfIso j i e.symm hrev |
| 61 | hom_inv_id := ?_ |
| 62 | inv_hom_id := ?_ } |
| 63 | · |
| 64 | apply coequalizer.hom_ext |
| 65 | change subgroupQuotientProjection i ≫ |
| 66 | subgroupQuotientMapOfIso i j e he ≫ _ = _ |
| 67 | exact (Category.assoc _ _ _).symm.trans |
| 68 | ((congrArg (fun f => f ≫ subgroupQuotientMapOfIso j i e.symm hrev) |
| 69 | (subgroupQuotientMapOfIso_projection i j e he)).trans |
| 70 | ((subgroupQuotientMapOfIso_projection j i e.symm hrev).trans |
| 71 | (Category.comp_id _).symm)) |
| 72 | · |
| 73 | apply coequalizer.hom_ext |
| 74 | change subgroupQuotientProjection j ≫ |
| 75 | subgroupQuotientMapOfIso j i e.symm _ ≫ _ = _ |
| 76 | exact (Category.assoc _ _ _).symm.trans |
| 77 | ((congrArg (fun f => f ≫ subgroupQuotientMapOfIso i j e he) |
| 78 | (subgroupQuotientMapOfIso_projection j i e.symm hrev)).trans |
| 79 | ((subgroupQuotientMapOfIso_projection i j e he).trans |
| 80 | (Category.comp_id _).symm)) |
| 81 | |
| 82 | /-- Homomorphisms's kernel clause in universal-property form, so the prescribed |
| 83 | subgroup is an actual scheme and not just a collection of field points. -/ |
| 84 | def PrescribedKernel (F : A ⟶ AF) (i : H ⟶ A) : Prop := |
| 85 | ∀ (T : Over S) (a : T ⟶ A), a ≫ F = 1 ↔ |
| 86 | ∃! h : T ⟶ H, h ≫ i = a |
| 87 | |
| 88 | omit [GrpObj A] in |
| 89 | theorem prescribedKernel_kills (F : A ⟶ AF) (i : H ⟶ A) |
| 90 | [Mono i] (h : PrescribedKernel F i) : i ≫ F = 1 := by |
| 91 | apply (h H i).mpr |
| 92 | refine ⟨𝟙 H, Category.id_comp i, ?_⟩ |
| 93 | intro a ha |
| 94 | apply (cancel_mono i).mp |
| 95 | exact ha.trans (Category.id_comp i).symm |
| 96 | |
| 97 | def prescribedKernelForkIsLimit (F : A ⟶ AF) (i : H ⟶ A) |
| 98 | [Mono i] (h : PrescribedKernel F i) : |
| 99 | IsLimit (Fork.ofι i ((prescribedKernel_kills F i h).trans (MonObj.comp_one i).symm)) := |
| 100 | Fork.IsLimit.ofExistsUnique (fun t => |
| 101 | (h t.pt t.ι).mp (t.condition.trans (MonObj.comp_one t.ι))) |
| 102 | |
| 103 | /-- Construct the comparison of the prescribed subgroup with the literal |
| 104 | scheme kernel. Homomorphisms supplies the universal property, not the comparison. -/ |
| 105 | def prescribedKernelIso (F : A ⟶ AF) (i : H ⟶ A) |
| 106 | [Mono i] (h : PrescribedKernel F i) : H ≅ Picard.Homomorphisms.Kernel.Construction.kernelScheme F := by |
| 107 | let e := (prescribedKernelForkIsLimit F i h).conePointUniqueUpToIso (equalizerIsEqualizer F 1) |
| 108 | exact e |
| 109 | |
| 110 | omit [GrpObj A] in |
| 111 | theorem prescribedKernelIso_inclusion (F : A ⟶ AF) (i : H ⟶ A) |
| 112 | [Mono i] (h : PrescribedKernel F i) : |
| 113 | (prescribedKernelIso F i h).hom ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion F = i := |
| 114 | IsLimit.conePointUniqueUpToIso_hom_comp |
| 115 | (prescribedKernelForkIsLimit F i h) (equalizerIsEqualizer F 1) WalkingParallelPair.zero |
| 116 | |
| 117 | /-- The independently prescribed Frobenius-kernel quotient is represented |
| 118 | by the actual Frobenius target, conditional on the two explicit Homomorphisms clauses. -/ |
| 119 | def prescribedFrobeniusQuotientIsoOfHomomorphisms (F : A ⟶ AF) [IsMonHom F] |
| 120 | (i : H ⟶ A) [Mono i] |
| 121 | (h_Homomorphisms_kernel : PrescribedKernel F i) |
| 122 | (h_Homomorphisms_quotient : Picard.Homomorphisms.Quotient.Construction.IsFppfQuotientByKernel F) : |
| 123 | BaseChange.Construction.subgroupQuotient i ≅ (BaseChange.Construction.fppfPoints S).obj AF := |
| 124 | subgroupQuotientIsoOfIso i (Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) |
| 125 | (prescribedKernelIso F i h_Homomorphisms_kernel) |
| 126 | (prescribedKernelIso_inclusion F i h_Homomorphisms_kernel) ≪≫ |
| 127 | Quotient.Construction.kernelQuotientIsoOfHomomorphisms F h_Homomorphisms_quotient |
| 128 | |
| 129 | theorem prescribedFrobeniusQuotientIsoOfHomomorphisms_projection |
| 130 | (F : A ⟶ AF) [IsMonHom F] (i : H ⟶ A) [Mono i] |
| 131 | (h_Homomorphisms_kernel : PrescribedKernel F i) |
| 132 | (h_Homomorphisms_quotient : Picard.Homomorphisms.Quotient.Construction.IsFppfQuotientByKernel F) : |
| 133 | subgroupQuotientProjection i ≫ |
| 134 | (prescribedFrobeniusQuotientIsoOfHomomorphisms F i h_Homomorphisms_kernel h_Homomorphisms_quotient).hom = |
| 135 | (BaseChange.Construction.fppfPoints S).map F := by |
| 136 | change subgroupQuotientProjection i ≫ |
| 137 | subgroupQuotientMapOfIso i (Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) |
| 138 | (prescribedKernelIso F i h_Homomorphisms_kernel) |
| 139 | (prescribedKernelIso_inclusion F i h_Homomorphisms_kernel) ≫ |
| 140 | (Quotient.Construction.kernelQuotientIsoOfHomomorphisms F h_Homomorphisms_quotient).hom = _ |
| 141 | exact (Category.assoc _ _ _).symm.trans |
| 142 | ((congrArg (fun f => f ≫ (Quotient.Construction.kernelQuotientIsoOfHomomorphisms F h_Homomorphisms_quotient).hom) |
| 143 | (subgroupQuotientMapOfIso_projection i (Picard.Homomorphisms.Kernel.Construction.kernelInclusion F) |
| 144 | (prescribedKernelIso F i h_Homomorphisms_kernel) |
| 145 | (prescribedKernelIso_inclusion F i h_Homomorphisms_kernel))).trans |
| 146 | (Quotient.Construction.kernelQuotientIsoOfHomomorphisms_projection F h_Homomorphisms_quotient)) |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Prescribed.Construction |