Debian Codegraph @

test-suite/success/NumberNotationsNoLocal.v

raw
1 (* Test that number notations don't work on proof-local variables, especially not ones containing evars *)
2 Inductive unit11 := tt11.
3 Declare Scope unit11_scope.
4 Delimit Scope unit11_scope with unit11.
5 Goal True.
6 evar (to_uint : unit11 -> Decimal.uint).
7 evar (of_uint : Decimal.uint -> unit11).
8 Fail Number Notation unit11 of_uint to_uint : uint11_scope.
9 exact I.
10 Unshelve.
11 all: solve [ constructor ].
12 Qed.