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.SplitTopForm |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 3 | |
| 4 | /-! # Split Exterior Adjunction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SplitExteriorAdjunction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Top exterior powers of a split exact sequence admit the usual |
| 11 | adjunction map after choosing a conormal basis. It is independent of |
| 12 | both the splitting and the auxiliary quotient basis. -/ |
| 13 | |
| 14 | open _root_.Module |
| 15 | |
| 16 | universe u v w t |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | {U : Type v} [AddCommGroup U] [Module R U] |
| 20 | {W : Type w} [AddCommGroup W] [Module R W] |
| 21 | {V : Type t} [AddCommGroup V] [Module R V] |
| 22 | {c g : ℕ} (bU : Basis (Fin c) R U) (bW : Basis (Fin g) R W) |
| 23 | |
| 24 | def productBasis (e : (U × W) ≃ₗ[R] V) : Basis (Fin (c + g)) R V := |
| 25 | ((bU.prod bW).map e).reindex finSumFinEquiv |
| 26 | |
| 27 | theorem prod_basis_det (bU' : Basis (Fin c) R U) (bW' : Basis (Fin g) R W) : |
| 28 | (bU.prod bW).det (bU'.prod bW') = bU.det bU' * bW.det bW' := by |
| 29 | let a := (bU.equiv bU' (Equiv.refl _)).toLinearMap |
| 30 | let d := (bW.equiv bW' (Equiv.refl _)).toLinearMap |
| 31 | let T : (U × W) →ₗ[R] U × W := a.prodMap d |
| 32 | have hT : T ∘ (bU.prod bW) = (bU'.prod bW' : _ → U × W) := by |
| 33 | funext i |
| 34 | cases i <;> ext <;> simp [T, a, d, Basis.prod_apply] |
| 35 | rw [← hT, Basis.det_comp, Basis.det_self, mul_one] |
| 36 | rw [SplitTopForm.det_eq_mul bU bW T a d (by intro u; simp [T]) |
| 37 | (by intro z; rfl)] |
| 38 | rw [Basis.det_basis, Basis.det_basis] |
| 39 | |
| 40 | theorem productBasis_det (e : (U × W) ≃ₗ[R] V) |
| 41 | (bU' : Basis (Fin c) R U) (bW' : Basis (Fin g) R W) : |
| 42 | (productBasis bU bW e).det (productBasis bU' bW' e) = bU.det bU' * bW.det bW' := by |
| 43 | rw [productBasis, Basis.det_reindex, Basis.det_map] |
| 44 | convert prod_basis_det bU bW bU' bW' using 1 |
| 45 | congr 1 |
| 46 | funext i |
| 47 | simp [productBasis, Function.comp_def] |
| 48 | |
| 49 | def residue (e : (U × W) ≃ₗ[R] V) : (⋀[R]^(c + g) V) ≃ₗ[R] ⋀[R]^g W := |
| 50 | (TopExteriorCoordinates.equiv (productBasis bU bW e)).trans |
| 51 | (TopExteriorCoordinates.equiv bW).symm |
| 52 | |
| 53 | theorem residue_apply (e : (U × W) ≃ₗ[R] V) (x : ⋀[R]^(c + g) V) : |
| 54 | residue bU bW e x = |
| 55 | TopExteriorCoordinates.coordinate (productBasis bU bW e) x • |
| 56 | TopExteriorCoordinates.generator bW := rfl |
| 57 | |
| 58 | theorem residue_generator (e : (U × W) ≃ₗ[R] V) : |
| 59 | residue bU bW e (TopExteriorCoordinates.generator (productBasis bU bW e)) = |
| 60 | TopExteriorCoordinates.generator bW := by |
| 61 | rw [residue_apply, TopExteriorCoordinates.coordinate_generator, one_smul] |
| 62 | |
| 63 | theorem residue_independent_splitting (e f : (U × W) ≃ₗ[R] V) |
| 64 | (hU : ∀ u, e (u, 0) = f (u, 0)) |
| 65 | (hW : ∀ v, (e.symm v).2 = (f.symm v).2) : |
| 66 | residue bU bW e = residue bU bW f := by |
| 67 | have hdet : (productBasis bU bW e).det = (productBasis bU bW f).det := by |
| 68 | simp only [productBasis, Basis.det_reindex'] |
| 69 | rw [SplitTopForm.topForm_eq bU bW e f hU hW] |
| 70 | have hc := TopExteriorCoordinates.coordinate_eq (productBasis bU bW e) hdet |
| 71 | ext x |
| 72 | simp only [residue_apply] |
| 73 | rw [hc] |
| 74 | |
| 75 | theorem residue_independent_quotient_basis (e : (U × W) ≃ₗ[R] V) |
| 76 | (bW' : Basis (Fin g) R W) : residue bU bW e = residue bU bW' e := by |
| 77 | have hgen : residue bU bW e (TopExteriorCoordinates.generator (productBasis bU bW e)) = |
| 78 | residue bU bW' e (TopExteriorCoordinates.generator (productBasis bU bW e)) := by |
| 79 | rw [residue_generator, residue_apply] |
| 80 | have hc : TopExteriorCoordinates.coordinate (productBasis bU bW' e) |
| 81 | (TopExteriorCoordinates.generator (productBasis bU bW e)) = bW'.det bW := by |
| 82 | rw [TopExteriorCoordinates.generator, TopExteriorCoordinates.coordinate_wedge, |
| 83 | productBasis_det, Basis.det_self, one_mul] |
| 84 | rw [hc] |
| 85 | simpa only [TopExteriorCoordinates.generator, TopExteriorCoordinates.coordinate_wedge] |
| 86 | using (TopExteriorCoordinates.reconstruct bW' |
| 87 | (TopExteriorCoordinates.generator bW)).symm |
| 88 | ext x |
| 89 | conv_lhs => rw [← TopExteriorCoordinates.reconstruct (productBasis bU bW e) x] |
| 90 | conv_rhs => rw [← TopExteriorCoordinates.reconstruct (productBasis bU bW e) x] |
| 91 | rw [map_smul, map_smul, hgen] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SplitExteriorAdjunction |