Theory intto

Parents

Contents

Type operators

(none)

Constants

Definitions

intOrdintto

Theorems

BIT1_gt_neg_thmBIT1_nzBIT2_gt_neg_thmBIT2_nzZERO_eq_neg_ZERO_thmapintto_thmgt_neg_BIT1_thmgt_neg_BIT2_thmneg_BIT1_lt_thmneg_BIT2_lt_thmneg_ZERO_eq_ZERO_thmneg_lt_BIT1_thmneg_lt_BIT2_thmneg_neg_thmpos_pos_thm

Definitions

|- intOrd = TO_of_LinearOrder $<
|- intto = TO intOrd

Theorems

|- !m n. intOrd (&BIT1 m) (-&n) = GREATER
|- !n. BIT1 n <> 0
|- !m n. intOrd (&BIT2 m) (-&n) = GREATER
|- !n. BIT2 n <> 0
|- intOrd (&ZERO) (-&ZERO) = EQUAL
|- apto intto = intOrd
|- !m n. intOrd (&m) (-&BIT1 n) = GREATER
|- !m n. intOrd (&m) (-&BIT2 n) = GREATER
|- !m n. intOrd (-&BIT1 m) (&n) = LESS
|- !m n. intOrd (-&BIT2 m) (&n) = LESS
|- intOrd (-&ZERO) (&ZERO) = EQUAL
|- !m n. intOrd (-&m) (&BIT1 n) = LESS
|- !m n. intOrd (-&m) (&BIT2 n) = LESS
|- !m n. intOrd (-&m) (-&n) = numOrd n m
|- !m n. intOrd (&m) (&n) = numOrd m n