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.FrobeniusKernelBaseChange |
| 2 | |
| 3 | /-! # Prescribed Kernel Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrescribedKernelIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An exact kernel description on all test schemes identifies the |
| 10 | specified subgroup with the native scheme kernel. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusKernelBaseChange.Construction |
| 18 | |
| 19 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 20 | (f : A ⟶ B) [IsMonHom f] (H : Over S) (i : H ⟶ A) [Mono i] |
| 21 | (hk : ∀ (T : Over S) (a : T ⟶ A), |
| 22 | a ≫ f = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) |
| 23 | |
| 24 | def prescribedKernelIso : H ≅ Picard.Homomorphisms.Kernel.Construction.kernelScheme f := by |
| 25 | have hif : i ≫ f = 1 := (hk H i).mpr |
| 26 | ⟨𝟙 H, Category.id_comp i, |
| 27 | fun t ht => (cancel_mono i).mp (ht.trans (Category.id_comp i).symm)⟩ |
| 28 | let u := Picard.Homomorphisms.FrobeniusKernelBaseChange.Construction.kernelLift f i hif |
| 29 | have hu : u ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f = i := Picard.Homomorphisms.FrobeniusKernelBaseChange.Construction.kernelLift_inclusion f i hif |
| 30 | let v := Classical.choose ((hk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).mp (Picard.Homomorphisms.KernelGroup.Construction.kernelInclusion_comp f)) |
| 31 | have hv : v ≫ i = Picard.Homomorphisms.Kernel.Construction.kernelInclusion f := |
| 32 | (Classical.choose_spec ((hk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).mp (Picard.Homomorphisms.KernelGroup.Construction.kernelInclusion_comp f))).1 |
| 33 | refine ⟨u, v, ?_, ?_⟩ |
| 34 | · apply (cancel_mono i).mp |
| 35 | rw [Category.assoc, hv, hu, Category.id_comp] |
| 36 | · apply (cancel_mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).mp |
| 37 | rw [Category.assoc, hu, hv, Category.id_comp] |
| 38 | |
| 39 | omit [GrpObj A] [IsMonHom f] in |
| 40 | include i hk in |
| 41 | theorem prescribedKernel_finite [IsFinite H.hom] : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).hom := by |
| 42 | let e := prescribedKernelIso f H i hk |
| 43 | have : IsIso e.inv.left := (Over.forget S).map_isIso e.inv |
| 44 | have h : IsFinite (e.inv.left ≫ H.hom) := inferInstance |
| 45 | rw [e.inv.w] at h |
| 46 | exact h |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrescribedKernelIso |