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.TateComparison.Duality |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LatticeTransport |
| 3 | |
| 4 | /-! # Relative Position Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Linear coordinate changes preserve full lattices and their actual |
| 11 | simultaneous-basis relative positions. -/ |
| 12 | |
| 13 | variable {R K : Type*} [CommRing R] [Field K] [Algebra R K] |
| 14 | |
| 15 | def rankThreeLatticeEquiv (e : (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) : |
| 16 | Duality.RankThreeLattice R K ≃ Duality.RankThreeLattice R K := |
| 17 | (Submodule.orderIsoMapComap (e.restrictScalars R)).toEquiv.subtypeEquiv fun L => by |
| 18 | constructor |
| 19 | · intro h |
| 20 | have : Submodule.IsLattice K L := h |
| 21 | exact LatticeTransport.isLattice_map_surjective L e.toLinearMap e.surjective |
| 22 | · intro h |
| 23 | have : Submodule.IsLattice K (L.map (e.toLinearMap.restrictScalars R)) := h |
| 24 | have hL := LatticeTransport.isLattice_comap_equiv (L.map (e.toLinearMap.restrictScalars R)) e |
| 25 | rw [Submodule.comap_map_eq_of_injective |
| 26 | (f := e.toLinearMap.restrictScalars R) e.injective] at hL |
| 27 | exact hL |
| 28 | |
| 29 | theorem rankThreeLatticeEquiv_val (e : (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) |
| 30 | (L : Duality.RankThreeLattice R K) : |
| 31 | (rankThreeLatticeEquiv e L).val = L.val.map (e.toLinearMap.restrictScalars R) := rfl |
| 32 | |
| 33 | theorem map_basis_span (e : (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) |
| 34 | (b : Module.Basis (Fin 3) K (Fin 3 → K)) : |
| 35 | (Submodule.span R (Set.range b)).map (e.toLinearMap.restrictScalars R) = |
| 36 | Submodule.span R (Set.range (b.map e)) := by |
| 37 | rw [Submodule.map_span, ← Set.range_comp] |
| 38 | rfl |
| 39 | |
| 40 | theorem map_scaled_basis_span (e : (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) |
| 41 | (b : Module.Basis (Fin 3) K (Fin 3 → K)) (c : Fin 3 → K) : |
| 42 | (Submodule.span R (Set.range fun i => c i • b i)).map (e.toLinearMap.restrictScalars R) = |
| 43 | Submodule.span R (Set.range fun i => c i • (b.map e) i) := by |
| 44 | rw [Submodule.map_span, ← Set.range_comp] |
| 45 | congr 2 |
| 46 | funext i |
| 47 | exact e.map_smul (c i) (b i) |
| 48 | |
| 49 | theorem relativePosition_map (e : (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) |
| 50 | (π : R) (a : Fin 3 → ℤ) (L M : Duality.RankThreeLattice R K) |
| 51 | (h : Duality.RelativePosition π a L M) : |
| 52 | Duality.RelativePosition π a (rankThreeLatticeEquiv e L) (rankThreeLatticeEquiv e M) := by |
| 53 | obtain ⟨b, hL, hM⟩ := h |
| 54 | refine ⟨b.map e, ?_, ?_⟩ |
| 55 | · rw [rankThreeLatticeEquiv_val, hL, map_basis_span] |
| 56 | · rw [rankThreeLatticeEquiv_val, hM, map_scaled_basis_span] |
| 57 | |
| 58 | theorem rankThreeLatticeEquiv_symm_apply (e : (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) |
| 59 | (L : Duality.RankThreeLattice R K) : |
| 60 | rankThreeLatticeEquiv e.symm (rankThreeLatticeEquiv e L) = L := by |
| 61 | apply Subtype.ext |
| 62 | rw [rankThreeLatticeEquiv_val, rankThreeLatticeEquiv_val] |
| 63 | change (L.val.map (e.restrictScalars R).toLinearMap).map |
| 64 | (e.restrictScalars R).symm.toLinearMap = L.val |
| 65 | rw [Submodule.map_equiv_eq_comap_symm, LinearEquiv.symm_symm, Submodule.comap_map_eq_of_injective |
| 66 | (e.restrictScalars R).injective] |
| 67 | |
| 68 | theorem relativePosition_map_iff (e : (Fin 3 → K) ≃ₗ[K] (Fin 3 → K)) |
| 69 | (π : R) (a : Fin 3 → ℤ) (L M : Duality.RankThreeLattice R K) : |
| 70 | Duality.RelativePosition π a (rankThreeLatticeEquiv e L) (rankThreeLatticeEquiv e M) ↔ |
| 71 | Duality.RelativePosition π a L M := by |
| 72 | constructor |
| 73 | · intro h |
| 74 | have h' := relativePosition_map e.symm π a _ _ h |
| 75 | simpa only [rankThreeLatticeEquiv_symm_apply] using h' |
| 76 | · exact relativePosition_map e π a L M |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePositionTransport |