-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathLem_tuple.thy
executable file
·51 lines (32 loc) · 999 Bytes
/
Lem_tuple.thy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
chapter {* Generated by Lem from tuple.lem. *}
theory "Lem_tuple"
imports
Main
"Lem_bool"
"Lem_basic_classes"
begin
(*open import Bool Basic_classes*)
(* ----------------------- *)
(* fst *)
(* ----------------------- *)
(*val fst : forall 'a 'b. 'a * 'b -> 'a*)
(*let fst (v1, v2)= v1*)
(* ----------------------- *)
(* snd *)
(* ----------------------- *)
(*val snd : forall 'a 'b. 'a * 'b -> 'b*)
(*let snd (v1, v2)= v2*)
(* ----------------------- *)
(* curry *)
(* ----------------------- *)
(*val curry : forall 'a 'b 'c. ('a * 'b -> 'c) -> ('a -> 'b -> 'c)*)
(* ----------------------- *)
(* uncurry *)
(* ----------------------- *)
(*val uncurry : forall 'a 'b 'c. ('a -> 'b -> 'c) -> ('a * 'b -> 'c)*)
(* ----------------------- *)
(* swap *)
(* ----------------------- *)
(*val swap : forall 'a 'b. ('a * 'b) -> ('b * 'a)*)
(*let swap (v1, v2)= (v2, v1)*)
end