@[simp]theoremsuffixComparison_succ_tmul (p : AbsoluteBar.Cochain3 k R) (n : ℕ)
(a : R) (x : object k RM (n + 3)) :
suffixComparison k RM p (n + 1) (a ⊗ₜ[k] x) = a ⊗ₜ[k] suffixComparison k RM p n x := rfl
theoremsuffixComparison_left (p : AbsoluteBar.Cochain3 k R) (n : ℕ) (a : R)
(x : object k RM (n + 4)) :
suffixComparison k RM p (n + 1) (left k RM (n + 4) a x) =
left k RM (n + 1) a (suffixComparison k RM p (n + 1) x) :=by
proof · 3
lines
induction x usingTensorProduct.inductionOn with
| add x y hx hy => simp only [map_add, hx, hy]
| tmul b x => rfl
theoremsuffixComparison_boundary_zero (p : AbsoluteBar.Cochain3 k R) (hp : AbsoluteBar.IsCocycle3 k R p) :
(boundary k RM0).comp (suffixComparison k RM p 1) =
(suffixComparison k RM p 0).comp (boundary k RM3) :=by
proof · 16
lines
ext a b c d e
change a • (p b c d • e) = suffix3 k RM p
(boundary k RM3 (a ⊗ₜ[k] (b ⊗ₜ[k] (c ⊗ₜ[k] (d ⊗ₜ[k] e)))))
have h := congrArg (funx : R=> x • e) (hp a b c d)
simp only [add_smul, zero_smul, mul_smul] at h
simp only [boundary_succ_tmul k RM2, boundary_succ_tmul k RM1,
boundary_succ_tmul k RM0, boundary_zero_tmul k RM,
left_tmul k RM2, left_tmul k RM1, left_tmul k RM0,
TensorProduct.tmul_add, map_add, suffix3_tmul k RM p]
haveh' : a • (p b c d • e) +
(p (a * b) c d • e + (p a (b * c) d • e +
(p a b (c * d) • e + p a b c • (d • e)))) = 0:=by
simpa only [add_assoc] using h
have hz := double_zero k (a • (p b c d • e))
have hh := congrArg (funx : M=> a • (p b c d • e) + x) h'
simpa only [← add_assoc, hz, zero_add, add_zero] using hh.symm
theoremsuffixComparison_boundary (p : AbsoluteBar.Cochain3 k R) (hp : AbsoluteBar.IsCocycle3 k R p) (n : ℕ)
(x : object k RM (n + 4)) :
boundary k RM n (suffixComparison k RM p (n + 1) x) =
suffixComparison k RM p n (boundary k RM (n + 3) x) :=by
proof · 10
lines
induction n with
| zero => exact LinearMap.congr_fun (suffixComparison_boundary_zero k RM p hp) x
| succ n ih =>
induction x usingTensorProduct.inductionOn with
| add x y hx hy => simp only [map_add, hx, hy]
| tmul a x =>
change boundary k RM (n + 1) (a ⊗ₜ[k] suffixComparison k RM p (n + 1) x) =
suffixComparison k RM p (n + 1) (boundary k RM (n + 4) (a ⊗ₜ[k] x))
rw [boundary_succ_tmul k RM n, boundary_succ_tmul k RM (n + 3), map_add,
suffixComparison_left k RM p n, suffixComparison_succ_tmul, ih]
theoremsuffixComparison_augmentation (p : AbsoluteBar.Cochain3 k R) :
(differential k RM0).comp (suffixComparisonMap k RM p 0) = cochain3 k RM p :=by
proof · 6
lines
apply LinearMap.ext
intro x
change boundary k RM0 (suffixComparison k RM p 1 x) = cochain3Linear k RM p x
induction x usingTensorProduct.inductionOn with
| add x y hx hy => simp only [map_add, hx, hy]
| tmul a x => rfl