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.FlatRingUnion |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.TensorSequenceLifts |
| 3 | import Mathlib.RingTheory.Etale.Weakly |
| 4 | |
| 5 | /-! # Weakly Etale Union -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.WeaklyEtaleUnion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # An embedded sequence of weakly etale algebras has flat multiplication -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 16 | (A : ℕ → Type*) [∀ k, CommRing (A k)] [∀ k, Algebra R (A k)] |
| 17 | (f : ∀ k, A k →ₐ[R] S) (g : ∀ i j, i ≤ j → A i →ₐ[R] A j) |
| 18 | (hg : ∀ i j h x, f j (g i j h x) = f i x) |
| 19 | (hs : ∀ x : S, ∃ k, ∃ y : A k, f k y = x) |
| 20 | (hf : ∀ k, Function.Injective (f k)) |
| 21 | |
| 22 | theorem multiplication_natural (k : ℕ) (x : A k ⊗[R] A k) : |
| 23 | f k (Algebra.TensorProduct.lmul' R x) = |
| 24 | Algebra.TensorProduct.lmul' R (TensorSequenceLifts.tensorMap A f k x) := by |
| 25 | induction x using TensorProduct.inductionOn with |
| 26 | | tmul a b => |
| 27 | simp only [TensorSequenceLifts.tensorMap, Algebra.TensorProduct.map_tmul, |
| 28 | Algebra.TensorProduct.lmul'_apply_tmul, map_mul] |
| 29 | | add x y hx hy => simp only [map_add, hx, hy] |
| 30 | |
| 31 | include hg hs hf in |
| 32 | theorem multiplication_flat [∀ k, Algebra.WeaklyEtale R (A k)] : |
| 33 | (Algebra.TensorProduct.lmul' R (S := S)).toRingHom.Flat := by |
| 34 | apply FlatRingUnion.flat (Algebra.TensorProduct.lmul' R (S := S)).toRingHom |
| 35 | (fun k => A k ⊗[R] A k) A |
| 36 | (fun k => (TensorSequenceLifts.tensorMap A f k).toRingHom) |
| 37 | (fun k => (f k).toRingHom) (fun k => (Algebra.TensorProduct.lmul' R (S := A k)).toRingHom) |
| 38 | · intro k |
| 39 | exact Algebra.WeaklyEtale.flat_lmul' R (A k) |
| 40 | · exact multiplication_natural A f |
| 41 | · exact hf |
| 42 | · intro n r x |
| 43 | exact TensorSequenceLifts.simultaneous A f g hg hs r x |
| 44 | |
| 45 | include hg hs hf in |
| 46 | theorem weaklyEtale [Module.Flat R S] [∀ k, Algebra.WeaklyEtale R (A k)] : |
| 47 | Algebra.WeaklyEtale R S where |
| 48 | flat_lmul' := multiplication_flat A f g hg hs hf |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.WeaklyEtaleUnion |