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.PadicHodge.GeometricComparison.FiltrationBounds |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FilteredImageDimension |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ProductKernel |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.KernelImageDeterminant |
| 5 | import OAI.NumberTheory.PadicHodge.FilteredProjection |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SplitFiltration |
| 7 | |
| 8 | /-! # Weak Admissibility Product -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.WeakAdmissibilityProduct |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Weak admissibility in degrees zero and one is preserved by products, testing every stable subspace. -/ |
| 15 | |
| 16 | variable {q : ℕ} [Fact q.Prime] |
| 17 | {V W : Type*} [AddCommGroup V] [Module ℚ_[q] V] [FiniteDimensional ℚ_[q] V] |
| 18 | [AddCommGroup W] [Module ℚ_[q] W] [FiniteDimensional ℚ_[q] W] |
| 19 | |
| 20 | theorem weaklyAdmissible_product_h1 |
| 21 | (F : Linear.FiniteFiltration ℚ_[q] V) (G : Linear.FiniteFiltration ℚ_[q] W) |
| 22 | (φ : V ≃ₗ[ℚ_[q]] V) (ψ : W ≃ₗ[ℚ_[q]] W) |
| 23 | (hF : Linear.WeaklyAdmissible q F φ) (hG : Linear.WeaklyAdmissible q G ψ) |
| 24 | (hF0 : F.step 0 = ⊤) (hF2 : F.step 2 = ⊥) |
| 25 | (hG0 : G.step 0 = ⊤) (hG2 : G.step 2 = ⊥) : |
| 26 | Linear.WeaklyAdmissible q (ProductFiltration.FiltrationTransport.product F G) (φ.prodCongr ψ) := by |
| 27 | constructor |
| 28 | · rw [ProductFiltration.FiltrationTransport.product_tH, hF.1, hG.1] |
| 29 | change _ = (Padic.valuation (LinearMap.prodMap φ.toLinearMap ψ.toLinearMap).det : ℚ) |
| 30 | rw [LinearMap.det_prodMap, Padic.valuation_mul φ.isUnit_det'.ne_zero ψ.isUnit_det'.ne_zero, Int.cast_add] |
| 31 | · intro U hU |
| 32 | let φU := FilteredProjection.GeometricComparison.FiltrationTransport.invariantRestriction (φ.prodCongr ψ) U hU |
| 33 | let f := ProductKernel.ProductSubspace.second U |
| 34 | let A := ProductKernel.ProductSubspace.first U |
| 35 | have hf : ∀ x, f (φU x) = ψ (f x) := fun _ => rfl |
| 36 | have hA : A ≤ A.comap φ.toLinearMap := ProductKernel.ProductSubspace.first_stable φ.toLinearMap ψ.toLinearMap U hU |
| 37 | have hB := KernelImageDeterminant.FiltrationTransport.intertwining_range_stable φU.toLinearMap ψ.toLinearMap f hf |
| 38 | have hAineq := hF.2 A hA |
| 39 | have hBineq := hG.2 f.range hB |
| 40 | rw [FirstHodgeNumber.FiltrationTransport.tH_h1 _ (FiltrationBounds.FiltrationTransport.restrict_top F A 0 hF0) (FiltrationBounds.FiltrationTransport.restrict_bot F A 2 hF2), SplitFiltration.FiltrationTransport.restrict_step_finrank] at hAineq |
| 41 | rw [FirstHodgeNumber.FiltrationTransport.tH_h1 _ (FiltrationBounds.FiltrationTransport.restrict_top G f.range 0 hG0) (FiltrationBounds.FiltrationTransport.restrict_bot G f.range 2 hG2), SplitFiltration.FiltrationTransport.restrict_step_finrank] at hBineq |
| 42 | have hN := KernelImageDeterminant.FiltrationTransport.kernel_image_newton φU ψ.toLinearMap f hf |
| 43 | let eK : f.ker ≃ₗ[ℚ_[q]] A := ProductKernel.ProductSubspace.kernelEquiv U |
| 44 | let TK : Module.End ℚ_[q] f.ker := |
| 45 | φU.toLinearMap.restrict (KernelImageDeterminant.FiltrationTransport.intertwining_kernel_stable φU.toLinearMap ψ.toLinearMap f hf) |
| 46 | have heK : ∀ x : f.ker, eK (TK x) = (φ.toLinearMap.restrict hA) (eK x) := by |
| 47 | intro x |
| 48 | apply Subtype.ext |
| 49 | change φ x.1.1.1 = φ x.1.1.1 |
| 50 | rfl |
| 51 | have hdet := (WeakAdmissibilityTransport.FiltrationTransport.det_eq_of_intertwines |
| 52 | (R := ℚ_[q]) (D := f.ker) (E := A) eK TK (φ.toLinearMap.restrict hA) heK).symm |
| 53 | rw [hdet] at hN |
| 54 | let P := ((F.step 1).prod (G.step 1)).comap U.subtype |
| 55 | have hdim := FilteredImageDimension.FiltrationTransport.filtered_image_dimension f P (G.step 1) |
| 56 | (ProductKernel.ProductSubspace.second_filtered U (F.step 1) (G.step 1)) |
| 57 | rw [(ProductKernel.ProductSubspace.filteredKernelEquiv U (F.step 1) (G.step 1)).finrank_eq] at hdim |
| 58 | have hdimQ : (Module.finrank ℚ_[q] P : ℚ) ≤ |
| 59 | (Module.finrank ℚ_[q] (A ⊓ F.step 1 : Submodule ℚ_[q] V) : ℚ) + |
| 60 | (Module.finrank ℚ_[q] (f.range ⊓ G.step 1 : Submodule ℚ_[q] W) : ℚ) := by |
| 61 | exact_mod_cast hdim |
| 62 | rw [FirstHodgeNumber.FiltrationTransport.tH_h1 _ (FiltrationBounds.FiltrationTransport.restrict_top (ProductFiltration.FiltrationTransport.product F G) U 0 (FiltrationBounds.FiltrationTransport.product_top F G 0 hF0 hG0)) |
| 63 | (FiltrationBounds.FiltrationTransport.restrict_bot (ProductFiltration.FiltrationTransport.product F G) U 2 (FiltrationBounds.FiltrationTransport.product_bot F G 2 hF2 hG2))] |
| 64 | change (Module.finrank ℚ_[q] P : ℚ) ≤ (Padic.valuation φU.toLinearMap.det : ℚ) |
| 65 | linarith |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.WeakAdmissibilityProduct |