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.IntegralComparison.Etale.DeRhamTraceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.AlgebraTraceBaseChange |
| 3 | |
| 4 | /-! # De Rham Trace Base Change -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DeRhamTraceBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native de Rham trace commutes with arbitrary cartesian changes of |
| 11 | étale charts, including affine open restrictions that are not principal. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | section Coefficients |
| 19 | |
| 20 | variable (A B C D : Type u) [CommRing A] [CommRing B] [CommRing C] [CommRing D] |
| 21 | [Algebra A B] [Algebra A C] [Algebra B D] [Algebra C D] [Algebra A D] |
| 22 | [IsScalarTower A B D] [IsScalarTower A C D] |
| 23 | [Algebra.IsPushout A C B D] [Module.Free A B] [Module.Finite A B] |
| 24 | |
| 25 | theorem coefficientTrace_baseChange (x : B) : |
| 26 | Algebra.trace C D (algebraMap B D x) = algebraMap A C (Algebra.trace A B x) := by |
| 27 | let e := Algebra.IsPushout.equiv A C B D |
| 28 | have he : e (1 ⊗ₜ[A] x) = algebraMap B D x := by |
| 29 | rw [Algebra.IsPushout.equiv_tmul, map_one, one_mul] |
| 30 | rw [← he, Algebra.trace_eq_of_algEquiv e] |
| 31 | exact PeriodInvariants.AlgebraTraceBaseChange.includeRight A B C x |
| 32 | |
| 33 | end Coefficients |
| 34 | |
| 35 | variable (R A B C D σ : Type u) [CommRing R] [CommRing A] [CommRing B] |
| 36 | [CommRing C] [CommRing D] |
| 37 | [Algebra R A] [Algebra R B] [Algebra R C] [Algebra R D] |
| 38 | [Algebra A B] [Algebra A C] [Algebra B D] [Algebra C D] [Algebra A D] |
| 39 | [IsScalarTower R A B] [IsScalarTower R A C] [IsScalarTower R B D] |
| 40 | [IsScalarTower R C D] [IsScalarTower A B D] [IsScalarTower A C D] |
| 41 | [Algebra (MvPolynomial σ R) A] [Algebra (MvPolynomial σ R) B] |
| 42 | [Algebra (MvPolynomial σ R) C] [Algebra (MvPolynomial σ R) D] |
| 43 | [IsScalarTower R (MvPolynomial σ R) A] [IsScalarTower R (MvPolynomial σ R) B] |
| 44 | [IsScalarTower R (MvPolynomial σ R) C] [IsScalarTower R (MvPolynomial σ R) D] |
| 45 | [IsScalarTower (MvPolynomial σ R) A B] [IsScalarTower (MvPolynomial σ R) A C] |
| 46 | [IsScalarTower (MvPolynomial σ R) B D] [IsScalarTower (MvPolynomial σ R) C D] |
| 47 | [Algebra.FormallyEtale (MvPolynomial σ R) A] |
| 48 | [Algebra.FormallyEtale (MvPolynomial σ R) B] |
| 49 | [Algebra.FormallyEtale (MvPolynomial σ R) C] |
| 50 | [Algebra.FormallyEtale (MvPolynomial σ R) D] |
| 51 | [Fintype σ] [LinearOrder σ] |
| 52 | {ι : Type v} {κ : Type w} [Fintype ι] [Fintype κ] |
| 53 | (b : Module.Basis ι A B) (c : Module.Basis κ C D) |
| 54 | [Algebra.IsPushout A C B D] |
| 55 | |
| 56 | theorem trace_baseChange : |
| 57 | DeRhamTrace.trace R A B σ b ≫ DeRhamTrace.pullback R A C = |
| 58 | DeRhamTrace.pullback R B D ≫ DeRhamTrace.trace R C D σ c := by |
| 59 | let : Module.Free A B := Module.Free.of_basis b |
| 60 | let : Module.Finite A B := Module.Finite.of_basis b |
| 61 | apply DeRhamTraceNaturality.complexMap_ext R B σ |
| 62 | intro n x v |
| 63 | change (DeRhamTrace.pullback R A C).f n ((DeRhamTrace.trace R A B σ b).f n _) = |
| 64 | (DeRhamTrace.trace R C D σ c).f n ((DeRhamTrace.pullback R B D).f n _) |
| 65 | rw [DeRhamTrace.trace_coordinate_symbol, DeRhamTraceNaturality.pullback_coordinate_symbol R A C σ, |
| 66 | DeRhamTraceNaturality.pullback_coordinate_symbol R B D σ, DeRhamTrace.trace_coordinate_symbol, |
| 67 | coefficientTrace_baseChange A B C D] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DeRhamTraceBaseChange |