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.KillingDeterminant |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.KillingBracketLocalRigidity |
| 3 | |
| 4 | /-! # Orbit Minimum -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.OrbitMinimum.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Volume-preserving changes of basis form a closed orbit on a |
| 13 | real Lie bracket with nondegenerate Killing form. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Topology |
| 16 | open Filter Set |
| 17 | |
| 18 | variable {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 19 | |
| 20 | local instance orbitEnd_normed : NormedAddCommGroup (L →L[ℝ] L) := inferInstance |
| 21 | local instance orbitEnd_space : NormedSpace ℝ (L →L[ℝ] L) := inferInstance |
| 22 | local instance orbitBilinear_normed : NormedAddCommGroup (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 23 | local instance orbitBilinear_space : NormedSpace ℝ (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 24 | local instance orbitBilinear_finite : FiniteDimensional ℝ (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 25 | local instance orbitTrilinear_normed : NormedAddCommGroup (L →L[ℝ] L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 26 | local instance orbitTrilinear_space : NormedSpace ℝ (L →L[ℝ] L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 27 | local instance orbitJacobiOperator_normed : NormedAddCommGroup |
| 28 | ((L →L[ℝ] L →L[ℝ] L) →L[ℝ] (L →L[ℝ] L →L[ℝ] L →L[ℝ] L)) := inferInstance |
| 29 | local instance orbitJacobiOperator_space : NormedSpace ℝ |
| 30 | ((L →L[ℝ] L →L[ℝ] L) →L[ℝ] (L →L[ℝ] L →L[ℝ] L →L[ℝ] L)) := inferInstance |
| 31 | |
| 32 | omit [FiniteDimensional ℝ L] in |
| 33 | theorem continuousBracketChange_trans (e f : L ≃L[ℝ] L) (B : L →L[ℝ] L →L[ℝ] L) : |
| 34 | ContinuousBracketChange.Construction.continuousBracketChange f (ContinuousBracketChange.Construction.continuousBracketChange e B) = |
| 35 | ContinuousBracketChange.Construction.continuousBracketChange (e.trans f) B := by |
| 36 | ext x y |
| 37 | rfl |
| 38 | |
| 39 | omit [FiniteDimensional ℝ L] in |
| 40 | theorem continuousBracketChange_refl (B : L →L[ℝ] L →L[ℝ] L) : |
| 41 | ContinuousBracketChange.Construction.continuousBracketChange (ContinuousLinearEquiv.refl ℝ L) B = B := by |
| 42 | ext x y |
| 43 | rfl |
| 44 | |
| 45 | omit [FiniteDimensional ℝ L] in |
| 46 | theorem abs_det_one_trans (e f : L ≃L[ℝ] L) |
| 47 | (he : |LinearMap.det e.toLinearMap| = 1) (hf : |LinearMap.det f.toLinearMap| = 1) : |
| 48 | |LinearMap.det (e.trans f).toLinearMap| = 1 := by |
| 49 | change |LinearMap.det (f.toLinearMap.comp e.toLinearMap)| = 1 |
| 50 | rw [LinearMap.det_comp, abs_mul, he, hf, one_mul] |
| 51 | |
| 52 | omit [FiniteDimensional ℝ L] in |
| 53 | theorem abs_det_one_symm (e : L ≃L[ℝ] L) (he : |LinearMap.det e.toLinearMap| = 1) : |
| 54 | |LinearMap.det e.symm.toLinearMap| = 1 := by |
| 55 | have h := congrArg (fun x : ℝ => |x|) e.toLinearEquiv.det_mul_det_symm |
| 56 | change |LinearMap.det e.symm.toLinearEquiv.toLinearMap| = 1 |
| 57 | rw [ContinuousLinearEquiv.toLinearEquiv_symm] |
| 58 | simpa only [abs_mul, abs_one, he, one_mul] using h |
| 59 | |
| 60 | def bracketVolumeOrbit (B : L →L[ℝ] L →L[ℝ] L) : Set (L →L[ℝ] L →L[ℝ] L) := |
| 61 | {C | ∃ e : L ≃L[ℝ] L, |LinearMap.det e.toLinearMap| = 1 ∧ C = ContinuousBracketChange.Construction.continuousBracketChange e B} |
| 62 | |
| 63 | omit [FiniteDimensional ℝ L] in |
| 64 | theorem bracketVolumeOrbit_self (B : L →L[ℝ] L →L[ℝ] L) : B ∈ bracketVolumeOrbit B := by |
| 65 | refine ⟨ContinuousLinearEquiv.refl ℝ L, ?_, (continuousBracketChange_refl B).symm⟩ |
| 66 | change |LinearMap.det (LinearMap.id : L →ₗ[ℝ] L)| = 1 |
| 67 | simp |
| 68 | |
| 69 | theorem isClosed_continuousLieBrackets : |
| 70 | IsClosed {B : L →L[ℝ] L →L[ℝ] L | ContinuousBracketConstraints.Construction.IsContinuousLieBracket B} := by |
| 71 | have ha : IsClosed {B : L →L[ℝ] L →L[ℝ] L | ∀ x, B x x = 0} := by |
| 72 | simp only [Set.ofPred_forall] |
| 73 | apply isClosed_iInter |
| 74 | intro x |
| 75 | exact isClosed_eq ((continuous_id.clm_apply continuous_const).clm_apply continuous_const) |
| 76 | continuous_const |
| 77 | have hj : Continuous (fun B : L →L[ℝ] L →L[ℝ] L => ContinuousJacobi.Construction.continuousJacobiPair B B) := |
| 78 | (ContinuousJacobi.Construction.continuousJacobiPair.continuous.comp continuous_id).clm_apply continuous_id |
| 79 | exact ha.inter (isClosed_eq hj continuous_const) |
| 80 | |
| 81 | theorem bracketVolumeOrbit_isClosed |
| 82 | (B : L →L[ℝ] L →L[ℝ] L) (hB : ContinuousBracketConstraints.Construction.IsContinuousLieBracket B) |
| 83 | (hK : (ContinuousInnerDerivations.Construction.continuousBracketKillingForm B).Nondegenerate) : IsClosed (bracketVolumeOrbit B) := by |
| 84 | let b := Module.finBasis ℝ L |
| 85 | let X : Set (L →L[ℝ] L →L[ℝ] L) := |
| 86 | {C | ContinuousBracketConstraints.Construction.IsContinuousLieBracket C ∧ KillingDeterminant.Construction.bracketKillingDeterminant b C = KillingDeterminant.Construction.bracketKillingDeterminant b B} |
| 87 | have hX : IsClosed X := isClosed_continuousLieBrackets.inter |
| 88 | (isClosed_eq (KillingDeterminant.Construction.bracketKillingDeterminant_continuous b) continuous_const) |
| 89 | have hsub : bracketVolumeOrbit B ⊆ X := by |
| 90 | rintro C ⟨e, he, rfl⟩ |
| 91 | exact ⟨ContinuousBracketConstraints.Construction.isContinuousLieBracket_change e B hB, |
| 92 | KillingDeterminant.Construction.bracketKillingDeterminant_change_of_abs_det_one b e he B⟩ |
| 93 | apply isClosed_of_closure_subset |
| 94 | intro C hC |
| 95 | have hCX := closure_minimal hsub hX hC |
| 96 | have hKC : (ContinuousInnerDerivations.Construction.continuousBracketKillingForm C).Nondegenerate := by |
| 97 | apply (KillingDeterminant.Construction.bracketKillingDeterminant_ne_zero b C).mp |
| 98 | rw [hCX.2] |
| 99 | exact (KillingDeterminant.Construction.bracketKillingDeterminant_ne_zero b B).mpr hK |
| 100 | have hnear := KillingBracketLocalRigidity.Construction.killing_bracket_local_rigidity C hCX.1 hKC |
| 101 | obtain ⟨D, hDO, hDC⟩ := ((mem_closure_iff_frequently.mp hC).and_eventually hnear).exists |
| 102 | have hDX := hsub hDO |
| 103 | obtain ⟨e, he⟩ := hDC hDX.1 |
| 104 | have hdet : |LinearMap.det e.toLinearMap| = 1 := by |
| 105 | apply KillingDeterminant.Construction.abs_det_one_of_bracketKillingDeterminant_eq b e C hKC |
| 106 | rw [← he, hDX.2, hCX.2] |
| 107 | obtain ⟨f, hf, hDf⟩ := hDO |
| 108 | refine ⟨f.trans e.symm, abs_det_one_trans f e.symm hf (abs_det_one_symm e hdet), ?_⟩ |
| 109 | rw [← continuousBracketChange_trans, ← hDf, he, ContinuousBracketChange.Construction.continuousBracketChange_inverse] |
| 110 | |
| 111 | end |
| 112 | |
| 113 | /-! Closed volume-preserving bracket orbits attain a minimum norm, |
| 114 | also after arbitrary continuous linear coordinates are chosen. -/ |
| 115 | |
| 116 | open scoped Classical |
| 117 | open Set |
| 118 | |
| 119 | theorem exists_min_norm_on_closed_set |
| 120 | {V : Type*} [NormedAddCommGroup V] [ProperSpace V] |
| 121 | (s : Set V) (hs : IsClosed s) (hne : s.Nonempty) : |
| 122 | ∃ x ∈ s, ∀ y ∈ s, ‖x‖ ≤ ‖y‖ := by |
| 123 | obtain ⟨x₀, hx₀⟩ := hne |
| 124 | let K := Metric.closedBall (0 : V) ‖x₀‖ ∩ s |
| 125 | have hK : IsCompact K := (isCompact_closedBall 0 ‖x₀‖).inter_right hs |
| 126 | have hKn : K.Nonempty := ⟨x₀, by simpa only [K, mem_inter_iff, Metric.mem_closedBall, dist_zero_right] using |
| 127 | (show ‖x₀‖ ≤ ‖x₀‖ ∧ x₀ ∈ s from ⟨le_rfl, hx₀⟩)⟩ |
| 128 | obtain ⟨x, hx, hmin⟩ := hK.exists_isMinOn hKn continuous_norm.continuousOn |
| 129 | refine ⟨x, hx.2, fun y hy => ?_⟩ |
| 130 | by_cases hyl : ‖y‖ ≤ ‖x₀‖ |
| 131 | · exact hmin ⟨by simpa only [Metric.mem_closedBall, dist_zero_right] using hyl, hy⟩ |
| 132 | · have hxl : ‖x‖ ≤ ‖x₀‖ := by |
| 133 | simpa only [Metric.mem_closedBall, dist_zero_right] using hx.1 |
| 134 | exact hxl.trans (le_of_not_ge hyl) |
| 135 | |
| 136 | theorem killing_bracket_orbit_has_minimum |
| 137 | {L V : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 138 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 139 | (Φ : (L →L[ℝ] L →L[ℝ] L) ≃L[ℝ] V) |
| 140 | (B : L →L[ℝ] L →L[ℝ] L) (hB : ContinuousBracketConstraints.Construction.IsContinuousLieBracket B) |
| 141 | (hK : (ContinuousInnerDerivations.Construction.continuousBracketKillingForm B).Nondegenerate) : |
| 142 | ∃ e : L ≃L[ℝ] L, |LinearMap.det e.toLinearMap| = 1 ∧ |
| 143 | ∀ f : L ≃L[ℝ] L, |LinearMap.det f.toLinearMap| = 1 → |
| 144 | ‖Φ (ContinuousBracketChange.Construction.continuousBracketChange e B)‖ ≤ ‖Φ (ContinuousBracketChange.Construction.continuousBracketChange f B)‖ := by |
| 145 | let : ProperSpace V := FiniteDimensional.proper ℝ V |
| 146 | have hc : IsClosed (Φ '' bracketVolumeOrbit B) := |
| 147 | Φ.toHomeomorph.isClosedMap _ (bracketVolumeOrbit_isClosed B hB hK) |
| 148 | have hn : (Φ '' bracketVolumeOrbit B).Nonempty := |
| 149 | ⟨Φ B, B, bracketVolumeOrbit_self B, rfl⟩ |
| 150 | obtain ⟨x, hx, hmin⟩ := exists_min_norm_on_closed_set (Φ '' bracketVolumeOrbit B) hc hn |
| 151 | obtain ⟨C, ⟨e, he, hCe⟩, hCx⟩ := hx |
| 152 | refine ⟨e, he, fun f hf => ?_⟩ |
| 153 | rw [← hCe, hCx] |
| 154 | exact hmin _ ⟨ContinuousBracketChange.Construction.continuousBracketChange f B, ⟨f, hf, rfl⟩, rfl⟩ |
| 155 | |
| 156 | end |
| 157 | |
| 158 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Bracket.OrbitMinimum.Construction |