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.WittFiniteBasis |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteEtalePerfectAlgebra |
| 3 | |
| 4 | /-! # Finite Etale Witt Module -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteEtaleWittModule |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Witt vectors preserve finite free modules of finite etale algebras over perfect domains -/ |
| 11 | |
| 12 | attribute [local instance] WittAlgebraFunctor.wittAlgebra |
| 13 | |
| 14 | universe u |
| 15 | variable (p : ℕ) [Fact p.Prime] (R S : Type u) [CommRing R] [IsDomain R] [CommRing S] |
| 16 | [Nontrivial S] [Algebra R S] [CharP R p] [PerfectRing R p] |
| 17 | [Module.Free R S] [Module.Finite R S] [Algebra.Etale R S] |
| 18 | |
| 19 | abbrev targetCharP : CharP S p := |
| 20 | CharP.of_ringHom_of_ne_zero (algebraMap R S) p (Fact.out : p.Prime).ne_zero |
| 21 | |
| 22 | abbrev targetPerfect : PerfectRing S p := by |
| 23 | let := targetCharP p R S |
| 24 | exact FiniteEtalePerfectAlgebra.perfectRing p R S |
| 25 | |
| 26 | def basis : Module.Basis (Module.Free.ChooseBasisIndex R S) (WittVector p R) (WittVector p S) := by |
| 27 | classical |
| 28 | let := targetCharP p R S |
| 29 | let := targetPerfect p R S |
| 30 | let : Fintype (Module.Free.ChooseBasisIndex R S) := Fintype.ofFinite _ |
| 31 | exact WittFiniteBasis.basis p (Module.Free.chooseBasis R S) |
| 32 | |
| 33 | theorem free : Module.Free (WittVector p R) (WittVector p S) := Module.Free.of_basis (basis p R S) |
| 34 | |
| 35 | theorem finite : Module.Finite (WittVector p R) (WittVector p S) := Module.Finite.of_basis (basis p R S) |
| 36 | |
| 37 | theorem flat : Module.Flat (WittVector p R) (WittVector p S) := by |
| 38 | have := free p R S |
| 39 | infer_instance |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.FiniteEtaleWittModule |