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.FormalGeometry.Completion.DescentSectionsTo |
| 2 | |
| 3 | /-! # Corepresentable Effective Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CorepresentableEffectiveDescent.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: effective descent of a corepresentative |
| 11 | |
| 12 | When sections satisfy the descent equalizer and the algebra comparison is |
| 13 | fully faithful, an object recovering the local canonical coalgebra actually |
| 14 | corepresents the original functor. This supplies the identification step. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u v u' v' w |
| 23 | |
| 24 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 25 | {L : C ⥤ D} {R : D ⥤ C} (adj : L ⊣ R) (F : C ⥤ Type w) |
| 26 | {Y : D} (rep : (R ⋙ F).CorepresentableBy Y) |
| 27 | (hcomparison : (Comonad.comparison adj).FullyFaithful) |
| 28 | (hsections : ∀ T, Function.Bijective (DescentSectionsTo.Construction.sectionToDescent adj F T)) |
| 29 | {A : C} (e : (Comonad.comparison adj).obj A ≅ CorepresentableDescent.Construction.corepresentableDescentCoalgebra adj F rep) |
| 30 | |
| 31 | /-- Morphisms from the descended object are in bijection with original sections. -/ |
| 32 | def descendedCorepresentativeHomEquiv (T : C) : (A ⟶ T) ≃ F.obj T := |
| 33 | hcomparison.homEquiv.trans |
| 34 | ((Iso.homCongr e (Iso.refl _)).trans |
| 35 | ((DescentSectionsTo.Construction.corepresentableCoalgebraHomEquiv adj F rep T).trans |
| 36 | (Equiv.ofBijective (DescentSectionsTo.Construction.sectionToDescent adj F T) (hsections T)).symm)) |
| 37 | |
| 38 | theorem descendedCorepresentativeHomEquiv_restrict {T : C} (g : A ⟶ T) : |
| 39 | F.map (adj.unit.app T) |
| 40 | (descendedCorepresentativeHomEquiv adj F rep hcomparison hsections e T g) = |
| 41 | rep.homEquiv (e.inv.f ≫ L.map g) := by |
| 42 | simpa only [descendedCorepresentativeHomEquiv, Equiv.trans_apply, |
| 43 | Functor.FullyFaithful.homEquiv_apply, Iso.homCongr_apply, Iso.refl_hom, Category.comp_id, |
| 44 | DescentSectionsTo.Construction.sectionToDescent, DescentSectionsTo.Construction.corepresentableCoalgebraHomEquiv] |
| 45 | using! congrArg Subtype.val |
| 46 | (Equiv.ofBijective_apply_symm_apply (DescentSectionsTo.Construction.sectionToDescent adj F T) (hsections T) |
| 47 | ((DescentSectionsTo.Construction.corepresentableCoalgebraHomEquiv adj F rep T) |
| 48 | (e.inv ≫ (Comonad.comparison adj).map g))) |
| 49 | |
| 50 | /-- The section bijections commute with all morphisms, so the descended object corepresents the functor. -/ |
| 51 | def descendedCorepresentative : F.CorepresentableBy A where |
| 52 | homEquiv := descendedCorepresentativeHomEquiv adj F rep hcomparison hsections e _ |
| 53 | homEquiv_comp {T T'} g h := by |
| 54 | apply (hsections T').injective |
| 55 | apply Subtype.ext |
| 56 | change F.map (adj.unit.app T') |
| 57 | (descendedCorepresentativeHomEquiv adj F rep hcomparison hsections e T' (h ≫ g)) = |
| 58 | F.map (adj.unit.app T') |
| 59 | (F.map g (descendedCorepresentativeHomEquiv adj F rep hcomparison hsections e T h)) |
| 60 | rw [descendedCorepresentativeHomEquiv_restrict] |
| 61 | calc |
| 62 | rep.homEquiv (e.inv.f ≫ L.map (h ≫ g)) = |
| 63 | F.map (R.map (L.map g)) (rep.homEquiv (e.inv.f ≫ L.map h)) := by |
| 64 | rw [CategoryTheory.Functor.map_comp, ← Category.assoc] |
| 65 | exact rep.homEquiv_comp _ _ |
| 66 | _ = _ := by |
| 67 | rw [← descendedCorepresentativeHomEquiv_restrict adj F rep hcomparison hsections e h] |
| 68 | erw [← Functor.map_comp_apply, ← Functor.map_comp_apply] |
| 69 | exact congrArg (fun k => F.map k |
| 70 | (descendedCorepresentativeHomEquiv adj F rep hcomparison hsections e T h)) |
| 71 | (adj.unit.naturality g).symm |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CorepresentableEffectiveDescent.Construction |