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.UnderlyingDescentOnOver |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Canonical.DescentReindex |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentComponentIsomorphisms |
| 4 | |
| 5 | /-! # Over Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Recovered.OverDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # An actual underlying recovery is a recovery over the original base |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Opposite |
| 16 | |
| 17 | universe u v u' v' |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] {S : C} {A B : Over S} (f : A ⟶ B) |
| 20 | (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) |
| 21 | (D : (DescentReindexing.reindex (Over.forget S) F).DescentData (fun (_ : PUnit.{1}) => f)) |
| 22 | (P : F.obj (.mk (op B.left))) |
| 23 | |
| 24 | /-- Compatibility on all underlying test objects gives compatibility on every test object over the base. -/ |
| 25 | def liftHom |
| 26 | (a : Pseudofunctor.DescentData.ofObj (F := F) (f := fun (_ : PUnit.{1}) => f.left) P ⟶ |
| 27 | UnderlyingDescent.underlyingDatum F (fun (_ : PUnit.{1}) => f) D) : |
| 28 | Pseudofunctor.DescentData.ofObj (F := DescentReindexing.reindex (Over.forget S) F) |
| 29 | (f := fun (_ : PUnit.{1}) => f) P ⟶ D where |
| 30 | hom i := a.hom i |
| 31 | comm := by |
| 32 | intro T q i j x y hx hy |
| 33 | cases i |
| 34 | cases j |
| 35 | have h := a.comm q.left (i₁ := PUnit.unit) (i₂ := PUnit.unit) x.left y.left |
| 36 | (congrArg Over.Hom.left hx) (congrArg Over.Hom.left hy) |
| 37 | rw [UnderlyingDescentOnOver.hom_eq f F D q x y hx hy] at h |
| 38 | exact h.trans (congrArg (fun k => k ≫ (F.map y.left.op.toLoc).toFunctor.map (a.hom PUnit.unit)) |
| 39 | (Canonical.DescentReindex.ofObj_hom (Over.forget S) F f P q x y hx hy).symm) |
| 40 | |
| 41 | /-- An actual isomorphism recovering the underlying datum recovers the full datum over the base. -/ |
| 42 | def liftIso |
| 43 | (e : Pseudofunctor.DescentData.ofObj (F := F) (f := fun (_ : PUnit.{1}) => f.left) P ≅ |
| 44 | UnderlyingDescent.underlyingDatum F (fun (_ : PUnit.{1}) => f) D) : |
| 45 | Pseudofunctor.DescentData.ofObj (F := DescentReindexing.reindex (Over.forget S) F) |
| 46 | (f := fun (_ : PUnit.{1}) => f) P ≅ D := by |
| 47 | have : IsIso ((liftHom f F D P e.hom).hom PUnit.unit) := |
| 48 | (DescentComponentIsomorphisms.componentIso F f.left e).isIso_hom |
| 49 | exact DescentComponentIsomorphisms.isoOfComponent |
| 50 | (DescentReindexing.reindex (Over.forget S) F) f (liftHom f F D P e.hom) |
| 51 | |
| 52 | /-- The recovered isomorphism retains precisely the original recovery map on the cover. -/ |
| 53 | theorem liftIso_hom |
| 54 | (e : Pseudofunctor.DescentData.ofObj (F := F) (f := fun (_ : PUnit.{1}) => f.left) P ≅ |
| 55 | UnderlyingDescent.underlyingDatum F (fun (_ : PUnit.{1}) => f) D) : |
| 56 | (liftIso f F D P e).hom.hom PUnit.unit = e.hom.hom PUnit.unit := rfl |
| 57 | |
| 58 | /-- Forgetting the base retains every actual isomorphism of descent data. -/ |
| 59 | def underlyingIso |
| 60 | {E : (DescentReindexing.reindex (Over.forget S) F).DescentData (fun (_ : PUnit.{1}) => f)} |
| 61 | (e : D ≅ E) : |
| 62 | UnderlyingDescent.underlyingDatum F (fun (_ : PUnit.{1}) => f) D ≅ |
| 63 | UnderlyingDescent.underlyingDatum F (fun (_ : PUnit.{1}) => f) E := |
| 64 | Pseudofunctor.DescentData.isoMk |
| 65 | (fun _ => DescentComponentIsomorphisms.componentIso |
| 66 | (DescentReindexing.reindex (Over.forget S) F) f e) (by |
| 67 | intro T q i j x y hx hy |
| 68 | cases i |
| 69 | cases j |
| 70 | exact e.hom.comm (UnderlyingDescent.baseMap q) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 71 | (UnderlyingDescent.coverMap (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q x hx) |
| 72 | (UnderlyingDescent.coverMap (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q y hy) |
| 73 | (UnderlyingDescent.coverMap_base (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q x hx) |
| 74 | (UnderlyingDescent.coverMap_base (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q y hy)) |
| 75 | |
| 76 | /-- The canonical recovered object has the same canonical underlying descent datum. -/ |
| 77 | def canonicalUnderlyingIso : |
| 78 | Pseudofunctor.DescentData.ofObj (F := F) (f := fun (_ : PUnit.{1}) => f.left) P ≅ |
| 79 | UnderlyingDescent.underlyingDatum F (fun (_ : PUnit.{1}) => f) |
| 80 | (Pseudofunctor.DescentData.ofObj (F := DescentReindexing.reindex (Over.forget S) F) |
| 81 | (f := fun (_ : PUnit.{1}) => f) P) := |
| 82 | Pseudofunctor.DescentData.isoMk (fun _ => Iso.refl _) (by |
| 83 | intro T q i j x y hx hy |
| 84 | cases i |
| 85 | cases j |
| 86 | change (F.map x.op.toLoc).toFunctor.map (𝟙 _) ≫ _ = |
| 87 | _ ≫ (F.map y.op.toLoc).toFunctor.map (𝟙 _) |
| 88 | erw [(F.map x.op.toLoc).toFunctor.map_id, (F.map y.op.toLoc).toFunctor.map_id, |
| 89 | Category.id_comp, Category.comp_id] |
| 90 | exact Canonical.DescentReindex.ofObj_hom (Over.forget S) F f P |
| 91 | (UnderlyingDescent.baseMap q) |
| 92 | (UnderlyingDescent.coverMap (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q x hx) |
| 93 | (UnderlyingDescent.coverMap (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q y hy) |
| 94 | (UnderlyingDescent.coverMap_base (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q x hx) |
| 95 | (UnderlyingDescent.coverMap_base (fun (_ : PUnit.{1}) => f) (i := PUnit.unit) q y hy)) |
| 96 | |
| 97 | /-- A compatible recovery over the base gives the actual canonical recovery on all underlying test objects. -/ |
| 98 | def lowerIso |
| 99 | (e : Pseudofunctor.DescentData.ofObj (F := DescentReindexing.reindex (Over.forget S) F) |
| 100 | (f := fun (_ : PUnit.{1}) => f) P ≅ D) : |
| 101 | Pseudofunctor.DescentData.ofObj (F := F) (f := fun (_ : PUnit.{1}) => f.left) P ≅ |
| 102 | UnderlyingDescent.underlyingDatum F (fun (_ : PUnit.{1}) => f) D := |
| 103 | canonicalUnderlyingIso f F P ≪≫ underlyingIso f F _ e |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Recovered.OverDescent |