@@ -31,42 +31,47 @@ Inductive cll_form : Set :=
3131
3232(* These notations replace the ILL notations *)
3333
34- (* Variables *)
34+ Module CLL_notations.
3535
36- Notation "£" := cll_var.
36+ (* Variables *)
3737
38- (* Constants *)
38+ Notation "£" := cll_var.
3939
40- Notation "⟙" := (cll_cst cll_top).
41- Notation "⟘" := (cll_cst cll_bot).
42- Notation "𝟙" := (cll_cst cll_1).
43- Notation "𝟘" := (cll_cst cll_0).
40+ (* Constants *)
4441
45- (* Unary connectives: linear negation and modalities *)
46- (* ? cannot be used because it is reserved by Coq so we use ‽ instead *)
42+ Notation "⟙" := (cll_cst cll_top).
43+ Notation "⟘" := (cll_cst cll_bot).
44+ Notation "𝟙" := (cll_cst cll_1).
45+ Notation "𝟘" := (cll_cst cll_0).
4746
48- Notation "'⊖' x" := (cll_una cll_neg x) (at level 50, format "⊖ x").
49- Notation "'!' x" := (cll_una cll_bang x) (at level 52).
50- Notation "'‽' x" := (cll_una cll_qmrk x) (at level 52).
47+ (* Unary connectives: linear negation and modalities *)
48+ (* ? cannot be used because it is reserved by Coq so we use ‽ instead *)
5149
52- (* Binary connectives *)
50+ Notation "'⊖' x" := (cll_una cll_neg x) (at level 50, format "⊖ x").
51+ Notation "'!' x" := (cll_una cll_bang x) (at level 52).
52+ Notation "'‽' x" := (cll_una cll_qmrk x) (at level 52).
5353
54- Infix "&" := (cll_bin cll_with) (at level 50).
55- Infix "⅋" := (cll_bin cll_par) (at level 50).
56- Infix "⊗" := (cll_bin cll_times) (at level 50).
57- Infix "⊕" := (cll_bin cll_plus) (at level 50).
58- Infix "⊸" := (cll_bin cll_limp) (at level 51, right associativity).
54+ (* Binary connectives *)
5955
60- (* Modalities iterated over lists *)
56+ Infix "&" := (cll_bin cll_with) (at level 50).
57+ Infix "⅋" := (cll_bin cll_par) (at level 50).
58+ Infix "⊗" := (cll_bin cll_times) (at level 50).
59+ Infix "⊕" := (cll_bin cll_plus) (at level 50).
60+ Infix "⊸" := (cll_bin cll_limp) (at level 51, right associativity).
6161
62- Notation "‼ x" := (map (cll_una cll_bang) x) (at level 60).
63- Notation "⁇ x" := (map (cll_una cll_qmrk) x) (at level 60).
62+ (* Modalities iterated over lists *)
6463
65- (* The empty list *)
64+ Notation "‼ x" := (map (cll_una cll_bang) x) (at level 60).
65+ Notation "⁇ x" := (map (cll_una cll_qmrk) x) (at level 60).
66+
67+ End CLL_notations.
6668
67- Notation "∅" := nil.
69+ Import CLL_notations.
70+
71+ (* The empty list *)
6872
69- Local Reserved Notation "Γ ⊢ Δ" (at level 70, no associativity).
73+ #[local] Notation "∅" := nil.
74+ #[local] Reserved Notation "Γ ⊢ Δ" (at level 70, no associativity).
7075
7176Section S_cll_restr_without_cut.
7277
0 commit comments