From Stdlib Require Import Strings.String.
From Stdlib Require Import String Ascii.
From Stdlib Require Arith.
From stdpp Require Import base.
From stdpp Require Import fin_maps.
From stdpp Require Import gmap.
From stdpp Require Import base gmultiset.
From Stdlib Require Classical.
From Stdlib Require Import ZArith.
From stdpp.bitvector Require Import definitions tactics.
From Stdlib Require Import Sorting.Sorted.
From Stdlib Require Import Reals.Rbasic_fun.
From Stdlib Require Import Reals.Abstract.ConstructiveAbs.
From Stdlib Require Import Reals.Rdefinitions.
From stdpp Require Import list_relations.
From stdpp Require Import list_numbers.
From stdpp Require Import functions.
From Stdlib Require Import ClassicalEpsilon.
From stdpp Require Import base decidable.
From Stdlib Require Import ZArith.Zeuclid.
From Stdlib Require Import ZArith.Znumtheory.
From stdpp Require Import propset.
From Stdlib Require Import Reals.
Require Import Why3.Base.
Require Import Why3.Qed.Qed.
Require Import Why3.Cint.Cint.
Open Scope Z_scope.
Lemma goal0 (i_1 : Z) (i_2 : Z) (i_3 : Z) (i : Z) : let x : Z := to_sint32 (i_1 - 48%Z) in let x_1 : Z := to_sint32 (i_2 - 48%Z) in let x_2 : Z := to_sint32 (i_3 - 48%Z) in let x_3 : Z := to_sint32 (100%Z * x_1) + to_sint32 (1000%Z * x_2) in let x_4 : Z := to_sint32 (10%Z * x) + to_sint32 x_3 in let x_5 : Z := to_sint32 (i - 48%Z) + to_sint32 x_4 in - 2147483600%Z ≤ i -> - 2147483600%Z ≤ i_1 -> - 2147483600%Z ≤ i_2 -> - 2147483600%Z ≤ i_3 -> 48%Z ≤ i -> 48%Z ≤ i_1 -> 48%Z ≤ i_2 -> 48%Z ≤ i_3 -> i ≤ 57%Z -> i_1 ≤ 57%Z -> i_2 ≤ 57%Z -> i_3 ≤ 57%Z -> - 214748364%Z ≤ x -> - 21474836%Z ≤ x_1 -> - 2147483%Z ≤ x_2 -> x_2 ≤ 2147483%Z -> x_1 ≤ 21474836%Z -> x ≤ 214748364%Z -> - 2147483648%Z ≤ x_3 -> x_3 ≤ 2147483647%Z -> - 2147483648%Z ≤ x_4 -> x_4 ≤ 2147483647%Z -> - 2147483648%Z ≤ x_5 -> x_5 ≤ 2147483647%Z -> is_uint8 i -> is_uint8 i_1 -> is_uint8 i_2 -> is_uint8 i_3 -> to_uint16 (i + 10%Z * i_1 + 100%Z * i_2 + 1000%Z * i_3 - 53328%Z) ≤ 9999%Z.
Admitted.
