(* -*- coding:utf-8 -*- *) (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* y) (at level 90, right associativity): type_scope. Notation "x ↔ y" := (x <-> y) (at level 95, no associativity): type_scope. Notation "¬ x" := (~x) (at level 75, right associativity) : type_scope. Notation "x ≠ y" := (x <> y) (at level 70) : type_scope. (* Abstraction *) (* Not nice Notation "'λ' x : T , y" := ([x:T] y) (at level 1, x,T,y at level 10). Notation "'λ' x := T , y" := ([x:=T] y) (at level 1, x,T,y at level 10). *) (* Arithmetic *) Notation "x ≤ y" := (le x y) (at level 70, no associativity). Notation "x ≥ y" := (ge x y) (at level 70, no associativity). (* test *) (* Goal ∀ x, True -> (∃ y , x ≥ y + 1) ∨ x ≤ 0. *) (* Integer Arithmetic *) (* TODO: this should come after ZArith Notation "x ≤ y" := (Zle x y) (at level 1, y at level 10). *)