val va_qcode_Loop_rounds_0_63_body
      (va_mods: va_mods_t)
      (i: nat)
      (msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: vec_opr)
      (k_b: buffer128)
      (block: block_w)
      (hash_orig: hash256)
    : (va_quickCode unit
        (va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec))
let va_qcode_Loop_rounds_0_63_body (va_mods:va_mods_t) (i:nat) (msg:vec_opr) (a_vec:vec_opr)
  (b_vec:vec_opr) (c_vec:vec_opr) (d_vec:vec_opr) (e_vec:vec_opr) (f_vec:vec_opr) (g_vec:vec_opr)
  (h_vec:vec_opr) (k_b:buffer128) (block:block_w) (hash_orig:hash256) : (va_quickCode unit
  (va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec)) =
  (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 227 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm h_vec h_vec msg) (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 228 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vsel (va_op_vec_opr_vec 25) g_vec f_vec e_vec) (fun (va_s:va_state) _ -> let
    (va_arg53:Vale.Def.Words_s.nat32) = Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr
    va_old_s e_vec) in let (va_arg52:Vale.Def.Words_s.nat32) =
    Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_old_s g_vec) in let
    (va_arg51:Vale.Def.Words_s.nat32) = Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr
    va_old_s f_vec) in va_qPURE va_range1
    "***** PRECONDITION NOT MET AT line 229 column 17 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> Vale.SHA.PPC64LE.SHA_helpers.lemma_vsel32 va_arg51 va_arg52 va_arg53)
    (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 230 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_qInlineIf va_mods (op_disEquality i 63) (qblock va_mods (fun (va_s:va_state) -> va_QSeq
    va_range1
    "***** PRECONDITION NOT MET AT line 232 column 16 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm g_vec g_vec (va_op_vec_opr_vec 24)) (va_QEmpty (())))) (qblock va_mods (fun
    (va_s:va_state) -> va_QEmpty (())))) (fun (va_s:va_state) va_g -> va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 234 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm h_vec h_vec (va_op_vec_opr_vec 25)) (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 235 column 18 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_SHA256_Sigma1 (va_op_vec_opr_vec 26) e_vec i block hash_orig) (fun (va_s:va_state) _
    -> let (va_arg50:Vale.SHA.PPC64LE.SHA_helpers.hash256) = hash_orig in let
    (va_arg49:Vale.SHA.PPC64LE.SHA_helpers.block_w) = block in let
    (va_arg48:Vale.SHA.PPC64LE.SHA_helpers.counter) = i in va_qPURE va_range1
    "***** PRECONDITION NOT MET AT line 236 column 28 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> Vale.SHA.PPC64LE.SHA_helpers.lemma_sigma_1_1_partial va_arg48 va_arg49
    va_arg50) (va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 237 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm h_vec h_vec (va_op_vec_opr_vec 26)) (va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 238 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vxor (va_op_vec_opr_vec 25) a_vec b_vec) (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 239 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vsel (va_op_vec_opr_vec 25) b_vec c_vec (va_op_vec_opr_vec 25)) (fun (va_s:va_state)
    _ -> va_qPURE va_range1
    "***** PRECONDITION NOT MET AT line 240 column 22 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> Vale.Def.Types_s.quad32_xor_reveal ()) (let (va_arg47:Vale.Def.Words_s.nat32)
    = Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_old_s c_vec) in let
    (va_arg46:Vale.Def.Words_s.nat32) = Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr
    va_old_s b_vec) in let (va_arg45:Vale.Def.Words_s.nat32) =
    Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_old_s a_vec) in va_qPURE
    va_range1
    "***** PRECONDITION NOT MET AT line 241 column 25 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> Vale.SHA.PPC64LE.SHA_helpers.lemma_eq_maj_xvsel32 va_arg45 va_arg46 va_arg47)
    (va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 242 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm d_vec d_vec h_vec) (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 243 column 18 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_SHA256_Sigma0 (va_op_vec_opr_vec 26) a_vec i block hash_orig) (fun (va_s:va_state) _
    -> let (va_arg44:Vale.SHA.PPC64LE.SHA_helpers.hash256) = hash_orig in let
    (va_arg43:Vale.SHA.PPC64LE.SHA_helpers.block_w) = block in let
    (va_arg42:Vale.SHA.PPC64LE.SHA_helpers.counter) = i in va_qPURE va_range1
    "***** PRECONDITION NOT MET AT line 244 column 28 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> Vale.SHA.PPC64LE.SHA_helpers.lemma_sigma_1_0_partial va_arg42 va_arg43
    va_arg44) (va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 245 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm (va_op_vec_opr_vec 26) (va_op_vec_opr_vec 26) (va_op_vec_opr_vec 25))
    (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 246 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm h_vec h_vec (va_op_vec_opr_vec 26)) (fun (va_s:va_state) _ -> let
    (va_arg41:Vale.SHA.PPC64LE.SHA_helpers.hash256) = hash_orig in let
    (va_arg40:Vale.SHA.PPC64LE.SHA_helpers.block_w) = block in let
    (va_arg39:Vale.SHA.PPC64LE.SHA_helpers.counter) = i in va_qPURE va_range1
    "***** PRECONDITION NOT MET AT line 247 column 34 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> Vale.SHA.PPC64LE.SHA_helpers.lemma_shuffle_core_properties va_arg39 va_arg40
    va_arg41) (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 248 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_qInlineIf va_mods (i = 63) (qblock va_mods (fun (va_s:va_state) -> let
    (va_arg38:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s g_vec in let
    (va_arg37:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s f_vec in let
    (va_arg36:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s e_vec in let
    (va_arg35:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s d_vec in let
    (va_arg34:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s c_vec in let
    (va_arg33:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s b_vec in let
    (va_arg32:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s a_vec in let
    (va_arg31:Vale.Def.Types_s.quad32) = va_eval_vec_opr va_s h_vec in let
    (va_arg30:Vale.SHA.PPC64LE.SHA_helpers.hash256) =
    Vale.SHA.PPC64LE.SHA_helpers.repeat_range_vale_64 block hash_orig in va_qPURE va_range1
    "***** PRECONDITION NOT MET AT line 250 column 34 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> Vale.SHA.PPC64LE.SHA_helpers.lemma_make_seperated_hash va_arg30 va_arg31
    va_arg32 va_arg33 va_arg34 va_arg35 va_arg36 va_arg37 va_arg38) (va_QEmpty (())))) (qblock
    va_mods (fun (va_s:va_state) -> va_QEmpty (())))) (fun (va_s:va_state) va_g -> va_QEmpty
    (()))))))))))))))))))))))
val va_qcode_Loop_rounds_0_63_body
      (va_mods: va_mods_t)
      (i: nat)
      (msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: vec_opr)
      (k_b: buffer128)
      (block: block_w)
      (hash_orig: hash256)
    : (va_quickCode unit
        (va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec))
let va_qcode_Loop_rounds_0_63_body
      (va_mods: va_mods_t)
      (i: nat)
      (msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: vec_opr)
      (k_b: buffer128)
      (block: block_w)
      (hash_orig: hash256)
    : (va_quickCode unit
        (va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec)) =
(qblock va_mods
    (fun (va_s: va_state) ->
        let va_old_s:va_state = va_s in
        va_QSeq va_range1
          "***** PRECONDITION NOT MET AT line 227 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
          (va_quick_Vadduwm h_vec h_vec msg)
          (va_QBind va_range1
              "***** PRECONDITION NOT MET AT line 228 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
              (va_quick_Vsel (va_op_vec_opr_vec 25) g_vec f_vec e_vec)
              (fun (va_s: va_state) _ ->
                  let va_arg53:Vale.Def.Words_s.nat32 =
                    Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_old_s e_vec)
                  in
                  let va_arg52:Vale.Def.Words_s.nat32 =
                    Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_old_s g_vec)
                  in
                  let va_arg51:Vale.Def.Words_s.nat32 =
                    Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_old_s f_vec)
                  in
                  va_qPURE va_range1
                    "***** PRECONDITION NOT MET AT line 229 column 17 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                    (fun (_: unit) ->
                        Vale.SHA.PPC64LE.SHA_helpers.lemma_vsel32 va_arg51 va_arg52 va_arg53)
                    (va_QBind va_range1
                        "***** PRECONDITION NOT MET AT line 230 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                        (va_qInlineIf va_mods
                            (op_disEquality i 63)
                            (qblock va_mods
                                (fun (va_s: va_state) ->
                                    va_QSeq va_range1
                                      "***** PRECONDITION NOT MET AT line 232 column 16 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                      (va_quick_Vadduwm g_vec g_vec (va_op_vec_opr_vec 24))
                                      (va_QEmpty (()))))
                            (qblock va_mods (fun (va_s: va_state) -> va_QEmpty (()))))
                        (fun (va_s: va_state) va_g ->
                            va_QSeq va_range1
                              "***** PRECONDITION NOT MET AT line 234 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                              (va_quick_Vadduwm h_vec h_vec (va_op_vec_opr_vec 25))
                              (va_QBind va_range1
                                  "***** PRECONDITION NOT MET AT line 235 column 18 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                  (va_quick_SHA256_Sigma1 (va_op_vec_opr_vec 26)
                                      e_vec
                                      i
                                      block
                                      hash_orig)
                                  (fun (va_s: va_state) _ ->
                                      let va_arg50:Vale.SHA.PPC64LE.SHA_helpers.hash256 =
                                        hash_orig
                                      in
                                      let va_arg49:Vale.SHA.PPC64LE.SHA_helpers.block_w = block in
                                      let va_arg48:Vale.SHA.PPC64LE.SHA_helpers.counter = i in
                                      va_qPURE va_range1
                                        "***** PRECONDITION NOT MET AT line 236 column 28 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                        (fun (_: unit) ->
                                            Vale.SHA.PPC64LE.SHA_helpers.lemma_sigma_1_1_partial va_arg48
                                              va_arg49
                                              va_arg50)
                                        (va_QSeq va_range1
                                            "***** PRECONDITION NOT MET AT line 237 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                            (va_quick_Vadduwm h_vec h_vec (va_op_vec_opr_vec 26))
                                            (va_QSeq va_range1
                                                "***** PRECONDITION NOT MET AT line 238 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                (va_quick_Vxor (va_op_vec_opr_vec 25) a_vec b_vec)
                                                (va_QBind va_range1
                                                    "***** PRECONDITION NOT MET AT line 239 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                    (va_quick_Vsel (va_op_vec_opr_vec 25)
                                                        b_vec
                                                        c_vec
                                                        (va_op_vec_opr_vec 25))
                                                    (fun (va_s: va_state) _ ->
                                                        va_qPURE va_range1
                                                          "***** PRECONDITION NOT MET AT line 240 column 22 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                          (fun (_: unit) ->
                                                              Vale.Def.Types_s.quad32_xor_reveal ())
                                                          (let va_arg47:Vale.Def.Words_s.nat32 =
                                                              Vale.Def.Words_s.__proj__Mkfour__item__hi3
                                                                (va_eval_vec_opr va_old_s c_vec)
                                                            in
                                                            let va_arg46:Vale.Def.Words_s.nat32 =
                                                              Vale.Def.Words_s.__proj__Mkfour__item__hi3
                                                                (va_eval_vec_opr va_old_s b_vec)
                                                            in
                                                            let va_arg45:Vale.Def.Words_s.nat32 =
                                                              Vale.Def.Words_s.__proj__Mkfour__item__hi3
                                                                (va_eval_vec_opr va_old_s a_vec)
                                                            in
                                                            va_qPURE va_range1
                                                              "***** PRECONDITION NOT MET AT line 241 column 25 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                              (fun (_: unit) ->
                                                                  Vale.SHA.PPC64LE.SHA_helpers.lemma_eq_maj_xvsel32
                                                                    va_arg45
                                                                    va_arg46
                                                                    va_arg47)
                                                              (va_QSeq va_range1
                                                                  "***** PRECONDITION NOT MET AT line 242 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                  (va_quick_Vadduwm d_vec
                                                                      d_vec
                                                                      h_vec)
                                                                  (va_QBind va_range1
                                                                      "***** PRECONDITION NOT MET AT line 243 column 18 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                      (va_quick_SHA256_Sigma0 (va_op_vec_opr_vec
                                                                              26)
                                                                          a_vec
                                                                          i
                                                                          block
                                                                          hash_orig)
                                                                      (fun (va_s: va_state) _ ->
                                                                          let va_arg44:Vale.SHA.PPC64LE.SHA_helpers.hash256
                                                                          =
                                                                            hash_orig
                                                                          in
                                                                          let va_arg43:Vale.SHA.PPC64LE.SHA_helpers.block_w
                                                                          =
                                                                            block
                                                                          in
                                                                          let va_arg42:Vale.SHA.PPC64LE.SHA_helpers.counter
                                                                          =
                                                                            i
                                                                          in
                                                                          va_qPURE va_range1
                                                                            "***** PRECONDITION NOT MET AT line 244 column 28 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                            (fun (_: unit) ->
                                                                                Vale.SHA.PPC64LE.SHA_helpers.lemma_sigma_1_0_partial
                                                                                  va_arg42
                                                                                  va_arg43
                                                                                  va_arg44)
                                                                            (va_QSeq va_range1
                                                                                "***** PRECONDITION NOT MET AT line 245 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                                (va_quick_Vadduwm (va_op_vec_opr_vec
                                                                                        26)
                                                                                    (va_op_vec_opr_vec
                                                                                        26)
                                                                                    (va_op_vec_opr_vec
                                                                                        25))
                                                                                (va_QBind va_range1
                                                                                    "***** PRECONDITION NOT MET AT line 246 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                                    (va_quick_Vadduwm
                                                                                        h_vec
                                                                                        h_vec
                                                                                        (va_op_vec_opr_vec
                                                                                            26))
                                                                                    (fun
                                                                                        (va_s:
                                                                                          va_state)
                                                                                        _
                                                                                        ->
                                                                                        let va_arg41:Vale.SHA.PPC64LE.SHA_helpers.hash256
                                                                                        =
                                                                                          hash_orig
                                                                                        in
                                                                                        let va_arg40:Vale.SHA.PPC64LE.SHA_helpers.block_w
                                                                                        =
                                                                                          block
                                                                                        in
                                                                                        let va_arg39:Vale.SHA.PPC64LE.SHA_helpers.counter
                                                                                        =
                                                                                          i
                                                                                        in
                                                                                        va_qPURE va_range1
                                                                                          "***** PRECONDITION NOT MET AT line 247 column 34 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                                          (fun
                                                                                              (_:
                                                                                                unit
                                                                                              )
                                                                                              ->
                                                                                              Vale.SHA.PPC64LE.SHA_helpers.lemma_shuffle_core_properties
                                                                                                va_arg39
                                                                                                va_arg40
                                                                                                va_arg41
                                                                                              )
                                                                                          (va_QBind va_range1
                                                                                              "***** PRECONDITION NOT MET AT line 248 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                                              (va_qInlineIf
                                                                                                  va_mods
                                                                                                  (i =
                                                                                                    63
                                                                                                  )
                                                                                                  (qblock
                                                                                                      va_mods
                                                                                                      (
                                                                                                        fun
                                                                                                          (
                                                                                                            va_s:
                                                                                                            va_state
                                                                                                          )
                                                                                                          ->
                                                                                                          let
                                                                                                          va_arg38:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              g_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg37:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              f_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg36:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              e_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg35:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              d_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg34:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              c_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg33:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              b_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg32:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              a_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg31:Vale.Def.Types_s.quad32
                                                                                                          =
                                                                                                            va_eval_vec_opr
                                                                                                              va_s
                                                                                                              h_vec

                                                                                                          in
                                                                                                          let
                                                                                                          va_arg30:Vale.SHA.PPC64LE.SHA_helpers.hash256
                                                                                                          =
                                                                                                            Vale.SHA.PPC64LE.SHA_helpers.repeat_range_vale_64
                                                                                                              block
                                                                                                              hash_orig

                                                                                                          in
                                                                                                          va_qPURE
                                                                                                            va_range1
                                                                                                            "***** PRECONDITION NOT MET AT line 250 column 34 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
                                                                                                            (
                                                                                                              fun
                                                                                                                (
                                                                                                                  _:
                                                                                                                  unit
                                                                                                                )
                                                                                                                ->
                                                                                                                Vale.SHA.PPC64LE.SHA_helpers.lemma_make_seperated_hash
                                                                                                                  va_arg30
                                                                                                                  va_arg31
                                                                                                                  va_arg32
                                                                                                                  va_arg33
                                                                                                                  va_arg34
                                                                                                                  va_arg35
                                                                                                                  va_arg36
                                                                                                                  va_arg37
                                                                                                                  va_arg38

                                                                                                            )
                                                                                                            (
                                                                                                              va_QEmpty
                                                                                                                (
                                                                                                                  ()
                                                                                                                )

                                                                                                            )

                                                                                                      )

                                                                                                  )
                                                                                                  (qblock
                                                                                                      va_mods
                                                                                                      (
                                                                                                        fun
                                                                                                          (
                                                                                                            va_s:
                                                                                                            va_state
                                                                                                          )
                                                                                                          ->
                                                                                                          va_QEmpty
                                                                                                            (
                                                                                                              ()
                                                                                                            )

                                                                                                      )

                                                                                                  ))
                                                                                              (fun
                                                                                                  (va_s:
                                                                                                    va_state
                                                                                                  )
                                                                                                  va_g
                                                                                                  ->
                                                                                                  va_QEmpty
                                                                                                    (
                                                                                                      ()
                                                                                                    )
                                                                                                  ))
                                                                                    ))))))))))))))))
          )))
Vale.SHA.PPC64LE.Rounds.Core.fst.checked
Vale.SHA2.Wrapper.fsti.checked Vale.SHA.PPC64LE.SHA_helpers.fsti.checked Vale.PPC64LE.State.fsti.checked Vale.PPC64LE.Stack_i.fsti.checked Vale.PPC64LE.QuickCodes.fsti.checked Vale.PPC64LE.QuickCode.fst.checked Vale.PPC64LE.Memory.fsti.checked Vale.PPC64LE.Machine_s.fst.checked Vale.PPC64LE.InsVector.fsti.checked Vale.PPC64LE.InsStack.fsti.checked Vale.PPC64LE.InsMem.fsti.checked Vale.PPC64LE.InsBasic.fsti.checked Vale.PPC64LE.Decls.fsti.checked Vale.Def.Words_s.fsti.checked Vale.Def.Words.Seq_s.fsti.checked Vale.Def.Types_s.fst.checked Vale.Def.Opaque_s.fsti.checked Vale.Arch.Types.fsti.checked Vale.Arch.HeapImpl.fsti.checked Spec.SHA2.fsti.checked Spec.Loops.fst.checked Spec.Hash.Definitions.fst.checked Spec.Agile.Hash.fsti.checked prims.fst.checked FStar.Seq.Base.fsti.checked FStar.Seq.fst.checked FStar.Pervasives.Native.fst.checked FStar.Pervasives.fsti.checked
Vale.SHA.PPC64LE.Rounds.Core.fst
Vale.PPC64LE.QuickCode.va_mods_t Prims.nat Vale.PPC64LE.Decls.vec_opr Vale.PPC64LE.Memory.buffer128 Vale.SHA.PPC64LE.SHA_helpers.block_w Vale.SHA.PPC64LE.SHA_helpers.hash256 Vale.PPC64LE.QuickCodes.qblock Prims.unit Prims.Cons Vale.PPC64LE.Decls.va_code Vale.PPC64LE.InsVector.va_code_Vadduwm Vale.PPC64LE.InsVector.va_code_Vsel Vale.PPC64LE.Decls.va_op_vec_opr_vec Vale.PPC64LE.QuickCodes.if_code Prims.op_disEquality Prims.int Vale.PPC64LE.QuickCodes.block Prims.Nil Vale.PPC64LE.Machine_s.precode Vale.PPC64LE.Decls.ins Vale.PPC64LE.Decls.ocmp Vale.PPC64LE.InsVector.va_code_SHA256_Sigma1 Vale.PPC64LE.InsVector.va_code_Vxor Vale.PPC64LE.InsVector.va_code_SHA256_Sigma0 Prims.op_Equality Vale.PPC64LE.Decls.va_state Vale.PPC64LE.QuickCodes.va_QSeq Vale.PPC64LE.QuickCodes.va_range1 Vale.PPC64LE.InsVector.va_quick_Vadduwm Vale.PPC64LE.QuickCodes.va_QBind Vale.PPC64LE.InsVector.va_quick_Vsel Vale.PPC64LE.QuickCodes.va_qPURE Prims.pure_post Prims.l_and Prims.l_True Prims.l_Forall Prims.l_imp Prims.b2t Vale.Def.Words_s.nat32 Vale.Def.Sel.logsel Vale.Def.Types_s.ixor Vale.Def.Types_s.iand Vale.Def.Types_s.inot Vale.SHA.PPC64LE.SHA_helpers.lemma_vsel32 Vale.PPC64LE.QuickCodes.va_qInlineIf Vale.PPC64LE.QuickCodes.va_QEmpty Vale.PPC64LE.QuickCodes.quickCodes Vale.PPC64LE.InsVector.va_quick_SHA256_Sigma1 Prims.op_LessThan Prims.eq2 Vale.SHA2.Wrapper.sigma256_1_1 Vale.SHA.PPC64LE.SHA_helpers.word_to_nat32 FStar.Seq.Base.index Vale.SHA.PPC64LE.SHA_helpers.word Vale.SHA.PPC64LE.SHA_helpers.repeat_range_vale Vale.SHA.PPC64LE.SHA_helpers.sigma_1_1_partial Vale.SHA.PPC64LE.SHA_helpers.lemma_sigma_1_1_partial Vale.PPC64LE.InsVector.va_quick_Vxor Vale.Def.Types_s.quad32 Vale.Def.Types_s.quad32_xor Vale.Def.Types_s.quad32_xor_def Vale.Def.Types_s.quad32_xor_reveal Vale.SHA.PPC64LE.SHA_helpers.lemma_eq_maj_xvsel32 Vale.PPC64LE.InsVector.va_quick_SHA256_Sigma0 Vale.SHA2.Wrapper.sigma256_1_0 Vale.SHA.PPC64LE.SHA_helpers.sigma_1_0_partial Vale.SHA.PPC64LE.SHA_helpers.lemma_sigma_1_0_partial Vale.Def.Words_s.natN Spec.Loops.repeat_range FStar.Seq.Base.seq FStar.Seq.Base.length Prims.op_Addition Vale.SHA.PPC64LE.SHA_helpers.shuffle_core_opaque Vale.Def.Types_s.add_wrap Vale.SHA.PPC64LE.SHA_helpers.ch_256 Vale.SHA.PPC64LE.SHA_helpers.k Vale.SHA.PPC64LE.SHA_helpers.ws_opaque Vale.SHA.PPC64LE.SHA_helpers.maj_256 Vale.SHA.PPC64LE.SHA_helpers.lemma_shuffle_core_properties Vale.Def.Words_s.__proj__Mkfour__item__hi3 Vale.SHA.PPC64LE.SHA_helpers.make_seperated_hash_quad32 Vale.SHA.PPC64LE.SHA_helpers.lemma_make_seperated_hash Vale.SHA.PPC64LE.SHA_helpers.repeat_range_vale_64 Vale.PPC64LE.Decls.va_eval_vec_opr Vale.SHA.PPC64LE.SHA_helpers.counter Vale.Def.Types_s.nat32 Vale.PPC64LE.Machine_s.state Vale.PPC64LE.QuickCode.va_quickCode Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body
module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open Vale.PPC64LE.QuickCodes
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsMem
open Vale.PPC64LE.InsStack
open Vale.PPC64LE.InsVector
open Vale.SHA.PPC64LE.SHA_helpers
open Spec.SHA2
open Spec.Agile.Hash
open Spec.Hash.Definitions
open Spec.Loops
open Vale.SHA2.Wrapper
#reset-options "--z3rlimit 2000"
//-- Loop_rounds_3_7_11_body

[@ "opaque_to_smt" va_qattr]
let va_code_Loop_rounds_3_7_11_body i msg =
  (va_Block (va_CCons (va_code_Load128_byte16_buffer (va_op_heaplet_mem_heaplet 0) msg
    (va_op_reg_opr_reg 4) Secret) (va_CCons (va_code_AddImm (va_op_reg_opr_reg 4)
    (va_op_reg_opr_reg 4) 16) (va_CNil ()))))

[@ "opaque_to_smt" va_qattr]
let va_codegen_success_Loop_rounds_3_7_11_body i msg =
  (va_pbool_and (va_codegen_success_Load128_byte16_buffer (va_op_heaplet_mem_heaplet 0) msg
    (va_op_reg_opr_reg 4) Secret) (va_pbool_and (va_codegen_success_AddImm (va_op_reg_opr_reg 4)
    (va_op_reg_opr_reg 4) 16) (va_ttrue ())))

[@ "opaque_to_smt" va_qattr]
let va_qcode_Loop_rounds_3_7_11_body (va_mods:va_mods_t) (i:nat) (msg:vec_opr) (in_b:buffer128)
  (offset:nat) : (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg)) =
  (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 79 column 26 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Load128_byte16_buffer (va_op_heaplet_mem_heaplet 0) msg (va_op_reg_opr_reg 4) Secret
    in_b offset) (va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 80 column 11 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_AddImm (va_op_reg_opr_reg 4) (va_op_reg_opr_reg 4) 16) (va_QEmpty (())))))

[@"opaque_to_smt"]
let va_lemma_Loop_rounds_3_7_11_body va_b0 va_s0 i msg in_b offset =
  let (va_mods:va_mods_t) = [va_Mod_reg 4; va_Mod_ok; va_mod_vec_opr msg] in
  let va_qc = va_qcode_Loop_rounds_3_7_11_body va_mods i msg in_b offset in
  let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Loop_rounds_3_7_11_body i msg) va_qc
    va_s0 (fun va_s0 va_sM va_g -> let () = va_g in label va_range1
    "***** POSTCONDITION NOT MET AT line 55 column 1 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_get_ok va_sM) /\ (label va_range1
    "***** POSTCONDITION NOT MET AT line 76 column 73 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_eval_vec_opr va_sM msg == Vale.Def.Types_s.reverse_bytes_quad32
    (Vale.PPC64LE.Decls.buffer128_read in_b offset (va_get_mem_heaplet 0 va_sM))) /\ label
    va_range1
    "***** POSTCONDITION NOT MET AT line 77 column 29 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_get_reg 4 va_sM == va_get_reg 4 va_s0 + 16))) in
  assert_norm (va_qc.mods == va_mods);
  va_lemma_norm_mods ([va_Mod_reg 4; va_Mod_ok; va_mod_vec_opr msg]) va_sM va_s0;
  (va_sM, va_fM)


[@"opaque_to_smt"]
let va_wpProof_Loop_rounds_3_7_11_body i msg in_b offset va_s0 va_k =
  let (va_sM, va_f0) = va_lemma_Loop_rounds_3_7_11_body (va_code_Loop_rounds_3_7_11_body i msg)
    va_s0 i msg in_b offset in
  va_lemma_upd_update va_sM;
  assert (va_state_eq va_sM (va_update_reg 4 va_sM (va_update_ok va_sM (va_update_operand_vec_opr
    msg va_sM va_s0))));
  va_lemma_norm_mods ([va_Mod_reg 4; va_mod_vec_opr msg]) va_sM va_s0;
  let va_g = () in
  (va_sM, va_f0, va_g)

//--
//-- Loop_rounds_1_15_shift_body

val va_code_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
  msg1:va_operand_vec_opr -> Tot va_code
[@ "opaque_to_smt" va_qattr]
let va_code_Loop_rounds_1_15_shift_body i msg0 msg1 =
  (va_Block (va_CCons (if (i `op_Modulus` 4 = 1) then va_Block (va_CCons (va_code_Vsldoi msg0 msg1
    msg1 4) (va_CNil ())) else va_Block (va_CCons (if (i `op_Modulus` 4 = 2) then va_Block
    (va_CCons (va_code_Vsldoi msg0 msg1 msg1 8) (va_CNil ())) else va_Block (va_CCons (if (i
    `op_Modulus` 4 = 3) then va_Block (va_CCons (va_code_Vsldoi msg0 msg1 msg1 12) (va_CNil ()))
    else va_Block (va_CNil ())) (va_CNil ()))) (va_CNil ()))) (va_CNil ())))

val va_codegen_success_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
  msg1:va_operand_vec_opr -> Tot va_pbool
[@ "opaque_to_smt" va_qattr]
let va_codegen_success_Loop_rounds_1_15_shift_body i msg0 msg1 =
  (va_pbool_and (if (i `op_Modulus` 4 = 1) then va_pbool_and (va_codegen_success_Vsldoi msg0 msg1
    msg1 4) (va_ttrue ()) else va_pbool_and (if (i `op_Modulus` 4 = 2) then va_pbool_and
    (va_codegen_success_Vsldoi msg0 msg1 msg1 8) (va_ttrue ()) else va_pbool_and (if (i
    `op_Modulus` 4 = 3) then va_pbool_and (va_codegen_success_Vsldoi msg0 msg1 msg1 12) (va_ttrue
    ()) else va_ttrue ()) (va_ttrue ())) (va_ttrue ())) (va_ttrue ()))

[@ "opaque_to_smt" va_qattr]
let va_qcode_Loop_rounds_1_15_shift_body (va_mods:va_mods_t) (i:nat) (msg0:vec_opr) (msg1:vec_opr)
  (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) =
  (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 100 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_qInlineIf va_mods (i `op_Modulus` 4 = 1) (qblock va_mods (fun (va_s:va_state) -> va_QSeq
    va_range1
    "***** PRECONDITION NOT MET AT line 102 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vsldoi msg0 msg1 msg1 4) (va_QEmpty (())))) (qblock va_mods (fun (va_s:va_state) ->
    va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 104 column 13 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_qInlineIf va_mods (i `op_Modulus` 4 = 2) (qblock va_mods (fun (va_s:va_state) -> va_QSeq
    va_range1
    "***** PRECONDITION NOT MET AT line 106 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vsldoi msg0 msg1 msg1 8) (va_QEmpty (())))) (qblock va_mods (fun (va_s:va_state) ->
    va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 108 column 13 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_qInlineIf va_mods (i `op_Modulus` 4 = 3) (qblock va_mods (fun (va_s:va_state) -> va_QSeq
    va_range1
    "***** PRECONDITION NOT MET AT line 110 column 15 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vsldoi msg0 msg1 msg1 12) (va_QEmpty (())))) (qblock va_mods (fun (va_s:va_state) ->
    va_QEmpty (())))) (fun (va_s:va_state) va_g -> va_QEmpty (()))))) (fun (va_s:va_state) va_g ->
    va_QEmpty (()))))) (fun (va_s:va_state) va_g -> va_QEmpty (()))))


val va_lemma_Loop_rounds_1_15_shift_body : va_b0:va_code -> va_s0:va_state -> i:nat ->
  msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr -> block:block_w
  -> Ghost (va_state & va_fuel)
  (requires (va_require_total va_b0 (va_code_Loop_rounds_1_15_shift_body i msg0 msg1) va_s0 /\
    va_is_dst_vec_opr msg0 va_s0 /\ va_is_src_vec_opr msg1 va_s0 /\ va_get_ok va_s0 /\ l_and (l_and
    (0 <= i) (i < 16)) (i `op_Modulus` 4 =!= 0) /\ msg0 == i /\ msg1 == i - i `op_Modulus` 4 /\ (i
    `op_Modulus` 4 == 1 ==> Vale.Def.Words_s.__proj__Mkfour__item__hi2 (va_eval_vec_opr va_s0 msg1)
    == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i) /\ (i `op_Modulus` 4 == 2 ==>
    Vale.Def.Words_s.__proj__Mkfour__item__lo1 (va_eval_vec_opr va_s0 msg1) ==
    Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i) /\ (i `op_Modulus` 4 == 3 ==>
    Vale.Def.Words_s.__proj__Mkfour__item__lo0 (va_eval_vec_opr va_s0 msg1) ==
    Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i)))
  (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
    Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_sM msg0) ==
    Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i /\ va_state_eq va_sM (va_update_ok va_sM
    (va_update_operand_vec_opr msg0 va_sM va_s0))))
[@"opaque_to_smt"]
let va_lemma_Loop_rounds_1_15_shift_body va_b0 va_s0 i msg0 msg1 block =
  let (va_mods:va_mods_t) = [va_Mod_ok; va_mod_vec_opr msg0] in
  let va_qc = va_qcode_Loop_rounds_1_15_shift_body va_mods i msg0 msg1 block in
  let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Loop_rounds_1_15_shift_body i msg0
    msg1) va_qc va_s0 (fun va_s0 va_sM va_g -> let () = va_g in label va_range1
    "***** POSTCONDITION NOT MET AT line 83 column 1 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_get_ok va_sM) /\ label va_range1
    "***** POSTCONDITION NOT MET AT line 98 column 40 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_sM msg0) ==
    Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i)) in
  assert_norm (va_qc.mods == va_mods);
  va_lemma_norm_mods ([va_Mod_ok; va_mod_vec_opr msg0]) va_sM va_s0;
  (va_sM, va_fM)

[@ va_qattr]
let va_wp_Loop_rounds_1_15_shift_body (i:nat) (msg0:va_operand_vec_opr) (msg1:va_operand_vec_opr)
  (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
  (va_is_dst_vec_opr msg0 va_s0 /\ va_is_src_vec_opr msg1 va_s0 /\ va_get_ok va_s0 /\ l_and (l_and
    (0 <= i) (i < 16)) (i `op_Modulus` 4 =!= 0) /\ msg0 == i /\ msg1 == i - i `op_Modulus` 4 /\ (i
    `op_Modulus` 4 == 1 ==> Vale.Def.Words_s.__proj__Mkfour__item__hi2 (va_eval_vec_opr va_s0 msg1)
    == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i) /\ (i `op_Modulus` 4 == 2 ==>
    Vale.Def.Words_s.__proj__Mkfour__item__lo1 (va_eval_vec_opr va_s0 msg1) ==
    Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i) /\ (i `op_Modulus` 4 == 3 ==>
    Vale.Def.Words_s.__proj__Mkfour__item__lo0 (va_eval_vec_opr va_s0 msg1) ==
    Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i) /\ (forall (va_x_msg0:va_value_vec_opr) . let
    va_sM = va_upd_operand_vec_opr msg0 va_x_msg0 va_s0 in va_get_ok va_sM /\
    Vale.Def.Words_s.__proj__Mkfour__item__hi3 (va_eval_vec_opr va_sM msg0) ==
    Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block i ==> va_k va_sM (())))


val va_wpProof_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
  msg1:va_operand_vec_opr -> block:block_w -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
  -> Ghost (va_state & va_fuel & unit)
  (requires (va_t_require va_s0 /\ va_wp_Loop_rounds_1_15_shift_body i msg0 msg1 block va_s0 va_k))
  (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Loop_rounds_1_15_shift_body i msg0
    msg1) ([va_mod_vec_opr msg0]) va_s0 va_k ((va_sM, va_f0, va_g))))
[@"opaque_to_smt"]
let va_wpProof_Loop_rounds_1_15_shift_body i msg0 msg1 block va_s0 va_k =
  let (va_sM, va_f0) = va_lemma_Loop_rounds_1_15_shift_body (va_code_Loop_rounds_1_15_shift_body i
    msg0 msg1) va_s0 i msg0 msg1 block in
  va_lemma_upd_update va_sM;
  assert (va_state_eq va_sM (va_update_ok va_sM (va_update_operand_vec_opr msg0 va_sM va_s0)));
  va_lemma_norm_mods ([va_mod_vec_opr msg0]) va_sM va_s0;
  let va_g = () in
  (va_sM, va_f0, va_g)

[@ "opaque_to_smt" va_qattr]
let va_quick_Loop_rounds_1_15_shift_body (i:nat) (msg0:va_operand_vec_opr)
  (msg1:va_operand_vec_opr) (block:block_w) : (va_quickCode unit
  (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) =
  (va_QProc (va_code_Loop_rounds_1_15_shift_body i msg0 msg1) ([va_mod_vec_opr msg0])
    (va_wp_Loop_rounds_1_15_shift_body i msg0 msg1 block) (va_wpProof_Loop_rounds_1_15_shift_body i
    msg0 msg1 block))
//--
//-- Loop_rounds_16_63_body

[@ "opaque_to_smt" va_qattr]
let va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 =
  (va_Block (va_CCons (va_code_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1) (va_CCons
    (va_code_Vadduwm msg0 msg0 (va_op_vec_opr_vec 25)) (va_CCons (va_code_SHA256_sigma1
    (va_op_vec_opr_vec 26) msg3) (va_CCons (va_code_Vadduwm msg0 msg0 (va_op_vec_opr_vec 26))
    (va_CCons (va_code_Vadduwm msg0 msg0 msg2) (va_CNil ())))))))

[@ "opaque_to_smt" va_qattr]
let va_codegen_success_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 =
  (va_pbool_and (va_pbool_and (va_codegen_success_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1)
    (va_codegen_success_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1)) (va_pbool_and (va_pbool_and
    (va_codegen_success_Vadduwm msg0 msg0 (va_op_vec_opr_vec 25)) (va_codegen_success_Vadduwm msg0
    msg0 (va_op_vec_opr_vec 25))) (va_pbool_and (va_pbool_and (va_codegen_success_SHA256_sigma1
    (va_op_vec_opr_vec 26) msg3) (va_codegen_success_SHA256_sigma1 (va_op_vec_opr_vec 26) msg3))
    (va_pbool_and (va_pbool_and (va_codegen_success_Vadduwm msg0 msg0 (va_op_vec_opr_vec 26))
    (va_codegen_success_Vadduwm msg0 msg0 (va_op_vec_opr_vec 26))) (va_pbool_and (va_pbool_and
    (va_codegen_success_Vadduwm msg0 msg0 msg2) (va_codegen_success_Vadduwm msg0 msg0 msg2))
    (va_ttrue ()))))))

[@ "opaque_to_smt" va_qattr]
let va_qcode_Loop_rounds_16_63_body (va_mods:va_mods_t) (i:nat) (msg0:vec_opr) (msg1:vec_opr)
  (msg2:vec_opr) (msg3:vec_opr) (block:block_w) : (va_quickCode unit
  (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)) =
  (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 145 column 18 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1 i block) (fun (va_s:va_state) _ -> va_qPURE
    va_range1
    "***** PRECONDITION NOT MET AT line 146 column 28 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> lemma_sigma_0_0_partial i block) (va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 147 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm msg0 msg0 (va_op_vec_opr_vec 25)) (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 148 column 18 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_SHA256_sigma1 (va_op_vec_opr_vec 26) msg3 i block) (fun (va_s:va_state) _ -> va_qPURE
    va_range1
    "***** PRECONDITION NOT MET AT line 149 column 28 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> lemma_sigma_0_1_partial i block) (va_QSeq va_range1
    "***** PRECONDITION NOT MET AT line 150 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm msg0 msg0 (va_op_vec_opr_vec 26)) (va_QBind va_range1
    "***** PRECONDITION NOT MET AT line 151 column 12 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_quick_Vadduwm msg0 msg0 msg2) (fun (va_s:va_state) _ -> va_qPURE va_range1
    "***** PRECONDITION NOT MET AT line 152 column 20 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (fun (_:unit) -> lemma_ws_opaque block i) (va_QEmpty (())))))))))))

[@"opaque_to_smt"]
let va_lemma_Loop_rounds_16_63_body va_b0 va_s0 i msg0 msg1 msg2 msg3 block =
  let (va_mods:va_mods_t) = [va_Mod_vec 26; va_Mod_vec 25; va_Mod_ok; va_mod_vec_opr msg0] in
  let va_qc = va_qcode_Loop_rounds_16_63_body va_mods i msg0 msg1 msg2 msg3 block in
  let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2
    msg3) va_qc va_s0 (fun va_s0 va_sM va_g -> let () = va_g in label va_range1
    "***** POSTCONDITION NOT MET AT line 114 column 1 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (va_get_ok va_sM) /\ label va_range1
    "***** POSTCONDITION NOT MET AT line 140 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (let sigma0 = sigma256_0_0 (ws_opaque block (i - 15)) in label va_range1
    "***** POSTCONDITION NOT MET AT line 141 column 9 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    (let sigma1 = sigma256_0_1 (ws_opaque block (i - 2)) in label va_range1
    "***** POSTCONDITION NOT MET AT line 142 column 118 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    ((va_eval_vec_opr va_sM msg0).hi3 == add_wrap32 (add_wrap32 (add_wrap32 (ws_opaque block (i -
    16)) sigma0) sigma1) (ws_opaque block (i - 7))) /\ label va_range1
    "***** POSTCONDITION NOT MET AT line 143 column 40 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
    ((va_eval_vec_opr va_sM msg0).hi3 == ws_opaque block i)))) in
  assert_norm (va_qc.mods == va_mods);
  va_lemma_norm_mods ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_ok; va_mod_vec_opr msg0]) va_sM va_s0;
  (va_sM, va_fM)


[@"opaque_to_smt"]
let va_wpProof_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 block va_s0 va_k =
  let (va_sM, va_f0) = va_lemma_Loop_rounds_16_63_body (va_code_Loop_rounds_16_63_body i msg0 msg1
    msg2 msg3) va_s0 i msg0 msg1 msg2 msg3 block in
  va_lemma_upd_update va_sM;
  assert (va_state_eq va_sM (va_update_vec 26 va_sM (va_update_vec 25 va_sM (va_update_ok va_sM
    (va_update_operand_vec_opr msg0 va_sM va_s0)))));
  va_lemma_norm_mods ([va_Mod_vec 26; va_Mod_vec 25; va_mod_vec_opr msg0]) va_sM va_s0;
  let va_g = () in
  (va_sM, va_f0, va_g)

//--
//-- Loop_rounds_0_63_body

val va_code_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr -> a_vec:va_operand_vec_opr ->
  b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr -> d_vec:va_operand_vec_opr ->
  e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr -> g_vec:va_operand_vec_opr ->
  h_vec:va_operand_vec_opr -> Tot va_code
[@ "opaque_to_smt" va_qattr]
let va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec =
  (va_Block (va_CCons (va_code_Vadduwm h_vec h_vec msg) (va_CCons (va_code_Vsel (va_op_vec_opr_vec
    25) g_vec f_vec e_vec) (va_CCons (if op_disEquality i 63 then va_Block (va_CCons
    (va_code_Vadduwm g_vec g_vec (va_op_vec_opr_vec 24)) (va_CNil ())) else va_Block (va_CNil ()))
    (va_CCons (va_code_Vadduwm h_vec h_vec (va_op_vec_opr_vec 25)) (va_CCons (va_code_SHA256_Sigma1
    (va_op_vec_opr_vec 26) e_vec) (va_CCons (va_code_Vadduwm h_vec h_vec (va_op_vec_opr_vec 26))
    (va_CCons (va_code_Vxor (va_op_vec_opr_vec 25) a_vec b_vec) (va_CCons (va_code_Vsel
    (va_op_vec_opr_vec 25) b_vec c_vec (va_op_vec_opr_vec 25)) (va_CCons (va_code_Vadduwm d_vec
    d_vec h_vec) (va_CCons (va_code_SHA256_Sigma0 (va_op_vec_opr_vec 26) a_vec) (va_CCons
    (va_code_Vadduwm (va_op_vec_opr_vec 26) (va_op_vec_opr_vec 26) (va_op_vec_opr_vec 25))
    (va_CCons (va_code_Vadduwm h_vec h_vec (va_op_vec_opr_vec 26)) (va_CCons (if (i = 63) then
    va_Block (va_CNil ()) else va_Block (va_CNil ())) (va_CNil ())))))))))))))))

val va_codegen_success_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr ->
  a_vec:va_operand_vec_opr -> b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr ->
  d_vec:va_operand_vec_opr -> e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr ->
  g_vec:va_operand_vec_opr -> h_vec:va_operand_vec_opr -> Tot va_pbool
[@ "opaque_to_smt" va_qattr]
let va_codegen_success_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec =
  (va_pbool_and (va_codegen_success_Vadduwm h_vec h_vec msg) (va_pbool_and (va_codegen_success_Vsel
    (va_op_vec_opr_vec 25) g_vec f_vec e_vec) (va_pbool_and (if op_disEquality i 63 then
    va_pbool_and (va_codegen_success_Vadduwm g_vec g_vec (va_op_vec_opr_vec 24)) (va_ttrue ()) else
    va_ttrue ()) (va_pbool_and (va_codegen_success_Vadduwm h_vec h_vec (va_op_vec_opr_vec 25))
    (va_pbool_and (va_codegen_success_SHA256_Sigma1 (va_op_vec_opr_vec 26) e_vec) (va_pbool_and
    (va_codegen_success_Vadduwm h_vec h_vec (va_op_vec_opr_vec 26)) (va_pbool_and
    (va_codegen_success_Vxor (va_op_vec_opr_vec 25) a_vec b_vec) (va_pbool_and
    (va_codegen_success_Vsel (va_op_vec_opr_vec 25) b_vec c_vec (va_op_vec_opr_vec 25))
    (va_pbool_and (va_codegen_success_Vadduwm d_vec d_vec h_vec) (va_pbool_and
    (va_codegen_success_SHA256_Sigma0 (va_op_vec_opr_vec 26) a_vec) (va_pbool_and
    (va_codegen_success_Vadduwm (va_op_vec_opr_vec 26) (va_op_vec_opr_vec 26) (va_op_vec_opr_vec
    25)) (va_pbool_and (va_codegen_success_Vadduwm h_vec h_vec (va_op_vec_opr_vec 26))
    (va_pbool_and (if (i = 63) then va_ttrue () else va_ttrue ()) (va_ttrue ()))))))))))))))

[@ "opaque_to_smt" va_qattr]
let va_qcode_Loop_rounds_0_63_body (va_mods:va_mods_t) (i:nat) (msg:vec_opr) (a_vec:vec_opr)
  (b_vec:vec_opr) (c_vec:vec_opr) (d_vec:vec_opr) (e_vec:vec_opr) (f_vec:vec_opr) (g_vec:vec_opr)
  (h_vec:vec_opr) (k_b:buffer128) (block:block_w) (hash_orig:hash256) : (va_quickCode unit
val va_qcode_Loop_rounds_0_63_body
      (va_mods: va_mods_t)
      (i: nat)
      (msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: vec_opr)
      (k_b: buffer128)
      (block: block_w)
      (hash_orig: hash256)
    : (va_quickCode unit
        (va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec))

    va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
    i: Prims.nat ->
    msg: Vale.PPC64LE.Decls.vec_opr ->
    a_vec: Vale.PPC64LE.Decls.vec_opr ->
    b_vec: Vale.PPC64LE.Decls.vec_opr ->
    c_vec: Vale.PPC64LE.Decls.vec_opr ->
    d_vec: Vale.PPC64LE.Decls.vec_opr ->
    e_vec: Vale.PPC64LE.Decls.vec_opr ->
    f_vec: Vale.PPC64LE.Decls.vec_opr ->
    g_vec: Vale.PPC64LE.Decls.vec_opr ->
    h_vec: Vale.PPC64LE.Decls.vec_opr ->
    k_b: Vale.PPC64LE.Memory.buffer128 ->
    block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
    hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256
  -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
      (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec
          e_vec f_vec g_vec h_vec)