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.AdjointCechInvariant |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointIsoUnits |
| 3 | |
| 4 | /-! # Adjunction Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.AdjunctionChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Invariant arrows under canonically isomorphic pullback adjunctions |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointCechInvariant |
| 17 | |
| 18 | variable {C D E : Type*} [Category C] [Category D] [Category E] |
| 19 | {R : D ⥤ C} {P Q P' Q' : D ⥤ E} {U V U' V' : E ⥤ D} |
| 20 | (b : P ⊣ U) (b' : P' ⊣ U') (c : Q ⊣ V) (c' : Q' ⊣ V') |
| 21 | (α : P ≅ P') (β : Q ≅ Q') (ρ : U ≅ U') (τ : V ≅ V') |
| 22 | (hP : conjugateEquiv b b' α.inv = ρ.hom) (hQ : conjugateEquiv c c' β.inv = τ.hom) |
| 23 | (e : U ⋙ R ≅ V ⋙ R) |
| 24 | |
| 25 | /-- The direct-image comparison expressed in the new adjunctions. -/ |
| 26 | def changedRightIso : U' ⋙ R ≅ V' ⋙ R := |
| 27 | Functor.isoWhiskerRight ρ.symm R ≪≫ e ≪≫ Functor.isoWhiskerRight τ R |
| 28 | |
| 29 | theorem changedRightIso_square (Z : E) : |
| 30 | R.map (ρ.hom.app Z) ≫ (changedRightIso ρ τ e).hom.app Z = |
| 31 | e.hom.app Z ≫ R.map (τ.hom.app Z) := by |
| 32 | have hm : R.map (ρ.hom.app Z) ≫ R.map (ρ.inv.app Z) = 𝟙 _ := by |
| 33 | rw [← R.map_comp, Iso.hom_inv_id_app, R.map_id] |
| 34 | change R.map (ρ.hom.app Z) ≫ (R.map (ρ.inv.app Z) ≫ e.hom.app Z ≫ R.map (τ.hom.app Z)) = _ |
| 35 | rw [← Category.assoc (R.map (ρ.hom.app Z)) (R.map (ρ.inv.app Z)), hm, Category.id_comp] |
| 36 | |
| 37 | variable {M : D} (σ : P.obj M ⟶ Q.obj M) |
| 38 | |
| 39 | /-- The gluing map expressed in the new left adjoints. -/ |
| 40 | def changedGluing : P'.obj M ⟶ Q'.obj M := (α.inv.app M ≫ σ) ≫ β.hom.app M |
| 41 | |
| 42 | /-- The corresponding isomorphism between the targets of the invariant diagrams. -/ |
| 43 | def targetIso : (V ⋙ R).obj (Q.obj M) ≅ (V' ⋙ R).obj (Q'.obj M) := |
| 44 | R.mapIso (τ.app (Q.obj M) ≪≫ V'.mapIso (β.app M)) |
| 45 | |
| 46 | theorem targetIso_hom : (targetIso (R := R) β τ (M := M)).hom = |
| 47 | R.map (τ.hom.app (Q.obj M)) ≫ R.map (V'.map (β.hom.app M)) := |
| 48 | R.map_comp _ _ |
| 49 | |
| 50 | /-- The first invariant arrow can be computed by transposing the actual gluing map. -/ |
| 51 | theorem leftMap_homEquiv : AdjointCechInvariant.leftMap b e σ = R.map (b.homEquiv M (Q.obj M) σ) ≫ e.hom.app (Q.obj M) := by |
| 52 | change R.map (b.unit.app M) ≫ e.hom.app (P.obj M) ≫ (V ⋙ R).map σ = _ |
| 53 | rw [b.homEquiv_unit, R.map_comp, Category.assoc] |
| 54 | exact (congrArg (fun z => R.map (b.unit.app M) ≫ z) (e.hom.naturality σ)).symm |
| 55 | |
| 56 | include hP in |
| 57 | /-- The new transposed gluing uses the prescribed mate comparison. -/ |
| 58 | theorem changed_homEquiv : |
| 59 | b'.homEquiv M (Q'.obj M) (changedGluing α β σ) = |
| 60 | (b.homEquiv M (Q.obj M) σ ≫ ρ.hom.app (Q.obj M)) ≫ U'.map (β.hom.app M) := by |
| 61 | exact (b'.homEquiv_naturality_right (α.inv.app M ≫ σ) (β.hom.app M)).trans |
| 62 | (congrArg (fun z => z ≫ U'.map (β.hom.app M)) |
| 63 | (AdjointIsoUnits.homEquiv_transport b b' α ρ hP σ)) |
| 64 | |
| 65 | include hP in |
| 66 | /-- Both forms of the first invariant arrow agree through the target comparison. -/ |
| 67 | theorem leftMap_eq : |
| 68 | AdjointCechInvariant.leftMap b' (changedRightIso ρ τ e) (changedGluing α β σ) = |
| 69 | AdjointCechInvariant.leftMap b e σ ≫ (targetIso (R := R) β τ (M := M)).hom := by |
| 70 | have hn := (changedRightIso ρ τ e).hom.naturality (β.hom.app M) |
| 71 | change R.map (U'.map (β.hom.app M)) ≫ (changedRightIso ρ τ e).hom.app (Q'.obj M) = |
| 72 | (changedRightIso ρ τ e).hom.app (Q.obj M) ≫ R.map (V'.map (β.hom.app M)) at hn |
| 73 | rw [leftMap_homEquiv, changed_homEquiv b b' α β ρ hP σ, R.map_comp, R.map_comp, |
| 74 | leftMap_homEquiv, targetIso_hom] |
| 75 | simp only [Category.assoc] |
| 76 | rw [hn] |
| 77 | rw [← Category.assoc (R.map (ρ.hom.app (Q.obj M))) |
| 78 | ((changedRightIso ρ τ e).hom.app (Q.obj M)) (R.map (V'.map (β.hom.app M))), |
| 79 | changedRightIso_square] |
| 80 | simp only [Category.assoc] |
| 81 | |
| 82 | include hQ in |
| 83 | /-- The adjunction unit is transported through that same target comparison. -/ |
| 84 | theorem rightMap_eq : |
| 85 | AdjointCechInvariant.rightMap (R := R) c' (M := M) = |
| 86 | AdjointCechInvariant.rightMap (R := R) c ≫ (targetIso (R := R) β τ (M := M)).hom := by |
| 87 | have hu := AdjointIsoUnits.unit_transport c c' β τ hQ M |
| 88 | have hm := congrArg (fun z => R.map z) hu |
| 89 | rw [R.map_comp, R.map_comp] at hm |
| 90 | change R.map (c'.unit.app M) = R.map (c.unit.app M) ≫ (targetIso (R := R) β τ (M := M)).hom |
| 91 | rw [targetIso_hom] |
| 92 | exact hm.symm |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.AdjunctionChange |