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.ConstantPermutations |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LocalTrace |
| 3 | |
| 4 | /-! # Nonreduced Trace -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Branch sums are independent of the splitting on every test scheme. |
| 11 | The proof uses open sets on which the actual sheet permutation is fixed. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | variable {B : Scheme.{0}} {X A : Over B} [GrpObj A] [IsCommMonObj A] |
| 17 | (C : Correspondences.EtaleCorrespondence X) {T : Over B} (x : T ⟶ X) |
| 18 | |
| 19 | def Correspondences.EtaleCorrespondence.splitConstantIso {n : ℕ} (e : C.BranchSplitting x n) : |
| 20 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme T.left (Fin n) ≅ Over.mk (pullback.snd C.source.left x.left) := |
| 21 | (TateComparison.BranchSplitting.constantCoproductIso T.left (Fin n)).symm ≪≫ e |
| 22 | |
| 23 | theorem Correspondences.EtaleCorrespondence.splitBranch_constant {n : ℕ} (e : C.BranchSplitting x n) (i : Fin n) : |
| 24 | (C.splitBranch x e i).val.left = Sigma.ι (fun _ : Fin n => T.left) i ≫ |
| 25 | (C.splitConstantIso x e).hom.left ≫ pullback.fst C.source.left x.left := by |
| 26 | have h := congrArg (fun f => f.left) |
| 27 | (TateComparison.BranchSplitting.constantCoproductInclusion_inv T.left (Fin n) i) |
| 28 | change (Sigma.ι (fun _ : Fin n => T.left) i ≫ (TateComparison.BranchSplitting.constantCoproductIso T.left (Fin n)).inv.left) = |
| 29 | (Sigma.ι (fun _ : Fin n => Over.mk (𝟙 T.left)) i).left at h |
| 30 | simp only [Correspondences.EtaleCorrespondence.splitBranch, Correspondences.EtaleCorrespondence.branchOfSection, Over.homMk_left, Over.comp_left, |
| 31 | Correspondences.EtaleCorrespondence.splitConstantIso, Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 32 | rw [← h] |
| 33 | simp only [AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme, Category.assoc] |
| 34 | |
| 35 | theorem Correspondences.EtaleCorrespondence.splitBranch_permutation_restrict {n m : ℕ} |
| 36 | (e : C.BranchSplitting x n) (e' : C.BranchSplitting x m) |
| 37 | (p : Fin n ≃ Fin m) (i : Fin n) : |
| 38 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber |
| 39 | (ConstantPermutations.constantIsoPermutation (C.splitConstantIso x e ≪≫ (C.splitConstantIso x e').symm)) p).ι ≫ |
| 40 | (C.splitBranch x e i).val.left = |
| 41 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber |
| 42 | (ConstantPermutations.constantIsoPermutation (C.splitConstantIso x e ≪≫ (C.splitConstantIso x e').symm)) p).ι ≫ |
| 43 | (C.splitBranch x e' (p i)).val.left := by |
| 44 | have hp := ConstantPermutations.constantIsoPermutation_restrict |
| 45 | (C.splitConstantIso x e ≪≫ (C.splitConstantIso x e').symm) p i |
| 46 | let U := AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber |
| 47 | (ConstantPermutations.constantIsoPermutation (C.splitConstantIso x e ≪≫ (C.splitConstantIso x e').symm)) p |
| 48 | let j : Over.mk U.ι ⟶ Over.mk (𝟙 T.left) := Over.homMk U.ι (Category.comp_id _) |
| 49 | have hp' : j ≫ TateComparison.BranchSplitting.constantCoproductInclusion T.left (Fin n) i ≫ |
| 50 | (C.splitConstantIso x e ≪≫ (C.splitConstantIso x e').symm).hom = |
| 51 | j ≫ TateComparison.BranchSplitting.constantCoproductInclusion T.left (Fin m) (p i) := Over.OverMorphism.ext hp |
| 52 | have h := congrArg (fun f => f ≫ (C.splitConstantIso x e').hom) hp' |
| 53 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.inv_hom_id, Category.comp_id] at h |
| 54 | have h := congrArg (fun f => f.left ≫ pullback.fst C.source.left x.left) h |
| 55 | change (U.ι ≫ Sigma.ι (fun _ : Fin n => T.left) i ≫ (C.splitConstantIso x e).hom.left) ≫ _ = |
| 56 | (U.ι ≫ Sigma.ι (fun _ : Fin m => T.left) (p i) ≫ (C.splitConstantIso x e').hom.left) ≫ _ at h |
| 57 | simpa only [U, Correspondences.EtaleCorrespondence.splitBranch_constant, AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme, Category.assoc] using h |
| 58 | |
| 59 | /-- The local algebraic trace is independent of the chosen splitting, |
| 60 | including when the test scheme has nilpotents. -/ |
| 61 | theorem Correspondences.EtaleCorrespondence.localTraceMap_independent_all (f : X ⟶ A) {n m : ℕ} |
| 62 | (e : C.BranchSplitting x n) (e' : C.BranchSplitting x m) : |
| 63 | C.localTraceMap f x e = C.localTraceMap f x e' := by |
| 64 | let c := ConstantPermutations.constantIsoPermutation (C.splitConstantIso x e ≪≫ (C.splitConstantIso x e').symm) |
| 65 | apply Over.OverMorphism.ext |
| 66 | apply (cancel_epi (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFibersIso c).hom).mp |
| 67 | apply Sigma.hom_ext |
| 68 | intro p |
| 69 | rw [AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFibersIso_ι_hom_assoc, AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFibersIso_ι_hom_assoc] |
| 70 | let U : Over B := Over.mk ((AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c p).ι ≫ T.hom) |
| 71 | let j : U ⟶ T := Over.homMk (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c p).ι rfl |
| 72 | have hp (i : Fin n) : |
| 73 | j ≫ C.endpoint (C.splitBranch x e i) ≫ f = |
| 74 | j ≫ C.endpoint (C.splitBranch x e' (p i)) ≫ f := by |
| 75 | apply Over.OverMorphism.ext |
| 76 | change (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c p).ι ≫ (C.splitBranch x e i).val.left ≫ C.target.left ≫ f.left = _ |
| 77 | rw [← Category.assoc, C.splitBranch_permutation_restrict x e e' p i] |
| 78 | rfl |
| 79 | have h : j ≫ C.localTraceMap f x e = j ≫ C.localTraceMap f x e' := by |
| 80 | change Correspondences.EtaleCorrespondence.precompPointHom j (∏ i : Fin n, C.endpoint (C.splitBranch x e i) ≫ f) = |
| 81 | Correspondences.EtaleCorrespondence.precompPointHom j (∏ i : Fin m, C.endpoint (C.splitBranch x e' i) ≫ f) |
| 82 | rw [map_prod, map_prod] |
| 83 | exact (Finset.prod_congr rfl (fun i _ => hp i)).trans |
| 84 | (p.prod_comp (fun i => j ≫ C.endpoint (C.splitBranch x e' i) ≫ f)) |
| 85 | exact congrArg (fun f => f.left) h |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |