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.PoincareBundle.Kernel.PreimageQuotient |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.ContainmentMap |
| 3 | |
| 4 | /-! # Preimage Exactness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.PreimageExactness.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original quotient kernel is exactly the kernel of its |
| 11 | restriction to an inverse-image kernel, on every test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 18 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 19 | |
| 20 | universe u |
| 21 | variable {S : Scheme.{u}} {A B C : Over S} [GrpObj A] [GrpObj B] [GrpObj C] |
| 22 | (f : A ⟶ B) [IsMonHom f] (r : B ⟶ C) [IsMonHom r] |
| 23 | |
| 24 | def kernelPreimageInclusion : Picard.PoincareBundle.Kernel.Scheme.kernelObject f ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject (f ≫ r) := |
| 25 | Picard.PoincareBundle.Kernel.ContainmentMap.map f (f ≫ r) (fun _T x hx => by rw [← Category.assoc, hx, MonObj.one_comp]) |
| 26 | |
| 27 | theorem kernelPreimageInclusion_inclusion : |
| 28 | kernelPreimageInclusion f r ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (f ≫ r) = Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f := |
| 29 | Picard.PoincareBundle.Kernel.ContainmentMap.map_inclusion f (f ≫ r) _ |
| 30 | |
| 31 | instance kernelPreimageInclusion_isMonHom : IsMonHom (kernelPreimageInclusion f r) := |
| 32 | inferInstanceAs (IsMonHom (Picard.PoincareBundle.Kernel.ContainmentMap.map f (f ≫ r) _)) |
| 33 | |
| 34 | instance kernelPreimageInclusion_mono : Mono (kernelPreimageInclusion f r) := |
| 35 | inferInstanceAs (Mono (Picard.PoincareBundle.Kernel.ContainmentMap.map f (f ≫ r) _)) |
| 36 | |
| 37 | theorem kernelPreimageInclusion_comp : kernelPreimageInclusion f r ≫ Picard.PoincareBundle.Kernel.PreimageQuotient.map f r = 1 := by |
| 38 | apply (cancel_mono (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r)).mp |
| 39 | rw [Category.assoc, Picard.PoincareBundle.Kernel.PreimageQuotient.map_inclusion, ← Category.assoc, |
| 40 | kernelPreimageInclusion_inclusion, Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp, MonObj.one_comp] |
| 41 | |
| 42 | theorem kernelPreimage_kernel_iff (T : Over S) (x : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject (f ≫ r)) : |
| 43 | x ≫ Picard.PoincareBundle.Kernel.PreimageQuotient.map f r = 1 ↔ |
| 44 | ∃! a : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject f, a ≫ kernelPreimageInclusion f r = x := by |
| 45 | constructor |
| 46 | · intro hx |
| 47 | have hxF : (x ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (f ≫ r)) ≫ f = 1 := by |
| 48 | have hp := congrArg (fun a => a ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r) hx |
| 49 | rw [Category.assoc, Picard.PoincareBundle.Kernel.PreimageQuotient.map_inclusion, MonObj.one_comp] at hp |
| 50 | exact (Category.assoc _ _ _).trans hp |
| 51 | let a := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv f T).symm ⟨x ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (f ≫ r), hxF⟩ |
| 52 | have ha : a ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f = x ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (f ≫ r) := |
| 53 | congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv f T).apply_symm_apply ⟨_, hxF⟩) |
| 54 | have hai : a ≫ kernelPreimageInclusion f r = x := by |
| 55 | apply (cancel_mono (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (f ≫ r))).mp |
| 56 | rw [Category.assoc, kernelPreimageInclusion_inclusion] |
| 57 | exact ha |
| 58 | exact ⟨a, hai, fun b hb => (cancel_mono (kernelPreimageInclusion f r)).mp (hb.trans hai.symm)⟩ |
| 59 | · rintro ⟨a, ha, _⟩ |
| 60 | rw [← ha, Category.assoc, kernelPreimageInclusion_comp, MonObj.comp_one] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.PreimageExactness.Construction |