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.PullHom |
| 2 | |
| 3 | /-! # Pullback Fiber Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.PullbackFiberComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Composition comparisons for fibers of a pulled-back object commute with native geometric pullback |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 15 | |
| 16 | universe u v u' v' |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] |
| 19 | (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) |
| 20 | {E Z : C} (p : E ⟶ Z) (L : F.obj (.mk (op Z))) |
| 21 | |
| 22 | /-- The actual composition isomorphism identifies a fiber of the pulled-back object with its original fiber. -/ |
| 23 | def fiberIso {T : C} (x : T ⟶ E) : |
| 24 | (F.map x.op.toLoc).toFunctor.obj ((F.map p.op.toLoc).toFunctor.obj L) ≅ |
| 25 | (F.map (x ≫ p).op.toLoc).toFunctor.obj L := |
| 26 | (Cat.Hom.toNatIso (F.mapComp' p.op.toLoc x.op.toLoc (x ≫ p).op.toLoc rfl)).symm.app L |
| 27 | |
| 28 | /-- The same actual composition comparison with an explicitly specified composite point. -/ |
| 29 | def fiberIsoTo {T : C} (k : T ⟶ E) (x : T ⟶ Z) (hk : k ≫ p = x) : |
| 30 | (F.map k.op.toLoc).toFunctor.obj ((F.map p.op.toLoc).toFunctor.obj L) ≅ |
| 31 | (F.map x.op.toLoc).toFunctor.obj L := |
| 32 | (Cat.Hom.toNatIso (F.mapComp' p.op.toLoc k.op.toLoc x.op.toLoc (by rw [← hk]; rfl))).symm.app L |
| 33 | |
| 34 | /-- Native pullback preserves composition comparisons with specified endpoint equalities. -/ |
| 35 | theorem fiberIsoTo_hom_pullback {T T' : C} (g : T' ⟶ T) (k : T ⟶ E) (x : T ⟶ Z) |
| 36 | (hk : k ≫ p = x) (k' : T' ⟶ E) (x' : T' ⟶ Z) (hk' : k' ≫ p = x') |
| 37 | (hgk : g ≫ k = k') (hgx : g ≫ x = x') : |
| 38 | pullHom (fiberIsoTo F p L k x hk).hom g k' x' hgk hgx = (fiberIsoTo F p L k' x' hk').hom := by |
| 39 | unfold pullHom fiberIsoTo |
| 40 | have h := F.mapComp'₀₁₃_inv_app p.op.toLoc k.op.toLoc g.op.toLoc |
| 41 | x.op.toLoc k'.op.toLoc x'.op.toLoc (by rw [← hk]; rfl) |
| 42 | (by rw [← hgk]; rfl) (by rw [← hk']; rfl) L |
| 43 | exact h.symm |
| 44 | |
| 45 | /-- Pseudofunctor associativity gives native pullback of the actual fiber comparison. -/ |
| 46 | theorem fiberIso_hom_pullback {T T' : C} (g : T' ⟶ T) (x : T ⟶ E) (x' : T' ⟶ E) |
| 47 | (hx : g ≫ x = x') (hxp : g ≫ (x ≫ p) = x' ≫ p) : |
| 48 | pullHom (fiberIso F p L x).hom g x' (x' ≫ p) hx hxp = (fiberIso F p L x').hom := by |
| 49 | unfold pullHom fiberIso |
| 50 | have h := F.mapComp'₀₁₃_inv_app p.op.toLoc x.op.toLoc g.op.toLoc |
| 51 | (x ≫ p).op.toLoc x'.op.toLoc (x' ≫ p).op.toLoc rfl |
| 52 | (by rw [← hx]; rfl) rfl L |
| 53 | exact h.symm |
| 54 | |
| 55 | /-- Native pullback carries an actual fiber isomorphism to an actual fiber isomorphism. -/ |
| 56 | def pullIso {A B T T' : C} {M : F.obj (.mk (op A))} {N : F.obj (.mk (op B))} |
| 57 | {x : T ⟶ A} {y : T ⟶ B} |
| 58 | (e : (F.map x.op.toLoc).toFunctor.obj M ≅ (F.map y.op.toLoc).toFunctor.obj N) |
| 59 | (g : T' ⟶ T) (x' : T' ⟶ A) (y' : T' ⟶ B) (hx : g ≫ x = x') (hy : g ≫ y = y') : |
| 60 | (F.map x'.op.toLoc).toFunctor.obj M ≅ (F.map y'.op.toLoc).toFunctor.obj N where |
| 61 | hom := pullHom e.hom g x' y' hx hy |
| 62 | inv := pullHom e.inv g y' x' hy hx |
| 63 | hom_inv_id := by |
| 64 | rw [← PullHom.pullHom_comp e.hom e.inv g x' y' x' hx hy hx, e.hom_inv_id] |
| 65 | exact PullHom.pullHom_identity g x' hx |
| 66 | inv_hom_id := by |
| 67 | rw [← PullHom.pullHom_comp e.inv e.hom g y' x' y' hy hx hy, e.inv_hom_id] |
| 68 | exact PullHom.pullHom_identity g y' hy |
| 69 | |
| 70 | /-- The whole fiber comparison isomorphism is preserved by change of test object. -/ |
| 71 | theorem fiberIso_pullback {T T' : C} (g : T' ⟶ T) (x : T ⟶ E) (x' : T' ⟶ E) |
| 72 | (hx : g ≫ x = x') (hxp : g ≫ (x ≫ p) = x' ≫ p) : |
| 73 | pullIso F (fiberIso F p L x) g x' (x' ≫ p) hx hxp = fiberIso F p L x' := by |
| 74 | apply Iso.ext |
| 75 | exact fiberIso_hom_pullback F p L g x x' hx hxp |
| 76 | |
| 77 | /-- Native pullback also preserves the inverse fiber comparison. -/ |
| 78 | theorem fiberIso_inv_pullback {T T' : C} (g : T' ⟶ T) (x : T ⟶ E) (x' : T' ⟶ E) |
| 79 | (hx : g ≫ x = x') (hxp : g ≫ (x ≫ p) = x' ≫ p) : |
| 80 | pullHom (fiberIso F p L x).inv g (x' ≫ p) x' hxp hx = (fiberIso F p L x').inv := |
| 81 | congrArg Iso.inv (fiberIso_pullback F p L g x x' hx hxp) |
| 82 | |
| 83 | /-- Transport a morphism of original fibers to the actual fibers of the pulled-back object. -/ |
| 84 | def transport {T : C} (x y : T ⟶ E) |
| 85 | (a : (F.map (x ≫ p).op.toLoc).toFunctor.obj L ⟶ (F.map (y ≫ p).op.toLoc).toFunctor.obj L) : |
| 86 | (F.map x.op.toLoc).toFunctor.obj ((F.map p.op.toLoc).toFunctor.obj L) ⟶ |
| 87 | (F.map y.op.toLoc).toFunctor.obj ((F.map p.op.toLoc).toFunctor.obj L) := |
| 88 | (fiberIso F p L x).hom ≫ a ≫ (fiberIso F p L y).inv |
| 89 | |
| 90 | /-- Pulling back a transported fiber operation agrees with transporting its genuine native pullback. -/ |
| 91 | theorem transport_pullback {T T' : C} (g : T' ⟶ T) (x y : T ⟶ E) |
| 92 | (a : (F.map (x ≫ p).op.toLoc).toFunctor.obj L ⟶ (F.map (y ≫ p).op.toLoc).toFunctor.obj L) |
| 93 | (x' y' : T' ⟶ E) (hx : g ≫ x = x') (hy : g ≫ y = y') |
| 94 | (hxp : g ≫ (x ≫ p) = x' ≫ p) (hyp : g ≫ (y ≫ p) = y' ≫ p) : |
| 95 | pullHom (transport F p L x y a) g x' y' hx hy = |
| 96 | transport F p L x' y' (pullHom a g (x' ≫ p) (y' ≫ p) hxp hyp) := by |
| 97 | unfold transport |
| 98 | rw [PullHom.pullHom_comp _ _ g x' (x' ≫ p) y' hx hxp hy, |
| 99 | PullHom.pullHom_comp _ _ g (x' ≫ p) (y' ≫ p) y' hxp hyp hy, |
| 100 | fiberIso_hom_pullback, fiberIso_inv_pullback] |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.PullbackFiberComposition |