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.ArithmeticGroups.Lattices.Bracket.OrbitMinimum |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ContinuousOperatorExponentialDeterminant |
| 3 | import Mathlib.Analysis.InnerProductSpace.Calculus |
| 4 | import Mathlib.Analysis.Calculus.LocalExtr.Basic |
| 5 | |
| 6 | /-! # Minimum Stationary -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.MinimumStationary.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A minimum-norm bracket is orthogonal to every infinitesimal |
| 13 | volume-preserving change of basis. -/ |
| 14 | |
| 15 | open scoped _root_.Topology |
| 16 | open Filter |
| 17 | |
| 18 | theorem min_norm_curve_inner_derivative_zero |
| 19 | {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 20 | (f : ℝ → V) (v w : V) (hf : HasDerivAt f w 0) (h0 : f 0 = v) |
| 21 | (hmin : ∀ t, ‖v‖ ≤ ‖f t‖) : inner ℝ w v = 0 := by |
| 22 | have hm : IsLocalMin (fun t => inner ℝ (f t) (f t)) 0 := by |
| 23 | apply Filter.Eventually.of_forall |
| 24 | intro t |
| 25 | change inner ℝ (f 0) (f 0) ≤ inner ℝ (f t) (f t) |
| 26 | rw [h0, real_inner_self_eq_norm_sq, real_inner_self_eq_norm_sq] |
| 27 | exact pow_le_pow_left₀ (norm_nonneg v) (hmin t) 2 |
| 28 | have hd := hm.hasDerivAt_eq_zero (hf.inner ℝ hf) |
| 29 | rw [h0, real_inner_comm v w] at hd |
| 30 | rw [real_inner_comm v w] |
| 31 | linarith |
| 32 | |
| 33 | variable {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 34 | |
| 35 | local instance stationaryEnd_normed : NormedAddCommGroup (L →L[ℝ] L) := inferInstance |
| 36 | local instance stationaryEnd_space : NormedSpace ℝ (L →L[ℝ] L) := inferInstance |
| 37 | local instance stationaryBilinear_normed : NormedAddCommGroup (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 38 | local instance stationaryBilinear_space : NormedSpace ℝ (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 39 | |
| 40 | theorem exponential_bracket_curve_hasDerivAt |
| 41 | (B : L →L[ℝ] L →L[ℝ] L) (A : L →L[ℝ] L) : |
| 42 | HasDerivAt (fun t : ℝ => B + ChangeDerivative.Construction.continuousBracketExponentialPerturbation B (t • A, 0)) |
| 43 | (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A) 0 := by |
| 44 | let p : ℝ → (L →L[ℝ] L) × (L →L[ℝ] L →L[ℝ] L) := fun t => (t • A, 0) |
| 45 | have hp : HasDerivAt p (A, 0) 0 := by |
| 46 | simpa only [p, id_eq, one_smul] using |
| 47 | ((hasDerivAt_id (0 : ℝ)).smul_const A).prodMk |
| 48 | (hasDerivAt_const (0 : ℝ) (0 : L →L[ℝ] L →L[ℝ] L)) |
| 49 | have hP : HasFDerivAt (ChangeDerivative.Construction.continuousBracketExponentialPerturbation B) |
| 50 | ((Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B).coprod |
| 51 | (ContinuousLinearMap.id ℝ (L →L[ℝ] L →L[ℝ] L))) (p 0) := by |
| 52 | simpa only [p, zero_smul, Prod.zero_eq_mk] using |
| 53 | (ChangeDerivative.Construction.continuousBracketExponentialPerturbation_hasStrictFDerivAt B).hasFDerivAt |
| 54 | have hd := (hP.comp_hasDerivAt 0 hp).const_add B |
| 55 | simpa only [ContinuousLinearMap.coprod_apply, ContinuousLinearMap.id_apply, add_zero] using! hd |
| 56 | |
| 57 | theorem minimum_bracket_orthogonal_to_traceless_change |
| 58 | {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 59 | (Φ : (L →L[ℝ] L →L[ℝ] L) →L[ℝ] V) |
| 60 | (B : L →L[ℝ] L →L[ℝ] L) |
| 61 | (hmin : ∀ e : L ≃L[ℝ] L, |LinearMap.det e.toLinearMap| = 1 → |
| 62 | ‖Φ B‖ ≤ ‖Φ (ContinuousBracketChange.Construction.continuousBracketChange e B)‖) |
| 63 | (A : L →L[ℝ] L) (hA : LinearMap.trace ℝ L A.toLinearMap = 0) : |
| 64 | inner ℝ (Φ (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A)) (Φ B) = 0 := by |
| 65 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 66 | let f : ℝ → V := fun t => Φ (B + ChangeDerivative.Construction.continuousBracketExponentialPerturbation B (t • A, 0)) |
| 67 | have hf : HasDerivAt f (Φ (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A)) 0 := |
| 68 | Φ.hasFDerivAt.comp_hasDerivAt 0 (exponential_bracket_curve_hasDerivAt B A) |
| 69 | have h0 : f 0 = Φ B := by |
| 70 | simp only [f, zero_smul, ← Prod.zero_eq_mk, ChangeDerivative.Construction.continuousBracketExponentialPerturbation_zero, add_zero] |
| 71 | apply min_norm_curve_inner_derivative_zero f (Φ B) _ hf h0 |
| 72 | intro t |
| 73 | have ht : LinearMap.trace ℝ L (t • A).toLinearMap = 0 := by |
| 74 | change LinearMap.trace ℝ L (t • A.toLinearMap) = 0 |
| 75 | rw [map_smul, hA, smul_zero] |
| 76 | have hdet : |LinearMap.det (ExponentialEquiv.Construction.continuousLinearMapExpEquiv (t • A)).toLinearMap| = 1 := by |
| 77 | change |LinearMap.det (NormedSpace.exp (t • A)).toLinearMap| = 1 |
| 78 | rw [ContinuousOperatorExponentialDeterminant.Construction.continuousOperator_exp_det_one_of_trace_zero _ ht, abs_one] |
| 79 | have he := hmin (ExponentialEquiv.Construction.continuousLinearMapExpEquiv (t • A)) hdet |
| 80 | simpa only [f, ExponentialEquiv.Construction.continuousBracketExponentialPerturbation_add, add_zero] using he |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.MinimumStationary.Construction |