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.AbelianModuli.ReferenceFamily.Reference.Lattice |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.IntegralDualLattice |
| 3 | |
| 4 | /-! # Discriminant -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual reference period lattice and its integral dual have the |
| 11 | specified doubled elementary divisors. The comparison retains the exact |
| 12 | integral form and constructs the finite discriminant group. -/ |
| 13 | |
| 14 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 15 | [NumberField.IsCMField E] {s : ℕ} {P : Datum.RankThreePELDatum E s} |
| 16 | {z : P.domain} (F : Fiber.ReferenceAnalyticFiber P z) |
| 17 | |
| 18 | def Fiber.ReferenceAnalyticFiber.integralLatticeEquiv : P.lattice ≃ₗ[ℤ] F.periodData.periodIntegerLattice := |
| 19 | F.latticeEquiv.toIntLinearEquiv |
| 20 | |
| 21 | theorem Fiber.ReferenceAnalyticFiber.lattice_rank : Module.finrank ℤ F.periodData.periodIntegerLattice = 2 * (3 * s) := by |
| 22 | rw [ZLattice.rank ℝ F.periodData.periodIntegerLattice] |
| 23 | change Module.finrank ℝ (Fin (3 * Fintype.card (Fin s)) → ℂ) = _ |
| 24 | simp only [Module.finrank_pi_fintype, Complex.finrank_real_complex, |
| 25 | Finset.sum_const, Finset.card_univ, Fintype.card_fin, smul_eq_mul] |
| 26 | omega |
| 27 | |
| 28 | def Fiber.ReferenceAnalyticFiber.latticeBasis : Module.Basis (Fin (2 * (3 * s))) ℤ F.periodData.periodIntegerLattice := by |
| 29 | let L := F.periodData.periodIntegerLattice |
| 30 | let : Module.Free ℤ L := ZLattice.module_free ℝ L |
| 31 | let : Module.Finite ℤ L := ZLattice.module_finite ℝ L |
| 32 | exact (Module.finBasis ℤ L).reindex (finCongr F.lattice_rank) |
| 33 | |
| 34 | def Fiber.ReferenceAnalyticFiber.dualLattice : Submodule ℤ (Fiber.ReferenceTangent s) := |
| 35 | LinearMap.BilinForm.dualSubmodule F.imaginaryForm F.periodData.periodIntegerLattice |
| 36 | |
| 37 | instance Fiber.ReferenceAnalyticFiber.dualLattice_discrete : DiscreteTopology F.dualLattice := |
| 38 | RepresentationTheory.Theta.Geometric.IntegralDualLattice.dualLattice_discrete _ F.latticeBasis _ F.imaginaryForm_nondegenerate |
| 39 | |
| 40 | instance Fiber.ReferenceAnalyticFiber.dualLattice_full : IsZLattice ℝ F.dualLattice := |
| 41 | RepresentationTheory.Theta.Geometric.IntegralDualLattice.dualLattice_full _ F.latticeBasis _ F.imaginaryForm_nondegenerate |
| 42 | |
| 43 | def Fiber.ReferenceAnalyticFiber.dualLatticeEquiv : F.dualLattice ≃ₗ[ℤ] (F.periodData.periodIntegerLattice →ₗ[ℤ] ℤ) := |
| 44 | RepresentationTheory.Theta.Geometric.IntegralDualLattice.integralDualLatticeEquiv _ F.latticeBasis _ F.imaginaryForm_nondegenerate |
| 45 | |
| 46 | def Fiber.ReferenceAnalyticFiber.dualReferenceEquiv : F.dualLattice ≃ₗ[ℤ] (P.lattice →ₗ[ℤ] ℤ) := |
| 47 | F.dualLatticeEquiv.trans F.integralLatticeEquiv.dualMap |
| 48 | |
| 49 | theorem Fiber.ReferenceAnalyticFiber.lattice_le_dual (hP : P.IsAdmissible) : F.periodData.periodIntegerLattice ≤ F.dualLattice := by |
| 50 | intro u hu v hv |
| 51 | obtain ⟨a, ha⟩ := F.integralLatticeEquiv.surjective ⟨u, hu⟩ |
| 52 | obtain ⟨b, hb⟩ := F.integralLatticeEquiv.surjective ⟨v, hv⟩ |
| 53 | have he := F.latticeEquiv_polarization hP a b |
| 54 | change F.imaginaryForm (F.integralLatticeEquiv a).val (F.integralLatticeEquiv b).val = |
| 55 | (P.integralForm a b : ℝ) at he |
| 56 | rw [ha, hb] at he |
| 57 | exact Submodule.mem_one.mpr ⟨P.integralForm a b, he.symm⟩ |
| 58 | |
| 59 | def Fiber.ReferenceAnalyticFiber.latticeDualInclusion (hP : P.IsAdmissible) : P.lattice →ₗ[ℤ] F.dualLattice where |
| 60 | toFun u := ⟨(F.integralLatticeEquiv u).val, |
| 61 | F.lattice_le_dual hP (F.integralLatticeEquiv u).property⟩ |
| 62 | map_add' u v := Subtype.ext (congrArg |
| 63 | (fun w : F.periodData.periodIntegerLattice => w.val) (map_add F.integralLatticeEquiv u v)) |
| 64 | map_smul' n u := Subtype.ext (congrArg |
| 65 | (fun w : F.periodData.periodIntegerLattice => w.val) (map_smul F.integralLatticeEquiv n u)) |
| 66 | |
| 67 | theorem Fiber.ReferenceAnalyticFiber.dualReferenceEquiv_inclusion (hP : P.IsAdmissible) (u : P.lattice) : |
| 68 | F.dualReferenceEquiv (F.latticeDualInclusion hP u) = P.integralForm u := by |
| 69 | ext v |
| 70 | apply Int.cast_injective (α := ℝ) |
| 71 | change (algebraMap ℤ ℝ) |
| 72 | (LinearMap.BilinForm.dualSubmoduleParing F.imaginaryForm |
| 73 | (F.latticeDualInclusion hP u) (F.integralLatticeEquiv v)) = _ |
| 74 | exact (LinearMap.BilinForm.dualSubmoduleParing_spec F.imaginaryForm |
| 75 | (F.latticeDualInclusion hP u) (F.integralLatticeEquiv v)).trans |
| 76 | (F.latticeEquiv_polarization hP u v) |
| 77 | |
| 78 | def Fiber.ReferenceAnalyticFiber.discriminantEquiv (hP : P.IsAdmissible) : |
| 79 | (F.dualLattice ⧸ (F.latticeDualInclusion hP).range) ≃ₗ[ℤ] |
| 80 | ((P.lattice →ₗ[ℤ] ℤ) ⧸ P.integralForm.range) := |
| 81 | Submodule.Quotient.equiv _ _ F.dualReferenceEquiv (by |
| 82 | rw [← LinearMap.range_comp] |
| 83 | congr 1 |
| 84 | ext u v |
| 85 | exact LinearMap.congr_fun (F.dualReferenceEquiv_inclusion hP u) v) |
| 86 | |
| 87 | theorem Fiber.ReferenceAnalyticFiber.discriminant_type (hP : P.IsAdmissible) : |
| 88 | Nonempty ((F.dualLattice ⧸ (F.latticeDualInclusion hP).range) ≃+ |
| 89 | ((∀ i : Fin (3 * s), ZMod (P.polarizationType i)) × |
| 90 | (∀ i : Fin (3 * s), ZMod (P.polarizationType i)))) := by |
| 91 | have h := hP |
| 92 | rcases h with ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, ht, _⟩ |
| 93 | exact ⟨(F.discriminantEquiv hP).toAddEquiv.trans ht.some⟩ |
| 94 | |
| 95 | theorem Fiber.ReferenceAnalyticFiber.discriminant_finite (hP : P.IsAdmissible) : |
| 96 | Finite (F.dualLattice ⧸ (F.latticeDualInclusion hP).range) := by |
| 97 | have h := hP |
| 98 | rcases h with ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, hpos, _⟩ |
| 99 | let (i : Fin (3 * s)) : NeZero (P.polarizationType i) := ⟨ne_of_gt (hpos i)⟩ |
| 100 | exact Finite.of_equiv _ (F.discriminant_type hP).some.toEquiv.symm |
| 101 | |
| 102 | theorem Fiber.ReferenceAnalyticFiber.dualLattice_bounded_denominator (hP : P.IsAdmissible) : |
| 103 | ∃ n : ℕ, 0 < n ∧ ∀ v : F.dualLattice, n • v.val ∈ F.periodData.periodIntegerLattice := by |
| 104 | let Q := F.dualLattice ⧸ (F.latticeDualInclusion hP).range |
| 105 | let := F.discriminant_finite hP |
| 106 | refine ⟨Nat.card Q, Nat.card_pos, ?_⟩ |
| 107 | intro v |
| 108 | have hz : (Submodule.Quotient.mk (Nat.card Q • v) : Q) = 0 := by |
| 109 | rw [Submodule.Quotient.mk_smul] |
| 110 | exact card_nsmul_eq_zero' |
| 111 | obtain ⟨u, hu⟩ := (Submodule.Quotient.mk_eq_zero _).mp hz |
| 112 | have hv := congrArg Subtype.val hu |
| 113 | change (F.integralLatticeEquiv u).val = Nat.card Q • v.val at hv |
| 114 | exact hv ▸ (F.integralLatticeEquiv u).property |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference |