More accurate formalization of integer ranks.
Integers with the same size, are no longer supposed to have the same rank. As a result, the C integer types (char, short, int, long, long long) are different (and thus cannot alias) even if they have the same size. We now have to use a more involved definition of integer promotions and usual arithmetic conversions. However, this new definition follows the C standard literally.
Showing
- theories/base.v 21 additions, 32 deletionstheories/base.v
- theories/collections.v 4 additions, 5 deletionstheories/collections.v
- theories/fin_maps.v 9 additions, 8 deletionstheories/fin_maps.v
- theories/finite.v 5 additions, 5 deletionstheories/finite.v
- theories/numbers.v 4 additions, 0 deletionstheories/numbers.v
- theories/orders.v 42 additions, 54 deletionstheories/orders.v
Loading
Please register or sign in to comment