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.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnitaryFrameAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.FrameProjection |
| 3 | |
| 4 | /-! # Projective Cotangent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ProjectiveCotangent.Frame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The weighted annihilator coordinates give the cotangent action on |
| 11 | the projective chart. Differentiate the exact bilinear pairing identity. -/ |
| 12 | |
| 13 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.FrameProjection.Multiplicity |
| 14 | open scoped _root_.Matrix |
| 15 | |
| 16 | theorem weighted_pairing_between_points (b : ℂ) (hb : b ≠ 0) |
| 17 | (x y : Fin 2 → ℂ) (j : Fin 2) : |
| 18 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector y ⬝ᵥ (UnitaryFrameAction.diagonalForm b).mulVec (UnitaryFrameAction.weightedAnnihilator b x j) = y j - x j := by |
| 19 | fin_cases j <;> |
| 20 | simp [RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector, UnitaryFrameAction.diagonalForm, Matrix.mulVec_diagonal, UnitaryFrameAction.weightedAnnihilator, |
| 21 | dotProduct, Fin.sum_univ_succ] <;> field_simp <;> ring |
| 22 | |
| 23 | theorem weighted_pairing_value (b : ℂ) (y : Fin 2 → ℂ) (w : Fin 3 → ℂ) : |
| 24 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector y ⬝ᵥ (UnitaryFrameAction.diagonalForm b).mulVec w = |
| 25 | FrameProjection.Multiplicity.coordinateCovector (fun i : Fin 2 => w i.castSucc) y + b * w 2 := by |
| 26 | simp [RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector, UnitaryFrameAction.diagonalForm, Matrix.mulVec_diagonal, FrameProjection.Multiplicity.coordinateCovector_apply, |
| 27 | dotProduct, Fin.sum_univ_succ] |
| 28 | ring |
| 29 | |
| 30 | def weightedColumnCovector (b : ℂ) (B : Matrix.SpecialLinearGroup (Fin 3) ℂ) |
| 31 | (x : Fin 2 → ℂ) (j : Fin 2) : RepresentationTheory.Theta.Geometric.LinearTheta.Cotangent := |
| 32 | FrameProjection.Multiplicity.coordinateCovector (fun i => UnitaryFrameAction.weightedDualCoordinates b B x i j) |
| 33 | |
| 34 | theorem weighted_projective_affine_identity (b : ℂ) (hb : b ≠ 0) |
| 35 | (A B : Matrix.SpecialLinearGroup (Fin 3) ℂ) |
| 36 | (hAB : A.val.transpose * UnitaryFrameAction.diagonalForm b * B.val = UnitaryFrameAction.diagonalForm b) |
| 37 | (x y : Fin 2 → ℂ) (hy : RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A y ≠ 0) (j : Fin 2) : |
| 38 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A y * |
| 39 | (weightedColumnCovector b B x j (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.chartImage A y) + |
| 40 | b * (B.val.mulVec (UnitaryFrameAction.weightedAnnihilator b x j)) 2) = y j - x j := by |
| 41 | have h := UnitaryFrameAction.weighted_pairing_preserved b A B hAB (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector y) (UnitaryFrameAction.weightedAnnihilator b x j) |
| 42 | rw [RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector_chartImage A y hy, smul_dotProduct, |
| 43 | weighted_pairing_between_points b hb x y j, weighted_pairing_value] at h |
| 44 | exact h |
| 45 | |
| 46 | theorem denominator_differentiable (A : Matrix.SpecialLinearGroup (Fin 3) ℂ) : |
| 47 | Differentiable ℂ (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A) := by |
| 48 | unfold RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector Matrix.mulVec dotProduct |
| 49 | simp [Fin.sum_univ_succ] |
| 50 | fun_prop |
| 51 | |
| 52 | theorem weighted_cotangent_column (b : ℂ) (hb : b ≠ 0) |
| 53 | (A B : Matrix.SpecialLinearGroup (Fin 3) ℂ) |
| 54 | (hAB : A.val.transpose * UnitaryFrameAction.diagonalForm b * B.val = UnitaryFrameAction.diagonalForm b) |
| 55 | (O : Set (Fin 2 → ℂ)) (hO : IsOpen O) (x : Fin 2 → ℂ) (hx : x ∈ O) |
| 56 | (hd : ∀ y ∈ O, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A y ≠ 0) |
| 57 | (f : (Fin 2 → ℂ) → Fin 2 → ℂ) (hf : DifferentiableAt ℂ f x) |
| 58 | (heq : ∀ y ∈ O, f y = RepresentationTheory.Theta.Adelic.DeterminantCoordinates.chartImage A y) (j : Fin 2) : |
| 59 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A x • (weightedColumnCovector b B x j).comp (fderiv ℂ f x) = |
| 60 | ContinuousLinearMap.proj j := by |
| 61 | let l := weightedColumnCovector b B x j |
| 62 | let c := b * (B.val.mulVec (UnitaryFrameAction.weightedAnnihilator b x j)) 2 |
| 63 | have hzero : l (f x) + c = 0 := by |
| 64 | have h := weighted_projective_affine_identity b hb A B hAB x x (hd x hx) j |
| 65 | rw [sub_self, ← heq x hx] at h |
| 66 | exact (mul_eq_zero.mp h).resolve_left (hd x hx) |
| 67 | have hprod := (denominator_differentiable A x).hasFDerivAt.mul |
| 68 | ((l.hasFDerivAt.comp x hf.hasFDerivAt).add_const c) |
| 69 | have hder : HasFDerivAt (fun y => RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A y * (l (f y) + c)) |
| 70 | (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A x • l.comp (fderiv ℂ f x)) x := by |
| 71 | change HasFDerivAt (fun y => RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A y * (l (f y) + c)) |
| 72 | (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A x • l.comp (fderiv ℂ f x) + |
| 73 | (l (f x) + c) • fderiv ℂ (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A) x) x at hprod |
| 74 | have hzD : (0 : ℂ) • fderiv ℂ (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A) x = 0 := by |
| 75 | apply ContinuousLinearMap.ext |
| 76 | intro y |
| 77 | exact zero_mul _ |
| 78 | rw [hzero, hzD, add_zero] at hprod |
| 79 | exact hprod |
| 80 | have hnear : (fun y : Fin 2 → ℂ => y j - x j) =ᶠ[nhds x] |
| 81 | (fun y => RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A y * (l (f y) + c)) := by |
| 82 | filter_upwards [hO.mem_nhds hx] with y hy |
| 83 | rw [heq y hy] |
| 84 | exact (weighted_projective_affine_identity b hb A B hAB x y (hd y hy) j).symm |
| 85 | exact (hder.congr_of_eventuallyEq hnear).unique |
| 86 | ((ContinuousLinearMap.proj j : RepresentationTheory.Theta.Geometric.LinearTheta.Cotangent).hasFDerivAt.sub_const (x j)) |
| 87 | |
| 88 | theorem weighted_cotangent (b : ℂ) (hb : b ≠ 0) |
| 89 | (A B : Matrix.SpecialLinearGroup (Fin 3) ℂ) |
| 90 | (hAB : A.val.transpose * UnitaryFrameAction.diagonalForm b * B.val = UnitaryFrameAction.diagonalForm b) |
| 91 | (O : Set (Fin 2 → ℂ)) (hO : IsOpen O) (x : Fin 2 → ℂ) (hx : x ∈ O) |
| 92 | (hd : ∀ y ∈ O, RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A y ≠ 0) |
| 93 | (f : (Fin 2 → ℂ) → Fin 2 → ℂ) (hf : DifferentiableAt ℂ f x) |
| 94 | (heq : ∀ y ∈ O, f y = RepresentationTheory.Theta.Adelic.DeterminantCoordinates.chartImage A y) (c u : Fin 2 → ℂ) : |
| 95 | RepresentationTheory.Theta.Adelic.DeterminantCoordinates.denominator A x * FrameProjection.Multiplicity.coordinateCovector (UnitaryFrameAction.weightedDualCoordinates b B x *ᵥ c) (fderiv ℂ f x u) = |
| 96 | FrameProjection.Multiplicity.coordinateCovector c u := by |
| 97 | have h0 := congrArg (fun l : RepresentationTheory.Theta.Geometric.LinearTheta.Cotangent => l u) |
| 98 | (weighted_cotangent_column b hb A B hAB O hO x hx hd f hf heq 0) |
| 99 | have h1 := congrArg (fun l : RepresentationTheory.Theta.Geometric.LinearTheta.Cotangent => l u) |
| 100 | (weighted_cotangent_column b hb A B hAB O hO x hx hd f hf heq 1) |
| 101 | simp [weightedColumnCovector, FrameProjection.Multiplicity.coordinateCovector_apply, Fin.sum_univ_succ] at h0 h1 ⊢ |
| 102 | linear_combination c 0 * h0 + c 1 * h1 |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ProjectiveCotangent.Frame |