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.AbelianScheme.IsogenyQuotient.CM.PointsTateBlocks |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Lattices |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Isogeny |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LatticeTransport |
| 5 | |
| 6 | /-! # Points Frame Lattice -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsFrameLattice.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | An action-compatible rational frame identifies each actual integral |
| 14 | CMPoints Tate block with the projected source lattice. Fullness of the source |
| 15 | lattice then constructs a rank-three integral basis of that block. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 20 | |
| 21 | variable {E L : Type} [Field E] [NumberField E] [IsGalois ℚ E] |
| 22 | [Field L] [NumberField L] {κ : L →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 23 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice L κ q) (iota : E →+* L) (hsplit : j.HasSplitCoordinates iota) |
| 24 | {S : Scheme} {g N : ℕ} (T : Over S) |
| 25 | (F : TateComparison.PEL.PELFamilyData (NumberField.RingOfIntegers E) g N S) |
| 26 | (frame : TateComparison.Rational.rationalTateModule F.abelian.scheme T q ≃ₗ[ℚ_[q]] (Fin 3 → Gal(E/ℚ) → ℚ_[q])) |
| 27 | (hf : ∀ (a : NumberField.RingOfIntegers E) (z : TateComparison.Rational.rationalTateModule F.abelian.scheme T q) |
| 28 | (i : Fin 3) (τ : Gal(E/ℚ)), |
| 29 | frame (TateComparison.Rational.rationalTateMap (T := T) (q := q) (TateComparison.End.endSchemeMap F.abelian.scheme (F.action a)) z) i τ = |
| 30 | (j.localCharacter iota τ a : ℚ_[q]) * frame z i τ) |
| 31 | |
| 32 | def l45IntegralFrameCoordinate (i : Fin 3) (τ : Gal(E/ℚ)) : |
| 33 | TateComparison.Add.schemeTateModule F.abelian.scheme T q →ₗ[ℤ_[q]] ℚ_[q] := |
| 34 | ((LinearMap.proj τ).comp ((LinearMap.proj i).comp (frame.restrictScalars ℤ_[q]).toLinearMap)).comp |
| 35 | (TensorProduct.mk ℤ_[q] ℚ_[q] (TateComparison.Add.schemeTateModule F.abelian.scheme T q) 1) |
| 36 | |
| 37 | omit [IsGalois ℚ E] in |
| 38 | include hf in |
| 39 | theorem l45IntegralFrameCoordinate_action (a : NumberField.RingOfIntegers E) |
| 40 | (x : TateComparison.Add.schemeTateModule F.abelian.scheme T q) (i : Fin 3) (τ : Gal(E/ℚ)) : |
| 41 | l45IntegralFrameCoordinate T F frame i τ (TateComparison.TateAction.tateIntegralAction T q F a x) = |
| 42 | j.localCharacter iota τ a • l45IntegralFrameCoordinate T F frame i τ x := by |
| 43 | have hx := hf a (1 ⊗ₜ[ℤ_[q]] x) i τ |
| 44 | rw [TateComparison.Lattices.rationalTateMap_integral] at hx |
| 45 | change frame (1 ⊗ₜ[ℤ_[q]] (TateComparison.TateAction.tateEndMap F.abelian.scheme T q (F.action a)) x) i τ = _ |
| 46 | rw [TateComparison.TateAction.tateEndMap_eq_schemeTateMap] |
| 47 | exact hx |
| 48 | |
| 49 | omit [IsGalois ℚ E] in |
| 50 | include hf in |
| 51 | theorem l45IntegralFrameCoordinate_completed (a : ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) |
| 52 | (x : TateComparison.Add.schemeTateModule F.abelian.scheme T q) (i : Fin 3) (τ : Gal(E/ℚ)) : |
| 53 | l45IntegralFrameCoordinate T F frame i τ (TateComparison.TateAction.tateCompletedAction T q F a x) = |
| 54 | SplitCompletion.Construction.l45CompletionMap j iota a τ • l45IntegralFrameCoordinate T F frame i τ x := by |
| 55 | induction a using TensorProduct.inductionOn with |
| 56 | | tmul z r => |
| 57 | rw [TateComparison.TateAction.tateCompletedAction_tmul] |
| 58 | change l45IntegralFrameCoordinate T F frame i τ (z • TateComparison.TateAction.tateIntegralAction T q F r x) = |
| 59 | (z * j.localCharacter iota τ r) • l45IntegralFrameCoordinate T F frame i τ x |
| 60 | rw [map_smul, l45IntegralFrameCoordinate_action j iota T F frame hf, mul_smul] |
| 61 | | add a b ha hb => |
| 62 | rw [map_add, LinearMap.add_apply, map_add, ha, hb, map_add] |
| 63 | exact (add_smul _ _ _).symm |
| 64 | |
| 65 | include hf in |
| 66 | theorem l45IntegralFrameCoordinate_split (a : Gal(E/ℚ) → ℤ_[q]) |
| 67 | (x : TateComparison.Add.schemeTateModule F.abelian.scheme T q) (i : Fin 3) (τ : Gal(E/ℚ)) : |
| 68 | l45IntegralFrameCoordinate T F frame i τ (PointsTateBlocks.Construction.l45SplitTateAction j iota hsplit T F a x) = |
| 69 | a τ • l45IntegralFrameCoordinate T F frame i τ x := by |
| 70 | have hx := l45IntegralFrameCoordinate_completed j iota T F frame hf |
| 71 | ((SplitCompletion.Construction.l45CompletionEquiv j iota hsplit).symm a) x i τ |
| 72 | change l45IntegralFrameCoordinate T F frame i τ (PointsTateBlocks.Construction.l45SplitTateAction j iota hsplit T F a x) = |
| 73 | SplitCompletion.Construction.l45CompletionEquiv j iota hsplit ((SplitCompletion.Construction.l45CompletionEquiv j iota hsplit).symm a) τ • |
| 74 | l45IntegralFrameCoordinate T F frame i τ x at hx |
| 75 | rwa [AlgEquiv.apply_symm_apply] at hx |
| 76 | |
| 77 | include hf in |
| 78 | theorem l45IntegralFrameCoordinate_off_block {υ τ : Gal(E/ℚ)} (hυ : υ ≠ τ) |
| 79 | (x : PointsTateBlocks.Construction.l45IntegralTateBlock j iota hsplit T F υ) (i : Fin 3) : |
| 80 | frame (1 ⊗ₜ[ℤ_[q]] x.val) i τ = 0 := by |
| 81 | classical |
| 82 | have hx := l45IntegralFrameCoordinate_split j iota hsplit T F frame hf (Pi.single υ 1) x.val i τ |
| 83 | rw [← TateComparison.ProductActionDecomposition.ProductAction.projector_eq_single, |
| 84 | TateComparison.ProductActionDecomposition.ProductAction.projector_on_block (PointsTateBlocks.Construction.l45SplitTateAction j iota hsplit T F) υ x, |
| 85 | Pi.single_eq_of_ne hυ.symm, zero_smul] at hx |
| 86 | exact hx |
| 87 | |
| 88 | def l45FrameBlockProjection (τ : Gal(E/ℚ)) : (Fin 3 → Gal(E/ℚ) → ℚ_[q]) →ₗ[ℚ_[q]] (Fin 3 → ℚ_[q]) := |
| 89 | LinearMap.pi fun i => (LinearMap.proj τ : (Gal(E/ℚ) → ℚ_[q]) →ₗ[ℚ_[q]] ℚ_[q]).comp |
| 90 | (LinearMap.proj i : (Fin 3 → Gal(E/ℚ) → ℚ_[q]) →ₗ[ℚ_[q]] (Gal(E/ℚ) → ℚ_[q])) |
| 91 | |
| 92 | def l45FramedSourceLattice (τ : Gal(E/ℚ)) : Submodule ℤ_[q] (Fin 3 → ℚ_[q]) := |
| 93 | ((TateComparison.Rational.integralTateImage F.abelian.scheme T q).map (frame.restrictScalars ℤ_[q]).toLinearMap).map |
| 94 | ((l45FrameBlockProjection (q := q) τ).restrictScalars ℤ_[q]) |
| 95 | |
| 96 | omit [IsGalois ℚ E] in |
| 97 | theorem l45FramedSourceLattice_isLattice |
| 98 | [Submodule.IsLattice ℚ_[q] (TateComparison.Rational.integralTateImage F.abelian.scheme T q)] (τ : Gal(E/ℚ)) : |
| 99 | Submodule.IsLattice ℚ_[q] (l45FramedSourceLattice T F frame τ) := by |
| 100 | have : Submodule.IsLattice ℚ_[q] |
| 101 | ((TateComparison.Rational.integralTateImage F.abelian.scheme T q).map (frame.restrictScalars ℤ_[q]).toLinearMap) := |
| 102 | TateComparison.LatticeTransport.isLattice_map_surjective (TateComparison.Rational.integralTateImage F.abelian.scheme T q) frame.toLinearMap frame.surjective |
| 103 | exact TateComparison.LatticeTransport.isLattice_map_surjective _ (l45FrameBlockProjection (q := q) τ) |
| 104 | (fun z => ⟨fun i _ => z i, rfl⟩) |
| 105 | |
| 106 | def l45FramedSourceBlockMap (τ : Gal(E/ℚ)) : |
| 107 | PointsTateBlocks.Construction.l45IntegralTateBlock j iota hsplit T F τ →ₗ[ℤ_[q]] (Fin 3 → ℚ_[q]) := |
| 108 | LinearMap.pi fun i => (l45IntegralFrameCoordinate T F frame i τ).comp |
| 109 | (PointsTateBlocks.Construction.l45IntegralTateBlock j iota hsplit T F τ).subtype |
| 110 | |
| 111 | include hf in |
| 112 | theorem l45FramedSourceBlockMap_injective (τ : Gal(E/ℚ)) : |
| 113 | Function.Injective (l45FramedSourceBlockMap j iota hsplit T F frame τ) := by |
| 114 | intro x y hxy |
| 115 | apply Subtype.ext |
| 116 | apply TateComparison.Isogeny.Tate.integralEmbedding_injective q |
| 117 | change 1 ⊗ₜ[ℤ_[q]] x.val = 1 ⊗ₜ[ℤ_[q]] y.val |
| 118 | apply frame.injective |
| 119 | funext i υ |
| 120 | by_cases h : υ = τ |
| 121 | · subst υ |
| 122 | exact congrFun hxy i |
| 123 | · rw [l45IntegralFrameCoordinate_off_block j iota hsplit T F frame hf (Ne.symm h) x i, |
| 124 | l45IntegralFrameCoordinate_off_block j iota hsplit T F frame hf (Ne.symm h) y i] |
| 125 | |
| 126 | include hf in |
| 127 | theorem l45FramedSourceBlockMap_range (τ : Gal(E/ℚ)) : |
| 128 | (l45FramedSourceBlockMap j iota hsplit T F frame τ).range = l45FramedSourceLattice T F frame τ := by |
| 129 | classical |
| 130 | ext z |
| 131 | constructor |
| 132 | · rintro ⟨x, rfl⟩ |
| 133 | exact ⟨frame (1 ⊗ₜ[ℤ_[q]] x.val), ⟨1 ⊗ₜ[ℤ_[q]] x.val, ⟨x.val, rfl⟩, rfl⟩, rfl⟩ |
| 134 | · rintro ⟨_, ⟨_, ⟨x, rfl⟩, rfl⟩, rfl⟩ |
| 135 | let y : PointsTateBlocks.Construction.l45IntegralTateBlock j iota hsplit T F τ := |
| 136 | ⟨TateComparison.ProductActionDecomposition.ProductAction.projector (PointsTateBlocks.Construction.l45SplitTateAction j iota hsplit T F) τ x, ⟨x, rfl⟩⟩ |
| 137 | refine ⟨y, ?_⟩ |
| 138 | funext i |
| 139 | have hx := l45IntegralFrameCoordinate_split j iota hsplit T F frame hf (Pi.single τ 1) x i τ |
| 140 | rw [← TateComparison.ProductActionDecomposition.ProductAction.projector_eq_single, Pi.single_eq_same, one_smul] at hx |
| 141 | exact hx |
| 142 | |
| 143 | def l45FramedSourceBlockEquiv (τ : Gal(E/ℚ)) : |
| 144 | PointsTateBlocks.Construction.l45IntegralTateBlock j iota hsplit T F τ ≃ₗ[ℤ_[q]] l45FramedSourceLattice T F frame τ := |
| 145 | (LinearEquiv.ofInjective (l45FramedSourceBlockMap j iota hsplit T F frame τ) |
| 146 | (l45FramedSourceBlockMap_injective j iota hsplit T F frame hf τ)).trans |
| 147 | (LinearEquiv.ofEq _ _ (l45FramedSourceBlockMap_range j iota hsplit T F frame hf τ)) |
| 148 | |
| 149 | def l45TateBlockBasisOfFrame |
| 150 | [Submodule.IsLattice ℚ_[q] (TateComparison.Rational.integralTateImage F.abelian.scheme T q)] (τ : Gal(E/ℚ)) : |
| 151 | Module.Basis (Fin 3) ℤ_[q] (PointsTateBlocks.Construction.l45IntegralTateBlock j iota hsplit T F τ) := by |
| 152 | have := l45FramedSourceLattice_isLattice T F frame τ |
| 153 | have hr : Module.finrank ℤ_[q] (l45FramedSourceLattice T F frame τ) = 3 := by |
| 154 | simpa using Submodule.IsLattice.finrank_of_pi ℚ_[q] (l45FramedSourceLattice T F frame τ) |
| 155 | exact (Module.finBasisOfFinrankEq ℤ_[q] (l45FramedSourceLattice T F frame τ) hr).map |
| 156 | (l45FramedSourceBlockEquiv j iota hsplit T F frame hf τ).symm |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsFrameLattice.Construction |