File size: 4,170 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/-
Copyright (c) 2026 The AINTLIB contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: AINTLIB ModularCurves project
This file has been modified.
-/
import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternatingChainMap

/-! # Tuple Recursive Homotopy -/

namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleRecursiveHomotopy

noncomputable section

open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Category _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace
universe u

open Set

/-- Conrad's recursive chain homotopy from the identity to signed sorting. -/
def cechTupleAlternatingHomotopy {ι : Type u} [LinearOrder ι] :
    (n : ℕ) → TupleChains.CechTupleChain ι n →ₗ[ℤ] TupleChains.CechTupleChain ι (n + 1)
  | 0 => 0
  | n + 1 =>
      TupleChains.cechTupleLinearExtension fun i =>
        TupleChains.cechTuplePrependChain (i 0) (n + 1)
          (TupleAlternation.cechTupleAlternatingProjectionBasis (n + 1) i -
            Finsupp.single i 1 -
            cechTupleAlternatingHomotopy n
              (TupleChains.cechTupleBoundaryBasis n i))

@[simp]
theorem cechTupleAlternatingHomotopy_zero
    {ι : Type u} [LinearOrder ι] :
    TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (ι := ι) 0 = 0 :=
  rfl

@[simp]
theorem cechTupleAlternatingHomotopy_succ_single
    {ι : Type u} [LinearOrder ι] (n : ℕ)
    (i : Fin (n + 2) → ι) (a : ℤ) :
    TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (n + 1) (Finsupp.single i a) =
      a • TupleChains.cechTuplePrependChain (i 0) (n + 1)
        (TupleAlternation.cechTupleAlternatingProjectionBasis (n + 1) i -
          Finsupp.single i 1 -
          TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n
            (TupleChains.cechTupleBoundaryBasis n i)) := by
  simp [TupleRecursiveHomotopy.cechTupleAlternatingHomotopy, TupleChains.cechTupleLinearExtension]

/-- The lower-degree term `h∂` in the tuple-chain homotopy identity. -/
def cechTupleAlternatingHomotopyPrevious
    {ι : Type u} [LinearOrder ι] :
    (n : ℕ) → TupleChains.CechTupleChain ι n →ₗ[ℤ] TupleChains.CechTupleChain ι n
  | 0 => 0
  | n + 1 =>
      (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n).comp (TupleChains.cechTupleBoundary n)

@[simp]
theorem cechTupleAlternatingHomotopyPrevious_zero
    {ι : Type u} [LinearOrder ι] :
    cechTupleAlternatingHomotopyPrevious (ι := ι) 0 = 0 :=
  rfl

@[simp]
theorem cechTupleAlternatingHomotopyPrevious_succ_apply
    {ι : Type u} [LinearOrder ι] (n : ℕ)
    (x : TupleChains.CechTupleChain ι (n + 1)) :
    cechTupleAlternatingHomotopyPrevious (n + 1) x =
      TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n (TupleChains.cechTupleBoundary n x) :=
  rfl

theorem cechTupleAlternatingProjection_zero
    {ι : Type u} [LinearOrder ι] (x : TupleChains.CechTupleChain ι 0) :
    TupleAlternation.cechTupleAlternatingProjection 0 x = x := by
  induction x using Finsupp.induction_linear with
  | zero => simp
  | add x y hx hy => simp [hx, hy]
  | single i a =>
      have hi : StrictMono i := by
        intro k l hkl
        omega
      rw [TupleAlternation.cechTupleAlternatingProjection_single,
        TupleAlternation.cechTupleAlternatingProjectionBasis_of_strictMono i hi]
      simp

theorem cechTupleAlternatingHomotopyPrevious_boundaryBasis
    {ι : Type u} [LinearOrder ι] (n : ℕ)
    (i : Fin (n + 2) → ι) :
    cechTupleAlternatingHomotopyPrevious n
        (TupleChains.cechTupleBoundaryBasis n i) = 0 := by
  cases n with
  | zero => rfl
  | succ n =>
      change TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n
        (TupleChains.cechTupleBoundary n (TupleChains.cechTupleBoundaryBasis (n + 1) i)) = 0
      have hsq := TupleBoundarySquare.cechTupleBoundary_boundary (ι := ι) n
        (Finsupp.single i 1)
      simp only [TupleChains.cechTupleBoundary_single, one_smul] at hsq
      rw [hsq, map_zero]

end

end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleRecursiveHomotopy