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.Prescribed |
| 2 | |
| 3 | /-! # Kernel Iso Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.KernelIsoTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transport the complete all-test kernel through source and target |
| 10 | isomorphisms. The embedded subgroup is transported explicitly. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Prescribed.Construction |
| 18 | |
| 19 | variable {S : Scheme.{u}} {A A' B B' H : Over S} [GrpObj B] [GrpObj B'] |
| 20 | |
| 21 | theorem prescribedKernel_isos (f : A ⟶ B) (i : H ⟶ A) |
| 22 | (hf : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel f i) (a : A' ≅ A) (b : B ≅ B') [IsMonHom b.hom] : |
| 23 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel (a.hom ≫ f ≫ b.hom) (i ≫ a.inv) := by |
| 24 | intro T t |
| 25 | constructor |
| 26 | · intro ht |
| 27 | have ht' : (t ≫ a.hom) ≫ f = 1 := by |
| 28 | apply (cancel_mono b.hom).mp |
| 29 | simpa only [Category.assoc, MonObj.one_comp] using ht |
| 30 | obtain ⟨h, hh, hu⟩ := (hf T (t ≫ a.hom)).mp ht' |
| 31 | refine ⟨h, ?_, ?_⟩ |
| 32 | · change h ≫ (i ≫ a.inv) = t |
| 33 | rw [← Category.assoc, hh, Category.assoc, a.hom_inv_id, Category.comp_id] |
| 34 | · intro h' hh' |
| 35 | apply hu |
| 36 | have he := congrArg (fun x => x ≫ a.hom) hh' |
| 37 | simpa only [Category.assoc, a.inv_hom_id, Category.comp_id] using he |
| 38 | · rintro ⟨h, hh, hu⟩ |
| 39 | have he := congrArg (fun x => x ≫ a.hom) hh |
| 40 | have he' : h ≫ i = t ≫ a.hom := by |
| 41 | simpa only [Category.assoc, a.inv_hom_id, Category.comp_id] using he |
| 42 | have ht' := (hf T (t ≫ a.hom)).mpr ⟨h, he', fun h' hh' => by |
| 43 | apply hu |
| 44 | rw [← Category.assoc, hh', Category.assoc, a.hom_inv_id, Category.comp_id]⟩ |
| 45 | calc |
| 46 | t ≫ (a.hom ≫ f ≫ b.hom) = ((t ≫ a.hom) ≫ f) ≫ b.hom := by simp only [Category.assoc] |
| 47 | _ = 1 := by rw [ht', MonObj.one_comp] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.KernelIsoTransport |