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.AbelianScheme.IsogenyQuotient.Kernel.PairCechMaps |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.PullHom |
| 3 | |
| 4 | /-! # Pair Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.PairDescent.Construction.KernelPairDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An isomorphism on the actual kernel pair, with diagonal and |
| 11 | triple-overlap identities, gives ordinary descent data on every test object. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.PullHom |
| 17 | |
| 18 | universe u v u' v' |
| 19 | variable {C : Type u} [Category.{v} C] [HasPullbacks C] {X Y : C} (f : X ⟶ Y) |
| 20 | (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) (L : F.obj (.mk (op X))) |
| 21 | |
| 22 | abbrev pointObject {T : C} (x : T ⟶ X) := (F.map x.op.toLoc).toFunctor.obj L |
| 23 | |
| 24 | structure Datum where |
| 25 | gluingIso : pointObject F L (pullback.fst f f) ≅ pointObject F L (pullback.snd f f) |
| 26 | unit : pullHom gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.diagonal f) (𝟙 X) (𝟙 X) (PairCechMaps.Construction.KernelPairDescent.diagonal_fst f) (PairCechMaps.Construction.KernelPairDescent.diagonal_snd f) = 𝟙 _ |
| 27 | cocycle : |
| 28 | pullHom gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.first f) (PairCechMaps.Construction.KernelPairDescent.source f) (PairCechMaps.Construction.KernelPairDescent.middle f) rfl rfl ≫ |
| 29 | pullHom gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.second f) (PairCechMaps.Construction.KernelPairDescent.middle f) (PairCechMaps.Construction.KernelPairDescent.target f) (PairCechMaps.Construction.KernelPairDescent.second_middle f) rfl = |
| 30 | pullHom gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.outer f) (PairCechMaps.Construction.KernelPairDescent.source f) (PairCechMaps.Construction.KernelPairDescent.target f) (PairCechMaps.Construction.KernelPairDescent.outer_source f) (PairCechMaps.Construction.KernelPairDescent.outer_target f) |
| 31 | |
| 32 | variable (D : Datum f F L) |
| 33 | |
| 34 | def transport {T : C} (x y : T ⟶ X) (h : x ≫ f = y ≫ f) : pointObject F L x ⟶ pointObject F L y := |
| 35 | pullHom D.gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.pair f x y h) x y (PairCechMaps.Construction.KernelPairDescent.pair_fst f x y h) (PairCechMaps.Construction.KernelPairDescent.pair_snd f x y h) |
| 36 | |
| 37 | theorem transport_self {T : C} (x : T ⟶ X) : transport f F L D x x rfl = 𝟙 _ := by |
| 38 | have h0 : pullHom (pullHom D.gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.diagonal f) (𝟙 X) (𝟙 X) |
| 39 | (PairCechMaps.Construction.KernelPairDescent.diagonal_fst f) (PairCechMaps.Construction.KernelPairDescent.diagonal_snd f)) x x x |
| 40 | (Category.comp_id x) (Category.comp_id x) = 𝟙 _ := by |
| 41 | rw [D.unit] |
| 42 | exact Picard.PoincareBundle.PullHom.pullHom_identity x x (Category.comp_id x) |
| 43 | have h1 := pullHom_pullHom D.gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.diagonal f) (𝟙 X) (𝟙 X) x x x |
| 44 | (PairCechMaps.Construction.KernelPairDescent.diagonal_fst f) (PairCechMaps.Construction.KernelPairDescent.diagonal_snd f) (Category.comp_id x) (Category.comp_id x) |
| 45 | have h2 := Picard.PoincareBundle.PullHom.pullHom_congr D.gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.pair f x x rfl) (x ≫ PairCechMaps.Construction.KernelPairDescent.diagonal f) |
| 46 | (PairCechMaps.Construction.KernelPairDescent.pair_self f x) x x (PairCechMaps.Construction.KernelPairDescent.pair_fst f x x rfl) (PairCechMaps.Construction.KernelPairDescent.pair_snd f x x rfl) |
| 47 | (by rw [Category.assoc, PairCechMaps.Construction.KernelPairDescent.diagonal_fst, Category.comp_id]) |
| 48 | (by rw [Category.assoc, PairCechMaps.Construction.KernelPairDescent.diagonal_snd, Category.comp_id]) |
| 49 | exact h2.trans (h1.symm.trans h0) |
| 50 | |
| 51 | theorem transport_pullback {T U : C} (g : U ⟶ T) (x y : T ⟶ X) (h : x ≫ f = y ≫ f) |
| 52 | (x' y' : U ⟶ X) (h' : x' ≫ f = y' ≫ f) (hx : g ≫ x = x') (hy : g ≫ y = y') : |
| 53 | pullHom (transport f F L D x y h) g x' y' hx hy = transport f F L D x' y' h' := by |
| 54 | have h1 := pullHom_pullHom D.gluingIso.hom (PairCechMaps.Construction.KernelPairDescent.pair f x y h) x y g x' y' |
| 55 | (PairCechMaps.Construction.KernelPairDescent.pair_fst f x y h) (PairCechMaps.Construction.KernelPairDescent.pair_snd f x y h) hx hy |
| 56 | have h2 := Picard.PoincareBundle.PullHom.pullHom_congr D.gluingIso.hom (g ≫ PairCechMaps.Construction.KernelPairDescent.pair f x y h) (PairCechMaps.Construction.KernelPairDescent.pair f x' y' h') |
| 57 | (PairCechMaps.Construction.KernelPairDescent.pair_natural f g x y h x' y' h' hx hy) x' y' |
| 58 | (by rw [Category.assoc, PairCechMaps.Construction.KernelPairDescent.pair_fst, hx]) (by rw [Category.assoc, PairCechMaps.Construction.KernelPairDescent.pair_snd, hy]) |
| 59 | (PairCechMaps.Construction.KernelPairDescent.pair_fst f x' y' h') (PairCechMaps.Construction.KernelPairDescent.pair_snd f x' y' h') |
| 60 | exact h1.trans h2 |
| 61 | |
| 62 | theorem transport_comp {T : C} (x y z : T ⟶ X) |
| 63 | (hxy : x ≫ f = y ≫ f) (hyz : y ≫ f = z ≫ f) : |
| 64 | transport f F L D x y hxy ≫ transport f F L D y z hyz = |
| 65 | transport f F L D x z (hxy.trans hyz) := by |
| 66 | let t := PairCechMaps.Construction.KernelPairDescent.triple f x y z hxy hyz |
| 67 | have hs : t ≫ PairCechMaps.Construction.KernelPairDescent.source f = x := by |
| 68 | rw [PairCechMaps.Construction.KernelPairDescent.source, ← Category.assoc, PairCechMaps.Construction.KernelPairDescent.triple_first, PairCechMaps.Construction.KernelPairDescent.pair_fst] |
| 69 | have hm : t ≫ PairCechMaps.Construction.KernelPairDescent.middle f = y := by |
| 70 | rw [PairCechMaps.Construction.KernelPairDescent.middle, ← Category.assoc, PairCechMaps.Construction.KernelPairDescent.triple_first, PairCechMaps.Construction.KernelPairDescent.pair_snd] |
| 71 | have ht : t ≫ PairCechMaps.Construction.KernelPairDescent.target f = z := by |
| 72 | rw [PairCechMaps.Construction.KernelPairDescent.target, ← Category.assoc, PairCechMaps.Construction.KernelPairDescent.triple_second, PairCechMaps.Construction.KernelPairDescent.pair_snd] |
| 73 | have H := congrArg (fun φ : pointObject F L (PairCechMaps.Construction.KernelPairDescent.source f) ⟶ pointObject F L (PairCechMaps.Construction.KernelPairDescent.target f) => |
| 74 | pullHom φ t x z hs ht) D.cocycle |
| 75 | rw [Picard.PoincareBundle.PullHom.pullHom_comp _ _ t x y z hs hm ht] at H |
| 76 | simpa only [transport, pullHom_pullHom, t, PairCechMaps.Construction.KernelPairDescent.triple_first, PairCechMaps.Construction.KernelPairDescent.triple_second, PairCechMaps.Construction.KernelPairDescent.triple_outer] using H |
| 77 | |
| 78 | def toDescentData : F.DescentData (fun (_ : PUnit.{1}) => f) where |
| 79 | obj _ := L |
| 80 | hom _T _p _i _j x y hx hy := transport f F L D x y (hx.trans hy.symm) |
| 81 | hom_self _T _p _i x _hx := transport_self f F L D x |
| 82 | hom_comp _T _p _i _j _k x y z hx hy hz := |
| 83 | transport_comp f F L D x y z (hx.trans hy.symm) (hy.trans hz.symm) |
| 84 | pullHom_hom _U _T g _p _p' _hp _i _j x y hx hy x' y' htx hty := |
| 85 | transport_pullback f F L D g x y (hx.trans hy.symm) x' y' _ htx hty |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.PairDescent.Construction.KernelPairDescent |