{-# OPTIONS --safe --cubical-compatible --guardedness --exact-split --double-check #-}
module Wellspring.Properties.MorphLift where
open import Wellspring.Properties.Cong public
record MorphLift {ℓ} (C : Cosmos ℓ) : Set (lsuc (lsuc ℓ)) where
coinductive
private
module C = Cosmos C
field
morphLift : {A B : C.Obj} (f : C.Hom A B) (s : C.Shape A) → C.unfold s ⇒ℱ C.unfold (C.actS f s)
morphLift-id : ∀ {A : C.Obj} (s : C.Shape A)
→ morphLift C.idHom s
≃⇒ℱ subst (λ X → C.unfold s ⇒ℱ C.unfold X)
(sym (C.actS-id s))
id⇒ℱ
morphLift-comp : ∀ {A B D : C.Obj} (f : C.Hom A B) (g : C.Hom B D) (s : C.Shape A)
→ morphLift (C.comp f g) s
≃⇒ℱ subst (λ X → C.unfold s ⇒ℱ C.unfold X)
(sym (C.actS-comp f g s))
(morphLift g (C.actS f s) ∘⇒ℱ morphLift f s)
open MorphLift public
UnitCosmosMorphLift : ∀ {ℓ} → MorphLift (UnitCosmos {ℓ})
UnitCosmosMorphLift .morphLift _ _ = id⇒ℱ
UnitCosmosMorphLift .morphLift-id _ = refl-≃⇒ℱ
UnitCosmosMorphLift .morphLift-comp _ _ _ = sym-≃⇒ℱ (id-l-≃⇒ℱ id⇒ℱ)