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.CorepresentableDescent |
| 2 | |
| 3 | /-! # Descent Sections To -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DescentSectionsTo.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: sections compatible with descent and morphisms of the canonical coalgebra |
| 11 | |
| 12 | The coalgebra morphism condition is exactly equality of the two pullbacks |
| 13 | of a local section. This is the bridge from algebra descent to sheaf descent. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u v u' v' w |
| 22 | |
| 23 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 24 | {L : C ⥤ D} {R : D ⥤ C} (adj : L ⊣ R) (F : C ⥤ Type w) |
| 25 | |
| 26 | /-- Local sections whose two descent pullbacks agree. -/ |
| 27 | def DescentSections (T : C) := |
| 28 | {x : F.obj (R.obj (L.obj T)) // |
| 29 | F.map (adj.unit.app (R.obj (L.obj T))) x = F.map (R.map (L.map (adj.unit.app T))) x} |
| 30 | |
| 31 | /-- Every original section pulls back to a compatible local section. -/ |
| 32 | def sectionToDescent (T : C) (x : F.obj T) : DescentSections adj F T := |
| 33 | ⟨F.map (adj.unit.app T) x, by |
| 34 | erw [← Functor.map_comp_apply, ← Functor.map_comp_apply] |
| 35 | exact congrArg (fun g => F.map g x) (adj.unit.naturality (adj.unit.app T))⟩ |
| 36 | |
| 37 | variable {Y : D} (rep : (R ⋙ F).CorepresentableBy Y) (T : C) |
| 38 | |
| 39 | /-- Pulling back the canonical coaction agrees with restriction of the represented section. -/ |
| 40 | theorem corepresentable_coaction_hom_section (g : Y ⟶ L.obj T) : |
| 41 | rep.homEquiv (CorepresentableDescent.Construction.corepresentableDescentCoaction adj F rep ≫ L.map (R.map g)) = |
| 42 | F.map (adj.unit.app (R.obj (L.obj T))) (rep.homEquiv g) := by |
| 43 | erw [rep.homEquiv_comp, CorepresentableDescent.Construction.corepresentableDescentCoaction_section adj F rep] |
| 44 | rw [rep.homEquiv_eq g] |
| 45 | change F.map (R.map (L.map (R.map g))) |
| 46 | (F.map (adj.unit.app (R.obj Y)) (rep.homEquiv (𝟙 Y))) = |
| 47 | F.map (adj.unit.app (R.obj (L.obj T))) (F.map (R.map g) (rep.homEquiv (𝟙 Y))) |
| 48 | erw [← Functor.map_comp_apply, ← Functor.map_comp_apply] |
| 49 | exact congrArg (fun h => F.map h (rep.homEquiv (𝟙 Y))) (adj.unit.naturality (R.map g)).symm |
| 50 | |
| 51 | /-- Morphisms out of the canonical coalgebra are exactly compatible local sections. -/ |
| 52 | theorem corepresentable_coalgebra_condition_iff (g : Y ⟶ L.obj T) : |
| 53 | (CorepresentableDescent.Construction.corepresentableDescentCoalgebra adj F rep).a ≫ adj.toComonad.map g = |
| 54 | g ≫ ((Comonad.comparison adj).obj T).a ↔ |
| 55 | F.map (adj.unit.app (R.obj (L.obj T))) (rep.homEquiv g) = |
| 56 | F.map (R.map (L.map (adj.unit.app T))) (rep.homEquiv g) := by |
| 57 | change CorepresentableDescent.Construction.corepresentableDescentCoaction adj F rep ≫ L.map (R.map g) = |
| 58 | g ≫ L.map (adj.unit.app T) ↔ _ |
| 59 | rw [← rep.homEquiv.injective.eq_iff] |
| 60 | erw [corepresentable_coaction_hom_section adj F rep T g, rep.homEquiv_comp] |
| 61 | rfl |
| 62 | |
| 63 | /-- The actual bijection between coalgebra morphisms and sections satisfying the descent equality. -/ |
| 64 | def corepresentableCoalgebraHomEquiv : |
| 65 | (CorepresentableDescent.Construction.corepresentableDescentCoalgebra adj F rep ⟶ (Comonad.comparison adj).obj T) ≃ |
| 66 | DescentSections adj F T where |
| 67 | toFun g := ⟨rep.homEquiv g.f, (corepresentable_coalgebra_condition_iff adj F rep T g.f).mp g.h⟩ |
| 68 | invFun x := { |
| 69 | f := rep.homEquiv.symm x.val |
| 70 | h := (corepresentable_coalgebra_condition_iff adj F rep T _).mpr (by |
| 71 | erw [rep.homEquiv.apply_symm_apply] |
| 72 | exact x.property) } |
| 73 | left_inv g := by |
| 74 | apply Comonad.Coalgebra.Hom.ext |
| 75 | exact rep.homEquiv.symm_apply_apply g.f |
| 76 | right_inv x := Subtype.ext (rep.homEquiv.apply_symm_apply x.val) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DescentSectionsTo.Construction |