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.CartierDuality.SheafBlocks |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RepresentedMorphisms |
| 3 | |
| 4 | /-! # Sheaf Kernel Annihilator -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SheafKernelAnnihilator |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sectionwise kernel detection and character restriction, retaining |
| 11 | every test scheme and every further base change. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes |
| 16 | |
| 17 | theorem sheaf_square_kernel_iff {S : Scheme} {G H K L : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 18 | (a : G ⟶ H) (b : G ⟶ K) (p : H ⟶ L) (q : K ⟶ L) [Mono p] [Mono q] |
| 19 | (hs : a ≫ p = b ≫ q) (T : Over S) (x : G.obj.obj (.op T)) : |
| 20 | a.hom.app (.op T) x = 1 ↔ b.hom.app (.op T) x = 1 := by |
| 21 | have hp : Function.Injective (p.hom.app (.op T)) := |
| 22 | (CommGrpCat.mono_iff_injective (p.hom.app (.op T))).mp inferInstance |
| 23 | have hq : Function.Injective (q.hom.app (.op T)) := |
| 24 | (CommGrpCat.mono_iff_injective (q.hom.app (.op T))).mp inferInstance |
| 25 | have hv := congrArg (fun w => w.hom.app (.op T) x) hs |
| 26 | change p.hom.app (.op T) (a.hom.app (.op T) x) = |
| 27 | q.hom.app (.op T) (b.hom.app (.op T) x) at hv |
| 28 | constructor |
| 29 | · intro ha |
| 30 | apply hq |
| 31 | exact hv.symm.trans ((congrArg (p.hom.app (.op T)) ha).trans |
| 32 | ((p.hom.app (.op T)).hom.map_one.trans (q.hom.app (.op T)).hom.map_one.symm)) |
| 33 | · intro hb |
| 34 | apply hp |
| 35 | exact hv.trans ((congrArg (q.hom.app (.op T)) hb).trans |
| 36 | ((q.hom.app (.op T)).hom.map_one.trans (p.hom.app (.op T)).hom.map_one.symm)) |
| 37 | |
| 38 | theorem sheaf_restriction_character_zero_iff {S : Scheme} {G H K : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 39 | (e : AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing G K) (i : H ⟶ G) (T : Over S) (x : K.obj.obj (.op T)) : |
| 40 | ((AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).map i.op).hom.app (.op T) |
| 41 | (e.rightAdjoint.hom.app (.op T) x) = 1 ↔ |
| 42 | ∀ (U : Over S) (t : U ⟶ T) (y : H.obj.obj (.op U)), |
| 43 | AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue G U (e.rightAdjoint.hom.app (.op U) (K.obj.map t.op x)) |
| 44 | (i.hom.app (.op U) y) = 1 := by |
| 45 | let d := e.rightAdjoint ≫ (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).map i.op |
| 46 | have hv (U : Over S) (t : U ⟶ T) (y : H.obj.obj (.op U)) : |
| 47 | AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue H U ((AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf H).obj.map t.op (d.hom.app (.op T) x)) y = |
| 48 | AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue G U (e.rightAdjoint.hom.app (.op U) (K.obj.map t.op x)) |
| 49 | (i.hom.app (.op U) y) := by |
| 50 | exact (congrArg (fun z => AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue H U z y) |
| 51 | (d.hom.naturality_apply t.op x).symm).trans |
| 52 | (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.cartierDualSheafMap_value i U (e.rightAdjoint.hom.app (.op U) (K.obj.map t.op x)) y) |
| 53 | constructor |
| 54 | · intro hz U t y |
| 55 | have he : AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue H U ((AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf H).obj.map t.op (d.hom.app (.op T) x)) y = 1 := by |
| 56 | erw [show d.hom.app (.op T) x = 1 from hz] |
| 57 | exact congrArg (fun z => AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue H U z y) |
| 58 | ((AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf H).obj.map t.op).hom.map_one |
| 59 | exact (hv U t y).symm.trans he |
| 60 | · intro hz |
| 61 | change d.hom.app (.op T) x = 1 |
| 62 | apply NatTrans.ext |
| 63 | funext V |
| 64 | apply GrpCat.hom_ext |
| 65 | apply MonoidHom.ext |
| 66 | intro y |
| 67 | exact (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue_restrict H T (d.hom.app (.op T) x) V.unop y).symm.trans |
| 68 | ((hv V.unop.left V.unop.hom y).trans (hz V.unop.left V.unop.hom y)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SheafKernelAnnihilator |