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.BettiFiltration |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SemilinearFiltrationT |
| 3 | |
| 4 | /-! # Betti Half Dimension -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BettiHalfDimension.BettiHodge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Complex conjugation exchanges the two actual degree-one Hodge pieces, so the first Hodge step has half the ambient dimension. -/ |
| 11 | |
| 12 | private theorem map_of_involutive {V : Type*} [AddCommGroup V] [Module ℂ V] |
| 13 | (e : V ≃ₛₗ[starRingEnd ℂ] V) (he : Function.Involutive e) |
| 14 | (P Q : Submodule ℂ V) (hP : ∀ x ∈ P, e x ∈ Q) (hQ : ∀ x ∈ Q, e x ∈ P) : |
| 15 | P.map e.toLinearMap = Q := by |
| 16 | ext x |
| 17 | constructor |
| 18 | · rintro ⟨y, hy, rfl⟩ |
| 19 | exact hP y hy |
| 20 | · intro hx |
| 21 | exact ⟨e x, hQ x hx, he x⟩ |
| 22 | |
| 23 | private theorem finrank_of_involutive {V : Type*} [AddCommGroup V] [Module ℂ V] |
| 24 | [FiniteDimensional ℂ V] |
| 25 | (e : V ≃ₛₗ[starRingEnd ℂ] V) (he : Function.Involutive e) |
| 26 | (P Q : Submodule ℂ V) (hP : ∀ x ∈ P, e x ∈ Q) (hQ : ∀ x ∈ Q, e x ∈ P) : |
| 27 | Module.finrank ℂ Q = Module.finrank ℂ P := by |
| 28 | have hm := map_of_involutive e he P Q hP hQ |
| 29 | have hd := SemilinearFiltrationT.SemilinearFiltration.finrank (starRingAut (R := ℂ)) (e.submoduleMap P) |
| 30 | rw [hm] at hd |
| 31 | exact hd |
| 32 | |
| 33 | theorem degreeOne_isCompl (X : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) : |
| 34 | IsCompl (X.pureBettiSubspace 1 0) (X.pureBettiSubspace 0 1) := by |
| 35 | let i : Analysis.HodgeTheory.Decomposition.Core.Constructions.Bidegree 1 := ⟨(1, 0), rfl⟩ |
| 36 | let j : Analysis.HodgeTheory.Decomposition.Core.Constructions.Bidegree 1 := ⟨(0, 1), rfl⟩ |
| 37 | have hij : i ≠ j := by decide |
| 38 | have hall : (Set.univ : Set (Analysis.HodgeTheory.Decomposition.Core.Constructions.Bidegree 1)) = {i, j} := by |
| 39 | ext t |
| 40 | simp only [Set.mem_univ, Set.mem_insert_iff, Set.mem_singleton_iff, true_iff] |
| 41 | have ht := t.property |
| 42 | by_cases h : t.val.1 = 1 |
| 43 | · left |
| 44 | apply Subtype.ext |
| 45 | apply Prod.ext <;> dsimp [i] <;> omega |
| 46 | · right |
| 47 | apply Subtype.ext |
| 48 | apply Prod.ext <;> dsimp [j] <;> omega |
| 49 | exact DirectSum.IsInternal.isCompl (A := Analysis.HodgeTheory.Decomposition.Core.Constructions.hodgePiece X 1) hij hall |
| 50 | (Analysis.HodgeTheory.Decomposition.Constructions.hodge_decomposition_and_filtration X 1).1 |
| 51 | |
| 52 | theorem hodgePiece_conjugate_finrank (X : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) |
| 53 | [FiniteDimensional ℂ (X.complexCohomology n)] (i : Analysis.HodgeTheory.Decomposition.Core.Constructions.Bidegree n) : |
| 54 | Module.finrank ℂ (Analysis.HodgeTheory.Decomposition.Core.Constructions.hodgePiece X n (Analysis.HodgeTheory.Decomposition.Core.Constructions.swapBidegree i)) = Module.finrank ℂ (Analysis.HodgeTheory.Decomposition.Core.Constructions.hodgePiece X n i) := by |
| 55 | let e : X.complexCohomology n ≃ₛₗ[starRingEnd ℂ] X.complexCohomology n := |
| 56 | LinearEquiv.ofBijective (Analysis.HodgeTheory.Decomposition.Core.Constructions.bettiConjugation X n) (Analysis.HodgeTheory.Decomposition.Core.Constructions.bettiConjugation_involutive X n).bijective |
| 57 | apply finrank_of_involutive e (Analysis.HodgeTheory.Decomposition.Core.Constructions.bettiConjugation_involutive X n) |
| 58 | (Analysis.HodgeTheory.Decomposition.Core.Constructions.hodgePiece X n i) (Analysis.HodgeTheory.Decomposition.Core.Constructions.hodgePiece X n (Analysis.HodgeTheory.Decomposition.Core.Constructions.swapBidegree i)) |
| 59 | · exact Analysis.HodgeTheory.Decomposition.Core.Constructions.bettiConjugation_mem_swap X n i |
| 60 | · intro x hx |
| 61 | change Analysis.HodgeTheory.Decomposition.Core.Constructions.bettiConjugation X n x ∈ Analysis.HodgeTheory.Decomposition.Core.Constructions.hodgePiece X n i |
| 62 | have h := Analysis.HodgeTheory.Decomposition.Core.Constructions.bettiConjugation_mem_swap X n (Analysis.HodgeTheory.Decomposition.Core.Constructions.swapBidegree i) x hx |
| 63 | rw [Analysis.HodgeTheory.Decomposition.Core.Constructions.swapBidegree_involutive] at h |
| 64 | exact h |
| 65 | |
| 66 | theorem degreeOne_conjugate_finrank (X : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 67 | [FiniteDimensional ℂ (X.complexCohomology 1)] : |
| 68 | Module.finrank ℂ (X.pureBettiSubspace 0 1) = Module.finrank ℂ (X.pureBettiSubspace 1 0) := by |
| 69 | have h := hodgePiece_conjugate_finrank X 1 ⟨(1, 0), rfl⟩ |
| 70 | dsimp only [Analysis.HodgeTheory.Decomposition.Core.Constructions.hodgePiece, Analysis.HodgeTheory.Decomposition.Core.Constructions.swapBidegree] at h |
| 71 | convert h using 1 <;> rfl |
| 72 | |
| 73 | theorem degreeOne_half_dimension (X : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 74 | [FiniteDimensional ℂ (X.complexCohomology 1)] : |
| 75 | 2 * Module.finrank ℂ (X.pureBettiSubspace 1 0) = |
| 76 | Module.finrank ℂ (X.complexCohomology 1) := by |
| 77 | have hs := Submodule.finrank_add_eq_of_isCompl (degreeOne_isCompl X) |
| 78 | change Module.finrank ℂ (X.pureBettiSubspace 1 0) + Module.finrank ℂ (X.pureBettiSubspace 0 1) = |
| 79 | Module.finrank ℂ (X.complexCohomology 1) at hs |
| 80 | have hd := degreeOne_conjugate_finrank X |
| 81 | omega |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BettiHalfDimension.BettiHodge |