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.Analysis.HodgeTheory.Decomposition.ExteriorPair |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.Contraction |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.MetricCoefficients |
| 4 | |
| 5 | /-! # Bilinear Form Metric -/ |
| 6 | |
| 7 | namespace OAI.Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The induced metric on genuine alternating covectors for any positive |
| 12 | real symmetric tangent metric, with its explicit inverse exterior-Gram formula. -/ |
| 13 | |
| 14 | variable {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 15 | [Fintype ι] [LinearOrder ι] |
| 16 | |
| 17 | def basisExteriorTuple (b : Module.Basis ι ℝ E) (n : ℕ) (s : Set.powersetCard ι n) : Fin n → E := |
| 18 | b ∘ Set.powersetCard.ofFinEmbEquiv.symm s |
| 19 | |
| 20 | def bilinearExteriorGram (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) : |
| 21 | Matrix (Set.powersetCard ι n) (Set.powersetCard ι n) ℝ := |
| 22 | fun s t => Matrix.det (fun i j : Fin n => B (basisExteriorTuple b n s j) (basisExteriorTuple b n t i)) |
| 23 | |
| 24 | def bilinearFormMetricPair (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 25 | (a c : DifferentialForms.Manifold.Basic.FormValue E n) : ℂ := |
| 26 | ∑ s, ∑ t, star (a (basisExteriorTuple b n t)) * ((bilinearExteriorGram b n B)⁻¹ s t : ℂ) * |
| 27 | c (basisExteriorTuple b n s) |
| 28 | |
| 29 | omit [Fintype ι] [LinearOrder ι] in |
| 30 | def positiveMetricCoordinateForm (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 31 | (hB : ∀ u v, B u v = B v u) (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) |
| 32 | (n : ℕ) (a : DifferentialForms.Manifold.Basic.FormValue E n) : DifferentialForms.Manifold.Basic.FormValue (ExteriorPair.Constructions.RealMetricFiber E (ExteriorPair.Constructions.positiveBilinearCore B hB hpos)) n := |
| 33 | a.compContinuousLinearMap (ExteriorPair.Constructions.realMetricFiberContinuousEquiv (ExteriorPair.Constructions.positiveBilinearCore B hB hpos)).toContinuousLinearMap |
| 34 | |
| 35 | def positiveMetricExteriorBasis (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 36 | (hB : ∀ u v, B u v = B v u) (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) : |
| 37 | Module.Basis (Set.powersetCard ι n) ℝ (⋀[ℝ]^n (ExteriorPair.Constructions.RealMetricFiber E (ExteriorPair.Constructions.positiveBilinearCore B hB hpos))) := |
| 38 | (b.map (ExteriorPair.Constructions.realMetricFiberContinuousEquiv (ExteriorPair.Constructions.positiveBilinearCore B hB hpos)).symm.toLinearEquiv).exteriorPower n |
| 39 | |
| 40 | omit [Fintype ι] in |
| 41 | theorem positiveMetricExteriorBasis_gram (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 42 | (hB : ∀ u v, B u v = B v u) (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) : |
| 43 | Matrix.gram ℝ (positiveMetricExteriorBasis b n B hB hpos) = bilinearExteriorGram b n B := by |
| 44 | ext s t |
| 45 | simp only [Matrix.gram_apply, positiveMetricExteriorBasis, exteriorPower.basis_apply, |
| 46 | exteriorPower.ιMulti_family, exteriorPower.inner_ιMulti_ιMulti] |
| 47 | apply congrArg Matrix.det |
| 48 | ext i j |
| 49 | rfl |
| 50 | |
| 51 | theorem bilinearExteriorGram_det_ne_zero (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 52 | (hB : ∀ u v, B u v = B v u) (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) : |
| 53 | (bilinearExteriorGram b n B).det ≠ 0 := by |
| 54 | rw [← positiveMetricExteriorBasis_gram b n B hB hpos] |
| 55 | exact (Matrix.posDef_gram_of_linearIndependent (positiveMetricExteriorBasis b n B hB hpos).linearIndependent).det_pos.ne' |
| 56 | |
| 57 | omit [Fintype ι] in |
| 58 | theorem positiveMetricCoordinateForm_basis (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 59 | (hB : ∀ u v, B u v = B v u) (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) |
| 60 | (a : DifferentialForms.Manifold.Basic.FormValue E n) (s : Set.powersetCard ι n) : |
| 61 | DifferentialForms.Manifold.ExteriorCovectorEquivalence.exteriorCovectorEquiv (ExteriorPair.Constructions.RealMetricFiber E (ExteriorPair.Constructions.positiveBilinearCore B hB hpos)) n |
| 62 | (positiveMetricCoordinateForm B hB hpos n a) (positiveMetricExteriorBasis b n B hB hpos s) = |
| 63 | a (basisExteriorTuple b n s) := by |
| 64 | simp only [positiveMetricExteriorBasis, exteriorPower.basis_apply, exteriorPower.ιMulti_family, |
| 65 | DifferentialForms.Manifold.ExteriorCovectorEquivalence.exteriorCovectorEquiv_apply_ιMulti] |
| 66 | rfl |
| 67 | |
| 68 | theorem bilinearFormMetricPair_eq_intrinsic (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 69 | (hB : ∀ u v, B u v = B v u) (hpos : ∀ u : E, u ≠ 0 → 0 < B u u) (a c : DifferentialForms.Manifold.Basic.FormValue E n) : |
| 70 | bilinearFormMetricPair b n B a c = |
| 71 | ExteriorPair.Constructions.formMetricPair n (positiveMetricCoordinateForm B hB hpos n a) (positiveMetricCoordinateForm B hB hpos n c) := by |
| 72 | unfold ExteriorPair.Constructions.formMetricPair |
| 73 | rw [Contraction.Constructions.covectorInner_inverse_gram (positiveMetricExteriorBasis b n B hB hpos)] |
| 74 | simp only [positiveMetricExteriorBasis_gram, positiveMetricCoordinateForm_basis] |
| 75 | rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions |