X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2FPreamble.v;h=17174b3381bb141063119fe039fbf52b5cfee7db;hb=8efffc7368b5e54c42461f45a9708ff2828409a4;hp=026d6d1d017981e750fd8049b500e6574099ff81;hpb=112daf37524662d6d2267d3f7e50ff3522683b8f;p=coq-hetmet.git diff --git a/src/Preamble.v b/src/Preamble.v index 026d6d1..17174b3 100644 --- a/src/Preamble.v +++ b/src/Preamble.v @@ -85,13 +85,13 @@ Reserved Notation "Γ '∌∌' x" (at level 10). Reserved Notation "Γ '∋∋' x : a ∼ b" (at level 10, x at level 99). Reserved Notation "Γ '∋' x : c" (at level 10, x at level 99). -Reserved Notation "a ⇛ b" (at level 40). +Reserved Notation "a ⇛ b" (at level 55, right associativity). Reserved Notation "φ₁ →→ φ₂" (at level 11, right associativity). Reserved Notation "a '⊢ᴛy' b : c" (at level 20, b at level 99, c at level 80). Reserved Notation "a '⊢ᴄᴏ' b : c ∼ d" (at level 20, b at level 99). Reserved Notation "Γ '+' x : c" (at level 50, x at level 99). Reserved Notation "Γ '++' x : a ∼ b" (at level 50, x at level 99). -Reserved Notation "φ₁ ∼∼ φ₂ : κ ⇒ φ₃" (at level 11, φ₂ at level 99, right associativity). +Reserved Notation "φ₁ ∼∼ φ₂ ⇒ φ₃" (at level 11, φ₂ at level 99, right associativity). Reserved Notation "Γ > past : present '⊢ᴇ' succedent" (at level 52, past at level 99, present at level 50, succedent at level 50). @@ -100,7 +100,6 @@ Reserved Notation "'η'". Reserved Notation "'ε'". Reserved Notation "'★'". -Notation "a +++ b" := (append a b) (at level 100). Close Scope nat_scope. (* so I can redefine '1' *) Delimit Scope arrow_scope with arrow. @@ -109,6 +108,7 @@ Delimit Scope garrow_scope with garrow. Notation "f ○ g" := (fun x => f(g(x))). Notation "?? T" := (option T). +Notation "a && b" := (if a then b else false). (* these are handy since Coq's pattern matching syntax isn't integrated with its abstraction binders (like Haskell and ML) *) Notation "'⟨' x ',' y '⟩'" := ((x,y)) (at level 100).