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.GeometricComparison.Finite.Intersection |
| 2 | import Mathlib.RingTheory.Flat.Equalizer |
| 3 | |
| 4 | /-! # Subspace Base I -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SubspaceBaseI.SubspaceBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Field extension preserves native kernels, intersections, and subspace dimensions in finite dimension. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {K L V W I : Type*} [Field K] [Field L] [Algebra K L] |
| 15 | [AddCommGroup V] [Module K V] [AddCommGroup W] [Module K W] |
| 16 | |
| 17 | theorem kernel (f : V →ₗ[K] W) : f.ker.baseChange L = (f.baseChange L).ker := |
| 18 | (Module.Flat.ker_lTensor_eq L L f).symm |
| 19 | |
| 20 | theorem sup (P Q : Submodule K V) : |
| 21 | (P ⊔ Q).baseChange L = P.baseChange L ⊔ Q.baseChange L := by |
| 22 | apply le_antisymm |
| 23 | · rw [Submodule.baseChange_eq_span] |
| 24 | apply Submodule.span_le.mpr |
| 25 | rintro _ ⟨x, hx, rfl⟩ |
| 26 | obtain ⟨p, hp, q, hq, rfl⟩ := Submodule.mem_sup.mp hx |
| 27 | change (1 : L) ⊗ₜ[K] (p + q) ∈ P.baseChange L ⊔ Q.baseChange L |
| 28 | rw [TensorProduct.tmul_add] |
| 29 | exact Submodule.add_mem _ |
| 30 | ((show P.baseChange L ≤ P.baseChange L ⊔ Q.baseChange L from le_sup_left) |
| 31 | (P.tmul_mem_baseChange_of_mem (1 : L) hp)) |
| 32 | ((show Q.baseChange L ≤ P.baseChange L ⊔ Q.baseChange L from le_sup_right) |
| 33 | (Q.tmul_mem_baseChange_of_mem (1 : L) hq)) |
| 34 | · exact sup_le (Submodule.baseChange_mono L le_sup_left) (Submodule.baseChange_mono L le_sup_right) |
| 35 | |
| 36 | variable [FiniteDimensional K V] |
| 37 | |
| 38 | theorem finrank (P : Submodule K V) : Module.finrank L (P.baseChange L) = Module.finrank K P := |
| 39 | (Submodule.toBaseChange.toLinearEquiv L P).finrank_eq.symm.trans Module.finrank_baseChange |
| 40 | |
| 41 | theorem inf (P Q : Submodule K V) : |
| 42 | (P ⊓ Q).baseChange L = P.baseChange L ⊓ Q.baseChange L := by |
| 43 | apply Submodule.eq_of_le_of_finrank_eq |
| 44 | (le_inf (Submodule.baseChange_mono L inf_le_left) (Submodule.baseChange_mono L inf_le_right)) |
| 45 | have hK := Submodule.finrank_sup_add_finrank_inf_eq P Q |
| 46 | have hL := Submodule.finrank_sup_add_finrank_inf_eq (P.baseChange L) (Q.baseChange L) |
| 47 | rw [← sup, SubspaceBaseChange.finrank, SubspaceBaseChange.finrank, SubspaceBaseChange.finrank] at hL |
| 48 | rw [SubspaceBaseChange.finrank] |
| 49 | omega |
| 50 | |
| 51 | theorem finset_iInf (P : I → Submodule K V) (s : Finset I) : |
| 52 | (⨅ i ∈ s, P i).baseChange L = ⨅ i ∈ s, (P i).baseChange L := by |
| 53 | classical |
| 54 | induction s using Finset.induction_on with |
| 55 | | empty => simp |
| 56 | | @insert i s hi ih => rw [Finset.iInf_insert, Finset.iInf_insert, inf, ih] |
| 57 | |
| 58 | theorem iInf (P : I → Submodule K V) : |
| 59 | (⨅ i, P i).baseChange L = ⨅ i, (P i).baseChange L := by |
| 60 | obtain ⟨s, hs⟩ := Finite.Intersection.GeneralizedHecke.finite_intersection P |
| 61 | apply le_antisymm |
| 62 | · exact le_iInf fun i => Submodule.baseChange_mono L (iInf_le P i) |
| 63 | · have hb : (⨅ i, (P i).baseChange L) ≤ ⨅ i ∈ s, (P i).baseChange L := |
| 64 | le_iInf fun i => le_iInf fun _ => iInf_le (fun j => (P j).baseChange L) i |
| 65 | exact hb.trans_eq ((finset_iInf P s).symm.trans (congrArg (Submodule.baseChange L) hs)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SubspaceBaseI.SubspaceBaseChange |