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.Characters |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Naturality |
| 3 | |
| 4 | /-! # Character Groups -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterGroups.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: Cartier character representation as a group isomorphism |
| 12 | |
| 13 | The represented group law is the product of characters. This verifies the |
| 14 | group structure in addition to the already proved pointwise representation. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.Module TensorProduct Coalgebra |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] |
| 22 | variable (S : Type w) [CommRing S] [Algebra R S] |
| 23 | variable (A : Type v) [CommRing A] [HopfAlgebra R A] [Coalgebra.IsCocomm R A] |
| 24 | variable [Module.Finite R A] [Module.Projective R A] |
| 25 | |
| 26 | local instance e56CharacterGroupsInstance1 : CommRing (DualAlgebra.Construction.DualCoordinate R A) := LinearMap.convCommRing |
| 27 | local instance e56CharacterGroupsInstance2 : Algebra R (DualAlgebra.Construction.DualCoordinate R A) := LinearMap.convAlgebra |
| 28 | |
| 29 | omit [Coalgebra.IsCocomm R A] in |
| 30 | theorem scalarExtendedDual_mul_eval {f : DualAlgebra.Construction.DualCoordinate R A} {ι : Type*} |
| 31 | (ρ : Coalgebra.Repr R f ι) (z w : S ⊗[R] A) : |
| 32 | f.ofConv.baseChange S (z * w) = |
| 33 | ∑ i ∈ ρ.index, (ρ.left i).ofConv.baseChange S z * |
| 34 | (ρ.right i).ofConv.baseChange S w := by |
| 35 | have hsum (x y : A) : ∑ i ∈ ρ.index, ρ.left i x * ρ.right i y = f (x * y) := by |
| 36 | rw [← DualAlgebra.Construction.dualCoordinateComul_apply R A f x y] |
| 37 | change _ = DualAlgebra.Construction.dualCoordinateTensorEquiv R A A (Coalgebra.comul f) (x ⊗ₜ[R] y) |
| 38 | rw [← ρ.eq] |
| 39 | simp |
| 40 | induction z using TensorProduct.inductionOn with |
| 41 | | add z z' hz hz' => simp [add_mul, hz, hz', Finset.sum_add_distrib] |
| 42 | | tmul s x => |
| 43 | induction w using TensorProduct.inductionOn with |
| 44 | | add w w' hw hw' => simp [mul_add, hw, hw', Finset.sum_add_distrib] |
| 45 | | tmul t y => |
| 46 | simp only [Algebra.TensorProduct.tmul_mul_tmul, Module.Dual.baseChange_apply_tmul, |
| 47 | Algebra.smul_def] |
| 48 | simp only [← map_mul, ← Finset.mul_sum, ← map_sum, |
| 49 | mul_assoc, mul_left_comm, mul_comm, hsum] |
| 50 | |
| 51 | theorem affineCharacterPoint_mul |
| 52 | (z w : GroupLike S (S ⊗[R] A)) : |
| 53 | WithConv.toConv ((DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).symm (z * w)) = |
| 54 | WithConv.toConv ((DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).symm z) * |
| 55 | WithConv.toConv ((DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).symm w) := by |
| 56 | apply WithConv.ext |
| 57 | apply AlgHom.ext |
| 58 | intro f |
| 59 | change (DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).symm (z * w) f = |
| 60 | (WithConv.toConv ((DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).symm z) * |
| 61 | WithConv.toConv ((DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).symm w)) f |
| 62 | rw [DualAlgebra.Construction.affineDualPointsEquivCharacters_symm_apply_dual, AlgHom.convMul_apply] |
| 63 | let ρ := Coalgebra.Repr.arbitrary R f |
| 64 | change f.ofConv.baseChange S (z.val * w.val) = _ |
| 65 | rw [scalarExtendedDual_mul_eval R S A ρ, ← ρ.eq] |
| 66 | simp [DualAlgebra.Construction.affineDualPointsEquivCharacters_symm_apply_dual] |
| 67 | |
| 68 | /-- Affine points of the Cartier dual and characters are isomorphic as |
| 69 | groups. The domain law is the scheme law defined by the dual Hopf algebra. -/ |
| 70 | def affineDualPointsMulEquivCharacters : |
| 71 | WithConv (DualAlgebra.Construction.DualCoordinate R A →ₐ[R] S) ≃* GroupLike S (S ⊗[R] A) := |
| 72 | MulEquiv.symm { |
| 73 | toEquiv := (DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).symm.trans { |
| 74 | toFun := WithConv.toConv |
| 75 | invFun := WithConv.ofConv |
| 76 | left_inv := fun _ => rfl |
| 77 | right_inv := fun _ => rfl } |
| 78 | map_mul' := affineCharacterPoint_mul R S A } |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterGroups.Construction |