annotate a02/agda/lambda.agda @ 138:7a0634a7c25a

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 18 Dec 2019 17:34:15 +0900
parents
children 3be1afb87f82
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 module lambda ( T : Set) ( t : T ) where
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 A→A : (A : Set ) → ( A → A )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 A→A = λ A → λ ( a : A ) → a
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 lemma2 : (A : Set ) → A → A
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 lemma2 A a = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 ex1 : {A B : Set} → Set
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 ex1 {A} {B} = ( A → B ) → A → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 ex1' : {A B : Set} → Set
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 ex1' {A} {B} = A → B → A → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 ex2 : {A : Set} → Set
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 ex2 {A} = A → ( A → A )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 ex3 : {A B : Set} → Set
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 ex3 {A}{B} = A → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 ex4 : {A B : Set} → Set
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 ex4 {A}{B} = A → B → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 ex5 : {A B : Set} → Set
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 ex5 {A}{B} = A → B → A
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 proof5 : {A B : Set } → ex5 {A} {B}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 proof5 = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 postulate S : Set
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 postulate s : S
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 ex6 : {A : Set} → A → S
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 ex6 a = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 ex7 : {A : Set} → A → T
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 ex7 a = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 ex11 : (A B : Set) → ( A → B ) → A → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 ex11 = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 ex12 : (A B : Set) → ( A → B ) → A → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 ex12 = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
47
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 ex13 : {A B : Set} → ( A → B ) → A → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 ex13 {A} {B} = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
50
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 ex14 : {A B : Set} → ( A → B ) → A → B
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 ex14 x = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
53
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 proof5' : {A B : Set} → ex5 {A} {B}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 proof5' = {!!}
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
56