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.AdicCompletionLinear |
| 2 | import Mathlib.LinearAlgebra.Pi |
| 3 | |
| 4 | /-! # Adic Finite Modules -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicFiniteModules |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Adic completeness transfers through linear equivalences and finite products -/ |
| 11 | |
| 12 | variable {R M N : Type*} [CommRing R] [AddCommGroup M] [AddCommGroup N] |
| 13 | [Module R M] [Module R N] (I : Ideal R) |
| 14 | |
| 15 | theorem of_equiv [IsAdicComplete I M] (e : M ≃ₗ[R] N) : IsAdicComplete I N := by |
| 16 | let t : N ≃ₗ[R] AdicCompletion I N := |
| 17 | e.symm.trans ((AdicCompletion.ofLinearEquiv I M).trans ((AdicCompletion.congr I e).restrictScalars R)) |
| 18 | have ht : (t : N → AdicCompletion I N) = AdicCompletion.of I N := by |
| 19 | funext x |
| 20 | change AdicCompletion.map I e (AdicCompletion.of I M (e.symm x)) = AdicCompletion.of I N x |
| 21 | rw [AdicCompletion.map_of] |
| 22 | exact congrArg (AdicCompletion.of I N) (e.apply_symm_apply x) |
| 23 | apply AdicCompletion.of_bijective_iff.mp |
| 24 | rw [← ht] |
| 25 | exact t.bijective |
| 26 | |
| 27 | theorem pi_complete {J : Type*} [Fintype J] [DecidableEq J] [IsAdicComplete I M] : |
| 28 | IsAdicComplete I (J → M) := by |
| 29 | let e := (AdicCompletion.piEquivOfFintype I (fun _ : J => M)).restrictScalars R |
| 30 | let t : (J → M) ≃ₗ[R] AdicCompletion I (J → M) := |
| 31 | (LinearEquiv.piCongrRight (fun _ : J => AdicCompletion.ofLinearEquiv I M)).trans e.symm |
| 32 | have ht : (t : (J → M) → AdicCompletion I (J → M)) = AdicCompletion.of I (J → M) := by |
| 33 | funext x |
| 34 | apply e.injective |
| 35 | change e (e.symm (fun j => AdicCompletion.of I M (x j))) = e (AdicCompletion.of I (J → M) x) |
| 36 | rw [LinearEquiv.apply_symm_apply] |
| 37 | funext j |
| 38 | change AdicCompletion.of I M (x j) = |
| 39 | AdicCompletion.piEquivOfFintype I (fun _ : J => M) (AdicCompletion.of I (J → M) x) j |
| 40 | rw [AdicCompletion.piEquivOfFintype_apply] |
| 41 | exact (AdicCompletion.map_of I (LinearMap.proj j) x).symm |
| 42 | apply AdicCompletion.of_bijective_iff.mp |
| 43 | rw [← ht] |
| 44 | exact t.bijective |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicFiniteModules |