Debian Codegraph @

test-suite/output/bug_9180.v

raw
1 Abbreviation succn := (Datatypes.S).
2
3 Notation "n .+1" := (succn n) (at level 1, left associativity,
4 format "n .+1") : nat_scope.
5
6 Locate ".+1".
7 (* Notation *)
8 (* "n .+1" := S n : nat_scope (default interpretation) *)
9 (** so Coq does not apply succn notation *)
10
11 Check forall x : nat, x.+1 = x.+1.