Mercurial > hg > Members > kono > Proof > automaton
view a02/agda/record1.agda @ 252:9fc9e19f2c37
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 29 Jun 2021 20:03:32 +0900 |
parents | 7a0634a7c25a |
children | e5cf49902db3 |
line wrap: on
line source
module record1 where record _∧_ (A B : Set) : Set where field π1 : A π2 : B open _∧_ ex1 : {A B : Set} → ( A ∧ B ) → A ex1 a∧b = {!!} ex2 : {A B : Set} → ( A ∧ B ) → B ex2 a∧b = {!!} ex3 : {A B : Set} → A → B → ( A ∧ B ) ex3 a b = {!!} ex4 : {A B : Set} → A → ( A ∧ A ) ex4 a = record { π1 = {!!} ; π2 = {!!} } ex5 : {A B C : Set} → ( A ∧ B ) ∧ C → A ∧ (B ∧ C) ex5 a∧b∧c = record { π1 = {!!} ; π2 = {!!} } ex6 : {A B C : Set} → ( (A → B ) ∧ ( B → C) ) → A → C ex6 = {!!}