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.SerreUnitTrace |
| 2 | |
| 3 | /-! # Total Refinement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.TotalRefinement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A trace-preserving map of actual total complexes descends through |
| 10 | an isomorphic refinement. The resulting normalized class is represented |
| 11 | by that map, before any concentration or purity comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | {A B C : AddCommGrpCat.{u}} |
| 18 | (tA : A ≅ AddCommGrpCat.of R) (tB : B ≅ AddCommGrpCat.of R) |
| 19 | (tC : C ≅ AddCommGrpCat.of R) |
| 20 | (a : A ⟶ C) (b : B ⟶ C) |
| 21 | (ha : a ≫ tC.hom = tA.hom) (hb : b ≫ tC.hom = tB.hom) |
| 22 | |
| 23 | include ha in |
| 24 | theorem left_isIso : IsIso a := by |
| 25 | have h : a = tA.hom ≫ tC.inv := by |
| 26 | rw [← ha, Category.assoc, tC.hom_inv_id, Category.comp_id] |
| 27 | rw [h] |
| 28 | infer_instance |
| 29 | |
| 30 | def map : B ⟶ A := by |
| 31 | letI := left_isIso tA tC a ha |
| 32 | exact b ≫ (asIso a).inv |
| 33 | |
| 34 | include hb in |
| 35 | @[reassoc] |
| 36 | theorem map_trace : map tA tC a b ha ≫ tA.hom = tB.hom := by |
| 37 | let := left_isIso tA tC a ha |
| 38 | change b ≫ inv a ≫ tA.hom = _ |
| 39 | rw [← ha, IsIso.inv_hom_id_assoc] |
| 40 | exact hb |
| 41 | |
| 42 | def unitClass : A := map tA tC a b ha (tB.inv (1 : R)) |
| 43 | |
| 44 | include hb in |
| 45 | theorem unitClass_trace : tA.hom (unitClass tA tB tC a b ha) = 1 := by |
| 46 | have h := ConcreteCategory.congr_hom (map_trace tA tB tC a b ha hb) (tB.inv (1 : R)) |
| 47 | exact h.trans (Iso.inv_hom_id_apply tB (1 : R)) |
| 48 | |
| 49 | include hb in |
| 50 | theorem unitClass_eq : unitClass tA tB tC a b ha = tA.inv (1 : R) := by |
| 51 | apply (ConcreteCategory.bijective_of_isIso tA.hom).injective |
| 52 | rw [unitClass_trace tA tB tC a b ha hb, Iso.inv_hom_id_apply] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.TotalRefinement |