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.ComplexMultiplication.HodgeComparison.RationalBilinearConjugation |
| 2 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic |
| 3 | |
| 4 | /-! # Polarization From Positive Form -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.PolarizationFromPositiveForm.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A positive rational alternating form isotropic on the holomorphic |
| 11 | part is a polarization of an arbitrary weight-one Hodge structure. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 16 | |
| 17 | theorem weightOne_fixed_decomposition (H : WeightOne.CM.WeightOneHodgeStructure U) |
| 18 | (x : WeightOne.CM.Complexification U) (hx : WeightOne.CM.coefficientConjugation U x = x) : |
| 19 | ∃ p ∈ H.holomorphic, p + WeightOne.CM.coefficientConjugation U p = x := by |
| 20 | have hm : x ∈ H.holomorphic ⊔ H.antiholomorphic := by |
| 21 | rw [H.complementary.sup_eq_top] |
| 22 | trivial |
| 23 | obtain ⟨p, hp, q, hq, he⟩ := Submodule.mem_sup.mp hm |
| 24 | have hc := congrArg (WeightOne.CM.coefficientConjugation U) he |
| 25 | rw [map_add, hx] at hc |
| 26 | have hcp : WeightOne.CM.coefficientConjugation U p ∈ H.antiholomorphic := (H.conjugate_mem p).mpr hp |
| 27 | have hcq : WeightOne.CM.coefficientConjugation U q ∈ H.holomorphic := |
| 28 | (H.conjugate_mem _).mp (by simpa using hq) |
| 29 | have hd : q - WeightOne.CM.coefficientConjugation U p = WeightOne.CM.coefficientConjugation U q - p := by |
| 30 | apply sub_eq_sub_iff_add_eq_add.mpr |
| 31 | simpa only [add_comm] using he.trans hc.symm |
| 32 | have hzero : q - WeightOne.CM.coefficientConjugation U p = 0 := by |
| 33 | apply (Submodule.disjoint_def.mp H.complementary.disjoint) |
| 34 | · rw [hd] |
| 35 | exact H.holomorphic.sub_mem hcq hp |
| 36 | · exact H.antiholomorphic.sub_mem hq hcp |
| 37 | exact ⟨p, hp, by rwa [← sub_eq_zero.mp hzero]⟩ |
| 38 | |
| 39 | theorem rationalBilinear_antiholomorphic_isotropic (H : WeightOne.CM.WeightOneHodgeStructure U) |
| 40 | (B : LinearMap.BilinForm ℚ U) |
| 41 | (hiso : ∀ u ∈ H.holomorphic, ∀ v ∈ H.holomorphic, B.baseChange ℂ u v = 0) |
| 42 | (u : WeightOne.CM.Complexification U) (hu : u ∈ H.antiholomorphic) |
| 43 | (v : WeightOne.CM.Complexification U) (hv : v ∈ H.antiholomorphic) : B.baseChange ℂ u v = 0 := by |
| 44 | have hcu : WeightOne.CM.coefficientConjugation U u ∈ H.holomorphic := |
| 45 | (H.conjugate_mem _).mp (by simpa using hu) |
| 46 | have hcv : WeightOne.CM.coefficientConjugation U v ∈ H.holomorphic := |
| 47 | (H.conjugate_mem _).mp (by simpa using hv) |
| 48 | have h := RationalBilinearConjugation.CM.Construction.rationalBilinear_baseChange_conjugate B |
| 49 | (WeightOne.CM.coefficientConjugation U u) (WeightOne.CM.coefficientConjugation U v) |
| 50 | rw [hiso _ hcu _ hcv, star_zero, WeightOne.CM.coefficientConjugation_involutive, |
| 51 | WeightOne.CM.coefficientConjugation_involutive] at h |
| 52 | exact h.symm |
| 53 | |
| 54 | theorem positiveAlternating_nondegenerate (H : WeightOne.CM.WeightOneHodgeStructure U) |
| 55 | (B : LinearMap.BilinForm ℚ U) (hB : B.IsAlt) |
| 56 | (hiso : ∀ u ∈ H.holomorphic, ∀ v ∈ H.holomorphic, B.baseChange ℂ u v = 0) |
| 57 | (hpos : ∀ u ∈ H.holomorphic, u ≠ 0 → |
| 58 | 0 < (Complex.I * B.baseChange ℂ u (WeightOne.CM.coefficientConjugation U u)).re) : B.Nondegenerate := by |
| 59 | apply (hB.isRefl.nondegenerate_iff_separatingLeft).mpr |
| 60 | intro x hx |
| 61 | have hcx (v : WeightOne.CM.Complexification U) : B.baseChange ℂ ((1 : ℂ) ⊗ₜ[ℚ] x) v = 0 := by |
| 62 | induction v using TensorProduct.inductionOn with |
| 63 | | tmul z y => simp [hx y] |
| 64 | | add v w hv hw => simp [hv, hw] |
| 65 | obtain ⟨p, hp, he⟩ := weightOne_fixed_decomposition H ((1 : ℂ) ⊗ₜ[ℚ] x) (by simp) |
| 66 | have hcp : WeightOne.CM.coefficientConjugation U p ∈ H.antiholomorphic := (H.conjugate_mem p).mpr hp |
| 67 | have hz := hcx (WeightOne.CM.coefficientConjugation U p) |
| 68 | rw [← he, map_add, LinearMap.add_apply, |
| 69 | rationalBilinear_antiholomorphic_isotropic H B hiso _ hcp _ hcp, add_zero] at hz |
| 70 | have hpzero : p = 0 := by |
| 71 | by_contra hne |
| 72 | have h := hpos p hp hne |
| 73 | rw [hz, mul_zero, Complex.zero_re] at h |
| 74 | exact (lt_irrefl 0) h |
| 75 | rw [hpzero, map_zero, zero_add] at he |
| 76 | exact (Module.FaithfullyFlat.one_tmul_eq_zero_iff ℚ U x).mp he.symm |
| 77 | |
| 78 | def weightOnePolarizationOfPositive (H : WeightOne.CM.WeightOneHodgeStructure U) |
| 79 | (B : LinearMap.BilinForm ℚ U) (hB : B.IsAlt) |
| 80 | (hiso : ∀ u ∈ H.holomorphic, ∀ v ∈ H.holomorphic, B.baseChange ℂ u v = 0) |
| 81 | (hpos : ∀ u ∈ H.holomorphic, u ≠ 0 → |
| 82 | 0 < (Complex.I * B.baseChange ℂ u (WeightOne.CM.coefficientConjugation U u)).re) : CM.Polarization.WeightOnePolarization H where |
| 83 | form := B |
| 84 | alternating := hB |
| 85 | nondegenerate := positiveAlternating_nondegenerate H B hB hiso hpos |
| 86 | holomorphic_isotropic := hiso |
| 87 | hodge_self_real := RationalBilinearConjugation.CM.Construction.rationalAlternating_hodge_self_real B hB |
| 88 | hodge_positive := hpos |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.PolarizationFromPositiveForm.CM.Construction |