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.MultiplicativeUnitEquiv |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PairingFromPoints |
| 3 | |
| 4 | /-! # Unit Pairing To -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.UnitPairingTo.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reconstruct a native pairing from its actual regular-unit values. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 19 | (b : ∀ T : Over S, (T ⟶ A) →* (T ⟶ B) →* Γ(T.left, ⊤)ˣ) |
| 20 | (hnatural : ∀ {T U : Over S} (f : U ⟶ T) (x : T ⟶ A) (y : T ⟶ B), |
| 21 | b U (f ≫ x) (f ≫ y) = Units.map f.left.appTop.hom (b T x y)) |
| 22 | |
| 23 | def unitPairingToScheme : |
| 24 | Annihilator.Construction.SchemeBicharacter (A := A) (B := B) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) := |
| 25 | Annihilator.Construction.SchemeBicharacter.ofPointValues |
| 26 | (fun T x y => (MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv T).symm (b T x y)) |
| 27 | (by |
| 28 | intro T U f x y |
| 29 | rw [hnatural] |
| 30 | exact MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv_symm_natural f (b T x y)) |
| 31 | (by intro T y; simp only [map_one, MonoidHom.one_apply]) |
| 32 | (by intro T x; simp only [map_one]) |
| 33 | (by intro T x z y; simp only [map_mul, MonoidHom.mul_apply]) |
| 34 | (by intro T x y z; simp only [map_mul]) |
| 35 | |
| 36 | theorem unitPairingToScheme_value (T : Over S) (x : T ⟶ A) (y : T ⟶ B) : |
| 37 | (unitPairingToScheme b hnatural).pairValue x y = (MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv T).symm (b T x y) := |
| 38 | Annihilator.Construction.SchemeBicharacter.universalPairValue |
| 39 | (fun U x y => (MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv U).symm (b U x y)) |
| 40 | (by |
| 41 | intro U V f a c |
| 42 | rw [hnatural] |
| 43 | exact MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv_symm_natural f (b U a c)) T x y |
| 44 | |
| 45 | theorem unitPairingToScheme_unitValue (T : Over S) (x : T ⟶ A) (y : T ⟶ B) : |
| 46 | CartierDuality.CharacterUnitValues.Construction.Schemes.multiplicativeGroupUnitHom T ((unitPairingToScheme b hnatural).pairValue x y) = b T x y := by |
| 47 | rw [unitPairingToScheme_value] |
| 48 | exact (MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv T).apply_symm_apply _ |
| 49 | |
| 50 | theorem unitPairingToScheme_value_eq_one_iff (T : Over S) (x : T ⟶ A) (y : T ⟶ B) : |
| 51 | (unitPairingToScheme b hnatural).pairValue x y = 1 ↔ b T x y = 1 := by |
| 52 | rw [← unitPairingToScheme_unitValue b hnatural T x y] |
| 53 | exact (map_eq_one_iff (MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv T) (MultiplicativeUnitEquiv.Construction.multiplicativeGroupUnitEquiv T).injective).symm |
| 54 | |
| 55 | theorem unitPairingToScheme_unique |
| 56 | (e : Annihilator.Construction.SchemeBicharacter (A := A) (B := B) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 57 | (h : ∀ (T : Over S) (x : T ⟶ A) (y : T ⟶ B), |
| 58 | CartierDuality.CharacterUnitValues.Construction.Schemes.multiplicativeGroupUnitHom T (e.pairValue x y) = b T x y) : |
| 59 | e = unitPairingToScheme b hnatural := by |
| 60 | have hhom : e.hom = (unitPairingToScheme b hnatural).hom := by |
| 61 | apply CartierDuality.UnitValueDetection.Construction.Schemes.multiplicativeGroupUnitHom_injective (A ⊗ B) |
| 62 | have he := h (A ⊗ B) (fst A B) (snd A B) |
| 63 | have hb := unitPairingToScheme_unitValue b hnatural (A ⊗ B) (fst A B) (snd A B) |
| 64 | simpa only [Annihilator.Construction.SchemeBicharacter.pairValue, lift_fst_snd, Category.id_comp] using he.trans hb.symm |
| 65 | have hext : ∀ c d : Annihilator.Construction.SchemeBicharacter (A := A) (B := B) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X), |
| 66 | c.hom = d.hom → c = d := by |
| 67 | rintro ⟨c, _, _, _, _⟩ ⟨d, _, _, _, _⟩ hcd |
| 68 | cases hcd |
| 69 | rfl |
| 70 | exact hext _ _ hhom |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.UnitPairingTo.Construction |