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.ConormalAdjunction |
| 2 | import Mathlib.LinearAlgebra.Pi |
| 3 | |
| 4 | /-! # Determinant Adjunction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DeterminantAdjunction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The adjunction between conormal and ambient determinant lines is |
| 11 | independent of the chosen conormal basis. Its source is the actual Hom |
| 12 | module between determinant lines, so the determinant factors cancel. -/ |
| 13 | |
| 14 | open _root_.Module |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u v w t |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 20 | |
| 21 | section Evaluation |
| 22 | |
| 23 | variable {A : Type u} [CommRing A] |
| 24 | {U : Type v} [AddCommGroup U] [Module A U] |
| 25 | {V : Type w} [AddCommGroup V] [Module A V] |
| 26 | {W : Type t} [AddCommGroup W] [Module A W] |
| 27 | {c : ℕ} (b : Basis (Fin c) A U) |
| 28 | |
| 29 | def evaluation : ((⋀[A]^c U) →ₗ[A] V) ≃ₗ[A] V := |
| 30 | ((TopExteriorCoordinates.equiv b).arrowCongr (LinearEquiv.refl A V)).trans |
| 31 | (LinearMap.ringLmapEquivSelf A A V) |
| 32 | |
| 33 | @[simp] |
| 34 | theorem evaluation_apply (φ : (⋀[A]^c U) →ₗ[A] V) : evaluation b φ = φ (TopExteriorCoordinates.generator b) := by |
| 35 | change φ ((TopExteriorCoordinates.equiv b).symm 1) = φ (TopExteriorCoordinates.generator b) |
| 36 | rw [TopExteriorCoordinates.equiv_symm_apply, one_smul] |
| 37 | |
| 38 | theorem generator_change (b' : Basis (Fin c) A U) : |
| 39 | TopExteriorCoordinates.generator b' = b.det b' • TopExteriorCoordinates.generator b := by |
| 40 | have h := TopExteriorCoordinates.reconstruct b (TopExteriorCoordinates.generator b') |
| 41 | rw [TopExteriorCoordinates.generator, TopExteriorCoordinates.coordinate_wedge] at h |
| 42 | exact h.symm |
| 43 | |
| 44 | def ofResidue (r : V ≃ₗ[A] W) : ((⋀[A]^c U) →ₗ[A] V) ≃ₗ[A] W := |
| 45 | (evaluation b).trans r |
| 46 | |
| 47 | @[simp] |
| 48 | theorem ofResidue_apply (r : V ≃ₗ[A] W) (φ : (⋀[A]^c U) →ₗ[A] V) : |
| 49 | ofResidue b r φ = r (φ (TopExteriorCoordinates.generator b)) := by |
| 50 | simp only [ofResidue, LinearEquiv.trans_apply, evaluation_apply] |
| 51 | |
| 52 | theorem ofResidue_change (b' : Basis (Fin c) A U) (r r' : V ≃ₗ[A] W) |
| 53 | (hr : r.toLinearMap = b.det b' • r'.toLinearMap) : ofResidue b r = ofResidue b' r' := by |
| 54 | ext φ |
| 55 | rw [ofResidue_apply, ofResidue_apply, generator_change b b', map_smul, map_smul] |
| 56 | exact LinearMap.congr_fun hr (φ (TopExteriorCoordinates.generator b)) |
| 57 | |
| 58 | end Evaluation |
| 59 | |
| 60 | section Split |
| 61 | |
| 62 | variable {A : Type u} [CommRing A] |
| 63 | {U : Type v} [AddCommGroup U] [Module A U] |
| 64 | {W : Type w} [AddCommGroup W] [Module A W] |
| 65 | {V : Type t} [AddCommGroup V] [Module A V] |
| 66 | {c g : ℕ} (bU : Basis (Fin c) A U) (bW : Basis (Fin g) A W) |
| 67 | (e : (U × W) ≃ₗ[A] V) |
| 68 | |
| 69 | def split : ((⋀[A]^c U) →ₗ[A] ⋀[A]^(c + g) V) ≃ₗ[A] ⋀[A]^g W := |
| 70 | ofResidue bU (SplitExteriorAdjunction.residue bU bW e) |
| 71 | |
| 72 | theorem split_conormal_basis (bU' : Basis (Fin c) A U) : split bU bW e = split bU' bW e := |
| 73 | ofResidue_change bU bU' _ _ (ConormalAdjunction.residue_conormal_basis bU bU' bW e) |
| 74 | |
| 75 | theorem split_quotient_basis (bW' : Basis (Fin g) A W) : split bU bW e = split bU bW' e := by |
| 76 | unfold split |
| 77 | rw [SplitExteriorAdjunction.residue_independent_quotient_basis bU bW e bW'] |
| 78 | |
| 79 | theorem split_splitting (e' : (U × W) ≃ₗ[A] V) |
| 80 | (hU : ∀ u, e (u, 0) = e' (u, 0)) |
| 81 | (hW : ∀ v, (e.symm v).2 = (e'.symm v).2) : split bU bW e = split bU bW e' := by |
| 82 | unfold split |
| 83 | rw [SplitExteriorAdjunction.residue_independent_splitting bU bW e e' hU hW] |
| 84 | |
| 85 | end Split |
| 86 | |
| 87 | variable {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 88 | [Algebra.Smooth k R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 89 | {c g : ℕ} (bI : Basis (Fin c) (R ⧸ I) I.Cotangent) |
| 90 | (bQ : Basis (Fin g) (R ⧸ I) Ω[R ⧸ I⁄k]) |
| 91 | |
| 92 | def conormal : |
| 93 | ((⋀[R ⧸ I]^c I.Cotangent) →ₗ[R ⧸ I] ⋀[R ⧸ I]^(c + g) ((R ⧸ I) ⊗[R] Ω[R⁄k])) ≃ₗ[R ⧸ I] |
| 94 | ⋀[R ⧸ I]^g Ω[R ⧸ I⁄k] := |
| 95 | ofResidue bI (ConormalAdjunction.equivalence I bI bQ) |
| 96 | |
| 97 | theorem conormal_basis (bI' : Basis (Fin c) (R ⧸ I) I.Cotangent) : |
| 98 | conormal I bI bQ = conormal I bI' bQ := |
| 99 | ofResidue_change bI bI' _ _ (ConormalAdjunction.conormal_basis I bI bQ bI') |
| 100 | |
| 101 | theorem quotient_basis (bQ' : Basis (Fin g) (R ⧸ I) Ω[R ⧸ I⁄k]) : |
| 102 | conormal I bI bQ = conormal I bI bQ' := by |
| 103 | unfold conormal |
| 104 | rw [ConormalAdjunction.independent_quotient_basis I bI bQ bQ'] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DeterminantAdjunction |