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.NumberTheory.PadicHodge.IntegralComparison.MultiplicationInfiniteCover |
| 2 | |
| 3 | /-! # Infinite Multiplication Overlap -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.InfiniteMultiplicationOverlap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual overlap of the simultaneous multiplication cover and its |
| 10 | compatible maps to every finite multiplication overlap. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationInfiniteCover |
| 19 | |
| 20 | universe u |
| 21 | variable (ℓ : ℕ) [Fact ℓ.Prime] |
| 22 | {k : Type u} [Field k] [IsAlgClosed k] |
| 23 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 24 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 25 | (hℓ : (ℓ : k) ≠ 0) |
| 26 | |
| 27 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationInfiniteCover.cover ℓ A hℓ |
| 28 | local notation "g" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationInfiniteCover.projection ℓ A hℓ 0 |
| 29 | |
| 30 | def overlap : A.left.ProEt := by |
| 31 | let : WeaklyEtale g := MultiplicationInfiniteCover.projection_zero_weaklyEtale ℓ A hℓ |
| 32 | exact Scheme.ProEt.mk (pullback.fst g g ≫ g) |
| 33 | |
| 34 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.InfiniteMultiplicationOverlap.overlap ℓ A hℓ |
| 35 | |
| 36 | def first : D ⟶ U := MorphismProperty.Over.homMk (pullback.fst g g) rfl |
| 37 | |
| 38 | def second : D ⟶ U := MorphismProperty.Over.homMk (pullback.snd g g) pullback.condition.symm |
| 39 | |
| 40 | def overlapMap (n : ℕ) : D ⟶ MultiplicationCoverCharacter.overlap ℓ n A hℓ := |
| 41 | MorphismProperty.Over.homMk |
| 42 | (pullback.lift (pullback.fst g g ≫ MultiplicationInfiniteCover.projection ℓ A hℓ n) |
| 43 | (pullback.snd g g ≫ MultiplicationInfiniteCover.projection ℓ A hℓ n) (by |
| 44 | rw [Category.assoc, Category.assoc, MultiplicationInfiniteCover.projection_power] |
| 45 | exact pullback.condition)) (by |
| 46 | change _ ≫ (pullback.fst _ _ ≫ _) = _ |
| 47 | rw [← Category.assoc, pullback.lift_fst, Category.assoc, MultiplicationInfiniteCover.projection_power] |
| 48 | rfl) |
| 49 | |
| 50 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] in |
| 51 | theorem overlapMap_first (n : ℕ) : overlapMap ℓ A hℓ n ≫ |
| 52 | MultiplicationCoverCharacter.first ℓ n A hℓ = first ℓ A hℓ ≫ MultiplicationInfiniteCover.coverMap ℓ A hℓ n := by |
| 53 | apply MorphismProperty.Over.Hom.ext |
| 54 | exact pullback.lift_fst _ _ _ |
| 55 | |
| 56 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] in |
| 57 | theorem overlapMap_second (n : ℕ) : overlapMap ℓ A hℓ n ≫ |
| 58 | MultiplicationCoverCharacter.second ℓ n A hℓ = second ℓ A hℓ ≫ MultiplicationInfiniteCover.coverMap ℓ A hℓ n := by |
| 59 | apply MorphismProperty.Over.Hom.ext |
| 60 | exact pullback.lift_snd _ _ _ |
| 61 | |
| 62 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] in |
| 63 | theorem overlapMap_step (n : ℕ) : overlapMap ℓ A hℓ (n + 1) ≫ |
| 64 | MultiplicationCoverRefinement.overlapMap ℓ n A hℓ = overlapMap ℓ A hℓ n := by |
| 65 | apply MorphismProperty.Over.Hom.ext |
| 66 | apply pullback.hom_ext |
| 67 | · change _ ≫ (MultiplicationCoverCharacter.first ℓ n A hℓ).left = |
| 68 | _ ≫ (MultiplicationCoverCharacter.first ℓ n A hℓ).left |
| 69 | have he := congrArg (fun f : D ⟶ MultiplicationCoverCharacter.cover ℓ n A hℓ => f.left) |
| 70 | (show (overlapMap ℓ A hℓ (n + 1) ≫ MultiplicationCoverRefinement.overlapMap ℓ n A hℓ) ≫ |
| 71 | MultiplicationCoverCharacter.first ℓ n A hℓ = |
| 72 | overlapMap ℓ A hℓ n ≫ MultiplicationCoverCharacter.first ℓ n A hℓ from by |
| 73 | rw [Category.assoc, MultiplicationCoverRefinement.overlapMap_first, |
| 74 | ← Category.assoc, overlapMap_first, Category.assoc, MultiplicationInfiniteCover.coverMap_step, overlapMap_first]) |
| 75 | exact he |
| 76 | · change _ ≫ (MultiplicationCoverCharacter.second ℓ n A hℓ).left = |
| 77 | _ ≫ (MultiplicationCoverCharacter.second ℓ n A hℓ).left |
| 78 | have he := congrArg (fun f : D ⟶ MultiplicationCoverCharacter.cover ℓ n A hℓ => f.left) |
| 79 | (show (overlapMap ℓ A hℓ (n + 1) ≫ MultiplicationCoverRefinement.overlapMap ℓ n A hℓ) ≫ |
| 80 | MultiplicationCoverCharacter.second ℓ n A hℓ = |
| 81 | overlapMap ℓ A hℓ n ≫ MultiplicationCoverCharacter.second ℓ n A hℓ from by |
| 82 | rw [Category.assoc, MultiplicationCoverRefinement.overlapMap_second, |
| 83 | ← Category.assoc, overlapMap_second, Category.assoc, MultiplicationInfiniteCover.coverMap_step, overlapMap_second]) |
| 84 | exact he |
| 85 | |
| 86 | def terminalIso : (⊤_ A.left.ProEt) ≅ Scheme.ProEt.mk (𝟙 A.left) := |
| 87 | terminalIsTerminal.uniqueUpToIso (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.GlobalSections.Construction.proEtaleIdentityIsTerminal A.left) |
| 88 | |
| 89 | omit [IsAlgClosed k] [GrpObj A] [IsCommMonObj A] [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 90 | theorem terminal_iso_hom : (terminalIso A).hom.left = (⊤_ A.left.ProEt).hom := |
| 91 | (Category.comp_id _).symm.trans (MorphismProperty.Over.w (terminalIso A).hom) |
| 92 | |
| 93 | omit [Fact (Nat.Prime ℓ)] in |
| 94 | omit [IsAlgClosed k] in |
| 95 | theorem terminal_from_eq : (terminal.from U).left = |
| 96 | g ≫ (terminalIso A).inv.left := by |
| 97 | apply (cancel_mono (terminalIso A).hom.left).mp |
| 98 | rw [Category.assoc] |
| 99 | have hi : (terminalIso A).inv.left ≫ (terminalIso A).hom.left = 𝟙 A.left := |
| 100 | congrArg (fun f : Scheme.ProEt.mk (𝟙 A.left) ⟶ Scheme.ProEt.mk (𝟙 A.left) => f.left) |
| 101 | (terminalIso A).inv_hom_id |
| 102 | rw [hi, Category.comp_id, terminal_iso_hom] |
| 103 | exact MorphismProperty.Over.w (terminal.from U) |
| 104 | |
| 105 | omit [Fact (Nat.Prime ℓ)] in |
| 106 | omit [IsAlgClosed k] in |
| 107 | theorem terminal_from_surjective : Surjective (terminal.from U).left := by |
| 108 | rw [terminal_from_eq] |
| 109 | let : Surjective g := MultiplicationInfiniteCover.projection_zero_surjective ℓ A hℓ |
| 110 | infer_instance |
| 111 | |
| 112 | omit [Fact (Nat.Prime ℓ)] in |
| 113 | omit [IsAlgClosed k] in |
| 114 | theorem terminal_from_quasiCompact : QuasiCompact (terminal.from U).left := by |
| 115 | rw [terminal_from_eq] |
| 116 | let : QuasiCompact g := MultiplicationInfiniteCover.projection_zero_quasiCompact ℓ A hℓ |
| 117 | infer_instance |
| 118 | |
| 119 | omit [Fact (Nat.Prime ℓ)] in |
| 120 | omit [IsAlgClosed k] in |
| 121 | theorem isPullback : IsPullback (first ℓ A hℓ).left (second ℓ A hℓ).left |
| 122 | (terminal.from U).left (terminal.from U).left := by |
| 123 | let e := ((Scheme.ProEt.forget A.left) ⋙ Over.forget A.left).mapIso (terminalIso A) |
| 124 | refine (IsPullback.of_hasPullback g g).of_iso' (Iso.refl _) (Iso.refl _) (Iso.refl _) e |
| 125 | (by simp only [Iso.refl_hom, Category.comp_id, Category.id_comp]; rfl) |
| 126 | (by simp only [Iso.refl_hom, Category.comp_id, Category.id_comp]; rfl) ?_ ?_ |
| 127 | · change 𝟙 _ ≫ g = (terminal.from U).left ≫ (terminalIso A).hom.left |
| 128 | rw [Category.id_comp, terminal_iso_hom] |
| 129 | exact (MorphismProperty.Over.w (terminal.from U)).symm |
| 130 | · change 𝟙 _ ≫ g = (terminal.from U).left ≫ (terminalIso A).hom.left |
| 131 | rw [Category.id_comp, terminal_iso_hom] |
| 132 | exact (MorphismProperty.Over.w (terminal.from U)).symm |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.NumberTheory.PadicHodge.IntegralComparison.InfiniteMultiplicationOverlap |