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.Coordinates |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.Realization |
| 3 | |
| 4 | /-! # Pair Switches -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.PairSwitches |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Unconditional PairSwitches, with the manuscript's coordinate and H¹ interfaces |
| 12 | |
| 13 | The historical theorem has exactly its committed type and now composes the |
| 14 | proved RiemannProjectivity realization theorem. The native strengthening below also records |
| 15 | one-coordinate transpositions and the realized embedding signs in actual H¹. |
| 16 | The original statement and conditional proof are preserved in their files. |
| 17 | -/ |
| 18 | |
| 19 | open scoped BigOperators |
| 20 | |
| 21 | namespace CM |
| 22 | |
| 23 | /-- PairSwitches: balanced lists are connected by pair switches through |
| 24 | odd CM types, with every intermediate type admitting realization. -/ |
| 25 | theorem connectivity_by_pair_switches |
| 26 | (E : IntermediateField ℚ ℂ) |
| 27 | [NumberField E] |
| 28 | [IsGalois ℚ E] |
| 29 | [NumberField.IsCMField E] |
| 30 | (p : ℕ) |
| 31 | (v w : Fin p → |
| 32 | ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 33 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 34 | (hbalance : ∀ τ : Gal(E/ℚ), |
| 35 | (∑ i : Fin p, ComplexMultiplication.SignSwitch.CM.signValue ((v i).val τ)) = |
| 36 | ∑ i : Fin p, ComplexMultiplication.SignSwitch.CM.signValue ((w i).val τ)) : |
| 37 | ∃ (n : ℕ) |
| 38 | (path : Fin (n + 1) → Fin p → |
| 39 | ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 40 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)), |
| 41 | path 0 = v ∧ |
| 42 | path (Fin.last n) = w ∧ |
| 43 | (∀ k : Fin n, |
| 44 | ComplexMultiplication.OddSignSwitch.CM.OddFourFactorSwitch (path k.castSucc) (path k.succ)) ∧ |
| 45 | (∀ (k : Fin (n + 1)) (i : Fin p), |
| 46 | Nonempty |
| 47 | (ComplexMultiplication.CMKnownResults.CM.HodgeRealization |
| 48 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (path k i)))) := by |
| 49 | exact Coordinates.PairSwitches.connectivity_by_pair_switches E |
| 50 | (Geometry.ComplexTorus.RiemannProjectivity.Realization.CM.realization_of_cm_sign_type E) p v w hbalance |
| 51 | |
| 52 | end CM |
| 53 | |
| 54 | open OAI.AlgebraicGeometry.HodgeConjecture.PairSwitches.CM |
| 55 | |
| 56 | /-- The realized embedding vectors have precisely the prescribed native H¹ types. -/ |
| 57 | theorem realized_embedding_types |
| 58 | (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] |
| 59 | [NumberField.IsCMField E] |
| 60 | (u : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 61 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 62 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) : |
| 63 | (∀ τ : Gal(E/ℚ), |
| 64 | R.comparison.toLinearMap.baseChange ℂ |
| 65 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E τ)) ∈ |
| 66 | R.abelianVariety.h1Holomorphic ↔ u.val τ = true) ∧ |
| 67 | (∀ τ : Gal(E/ℚ), |
| 68 | R.comparison.toLinearMap.baseChange ℂ |
| 69 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E τ)) ∈ |
| 70 | R.abelianVariety.h1Antiholomorphic ↔ u.val τ = false) := by |
| 71 | constructor |
| 72 | · intro τ |
| 73 | exact (R.holomorphic _).trans (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure_holomorphic E u τ) |
| 74 | · intro τ |
| 75 | exact (R.antiholomorphic _).trans (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure_antiholomorphic E u τ) |
| 76 | |
| 77 | /-- PairSwitches with each representative-coordinate transposition and each actual |
| 78 | H¹ embedding type explicit. No realization or compatibility premise remains. -/ |
| 79 | theorem connectivity_by_coordinate_transpositions |
| 80 | (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] |
| 81 | [NumberField.IsCMField E] |
| 82 | (p : ℕ) |
| 83 | (v w : Fin p → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 84 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 85 | (hbalance : ∀ τ : Gal(E/ℚ), |
| 86 | (∑ i : Fin p, ComplexMultiplication.SignSwitch.CM.signValue ((v i).val τ)) = |
| 87 | ∑ i : Fin p, ComplexMultiplication.SignSwitch.CM.signValue ((w i).val τ)) : |
| 88 | ∃ (n : ℕ) |
| 89 | (path : Fin (n + 1) → Fin p → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 90 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)), |
| 91 | path 0 = v ∧ path (Fin.last n) = w ∧ |
| 92 | (∀ k : Fin n, Coordinates.PairSwitches.OddCoordinateTransposition (path k.castSucc) (path k.succ)) ∧ |
| 93 | (∀ k : Fin n, ComplexMultiplication.OddSignSwitch.CM.OddFourFactorSwitch (path k.castSucc) (path k.succ)) ∧ |
| 94 | (∀ (k : Fin (n + 1)) (i : Fin p), |
| 95 | ∃ R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (path k i)), |
| 96 | (∀ τ : Gal(E/ℚ), |
| 97 | R.comparison.toLinearMap.baseChange ℂ |
| 98 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E |
| 99 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E τ)) ∈ |
| 100 | R.abelianVariety.h1Holomorphic ↔ (path k i).val τ = true) ∧ |
| 101 | (∀ τ : Gal(E/ℚ), |
| 102 | R.comparison.toLinearMap.baseChange ℂ |
| 103 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E |
| 104 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E τ)) ∈ |
| 105 | R.abelianVariety.h1Antiholomorphic ↔ (path k i).val τ = false)) := by |
| 106 | classical |
| 107 | let : LinearOrder Gal(E/ℚ) := linearOrderOfSTO WellOrderingRel |
| 108 | let : Fintype Gal(E/ℚ) := Fintype.ofFinite _ |
| 109 | obtain ⟨n, path, hzero, hlast, hcoordinate, hfour⟩ := |
| 110 | Coordinates.PairSwitches.coordinate_path_of_signSum_eq |
| 111 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) |
| 112 | (ComplexMultiplication.ExteriorSignReduction.CM.CMCoefficientField.conjugation_mul_involutive E) |
| 113 | (ComplexMultiplication.ExteriorSignReduction.CM.CMCoefficientField.conjugation_mul_ne E) v w hbalance |
| 114 | refine ⟨n, path, hzero, hlast, hcoordinate, hfour, ?_⟩ |
| 115 | intro k i |
| 116 | obtain ⟨R⟩ := Geometry.ComplexTorus.RiemannProjectivity.Realization.CM.realization_of_cm_sign_type E (path k i).val (path k i).property |
| 117 | exact ⟨R, realized_embedding_types E (path k i) R⟩ |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.HodgeConjecture.PairSwitches |