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.SiteLifts |
| 2 | |
| 3 | /-! # Product Preservation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.ProductPreservation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: fully faithful functors with incoming lifts preserve binary products |
| 11 | |
| 12 | An incoming product cone lifts through its first leg. Fullness lifts its |
| 13 | second leg, and the original product universal property then supplies |
| 14 | the unique map. This applies to crystalline restriction along monomorphisms. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u v u' v' |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 22 | (F : C ⥤ D) [F.Full] [F.Faithful] (L : SiteLifts.IncomingLifts F) |
| 23 | {U V : C} |
| 24 | |
| 25 | def sourceFan (s : BinaryFan (F.obj U) (F.obj V)) : BinaryFan U V := |
| 26 | BinaryFan.mk (L.hom s.fst) (F.preimage ((L.iso s.fst).hom ≫ s.snd)) |
| 27 | |
| 28 | variable (c : BinaryFan U V) (hc : IsLimit c) |
| 29 | |
| 30 | def lift (s : BinaryFan (F.obj U) (F.obj V)) : s.pt ⟶ F.obj c.pt := |
| 31 | (L.iso s.fst).inv ≫ F.map (hc.lift (sourceFan F L s)) |
| 32 | |
| 33 | omit [F.Faithful] in |
| 34 | theorem lift_fst (s : BinaryFan (F.obj U) (F.obj V)) : |
| 35 | ProductPreservation.lift F L c hc s ≫ F.map c.fst = s.fst := by |
| 36 | erw [ProductPreservation.lift, Category.assoc, ← F.map_comp, hc.fac (sourceFan F L s) ⟨WalkingPair.left⟩] |
| 37 | change (L.iso s.fst).inv ≫ F.map (L.hom s.fst) = s.fst |
| 38 | erw [L.map_hom] |
| 39 | exact (L.iso s.fst).inv_hom_id_assoc s.fst |
| 40 | |
| 41 | omit [F.Faithful] in |
| 42 | theorem lift_snd (s : BinaryFan (F.obj U) (F.obj V)) : |
| 43 | ProductPreservation.lift F L c hc s ≫ F.map c.snd = s.snd := by |
| 44 | erw [ProductPreservation.lift, Category.assoc, ← F.map_comp, hc.fac (sourceFan F L s) ⟨WalkingPair.right⟩] |
| 45 | change (L.iso s.fst).inv ≫ F.map (F.preimage ((L.iso s.fst).hom ≫ s.snd)) = s.snd |
| 46 | erw [F.map_preimage] |
| 47 | exact (L.iso s.fst).inv_hom_id_assoc s.snd |
| 48 | |
| 49 | theorem lift_unique (s : BinaryFan (F.obj U) (F.obj V)) (m : s.pt ⟶ F.obj c.pt) |
| 50 | (hfst : m ≫ F.map c.fst = s.fst) (hsnd : m ≫ F.map c.snd = s.snd) : |
| 51 | m = ProductPreservation.lift F L c hc s := by |
| 52 | have he : F.preimage ((L.iso s.fst).hom ≫ m) = hc.lift (sourceFan F L s) := by |
| 53 | apply BinaryFan.IsLimit.hom_ext hc |
| 54 | · erw [hc.fac (sourceFan F L s) ⟨WalkingPair.left⟩] |
| 55 | apply F.map_injective |
| 56 | change F.map (F.preimage ((L.iso s.fst).hom ≫ m) ≫ c.fst) = F.map (L.hom s.fst) |
| 57 | erw [F.map_comp, F.map_preimage, Category.assoc, hfst, L.map_hom] |
| 58 | · erw [hc.fac (sourceFan F L s) ⟨WalkingPair.right⟩] |
| 59 | apply F.map_injective |
| 60 | change F.map (F.preimage ((L.iso s.fst).hom ≫ m) ≫ c.snd) = |
| 61 | F.map (F.preimage ((L.iso s.fst).hom ≫ s.snd)) |
| 62 | erw [F.map_comp, F.map_preimage, F.map_preimage, Category.assoc, hsnd] |
| 63 | apply (cancel_epi (L.iso s.fst).hom).mp |
| 64 | erw [ProductPreservation.lift, ← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 65 | exact (F.map_preimage ((L.iso s.fst).hom ≫ m)).symm.trans (congrArg (fun f => F.map f) he) |
| 66 | |
| 67 | def isLimit : IsLimit (c.map F) := |
| 68 | BinaryFan.isLimitMk (ProductPreservation.lift F L c hc) (lift_fst F L c hc) (lift_snd F L c hc) |
| 69 | (lift_unique F L c hc) |
| 70 | |
| 71 | def isLimitMapCone : IsLimit (F.mapCone c) := |
| 72 | (BinaryFan.isLimitMapConeEquiv (F := F)).symm (isLimit F L c hc) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.ProductPreservation |