-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput_syntax.bnf
83 lines (71 loc) · 1.15 KB
/
output_syntax.bnf
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<ident> ::=
| [a-zA-z][a-zA-Z0-9_]*
<unop> ::=
| "!"
| "?"
<binop> ::=
| "*"
| "+"
| "&"
| "|"
| "-o"
<formula> ::=
| "1"
| "0"
| "top"
| "bot"
| <ident>
| <ident> "^"
| <unop> <formula>
| <formula> <binop> <formula>
<formula_list> ::=
| <formula>
| <formula_list> "," <formula>
<ill_sequent> ::=
| "{" <formula_list> "|-" <formula> "}"
<ill_rule> ::=
| "Ax"
| "Tensor_L"
| "Tensor_R"
| "One_L"
| "One_R"
| "Impl_L"
| "Impl_R"
| "Plus_L"
| "Plus_R_1"
| "Plus_R_2"
| "Zero_L"
| "With_L_1"
| "With_L_2"
| "With_R"
| "Top_R"
| "wk_L"
| "cont_L"
| "der_L"
| "OfCourse_R"
<ill_proof> ::=
| "(" <ill_sequent> "->" <ill_rule> "->" "[" <ill_proof_list> "]" ")"
<ill_proof_list> ::=
| <ill_proof>
| <ill_proof_list> "," <ill_proof>
<ll_sequent>
| "{" <formula_list> "}"
<ll_rule> ::=
| "Ax"
| "Tensor"
| "Par"
| "One"
| "Bottom"
| "Plus_1"
| "Plus_2"
| "With"
| "Top"
| "der"
| "wk"
| "cont"
| "OfCourse"
<ll_proof> ::=
| "(" <ll_sequent> "->" <ll_rule> "->" "[" <ll_proof_list> "]" ")"
<ll_proof_list> ::=
| <ll_proof>
| <ll_proof_list> "," <ll_proof>