Mercurial > hg > Members > kono > Proof > category
changeset 317:29b04e89ebb8
iota
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 16 Mar 2014 21:33:25 +0700 |
parents | 7a3229b32b3c |
children | aca05de9f056 |
files | system-f.agda |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/system-f.agda Sun Mar 16 17:51:55 2014 +0700 +++ b/system-f.agda Sun Mar 16 21:33:25 2014 +0700 @@ -87,15 +87,13 @@ ι2 : {U V : Set l} -> V -> U + V ι2 {U} {V} v = \{X} -> \(x : U -> X) -> \(y : V -> X ) -> y v --- δ's aguments should aware x as raw symbol +δ : { U V R S : Set l } -> (R -> U) -> (S -> U) -> ( R + S ) -> U +δ {U} {V} {R} {S} u v t = t {U} (\(x : R) -> u x) ( \(y : S) -> v y) -δ : { U V R S : Set l } -> U -> U -> ( R + S ) -> U -δ {U} {V} {R} {S} u v t = t {U} (\(x : R) -> u ) ( \(y : S) -> v ) - -lemma11 : { U V R S : Set l } -> (u v : U ) -> (r : R) -> δ {U} {V} {R} {S} u v ( ι1 r ) ≡ u +lemma11 : { U V R S : Set l } -> (u : R -> U ) (v : S -> U ) -> (r : R) -> δ {U} {V} {R} {S} u v ( ι1 r ) ≡ u r lemma11 u v r = refl -lemma12 : { U V R S : Set l } -> (u v : U ) -> (s : S) -> δ {U} {V} {R} {S} u v ( ι2 s ) ≡ v +lemma12 : { U V R S : Set l } -> (u : R -> U ) (v : S -> U ) -> (s : S) -> δ {U} {V} {R} {S} u v ( ι2 s ) ≡ v s lemma12 u v s = refl