src/HOL/SPARK/Examples/RIPEMD-160/rmd/s_l.rls
changeset 41561 d1318f3c86ba
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/HOL/SPARK/Examples/RIPEMD-160/rmd/s_l.rls	Sat Jan 15 12:35:29 2011 +0100
     1.3 @@ -0,0 +1,81 @@
     1.4 +           /*********************************************************/
     1.5 +                           /*Proof Rule Declarations*/
     1.6 +    /*Examiner Pro Edition, Version 9.1.0, Build Date 20101119, Build 19039*/
     1.7 +             /*Copyright (C) 2010 Altran Praxis Limited, Bath, U.K.*/
     1.8 +           /*********************************************************/
     1.9 +
    1.10 +
    1.11 +                        /*DATE : 29-NOV-2010 14:30:19.83*/
    1.12 +
    1.13 +                              /*function RMD.S_L*/
    1.14 +
    1.15 +
    1.16 +rule_family s_l_rules:
    1.17 +     X      requires [X:any] &
    1.18 +     X <= Y requires [X:ire, Y:ire] &
    1.19 +     X >= Y requires [X:ire, Y:ire].
    1.20 +
    1.21 +s_l_rules(1): rotate_amount__first <= element(s_values, [I]) may_be_deduced_from [0 <= I, I <= 79].
    1.22 +s_l_rules(2): element(s_values, [I]) <= rotate_amount__last may_be_deduced_from [0 <= I, I <= 79].
    1.23 +s_l_rules(3): s_values may_be_replaced_by 
    1.24 +           mk__rotate_definition([round_index__first] := 11, [
    1.25 +           round_index__first + 1] := 14, [round_index__first + 2] := 
    1.26 +           15, [round_index__first + 3] := 12, [round_index__first + 4] := 
    1.27 +           5, [round_index__first + 5] := 8, [round_index__first + 6] := 
    1.28 +           7, [round_index__first + 7] := 9, [round_index__first + 8] := 
    1.29 +           11, [round_index__first + 9] := 13, [round_index__first + 10] := 
    1.30 +           14, [round_index__first + 11] := 15, [
    1.31 +           round_index__first + 12] := 6, [round_index__first + 13] := 
    1.32 +           7, [round_index__first + 14] := 9, [round_index__first + 15] := 
    1.33 +           8, [round_index__first + 16] := 7, [round_index__first + 17] := 
    1.34 +           6, [round_index__first + 18] := 8, [round_index__first + 19] := 
    1.35 +           13, [round_index__first + 20] := 11, [
    1.36 +           round_index__first + 21] := 9, [round_index__first + 22] := 
    1.37 +           7, [round_index__first + 23] := 15, [round_index__first + 24] := 
    1.38 +           7, [round_index__first + 25] := 12, [round_index__first + 26] := 
    1.39 +           15, [round_index__first + 27] := 9, [round_index__first + 28] := 
    1.40 +           11, [round_index__first + 29] := 7, [round_index__first + 30] := 
    1.41 +           13, [round_index__first + 31] := 12, [
    1.42 +           round_index__first + 32] := 11, [round_index__first + 33] := 
    1.43 +           13, [round_index__first + 34] := 6, [round_index__first + 35] := 
    1.44 +           7, [round_index__first + 36] := 14, [round_index__first + 37] := 
    1.45 +           9, [round_index__first + 38] := 13, [round_index__first + 39] := 
    1.46 +           15, [round_index__first + 40] := 14, [
    1.47 +           round_index__first + 41] := 8, [round_index__first + 42] := 
    1.48 +           13, [round_index__first + 43] := 6, [round_index__first + 44] := 
    1.49 +           5, [round_index__first + 45] := 12, [round_index__first + 46] := 
    1.50 +           7, [round_index__first + 47] := 5, [round_index__first + 48] := 
    1.51 +           11, [round_index__first + 49] := 12, [
    1.52 +           round_index__first + 50] := 14, [round_index__first + 51] := 
    1.53 +           15, [round_index__first + 52] := 14, [
    1.54 +           round_index__first + 53] := 15, [round_index__first + 54] := 
    1.55 +           9, [round_index__first + 55] := 8, [round_index__first + 56] := 
    1.56 +           9, [round_index__first + 57] := 14, [round_index__first + 58] := 
    1.57 +           5, [round_index__first + 59] := 6, [round_index__first + 60] := 
    1.58 +           8, [round_index__first + 61] := 6, [round_index__first + 62] := 
    1.59 +           5, [round_index__first + 63] := 12, [round_index__first + 64] := 
    1.60 +           9, [round_index__first + 65] := 15, [round_index__first + 66] := 
    1.61 +           5, [round_index__first + 67] := 11, [round_index__first + 68] := 
    1.62 +           6, [round_index__first + 69] := 8, [round_index__first + 70] := 
    1.63 +           13, [round_index__first + 71] := 12, [
    1.64 +           round_index__first + 72] := 5, [round_index__first + 73] := 
    1.65 +           12, [round_index__first + 74] := 13, [
    1.66 +           round_index__first + 75] := 14, [round_index__first + 76] := 
    1.67 +           11, [round_index__first + 77] := 8, [round_index__first + 78] := 
    1.68 +           5, [round_index__first + 79] := 6).
    1.69 +s_l_rules(4): integer__size >= 0 may_be_deduced.
    1.70 +s_l_rules(5): integer__first may_be_replaced_by -2147483648.
    1.71 +s_l_rules(6): integer__last may_be_replaced_by 2147483647.
    1.72 +s_l_rules(7): integer__base__first may_be_replaced_by -2147483648.
    1.73 +s_l_rules(8): integer__base__last may_be_replaced_by 2147483647.
    1.74 +s_l_rules(9): round_index__size >= 0 may_be_deduced.
    1.75 +s_l_rules(10): round_index__first may_be_replaced_by 0.
    1.76 +s_l_rules(11): round_index__last may_be_replaced_by 79.
    1.77 +s_l_rules(12): round_index__base__first <= round_index__base__last may_be_deduced.
    1.78 +s_l_rules(13): round_index__base__first <= round_index__first may_be_deduced.
    1.79 +s_l_rules(14): round_index__base__last >= round_index__last may_be_deduced.
    1.80 +s_l_rules(15): rotate_amount__size >= 0 may_be_deduced.
    1.81 +s_l_rules(16): rotate_amount__first may_be_replaced_by 0.
    1.82 +s_l_rules(17): rotate_amount__last may_be_replaced_by 15.
    1.83 +s_l_rules(18): rotate_amount__base__first may_be_replaced_by -2147483648.
    1.84 +s_l_rules(19): rotate_amount__base__last may_be_replaced_by 2147483647.