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.CMReduction.Endpoints |
| 2 | |
| 3 | /-! # Changed Endpoint -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.ChangedEndpoint.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The literal endpoint tuple obtained by replacing the two active |
| 12 | realizations. The remaining entries are all pullbacks of the target tuple. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 17 | {p : ℕ} (w z : Fin p → Pairing.CM.Construction.SignType E) (a b : Fin p) |
| 18 | (hrest : ∀ i, i ≠ a → i ≠ b → z i = w i) |
| 19 | (T : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (z i))) |
| 20 | (R₁ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w a))) |
| 21 | (R₂ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w b))) |
| 22 | (W X : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (f : W.toOver ⟶ X.toOver) |
| 23 | (g : ∀ i, X.toOver ⟶ (T i).abelianVariety.toOver) |
| 24 | (f₁ : W.toOver ⟶ R₁.abelianVariety.toOver) (f₂ : W.toOver ⟶ R₂.abelianVariety.toOver) |
| 25 | (s : Fin p → X.variety.complexCohomology 1) |
| 26 | |
| 27 | def changedTuple : Fin (p + p) → W.variety.complexCohomology 1 := |
| 28 | Fin.append (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f (s i)) |
| 29 | (fun i => Endpoints.CM.Construction.realizedMapValue E W (Endpoints.CM.Construction.changedData E w z a b hrest T R₁ R₂ W X f g f₁ f₂ i) |
| 30 | (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E)) |
| 31 | |
| 32 | def targetTuple : Fin (p + p) → X.variety.complexCohomology 1 := |
| 33 | Fin.append s (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (g i) |
| 34 | (Endpoints.CM.Construction.realizedVector E (T i) (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E))) |
| 35 | |
| 36 | theorem changedTuple_rest (i : Fin (p + p)) |
| 37 | (hia : i ≠ Fin.natAdd p a) (hib : i ≠ Fin.natAdd p b) : |
| 38 | changedTuple E w z a b hrest T R₁ R₂ W X f g f₁ f₂ s i = |
| 39 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f (targetTuple E z T X g s i) := by |
| 40 | obtain ⟨j, rfl⟩ := (finSumFinEquiv : Fin p ⊕ Fin p ≃ Fin (p + p)).surjective i |
| 41 | cases j with |
| 42 | | inl j => |
| 43 | rw [changedTuple, targetTuple, finSumFinEquiv_apply_left, Fin.append_left, Fin.append_left] |
| 44 | | inr j => |
| 45 | have hja : j ≠ a := fun h => hia (congrArg (Fin.natAdd p) h) |
| 46 | have hjb : j ≠ b := fun h => hib (congrArg (Fin.natAdd p) h) |
| 47 | rw [changedTuple, targetTuple, finSumFinEquiv_apply_right, Fin.append_right, Fin.append_right] |
| 48 | rw [Endpoints.CM.Construction.changed_pullback, ite_eq_right hja, ite_eq_right hjb] |
| 49 | |
| 50 | theorem changedTuple_first : |
| 51 | changedTuple E w z a b hrest T R₁ R₂ W X f g f₁ f₂ s (Fin.natAdd p a) = |
| 52 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f₁ (Endpoints.CM.Construction.realizedVector E R₁ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E)) := by |
| 53 | rw [changedTuple, Fin.append_right] |
| 54 | rw [Endpoints.CM.Construction.changed_pullback, ite_eq_left rfl] |
| 55 | |
| 56 | theorem changedTuple_second (hab : a ≠ b) : |
| 57 | changedTuple E w z a b hrest T R₁ R₂ W X f g f₁ f₂ s (Fin.natAdd p b) = |
| 58 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f₂ (Endpoints.CM.Construction.realizedVector E R₂ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E)) := by |
| 59 | rw [changedTuple, Fin.append_right] |
| 60 | rw [Endpoints.CM.Construction.changed_pullback, ite_eq_right hab.symm, ite_eq_left rfl] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | open _root_.CategoryTheory |
| 65 | |
| 66 | theorem endpointClass_changed |
| 67 | (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 68 | {p : ℕ} (v w z : Fin p → Pairing.CM.Construction.SignType E) (a b : Fin p) |
| 69 | (hrest : ∀ i, i ≠ a → i ≠ b → z i = w i) |
| 70 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i))) |
| 71 | (T : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (z i))) |
| 72 | (R₁ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w a))) |
| 73 | (R₂ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w b))) |
| 74 | (W X : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (f : W.toOver ⟶ X.toOver) |
| 75 | (s : ∀ i, X.toOver ⟶ (R i).abelianVariety.toOver) |
| 76 | (g : ∀ i, X.toOver ⟶ (T i).abelianVariety.toOver) |
| 77 | (f₁ : W.toOver ⟶ R₁.abelianVariety.toOver) (f₂ : W.toOver ⟶ R₂.abelianVariety.toOver) : |
| 78 | Endpoints.CM.Construction.endpointClass E p v w R |
| 79 | (fun i => (Endpoints.CM.Construction.changedData E w z a b hrest T R₁ R₂ W X f g f₁ f₂ i).1) |
| 80 | W (fun i => f ≫ s i) |
| 81 | (fun i => (Endpoints.CM.Construction.changedData E w z a b hrest T R₁ R₂ W X f g f₁ f₂ i).2) = |
| 82 | IteratedCup.CM.Construction.h1Cup ℂ (Betti.Scheme.schemePointSpace W.toOver) (p + p) |
| 83 | (changedTuple E w z a b hrest T R₁ R₂ W X f g f₁ f₂ |
| 84 | (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (s i) (Endpoints.CM.Construction.realizedVector E (R i) 1))) := by |
| 85 | unfold Endpoints.CM.Construction.endpointClass changedTuple |
| 86 | apply congrArg (IteratedCup.CM.Construction.h1Cup ℂ (Betti.Scheme.schemePointSpace W.toOver) (p + p)) |
| 87 | funext i |
| 88 | obtain ⟨j, rfl⟩ := (finSumFinEquiv : Fin p ⊕ Fin p ≃ Fin (p + p)).surjective i |
| 89 | cases j with |
| 90 | | inl j => |
| 91 | rw [finSumFinEquiv_apply_left, Fin.append_left, Fin.append_left] |
| 92 | exact (CupPullback.CM.Construction.scheme_pullback_comp (R := ℂ) f (s j) 1 (Endpoints.CM.Construction.realizedVector E (R j) 1)).symm |
| 93 | | inr j => |
| 94 | rw [finSumFinEquiv_apply_right, Fin.append_right, Fin.append_right] |
| 95 | rfl |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.ChangedEndpoint.CM.Construction |