Spectral/homotopy/EMRing.hlean

80 lines
3.2 KiB
Text
Raw Normal View History

-- Authors: Floris van Doorn
2018-09-11 15:06:46 +00:00
import .EM .smash_adjoint ..algebra.ring ..algebra.arrow_group
open algebra eq EM is_equiv equiv is_trunc is_conn pointed trunc susp smash group nat
namespace EM
definition EM1product_adj {R : Ring} :
EM1 (AbGroup_of_Ring R) →* ppmap (EM1 (AbGroup_of_Ring R)) (EMadd1 (AbGroup_of_Ring R) 1) :=
begin
have is_trunc 1 (ppmap (EM1 (AbGroup_of_Ring R)) (EMadd1 (AbGroup_of_Ring R) 1)),
from is_trunc_pmap_of_is_conn _ _ _ _ _ _ (le.refl 2) !is_trunc_EMadd1,
2018-09-11 15:06:46 +00:00
apply EM1_pmap, fapply inf_homomorphism.mk,
{ intro r, refine pfunext _ _, exact !loop_EM2⁻¹ᵉ* ∘* EM1_functor (ring_right_action r), },
{ intro r r', exact sorry }
end
2018-09-11 15:06:46 +00:00
definition EMproduct_map {A B C : AbGroup} (φ : A → B →g C) (n m : ) (a : A) :
EMadd1 B n →* EMadd1 C n :=
begin
2018-09-11 15:06:46 +00:00
fapply EMadd1_functor (φ a) n
end
2018-09-11 15:06:46 +00:00
definition EM0EMadd1product {A B C : AbGroup} (φ : A →g B →gg C) (n : ) :
A →* EMadd1 B n →** EMadd1 C n :=
EMadd1_pfunctor B C n ∘* pmap_of_homomorphism φ
2018-09-11 15:06:46 +00:00
definition EMadd1product {A B C : AbGroup} (φ : A →g B →gg C) (n m : ) :
EMadd1 A n →* EMadd1 B m →** EMadd1 C (m + succ n) :=
begin
2018-09-11 15:06:46 +00:00
assert H1 : is_trunc n.+1 (EMadd1 B m →** EMadd1 C (m + succ n)),
{ refine is_trunc_pmap_of_is_conn _ (m.-1) !is_conn_EMadd1 _ _ _ _ !is_trunc_EMadd1,
exact le_of_eq (trunc_index.of_nat_add_plus_two_of_nat m n)⁻¹ᵖ },
2018-09-11 15:06:46 +00:00
apply EMadd1_pmap,
exact sorry
/- the underlying pointed map is: -/
-- refine (loopn_ppmap_pequiv _ _ _)⁻¹ᵉ* ∘* ppcompose_left !loopn_EMadd1_add⁻¹ᵉ* ∘*
-- EM0EMadd1product φ m
end
definition EMproduct1 {A B C : AbGroup} (φ : A →g B →gg C) (n m : ) :
2018-09-11 15:06:46 +00:00
EM A n →* EM B m →** EM C (m + n) :=
begin
cases n with n,
{ cases m with m,
{ exact pmap_of_homomorphism2 φ },
{ exact EM0EMadd1product φ m }},
{ cases m with m,
2018-09-11 15:06:46 +00:00
{ exact ppcompose_left (ptransport (EMadd1 C) (zero_add n)⁻¹) ∘*
pmap_swap_map (EM0EMadd1product (homomorphism_swap φ) n) },
2018-09-11 15:06:46 +00:00
{ exact ppcompose_left (ptransport (EMadd1 C) !succ_add⁻¹) ∘* EMadd1product φ n m }}
end
definition EMproduct2 {A B C : AbGroup} (φ : A →g B →gg C) (n m : ) :
2018-09-11 15:06:46 +00:00
EM A n →* EM B m →** EM C (m + n) :=
begin
assert H1 : is_trunc n (gpmap_loop' (EM B m) (loop_EM C (m + n))),
2018-09-11 15:06:46 +00:00
{ exact is_trunc_pmap_of_is_conn_nat _ m !is_conn_EM _ _ _ !le.refl !is_trunc_EM },
apply EM_pmap (gpmap_loop' (EM B m) (loop_EM C (m + n))) n,
2018-09-11 15:06:46 +00:00
exact sorry
-- exact _ /- (loopn_ppmap_pequiv _ _ _)⁻¹ᵉ* -/ ∘∞g _ /-ppcompose_left !loopn_EMadd1_add⁻¹ᵉ*-/ ∘∞g
-- _ ∘∞g inf_homomorphism_of_homomorphism φ
end
definition EMproduct3' {A B C : AbGroup} (φ : A →g B →gg C) (n m : ) :
gEM A n →∞g gpmap_loop' (EM B m) (loop_EM C (m + n)) :=
begin
assert H1 : is_trunc n (gpmap_loop' (EM B m) (loop_EM C (m + n))),
{ exact is_trunc_pmap_of_is_conn_nat _ m !is_conn_EM _ _ _ !le.refl !is_trunc_EM },
-- refine EM_homomorphism _ _ _,
-- --(gmap_loop' (EM B m) (loop_EM C (m + n))) n,
-- exact _ /- (loopn_ppmap_pequiv _ _ _)⁻¹ᵉ* -/ ∘∞g _ /-ppcompose_left !loopn_EMadd1_add⁻¹ᵉ*-/ ∘∞g
-- _ ∘∞g inf_homomorphism_of_homomorphism φ
exact sorry
end
2018-09-11 15:06:46 +00:00
end EM