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.Picard.Homomorphisms.FiniteGeometricPoints |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusKernelBaseChange |
| 3 | |
| 4 | /-! # Finite Group Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteGroupMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A proper group morphism with finite scheme-theoretic kernel is finite. |
| 11 | The proof controls every geometric fiber, including nonreduced kernels. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Limits |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 23 | variable (f : A ⟶ B) [IsMonHom f] |
| 24 | |
| 25 | def kernelPointEquiv (T : Over S) : (T ⟶ Kernel.Construction.kernelScheme f) ≃ Quotient.Construction.kernelPoints f T where |
| 26 | toFun x := ⟨x ≫ Kernel.Construction.kernelInclusion f, by |
| 27 | change (x ≫ Kernel.Construction.kernelInclusion f) ≫ f = 1 |
| 28 | rw [Category.assoc, KernelGroup.Construction.kernelInclusion_comp, MonObj.comp_one]⟩ |
| 29 | invFun x := FrobeniusKernelBaseChange.Construction.kernelLift f x.val x.property |
| 30 | left_inv x := by |
| 31 | apply (cancel_mono (Kernel.Construction.kernelInclusion f)).mp |
| 32 | exact FrobeniusKernelBaseChange.Construction.kernelLift_inclusion _ _ _ |
| 33 | right_inv x := Subtype.ext (FrobeniusKernelBaseChange.Construction.kernelLift_inclusion _ _ _) |
| 34 | |
| 35 | instance kernel_hom_isProper [IsProper A.hom] [IsSeparated B.hom] : |
| 36 | IsProper (Kernel.Construction.kernelScheme f).hom := by |
| 37 | rw [← (Kernel.Construction.kernelInclusion f).w] |
| 38 | infer_instance |
| 39 | |
| 40 | omit [GrpObj A] [GrpObj B] [IsMonHom f] in |
| 41 | theorem groupHom_isProper [IsProper A.hom] [IsSeparated B.hom] : IsProper f.left := by |
| 42 | have : IsProper (f.left ≫ B.hom) := by rw [f.w]; infer_instance |
| 43 | exact IsProper.of_comp f.left B.hom |
| 44 | |
| 45 | theorem finite_monoidHom_fiber {G H : Type u} [Group G] [Group H] |
| 46 | (q : G →* H) [Finite q.ker] (y : H) : Finite {x : G // q x = y} := by |
| 47 | by_cases h : ∃ x, q x = y |
| 48 | · obtain ⟨x, rfl⟩ := h |
| 49 | exact Finite.of_equiv _ (q.fiberEquivKer x).symm |
| 50 | · have : IsEmpty {x : G // q x = y} := ⟨fun x => h ⟨x.val, x.property⟩⟩ |
| 51 | infer_instance |
| 52 | |
| 53 | theorem groupHom_finite_geometric_lifts [IsFinite (Kernel.Construction.kernelScheme f).hom] |
| 54 | {k : Type u} [Field k] [IsAlgClosed k] (y : Spec (.of k) ⟶ B.left) : |
| 55 | Finite {x : Spec (.of k) ⟶ A.left // x ≫ f.left = y} := by |
| 56 | let s := y ≫ B.hom |
| 57 | let y' : Over.mk s ⟶ B := Over.homMk y rfl |
| 58 | let q := IsMonHom.monoidHom f (Over.mk s) |
| 59 | have : Finite (Over.mk s ⟶ Kernel.Construction.kernelScheme f) := FiniteGeometricPoints.Construction.finite_overPoints (Kernel.Construction.kernelScheme f) s |
| 60 | have : Finite q.ker := Finite.of_equiv _ (kernelPointEquiv f (Over.mk s)) |
| 61 | have : Finite {x : Over.mk s ⟶ A // x ≫ f = y'} := finite_monoidHom_fiber q y' |
| 62 | exact Finite.of_equiv _ (AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction.overGeometricFiberEquiv f s y') |
| 63 | |
| 64 | theorem groupHom_finite_of_finite_kernel |
| 65 | [IsProper A.hom] [IsSeparated B.hom] [IsFinite (Kernel.Construction.kernelScheme f).hom] : IsFinite f.left := by |
| 66 | have : IsProper f.left := groupHom_isProper f |
| 67 | have : LocallyQuasiFinite f.left := by |
| 68 | apply LocallyQuasiFinite.of_finite_preimage_singleton |
| 69 | intro y |
| 70 | have := groupHom_finite_geometric_lifts f (FiniteGeometricPoints.Construction.geometricResiduePoint B.left y) |
| 71 | exact FiniteGeometricPoints.Construction.finite_preimage_of_finite_geometric_lifts f.left y |
| 72 | exact (IsFinite.iff_isProper_and_locallyQuasiFinite f.left).mpr ⟨inferInstance, inferInstance⟩ |
| 73 | |
| 74 | end Construction |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteGroupMaps |