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.NumberTheory.PadicHodge.IntegralComparison.CoveringPresentationPresheaf |
| 2 | |
| 3 | /-! # Family Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.FamilyMap.Family |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Maps of frame families induce the actual maps of their presentation presheaves. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Opposite |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {C D : Type (max u v)} [Category.{v} C] [Category.{v} D] |
| 16 | (G : C ⥤ D) {ι : Type v} (F : ι → C) (H : ι → D) (a : ∀ i, G.obj (F i) ⟶ H i) |
| 17 | |
| 18 | def map : CoveringPresentationPresheaf.presentations F ⟶ |
| 19 | G.op ⋙ CoveringPresentationPresheaf.presentations H where |
| 20 | app _ := ↾fun x => ⟨⟨x.down.1, G.map x.down.2 ≫ a x.down.1⟩⟩ |
| 21 | naturality U V f := by |
| 22 | apply ConcreteCategory.hom_ext |
| 23 | intro x |
| 24 | apply ULift.ext |
| 25 | refine Sigma.ext (by rfl) ?_ |
| 26 | apply heq_of_eq |
| 27 | exact (congrArg (fun b => b ≫ a x.down.1) (G.map_comp f.unop x.down.2)).trans (Category.assoc _ _ _) |
| 28 | |
| 29 | theorem bijective (h : ∀ (U : C) (i : ι), Function.Bijective (fun b : U ⟶ F i => G.map b ≫ a i)) (U : Cᵒᵖ) : |
| 30 | Function.Bijective ((Family.map G F H a).app U) := by |
| 31 | constructor |
| 32 | · intro x y he |
| 33 | have hi : x.down.1 = y.down.1 := congrArg (fun z => z.down.1) he |
| 34 | rcases x with ⟨⟨i, b⟩⟩ |
| 35 | rcases y with ⟨⟨j, c⟩⟩ |
| 36 | dsimp only at hi |
| 37 | subst j |
| 38 | have hb : G.map b ≫ a i = G.map c ≫ a i := |
| 39 | eq_of_heq (Sigma.mk.inj_iff.mp (congrArg ULift.down he)).2 |
| 40 | exact congrArg (fun b => ULift.up (Sigma.mk i b)) ((h U.unop i).1 hb) |
| 41 | · rintro ⟨⟨i, b⟩⟩ |
| 42 | obtain ⟨c, hc⟩ := (h U.unop i).2 b |
| 43 | exact ⟨⟨⟨i, c⟩⟩, congrArg (fun b => ULift.up (Sigma.mk i b)) hc⟩ |
| 44 | |
| 45 | theorem isIso (h : ∀ (U : C) (i : ι), Function.Bijective (fun b : U ⟶ F i => G.map b ≫ a i)) : |
| 46 | IsIso (Family.map G F H a) := by |
| 47 | let (U : Cᵒᵖ) : IsIso ((Family.map G F H a).app U) := |
| 48 | (CategoryTheory.isIso_iff_bijective _).mpr (bijective G F H a h U) |
| 49 | exact NatIso.isIso_of_isIso_app _ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.FamilyMap.Family |