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.NumberTheory.PadicHodge.PeriodInvariants.FiniteTensorCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ContinuousOrbit |
| 3 | |
| 4 | /-! # Finite Tensor Intertwiner -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteTensorIntertwiner |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The continuous finite tensor matrix is equivariant on coefficient representations -/ |
| 11 | |
| 12 | open ContRepresentation OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteTensorCoordinates OAI.NumberTheory.PadicHodge.PeriodInvariants.ContinuousOrbit.PiRepresentation |
| 13 | |
| 14 | variable {R G M N E F I J : Type*} [CommRing R] [TopologicalSpace R] [Monoid G] |
| 15 | [AddCommGroup M] [Module R M] [TopologicalSpace M] [IsTopologicalAddGroup M] [ContinuousSMul R M] |
| 16 | [AddCommGroup N] [Module R N] [TopologicalSpace N] [IsTopologicalAddGroup N] [ContinuousSMul R N] |
| 17 | [AddCommGroup E] [Module R E] [AddCommGroup F] [Module R F] |
| 18 | [Fintype I] [DecidableEq I] [Fintype J] [DecidableEq J] |
| 19 | |
| 20 | def matrixIntertwiner (b : Module.Basis I R E) (c : Module.Basis J R F) |
| 21 | {ρ : ContRepresentation R G M} {σ : ContRepresentation R G N} |
| 22 | (f : ρ →ⁱL σ) (g : E →ₗ[R] F) : ContinuousOrbit.PiRepresentation.piRepresentation (I := I) ρ →ⁱL ContinuousOrbit.PiRepresentation.piRepresentation (I := J) σ where |
| 23 | toContinuousLinearMap := FiniteTensorCoordinates.matrixMap b c f.toContinuousLinearMap g |
| 24 | isIntertwining' a := by |
| 25 | apply ContinuousLinearMap.ext |
| 26 | intro v |
| 27 | funext j |
| 28 | change FiniteTensorCoordinates.matrixMap b c f.toContinuousLinearMap g (fun i => ρ a (v i)) j = |
| 29 | σ a (FiniteTensorCoordinates.matrixMap b c f.toContinuousLinearMap g v j) |
| 30 | rw [FiniteTensorCoordinates.matrixMap_apply, FiniteTensorCoordinates.matrixMap_apply, map_sum] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro i _ |
| 33 | rw [map_smul] |
| 34 | exact congrArg (fun x => c.repr (g (b i)) j • x) (f.isIntertwining a (v i)) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteTensorIntertwiner |