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.CharacterGroupSheaf |
| 2 | |
| 3 | /-! # Character Multiplication Mul -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterMultiplicationMul |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: multiplication in character sections and native pullback characters |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | attribute [local instance] Over.cartesianMonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.CharacterMultiplication |
| 21 | |
| 22 | /-- Precomposition and a group morphism preserve pointwise products. -/ |
| 23 | theorem prepost_mul {C : Type*} [Category* C] [CartesianMonoidalCategory C] |
| 24 | {X U : C} {K L : Grp C} (p : U ⟶ X) (q : K ⟶ L) (a b : X ⟶ K.X) : |
| 25 | p ≫ (a * b) ≫ q.hom.hom = (p ≫ a ≫ q.hom.hom) * (p ≫ b ≫ q.hom.hom) := by |
| 26 | rw [MonObj.mul_comp, MonObj.comp_mul] |
| 27 | |
| 28 | /-- Changing source and target by group isomorphisms preserves the |
| 29 | group law on homomorphisms into commutative group objects. -/ |
| 30 | def homCongrMulEquiv {C : Type*} [Category* C] [CartesianMonoidalCategory C] |
| 31 | [BraidedCategory C] {G G' K K' : Grp C} [IsCommMonObj K.X] [IsCommMonObj K'.X] |
| 32 | (e : G ≅ G') (d : K ≅ K') : (G ⟶ K) ≃* (G' ⟶ K') where |
| 33 | toEquiv := e.homFromEquiv.trans d.homToEquiv |
| 34 | map_mul' f g := by |
| 35 | change (e.inv ≫ (f * g)) ≫ d.hom = ((e.inv ≫ f) ≫ d.hom) * ((e.inv ≫ g) ≫ d.hom) |
| 36 | rw [MonObj.comp_mul, MonObj.mul_comp] |
| 37 | |
| 38 | end Construction.CharacterMultiplication |
| 39 | |
| 40 | namespace Construction.Schemes |
| 41 | |
| 42 | /-- Multiplication of character sections is pointwise multiplication |
| 43 | of their universal-point values. -/ |
| 44 | theorem characterValue_mul (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 45 | (χ ψ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 46 | SliceCharacters.Construction.Schemes.characterValue S G T (χ * ψ) = SliceCharacters.Construction.Schemes.characterValue S G T χ * SliceCharacters.Construction.Schemes.characterValue S G T ψ := rfl |
| 47 | |
| 48 | /-- The product-adjunction character correspondence preserves |
| 49 | multiplication of the underlying morphisms. -/ |
| 50 | theorem starCharacterEquiv_mul_underlying (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 51 | (χ ψ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 52 | (SliceCharacters.Construction.Slices.starCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) (χ * ψ)).hom.hom = |
| 53 | (SliceCharacters.Construction.Slices.starCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) χ).hom.hom * |
| 54 | (SliceCharacters.Construction.Slices.starCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) ψ).hom.hom := by |
| 55 | let e := SliceCharacters.Construction.Slices.starPointMulEquiv T (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) ((Over.star T).obj G.X) |
| 56 | have hχ := SliceCharacters.Construction.Slices.starCharacterEquiv_underlying T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) χ |
| 57 | have hψ := SliceCharacters.Construction.Slices.starCharacterEquiv_underlying T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) ψ |
| 58 | have hχψ := SliceCharacters.Construction.Slices.starCharacterEquiv_underlying T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) (χ * ψ) |
| 59 | exact hχψ.trans ((e.map_mul (SliceCharacters.Construction.Schemes.characterValue S G T χ) (SliceCharacters.Construction.Schemes.characterValue S G T ψ)).trans |
| 60 | (congrArg₂ (fun f g : (Over.star T).obj G.X ⟶ |
| 61 | (Over.star T).obj (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X => f * g) hχ.symm hψ.symm)) |
| 62 | |
| 63 | /-- Underlying formula for the native character correspondence, with |
| 64 | all changes of slice and multiplicative-group model displayed. -/ |
| 65 | theorem testCharacterEquiv_underlying (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 66 | (χ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 67 | (SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T χ).hom.hom = |
| 68 | (SliceCharacters.Construction.Schemes.starSchemeGroup_pullbackIso S G T).inv.hom.hom ≫ |
| 69 | T.iteratedSliceForward.map |
| 70 | (SliceCharacters.Construction.Slices.starCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) χ).hom.hom ≫ |
| 71 | (SliceCharacters.Construction.Schemes.starSchemeGroup_pullbackIso S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) T).hom.hom.hom ≫ |
| 72 | (SliceCharacters.Construction.Schemes.multiplicativeGroup_pullbackIso T.hom).hom.hom.hom := by |
| 73 | have h := congrArg |
| 74 | (fun f : (Over.pullback T.hom).mapGrp.obj G ⟶ |
| 75 | (Over.pullback T.hom).mapGrp.obj (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) => |
| 76 | f.hom.hom ≫ (SliceCharacters.Construction.Schemes.multiplicativeGroup_pullbackIso T.hom).hom.hom.hom) |
| 77 | (SliceCharacters.Construction.Schemes.characterSheaf_sectionsPullbackEquiv_eq S G T χ) |
| 78 | exact h.trans (Category.assoc _ _ _) |
| 79 | |
| 80 | /-- The actual native pullback character correspondence preserves |
| 81 | pointwise multiplication of characters. -/ |
| 82 | theorem testCharacterEquiv_mul (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 83 | (χ ψ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 84 | SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T (χ * ψ) = |
| 85 | SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T χ * SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T ψ := by |
| 86 | apply Grp.hom_ext |
| 87 | change (SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T (χ * ψ)).hom.hom = |
| 88 | (SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T χ).hom.hom * |
| 89 | (SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T ψ).hom.hom |
| 90 | rw [testCharacterEquiv_underlying, testCharacterEquiv_underlying, testCharacterEquiv_underlying, |
| 91 | starCharacterEquiv_mul_underlying, Functor.map_mul] |
| 92 | exact CharacterMultiplication.prepost_mul (SliceCharacters.Construction.Schemes.starSchemeGroup_pullbackIso S G T).inv.hom.hom |
| 93 | ((SliceCharacters.Construction.Schemes.starSchemeGroup_pullbackIso S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) T).hom ≫ |
| 94 | (SliceCharacters.Construction.Schemes.multiplicativeGroup_pullbackIso T.hom).hom) _ _ |
| 95 | |
| 96 | /-- Sections of the actual character sheaf and native group-scheme |
| 97 | characters over a test scheme are equivalent as groups. -/ |
| 98 | def testCharacterMulEquiv (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 99 | (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T) ≃* |
| 100 | ((Over.pullback T.hom).mapGrp.obj G ⟶ CharacterSheaf.Construction.Schemes.multiplicativeGroupOver T.left) where |
| 101 | toEquiv := SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T |
| 102 | map_mul' := testCharacterEquiv_mul S G T |
| 103 | |
| 104 | end Construction.Schemes |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterMultiplicationMul |