source: src/common/Registers.ma @ 736

Last change on this file since 736 was 736, checked in by campbell, 9 years ago

Extra type safety for identifiers.

File size: 358 bytes
Line 
1
2(* NB: this is essentially the same as Graphs! *)
3
4include "basics/types.ma".
5
6include "ASM/BitVectorTrie.ma".
7include "common/Identifiers.ma".
8
9axiom RegisterTag : String.
10
11definition register ≝ Identifier RegisterTag.
12
13definition register_eq : ∀x,y:register. (x=y) + (x≠y) ≝ identifier_eq ?.
14
15definition register_env ≝ IdentifierMap RegisterTag.
Note: See TracBrowser for help on using the repository browser.