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.BranchSplitting |
| 2 | |
| 3 | /-! # Constant Permutations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ConstantPermutations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An isomorphism between constant finite schemes is a locally constant |
| 10 | permutation of their sheets, on arbitrary (possibly nonreduced) bases. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {I J : Type u} |
| 17 | |
| 18 | theorem constantScheme_point_reconstruction (y : (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I).left) : |
| 19 | Sigma.ι (fun _ : I => S) (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex S I y) ((AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I).hom y) = y := by |
| 20 | obtain ⟨⟨i, x⟩, rfl⟩ := (sigmaMk (fun _ : I => S)).surjective y |
| 21 | rw [sigmaMk_mk, AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι] |
| 22 | have h := congrArg (fun f : S ⟶ S => f x) (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_ι_hom (S := S) i) |
| 23 | change (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I).hom (Sigma.ι (fun _ : I => S) i x) = x at h |
| 24 | rw [h] |
| 25 | |
| 26 | def constantIsoIndex (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ≅ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J) (i : I) : |
| 27 | LocallyConstant S J := |
| 28 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (Over.mk (𝟙 S)) (BranchSplitting.constantCoproductInclusion S I i ≫ e.hom) |
| 29 | |
| 30 | theorem constantIsoIndex_point (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ≅ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J) |
| 31 | (i : I) (x : S) : |
| 32 | e.hom.left (Sigma.ι (fun _ : I => S) i x) = |
| 33 | Sigma.ι (fun _ : J => S) (constantIsoIndex e i x) x := by |
| 34 | have h := constantScheme_point_reconstruction (e.hom.left (Sigma.ι (fun _ : I => S) i x)) |
| 35 | have hb := congrArg (fun f : S ⟶ S => f x) |
| 36 | (BranchSplitting.constantCoproductInclusion S I i ≫ e.hom).w |
| 37 | change (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J).hom (e.hom.left (Sigma.ι (fun _ : I => S) i x)) = x at hb |
| 38 | rw [hb] at h |
| 39 | exact h.symm |
| 40 | |
| 41 | theorem constantIsoIndex_inverse (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ≅ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J) |
| 42 | (i : I) (x : S) : constantIsoIndex e.symm (constantIsoIndex e i x) x = i := by |
| 43 | have h := congrArg (fun f : (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I).left ⟶ (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I).left => |
| 44 | f (Sigma.ι (fun _ : I => S) i x)) (congrArg (fun f => f.left) e.hom_inv_id) |
| 45 | change e.inv.left (e.hom.left (Sigma.ι (fun _ : I => S) i x)) = |
| 46 | Sigma.ι (fun _ : I => S) i x at h |
| 47 | rw [constantIsoIndex_point e, ← Iso.symm_hom, constantIsoIndex_point e.symm] at h |
| 48 | simpa only [AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι] using congrArg (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex S I) h |
| 49 | |
| 50 | def constantIsoPermutation [Finite I] (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ≅ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J) : |
| 51 | LocallyConstant S (I ≃ J) := |
| 52 | LocallyConstant.desc (fun x => { |
| 53 | toFun := fun i => constantIsoIndex e i x |
| 54 | invFun := fun j => constantIsoIndex e.symm j x |
| 55 | left_inv := fun i => constantIsoIndex_inverse e i x |
| 56 | right_inv := fun j => constantIsoIndex_inverse e.symm j x }) |
| 57 | (LocallyConstant.unflip (constantIsoIndex e)) rfl |
| 58 | (fun _ _ h => Equiv.ext (congrFun h)) |
| 59 | |
| 60 | @[simp] theorem constantIsoPermutation_apply [Finite I] |
| 61 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ≅ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J) (x : S) (i : I) : |
| 62 | constantIsoPermutation e x i = constantIsoIndex e i x := rfl |
| 63 | |
| 64 | /-- On the open set with a fixed sheet permutation, the isomorphism is |
| 65 | literally that permutation as a scheme morphism. No reduction is taken. -/ |
| 66 | theorem constantIsoPermutation_restrict [Finite I] |
| 67 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I ≅ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J) (p : I ≃ J) (i : I) : |
| 68 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber (constantIsoPermutation e) p).ι ≫ |
| 69 | Sigma.ι (fun _ : I => S) i ≫ e.hom.left = |
| 70 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber (constantIsoPermutation e) p).ι ≫ Sigma.ι (fun _ : J => S) (p i) := by |
| 71 | let U := AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber (constantIsoPermutation e) p |
| 72 | have hf := AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_factor (U.ι ≫ Sigma.ι (fun _ : I => S) i ≫ e.hom.left) (p i) |
| 73 | (fun x => congrArg (fun a : I ≃ J => a i) x.property) |
| 74 | have hb : (Sigma.ι (fun _ : I => S) i ≫ e.hom.left) ≫ (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S J).hom = 𝟙 S := |
| 75 | (BranchSplitting.constantCoproductInclusion S I i ≫ e.hom).w |
| 76 | simpa only [Category.assoc, hb, Category.comp_id] using hf |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ConstantPermutations |