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.CentralAction.LineEndRigidity |
| 2 | |
| 3 | /-! # Normalized Line Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.NormalizedLineIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Construct line-bundle isomorphisms with prescribed normalization, |
| 10 | using the proved correspondence between endomorphisms and global scalars. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | /-- Surjectivity on endomorphisms corrects any existing isomorphism to |
| 21 | have a prescribed image; bijectivity also reflects invertibility. -/ |
| 22 | theorem exists_iso_with_image |
| 23 | {C : Type u} [Category.{v} C] {D : Type*} [Category* D] |
| 24 | (F : C ⥤ D) {X Y : C} (hF : Function.Bijective (F.mapEnd Y)) |
| 25 | (a : X ≅ Y) (b : F.obj X ≅ F.obj Y) : |
| 26 | ∃ c : X ≅ Y, F.map c.hom = b.hom := by |
| 27 | let E := MulEquiv.ofBijective (F.mapEnd Y) hF |
| 28 | let d := (F.mapIso a).symm ≪≫ b |
| 29 | let c : End Y := E.symm d.hom |
| 30 | have hunit : IsUnit c := ((isUnit_iff_isIso d.hom).mpr d.isIso_hom).map E.symm.toMonoidHom |
| 31 | have : IsIso c := (isUnit_iff_isIso c).mp hunit |
| 32 | have hc : F.map c = d.hom := E.apply_symm_apply d.hom |
| 33 | refine ⟨a ≪≫ asIso c, ?_⟩ |
| 34 | change F.map (a.hom ≫ c) = b.hom |
| 35 | rw [F.map_comp, hc] |
| 36 | change F.map a.hom ≫ (F.map a.inv ≫ b.hom) = b.hom |
| 37 | rw [← Category.assoc, ← F.map_comp, a.hom_inv_id, F.map_id, Category.id_comp] |
| 38 | |
| 39 | /-- If restriction identifies global functions, any line-bundle |
| 40 | isomorphism can be corrected to respect specified trivializations there. -/ |
| 41 | theorem exists_normalized_line_iso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 42 | (hf : Function.Bijective f.appTop) (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 43 | (hLM : Nonempty (L.sheaf ≅ M.sheaf)) |
| 44 | (l : (L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 45 | (m : (M.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : |
| 46 | ∃ a : L.sheaf ≅ M.sheaf, |
| 47 | (Scheme.Modules.pullback f).map a.hom ≫ m.hom = l.hom := by |
| 48 | let F := Scheme.Modules.pullback f |
| 49 | obtain ⟨a, ha⟩ := exists_iso_with_image F |
| 50 | (LineEndRigidity.Construction.lineBundle_end_pullback_bijective f hf M) hLM.some (l ≪≫ m.symm) |
| 51 | refine ⟨a, ?_⟩ |
| 52 | change F.map a.hom ≫ m.hom = l.hom |
| 53 | rw [ha] |
| 54 | change (l.hom ≫ m.inv) ≫ m.hom = l.hom |
| 55 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 56 | |
| 57 | /-- Prescribed normalization makes that isomorphism unique. -/ |
| 58 | theorem existsUnique_normalized_line_iso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 59 | (hf : Function.Bijective f.appTop) (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 60 | (hLM : Nonempty (L.sheaf ≅ M.sheaf)) |
| 61 | (l : (L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 62 | (m : (M.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : |
| 63 | ∃! a : L.sheaf ≅ M.sheaf, |
| 64 | (Scheme.Modules.pullback f).map a.hom ≫ m.hom = l.hom := by |
| 65 | obtain ⟨a, ha⟩ := exists_normalized_line_iso f hf L M hLM l m |
| 66 | refine ⟨a, ha, ?_⟩ |
| 67 | intro b hb |
| 68 | apply Iso.ext |
| 69 | have hab : (Scheme.Modules.pullback f).map b.hom = (Scheme.Modules.pullback f).map a.hom := |
| 70 | (cancel_mono m.hom).mp (hb.trans ha.symm) |
| 71 | apply (cancel_epi a.inv).mp |
| 72 | apply LineEndRigidity.Construction.lineBundle_end_pullback_injective f hf.1 M |
| 73 | simp only [Functor.map_comp, hab] |
| 74 | |
| 75 | end Construction |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.NormalizedLineIso |