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.ThetaCycle.PeriodTotal |
| 2 | |
| 3 | /-! # Complex Transition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ComplexTransition.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! ThetaCycle: the rational transition acts on the literal complex period coordinates. -/ |
| 10 | |
| 11 | open scoped Classical _root_.Matrix |
| 12 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM _root_.Module |
| 13 | |
| 14 | variable (K : IntermediateField ℚ ℂ) |
| 15 | [NumberField K] [NumberField.IsCMField K] |
| 16 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 17 | |
| 18 | abbrev TotalAmbient := Fin 2 → HeckeCycles.GeometricSource.CM.Ambient K |
| 19 | |
| 20 | def totalEmbedding (x : TransportNew.CM.TensorPositions K) : TotalAmbient K := |
| 21 | fun i => HeckeCycles.GeometricSource.CM.embeddingCoordinates K (fun j => x j i) |
| 22 | |
| 23 | def totalComplexCoordinates (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) : |
| 24 | TotalAmbient K ≃ₗ[ℂ] (Sum (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) → ℂ) := |
| 25 | (LinearEquiv.finTwoArrow ℂ (HeckeCycles.GeometricSource.CM.Ambient K)).trans <| |
| 26 | ((C 0).complex.prodCongr (C 1).complex).trans <| |
| 27 | (LinearEquiv.prodProdProdComm ℂ _ _ _ _).trans <| |
| 28 | ((LinearEquiv.sumArrowLequivProdArrow (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ ℂ).symm.prodCongr |
| 29 | (LinearEquiv.sumArrowLequivProdArrow (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ ℂ).symm).trans |
| 30 | (LinearEquiv.sumArrowLequivProdArrow (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) ℂ ℂ).symm |
| 31 | |
| 32 | theorem total_complex_coordinates_embedding (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 33 | (x : TransportNew.CM.TensorPositions K) : |
| 34 | totalComplexCoordinates K C (totalEmbedding K x) = |
| 35 | fun i => (PeriodTotal.CM.totalSymplecticCoordinates K C x i : ℂ) := by |
| 36 | funext i |
| 37 | rcases i with i | i <;> rcases i with i | i |
| 38 | · change ((C 0).complex (HeckeCycles.GeometricSource.CM.embeddingCoordinates K (fun j => x j 0))).1 i = _ |
| 39 | rw [(C 0).extends_rational] |
| 40 | rfl |
| 41 | · change ((C 1).complex (HeckeCycles.GeometricSource.CM.embeddingCoordinates K (fun j => x j 1))).1 i = _ |
| 42 | rw [(C 1).extends_rational] |
| 43 | rfl |
| 44 | · change ((C 0).complex (HeckeCycles.GeometricSource.CM.embeddingCoordinates K (fun j => x j 0))).2 i = _ |
| 45 | rw [(C 0).extends_rational] |
| 46 | rfl |
| 47 | · change ((C 1).complex (HeckeCycles.GeometricSource.CM.embeddingCoordinates K (fun j => x j 1))).2 i = _ |
| 48 | rw [(C 1).extends_rational] |
| 49 | rfl |
| 50 | |
| 51 | /-- Agreement on actual rational vectors determines a complex-linear map; |
| 52 | the supplied coordinate equivalences identify their scalar extension. -/ |
| 53 | theorem linear_maps_eq_of_rational_coordinates |
| 54 | {VQ VC I W : Type*} [AddCommGroup VQ] [Module ℚ VQ] |
| 55 | [AddCommGroup VC] [Module ℂ VC] [Fintype I] [DecidableEq I] |
| 56 | [AddCommGroup W] [Module ℂ W] |
| 57 | (cq : VQ ≃ₗ[ℚ] (I → ℚ)) (cc : VC ≃ₗ[ℂ] (I → ℂ)) (emb : VQ → VC) |
| 58 | (he : ∀ x, cc (emb x) = fun i => (cq x i : ℂ)) |
| 59 | (f g : VC →ₗ[ℂ] W) (h : ∀ x, f (emb x) = g (emb x)) : f = g := by |
| 60 | have hf : f.comp cc.symm.toLinearMap = g.comp cc.symm.toLinearMap := by |
| 61 | apply (Pi.basisFun ℂ I).ext |
| 62 | intro i |
| 63 | let x := cq.symm (Pi.single i 1) |
| 64 | have hx : cc (emb x) = Pi.single i 1 := by |
| 65 | rw [he] |
| 66 | change (fun j => (cq (cq.symm (Pi.single i 1)) j : ℂ)) = _ |
| 67 | rw [LinearEquiv.apply_symm_apply] |
| 68 | funext j |
| 69 | simp only [Pi.single_apply] |
| 70 | split_ifs <;> simp |
| 71 | have hu : cc.symm (Pi.single i 1) = emb x := by |
| 72 | apply cc.injective |
| 73 | rw [LinearEquiv.apply_symm_apply, hx] |
| 74 | simp only [Pi.basisFun_apply, LinearMap.comp_apply, LinearEquiv.coe_coe] |
| 75 | rw [hu] |
| 76 | exact h x |
| 77 | apply LinearMap.ext |
| 78 | intro u |
| 79 | have hu := LinearMap.congr_fun hf (cc u) |
| 80 | simpa only [LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.symm_apply_apply] using hu |
| 81 | |
| 82 | def complexTensorBasisChange (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) : |
| 83 | TotalAmbient K →ₗ[ℂ] TotalAmbient K where |
| 84 | toFun x i τ j := ∑ k : Fin 2, (τ (b k i) : ℂ) * x k τ j |
| 85 | map_add' x y := by |
| 86 | ext i τ j |
| 87 | simp only [Pi.add_apply, mul_add, Finset.sum_add_distrib] |
| 88 | map_smul' c x := by |
| 89 | ext i τ j |
| 90 | simp only [Pi.smul_apply, smul_eq_mul, Finset.mul_sum, RingHom.id_apply] |
| 91 | apply Finset.sum_congr rfl |
| 92 | intro k _ |
| 93 | ring |
| 94 | |
| 95 | omit [NumberField K] [NumberField.IsCMField K] in |
| 96 | theorem complex_tensor_basis_change_embedding |
| 97 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) (x : TransportNew.CM.TensorPositions K) : |
| 98 | complexTensorBasisChange K b (totalEmbedding K x) = |
| 99 | totalEmbedding K (TransportNew.CM.tensorBasisChange K b x) := by |
| 100 | funext i τ j |
| 101 | change (∑ k : Fin 2, (τ (b k i) : ℂ) * (τ (x j k) : ℂ)) = |
| 102 | (τ ((b.equivFun.symm (x j)) i) : ℂ) |
| 103 | rw [b.equivFun_symm_apply] |
| 104 | simp only [Finset.sum_apply, Pi.smul_apply, smul_eq_mul, map_sum, map_mul, |
| 105 | IntermediateField.coe_sum, IntermediateField.coe_mul] |
| 106 | apply Finset.sum_congr rfl |
| 107 | intro k _ |
| 108 | ring |
| 109 | |
| 110 | /-- The scalar extension of the rational matrix is exactly the change of |
| 111 | the actual complex coordinates induced by the same multiplicity basis. -/ |
| 112 | theorem total_basis_matrix_realizes_complex |
| 113 | (C D : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 114 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) (x : TotalAmbient K) : |
| 115 | (PeriodTotal.CM.totalBasisMatrix K C D b).map (algebraMap ℚ ℂ) *ᵥ totalComplexCoordinates K D x = |
| 116 | totalComplexCoordinates K C (complexTensorBasisChange K b x) := by |
| 117 | let f := (Matrix.toLin' ((PeriodTotal.CM.totalBasisMatrix K C D b).map (algebraMap ℚ ℂ))).comp |
| 118 | (totalComplexCoordinates K D).toLinearMap |
| 119 | let g := (totalComplexCoordinates K C).toLinearMap.comp (complexTensorBasisChange K b) |
| 120 | have hfg : f = g := by |
| 121 | apply linear_maps_eq_of_rational_coordinates |
| 122 | (PeriodTotal.CM.totalSymplecticCoordinates K D) (totalComplexCoordinates K D) |
| 123 | (totalEmbedding K) (total_complex_coordinates_embedding K D) |
| 124 | intro q |
| 125 | change (PeriodTotal.CM.totalBasisMatrix K C D b).map (algebraMap ℚ ℂ) *ᵥ |
| 126 | totalComplexCoordinates K D (totalEmbedding K q) = |
| 127 | totalComplexCoordinates K C (complexTensorBasisChange K b (totalEmbedding K q)) |
| 128 | rw [total_complex_coordinates_embedding, complex_tensor_basis_change_embedding, |
| 129 | total_complex_coordinates_embedding] |
| 130 | exact PeriodTotal.CM.total_basis_matrix_baseChange K (algebraMap ℚ ℂ) C D b q |
| 131 | exact LinearMap.congr_fun hfg x |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ComplexTransition.CM |