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.Positive.BracketSquareRoot |
| 2 | |
| 3 | /-! # Polar Decomposition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.PolarDecomposition.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! In an adjoint-stable bracket automorphism group, polar |
| 10 | decomposition stays inside the group. -/ |
| 11 | |
| 12 | open _root_.ContinuousLinearMap |
| 13 | |
| 14 | theorem continuousBracketChange_eq_self_iff |
| 15 | {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] |
| 16 | (B : L →L[ℝ] L →L[ℝ] L) (g : L ≃L[ℝ] L) : |
| 17 | ContinuousBracketChange.Construction.continuousBracketChange g B = B ↔ ∀ x y, g (B x y) = B (g x) (g y) := by |
| 18 | constructor |
| 19 | · intro h x y |
| 20 | have he := congrArg (fun C : L →L[ℝ] L →L[ℝ] L => C (g x) (g y)) h |
| 21 | simpa only [ContinuousBracketChange.Construction.continuousBracketChange_apply, ContinuousLinearEquiv.symm_apply_apply] using he |
| 22 | · intro h |
| 23 | ext x y |
| 24 | rw [ContinuousBracketChange.Construction.continuousBracketChange_apply, h, ContinuousLinearEquiv.apply_symm_apply, |
| 25 | ContinuousLinearEquiv.apply_symm_apply] |
| 26 | |
| 27 | theorem bracket_automorphism_polar_decomposition |
| 28 | {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 29 | (B : L →L[ℝ] L →L[ℝ] L) (g : L ≃L[ℝ] L) |
| 30 | (hg : ContinuousBracketChange.Construction.continuousBracketChange g B = B) |
| 31 | (hadj : ∀ x y, adjoint g.toContinuousLinearMap (B x y) = |
| 32 | B (adjoint g.toContinuousLinearMap x) (adjoint g.toContinuousLinearMap y)) : |
| 33 | ∃ k s : L ≃L[ℝ] L, g = s.trans k ∧ |
| 34 | ContinuousBracketChange.Construction.continuousBracketChange k B = B ∧ ContinuousBracketChange.Construction.continuousBracketChange s B = B ∧ |
| 35 | (∀ x y, inner ℝ (k x) (k y) = inner ℝ x y) ∧ s.toLinearMap.IsSymmetric ∧ |
| 36 | (∀ x : L, x ≠ 0 → 0 < inner ℝ (s x) x) := by |
| 37 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 38 | let p : L →L[ℝ] L := adjoint g.toContinuousLinearMap * g.toContinuousLinearMap |
| 39 | have hsym : p.toLinearMap.IsSymmetric := by |
| 40 | intro x y |
| 41 | change inner ℝ (adjoint g.toContinuousLinearMap (g x)) y = |
| 42 | inner ℝ x (adjoint g.toContinuousLinearMap (g y)) |
| 43 | rw [adjoint_inner_left, adjoint_inner_right] |
| 44 | rfl |
| 45 | have hpos : ∀ x : L, x ≠ 0 → 0 < inner ℝ (p x) x := by |
| 46 | intro x hx |
| 47 | have hgx : g x ≠ 0 := by |
| 48 | intro h |
| 49 | apply hx |
| 50 | apply g.injective |
| 51 | simpa only [map_zero] using h |
| 52 | change 0 < inner ℝ (adjoint g.toContinuousLinearMap (g x)) x |
| 53 | rw [adjoint_inner_left] |
| 54 | change 0 < inner ℝ (g x) (g x) |
| 55 | rw [real_inner_self_eq_norm_sq] |
| 56 | exact sq_pos_of_ne_zero (norm_ne_zero_iff.mpr hgx) |
| 57 | have hpB : ∀ x y, p (B x y) = B (p x) (p y) := by |
| 58 | intro x y |
| 59 | change adjoint g.toContinuousLinearMap (g (B x y)) = _ |
| 60 | rw [(continuousBracketChange_eq_self_iff B g).mp hg, hadj] |
| 61 | rfl |
| 62 | obtain ⟨s, hsSym, hsPos, hsSq, hsB⟩ := Positive.BracketSquareRoot.Construction.positive_bilinear_preserver_squareRoot B p hsym hpos hpB |
| 63 | have hs : ContinuousBracketChange.Construction.continuousBracketChange s B = B := (continuousBracketChange_eq_self_iff B s).mpr hsB |
| 64 | let k := s.symm.trans g |
| 65 | refine ⟨k, s, ?_, CartanAutomorphism.Construction.bracketAutomorphism_trans B s.symm g (CartanAutomorphism.Construction.bracketAutomorphism_inverse B s hs) hg, |
| 66 | hs, ?_, hsSym, hsPos⟩ |
| 67 | · ext x |
| 68 | simp only [k, ContinuousLinearEquiv.trans_apply, ContinuousLinearEquiv.symm_apply_apply] |
| 69 | · have hinner (x y : L) : inner ℝ (g x) (g y) = inner ℝ (s x) (s y) := by |
| 70 | have hsq : s (s x) = adjoint g.toContinuousLinearMap (g x) := DFunLike.congr_fun hsSq x |
| 71 | calc |
| 72 | inner ℝ (g x) (g y) = inner ℝ (adjoint g.toContinuousLinearMap (g x)) y := |
| 73 | (adjoint_inner_left g.toContinuousLinearMap y (g x)).symm |
| 74 | _ = inner ℝ (s (s x)) y := congrArg (fun z => inner ℝ z y) hsq.symm |
| 75 | _ = inner ℝ (s x) (s y) := hsSym (s x) y |
| 76 | intro x y |
| 77 | change inner ℝ (g (s.symm x)) (g (s.symm y)) = _ |
| 78 | rw [hinner, ContinuousLinearEquiv.apply_symm_apply, ContinuousLinearEquiv.apply_symm_apply] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.PolarDecomposition.Construction |