view paper/src/delta_covariant.agda @ 92:0354d3693324 default tip

Added tag paper_final for changeset 6a12eb22be8c
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Sun, 01 Mar 2015 13:08:51 +0900
parents 1181b4facaf9
children
line wrap: on
line source

delta-covariant : {l : Level} {n : Nat} {A B C : Set l} ->
            (f : B -> C) -> (g : A -> B) -> (d : Delta A (S n)) ->
            (delta-fmap (f ∙ g)) d ≡ ((delta-fmap f) ∙ (delta-fmap g)) d
delta-covariant f g (mono x)    = refl
delta-covariant f g (delta x d) = cong (delta (f (g x)))
                                       (delta-covariant f g d)