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.HodgeConjecture.CMExtraction.SplitCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SplitLatticeProduct |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LatticeGenerators |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ScalarRangeCoordinates |
| 5 | |
| 6 | /-! # Split Lattice Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SplitLatticeCoordinates.TestTransport |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! In the retained integral basis, the split completion of the |
| 13 | original lattice is precisely the p-adically integral coordinate vectors. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | open _root_.Module |
| 18 | |
| 19 | variable (E : Type) [Field E] [NumberField E] [IsGalois ℚ E] |
| 20 | (q : ℕ) [Fact q.Prime] [Algebra E (Padic q)] [IsScalarTower ℚ E (Padic q)] |
| 21 | {S J : Type*} [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] |
| 22 | (σ : S ≃ (E →ₐ[ℚ] Padic q)) |
| 23 | (L : Submodule ℤ (Fin 3 → E)) [Submodule.IsLattice ℚ L] (b : Basis J ℤ L) |
| 24 | |
| 25 | omit [Fintype S] [DecidableEq S] in |
| 26 | theorem splitLabelCoordinates_lattice_basis (j : J) : |
| 27 | SplitCoordinates.TestTransport.splitLabelCoordinates E (Padic q) σ (b.extendOfIsLattice ℚ).equivFun |
| 28 | (fun v i => σ v ((b j).val i)) = Pi.single j 1 := by |
| 29 | rw [SplitCoordinates.TestTransport.splitLabelCoordinates_rational] |
| 30 | funext k |
| 31 | have h := (b.extendOfIsLattice ℚ).equivFun_self j k |
| 32 | rw [Basis.extendOfIsLattice_apply] at h |
| 33 | rw [h] |
| 34 | by_cases hjk : j = k |
| 35 | · subst k |
| 36 | simp |
| 37 | · simp [hjk, Ne.symm hjk] |
| 38 | |
| 39 | omit [Fintype S] [DecidableEq S] in |
| 40 | theorem splitLatticeImage_padic_coordinates (x : S → Fin 3 → Padic q) : |
| 41 | x ∈ SplitLatticeProduct.TestTransport.splitLatticeImage (R := PadicInt q) (fun v => (σ v).toRingHom) L ↔ |
| 42 | ∀ j, ‖SplitCoordinates.TestTransport.splitLabelCoordinates E (Padic q) σ (b.extendOfIsLattice ℚ).equivFun x j‖ ≤ 1 := by |
| 43 | let f : (Fin 3 → E) →+ (S → Fin 3 → Padic q) := |
| 44 | AddMonoidHom.pi (fun v => AddMonoidHom.pi (fun i => |
| 45 | (σ v).toAddMonoidHom.comp (Pi.evalAddMonoidHom (fun _ : Fin 3 => E) i))) |
| 46 | have hspan : Submodule.span (PadicInt q) (Set.range (fun j => f (b j).val)) = |
| 47 | SplitLatticeProduct.TestTransport.splitLatticeImage (R := PadicInt q) (fun v => (σ v).toRingHom) L := |
| 48 | LatticeGenerators.TestTransport.span_image_integral_basis (A := PadicInt q) L b f |
| 49 | rw [← hspan, ScalarRangeCoordinates.TestTransport.span_basis_scalar_coordinates |
| 50 | (SplitCoordinates.TestTransport.splitLabelCoordinates E (Padic q) σ (b.extendOfIsLattice ℚ).equivFun) (fun j => f (b j).val) |
| 51 | (splitLabelCoordinates_lattice_basis E q σ L b)] |
| 52 | apply forall_congr' |
| 53 | intro j |
| 54 | constructor |
| 55 | · rintro ⟨r, hr⟩ |
| 56 | exact hr ▸ r.property |
| 57 | · intro h |
| 58 | exact ⟨⟨_, h⟩, rfl⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SplitLatticeCoordinates.TestTransport |