Report #43 — cesu8 1.1.0: conversion behavior in an adapted verification copy
6 verified claims · 1 finding
Overview
cesu8 converts between Rust strings and CESU-8 or Java modified UTF-8. Formal checks of an adapted verification copy establish the following functional behavior for the six public conversion and compatibility functions, under the modeled operations described below. These contracts state postconditions for terminating executions; allocation success and unconditional termination are not established.
For every Rust string, is_valid_cesu8 returns true exactly when every scalar is at most U+FFFF; is_valid_java_cesu8 additionally requires the absence of U+0000. The corresponding to_cesu8 and to_java_cesu8 functions produce the canonical encoding in order, returning borrowed bytes exactly for compatible strings and owned bytes otherwise.
For any byte input, each decoder first accepts a complete ordinary UTF-8 input as a borrowed string with the same contents. Otherwise it accepts exactly the canonical encoding for its variant as an owned string, and rejects inputs with no such encoding. Thus these decoders do not enforce strict canonical encoding on the ordinary UTF-8 fast path. Checked consumers compose each encoder with its matching decoder and recover the original scalar sequence and expected borrowed or owned variant.
Findings (1)
APIs (6)
Recorded callables
Evidence
https://github.com/MasWag/crate-proofs/tree/f9520e749b2c55e0e79971385364bdcc3238b2c4
Reproduce
Run locally
git clone -- https://github.com/MasWag/crate-proofs report-43-source-1
git -C report-43-source-1 checkout --detach f9520e749b2c55e0e79971385364bdcc3238b2c4
git -C report-43-source-1 submodule update --init --recursive --checkout
cd report-43-source-1/cesu8/1.1.0/creusot
bash scripts/verify.shSource on GitHub · SARIF with logs (.json)
Recorded run
Completed · 20 checks passed · 0 failed
| Check | Result | Claim |
|---|---|---|
| vc_from_cesu8 | Passed | Claim #1 |
| vc_from_cesu8_internal | Passed | Claim #1 |
| vc_from_cesu8_internal | Passed | Claim #2 |
| vc_from_java_cesu8 | Passed | Claim #2 |
| vc_as_bytes | Passed | Claim #3 |
| vc_is_valid_cesu8 | Passed | Claim #3 |
| vc_len_u8 | Passed | Claim #3 |
| vc_utf8_char_width | Passed | Claim #3 |
| vc_as_bytes | Passed | Claim #4 |
| vc_is_valid_cesu8 | Passed | Claim #4 |
| vc_is_valid_java_cesu8 | Passed | Claim #4 |
| vc_no_null | Passed | Claim #4 |
| vc_as_bytes | Passed | Claim #5 |
| vc_is_valid_cesu8 | Passed | Claim #5 |
| vc_to_cesu8 | Passed | Claim #5 |
| vc_to_cesu8_internal | Passed | Claim #5 |
| vc_as_bytes | Passed | Claim #6 |
| vc_is_valid_java_cesu8 | Passed | Claim #6 |
| vc_to_cesu8_internal | Passed | Claim #6 |
| vc_to_java_cesu8 | Passed | Claim #6 |
Execution details
- Started
- 2026-11-29T14:34:07.780711+00:00
- Finished
- 2026-11-29T14:36:19.836952+00:00
- Platform
- macos aarch64
- Rust compiler
- rustc 1.99.0-nightly (11177f223 2026-08-02) binary: rustc commit-hash: 11177f2235f0c842b00f82c558ad9480c0c3a895 commit-date: 2026-08-02 host: aarch64-apple-darwin release: 1.99.0-nightly LLVM version: 22.1.8
- Working directory
- cesu8/1.1.0/creusot
- Environment overrides
- None recorded
- Git repository
- https://github.com/MasWag/crate-proofs
- Git commit
- f9520e749b2c55e0e79971385364bdcc3238b2c4
Diagnostics & logs
=== stdout ===
Evidence directory ./cesu8/1.1.0/creusot/evidence/run-7fnk524j
Selected proof sessions passed the reconstructed root audit.
--- compile.log ---
$ ['cargo', 'creusot', '--only', 'coma', '--', '--locked', '--offline']
Compiling proc-macro2 v1.0.107
Compiling libc v0.2.191
Compiling quote v1.0.47
Compiling unicode-ident v1.0.27
Compiling getrandom v0.4.3
Compiling cfg-if v1.0.5
Compiling syn v2.0.119
Compiling uuid v1.29.2
Compiling pearlite-syn v0.14.0
Compiling creusot-std-proc v0.14.0
Checking creusot-std v0.14.0
Checking cesu8 v1.1.0 (./cesu8/1.1.0/creusot/evidence/run-7fnk524j/workspace)
warning: unused imports: `View` and `pearlite`
--> src/lib.rs:90:77
|
90 | ...res, invariant, ghost, logic, pearlite, proof_assert, requires, snapshot, Int, Seq, Snapshot, View};
| ^^^^^^^^ ^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `View`
--> src/unicode.rs:13:37
|
13 | use creusot_std::prelude::{ensures, View};
| ^^^^
warning: unused import: `creusot_std::std::iter::IteratorSpec`
--> src/decoder_specs.rs:46:5
|
46 | use creusot_std::std::iter::IteratorSpec;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `pearlite` and `proof_assert`
--> src/encode_model.rs:1:54
|
1 | use creusot_std::prelude::{ensures, requires, logic, pearlite, proof_assert, trusted, variant, Int, Seq};
| ^^^^^^^^ ^^^^^^^^^^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/lib.rs:122:32
|
122 | fn cause(&self) -> Option<&Error> { None }
| ^^^^^
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
= note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
= note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
help: if this is a dyn-compatible trait, use `dyn`
|
122 | fn cause(&self) -> Option<&dyn Error> { None }
| +++
warning: unused variable: `width`
--> src/lib.rs:308:23
|
308 | Some((width, n)) => (*prefix).push_back(decoder_specs::scalar_char(n)),
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: value assigned to `read` is never read
--> src/lib.rs:370:25
|
370 | read = snapshot! { *read + 1 };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
437 | let sixth = next_cont!();
| ------------ in this macro invocation
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
= note: this warning originates in the macro `next` which comes from the expansion of the macro `next_cont` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: value assigned to `read` is never read
--> src/lib.rs:370:25
|
370 | read = snapshot! { *read + 1 };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
400 | match next!() {
| ------- in this macro invocation
|
= help: maybe it is overwritten before being read?
= note: this warning originates in the macro `next` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: function `excludes_cesu8_markers` is never used
--> src/decoder_lemmas.rs:226:4
|
226 | fn excludes_cesu8_markers(bytes: Seq<u8>) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: function `scalar_excludes_markers` is never used
--> src/decoder_lemmas.rs:237:4
|
237 | fn scalar_excludes_markers(c: char) {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: function `excludes_markers_concat` is never used
--> src/decoder_lemmas.rs:265:4
|
265 | fn excludes_markers_concat(prefix: Seq<u8>, suffix: Seq<u8>) {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: function `utf8_excludes_markers` is never used
--> src/decoder_lemmas.rs:281:4
|
281 | fn utf8_excludes_markers(chars: Seq<char>) {
| ^^^^^^^^^^^^^^^^^^^^^
warning: function `excludes_markers_split` is never used
--> src/decoder_lemmas.rs:297:4
|
297 | fn excludes_markers_split(prefix: Seq<u8>, suffix: Seq<u8>) {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `token_excludes_markers` is never used
--> src/decoder_lemmas.rs:312:4
|
312 | fn token_excludes_markers(c: char, java: bool) {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function `encoding_excludes_markers` is never used
--> src/decoder_lemmas.rs:329:4
|
329 | fn encoding_excludes_markers(chars: Seq<char>, java: bool) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `canonical_ownership` is never used
--> src/decoder_lemmas.rs:346:15
|
346 | pub(crate) fn canonical_ownership(chars: Seq<char>, java: bool) {
| ^^^^^^^^^^^^^^^^^^^
warning: function `capacity_identity` is never used
--> src/encode_model.rs:179:15
|
179 | pub(crate) fn capacity_identity(n: Int) {}
| ^^^^^^^^^^^^^^^^^
warning: function `observes_round_trip` is never used
--> src/round_trip.rs:10:4
|
10 | fn observes_round_trip(
| ^^^^^^^^^^^^^^^^^^^
warning: function `round_trip_model` is never used
--> src/round_trip.rs:27:4
|
27 | fn round_trip_model(
| ^^^^^^^^^^^^^^^^
warning: function `cesu8_round_trip` is never used
--> src/round_trip.rs:56:15
|
56 | pub(crate) fn cesu8_round_trip(text: &str) {
| ^^^^^^^^^^^^^^^^
warning: function `java_cesu8_round_trip` is never used
--> src/round_trip.rs:70:15
|
70 | pub(crate) fn java_cesu8_round_trip(text: &str) {
| ^^^^^^^^^^^^^^^^^^^^^
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/lib.rs:161:26
|
161 | pub fn from_cesu8(bytes: &[u8]) -> Result<Cow<str>, Cesu8DecodingError> {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
161 | pub fn from_cesu8(bytes: &[u8]) -> Result<Cow<'_, str>, Cesu8DecodingError> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/lib.rs:190:31
|
190 | pub fn from_java_cesu8(bytes: &[u8]) -> Result<Cow<str>, Cesu8DecodingError> {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
190 | pub fn from_java_cesu8(bytes: &[u8]) -> Result<Cow<'_, str>, Cesu8DecodingError> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/lib.rs:196:31
|
196 | fn from_cesu8_internal(bytes: &[u8], variant: Variant) ->
| ^^^^^ the lifetime is elided here
197 | Result<Cow<str>, Cesu8DecodingError>
| ^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
197 | Result<Cow<'_, str>, Cesu8DecodingError>
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/lib.rs:578:23
|
578 | pub fn to_cesu8(text: &str) -> Cow<[u8]> {
| ^^^^ ^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
578 | pub fn to_cesu8(text: &str) -> Cow<'_, [u8]> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/lib.rs:608:28
|
608 | pub fn to_java_cesu8(text: &str) -> Cow<[u8]> {
| ^^^^ ^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
608 | pub fn to_java_cesu8(text: &str) -> Cow<'_, [u8]> {
| +++
warning: `cesu8` (lib) generated 26 warnings (run `cargo fix --lib -p cesu8` to apply 11 suggestions)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.11s
--- selected.log ---
$ ['bash', './cesu8/1.1.0/creusot/scripts/prove.sh', 'verif/cesu8_rlib/append_encoded_scalar.coma', 'verif/cesu8_rlib/dec_surrogate.coma', 'verif/cesu8_rlib/dec_surrogates.coma', 'verif/cesu8_rlib/decode_from_iter.coma', 'verif/cesu8_rlib/decode_one.coma', 'verif/cesu8_rlib/decoder_specs/advance_suffix.coma', 'verif/cesu8_rlib/decoder_specs/append_ascii.coma', 'verif/cesu8_rlib/decoder_specs/append_scalar.coma', 'verif/cesu8_rlib/decoder_specs/ascii_output.coma', 'verif/cesu8_rlib/decoder_specs/continuation_byte.coma', 'verif/cesu8_rlib/decoder_specs/extend_bytes.coma', 'verif/cesu8_rlib/decoder_specs/first_suffix.coma', 'verif/cesu8_rlib/decoder_specs/next_byte.coma', 'verif/cesu8_rlib/decoder_specs/prepend_cons.coma', 'verif/cesu8_rlib/decoder_specs/prepend_empty.coma', 'verif/cesu8_rlib/decoder_specs/prepend_end.coma', 'verif/cesu8_rlib/decoder_specs/scalar_char_value.coma', 'verif/cesu8_rlib/decoder_specs/supplementary_output.coma', 'verif/cesu8_rlib/decoder_specs/three_byte_output.coma', 'verif/cesu8_rlib/decoder_specs/two_byte_output.coma', 'verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma', 'verif/cesu8_rlib/decoder_lemmas/char_cons.coma', 'verif/cesu8_rlib/decoder_lemmas/char_head_tail.coma', 'verif/cesu8_rlib/decoder_lemmas/join_byte_subsequences.coma', 'verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma', 'verif/cesu8_rlib/decoder_lemmas/excludes_markers_concat.coma', 'verif/cesu8_rlib/decoder_lemmas/excludes_markers_split.coma', 'verif/cesu8_rlib/decoder_lemmas/fallback.coma', 'verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma', 'verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma', 'verif/cesu8_rlib/decoder_lemmas/fallback_step.coma', 'verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma', 'verif/cesu8_rlib/decoder_lemmas/scalar_excludes_markers.coma', 'verif/cesu8_rlib/decoder_lemmas/step_bounds.coma', 'verif/cesu8_rlib/decoder_lemmas/step_canonical.coma', 'verif/cesu8_rlib/decoder_lemmas/step_sound.coma', 'verif/cesu8_rlib/decoder_lemmas/token_excludes_markers.coma', 'verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma', 'verif/cesu8_rlib/enc_surrogate.coma', 'verif/cesu8_rlib/encode_model/advance_bytes.coma', 'verif/cesu8_rlib/encode_model/capacity_identity.coma', 'verif/cesu8_rlib/encode_model/compatible_encoding.coma', 'verif/cesu8_rlib/encode_model/octet.coma', 'verif/cesu8_rlib/encode_model/split_encoding.coma', 'verif/cesu8_rlib/from_cesu8.coma', 'verif/cesu8_rlib/from_cesu8_internal.coma', 'verif/cesu8_rlib/from_java_cesu8.coma', 'verif/cesu8_rlib/impl_PartialEq_for_Variant/eq.coma', 'verif/cesu8_rlib/impl_PartialEq_for_Variant/eq__refines.coma', 'verif/cesu8_rlib/is_valid_cesu8.coma', 'verif/cesu8_rlib/is_valid_java_cesu8.coma', 'verif/cesu8_rlib/low_utf8_digit.coma', 'verif/cesu8_rlib/middle_utf8_digits.coma', 'verif/cesu8_rlib/no_null.coma', 'verif/cesu8_rlib/surrogate_pair_payload.coma', 'verif/cesu8_rlib/to_cesu8.coma', 'verif/cesu8_rlib/to_cesu8_internal.coma', 'verif/cesu8_rlib/to_java_cesu8.coma', 'verif/cesu8_rlib/unicode/UTF8_CHAR_WIDTH.coma']
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 158, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 462, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 766, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 1070, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 1374, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 78, characters 173-177: unused variable high
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 78, characters 192-195: unused variable low
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 81, characters 6-33: axiom surrogate_pair_payload_spec does not contain any local abstract symbol (contains: int, (=), (+), ( * ), (<), t, t'int, bw_or, shl)
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 91, characters 111-118: unused variable shifted
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 91, characters 18-21: unused variable low
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 93, characters 6-25: axiom low_utf8_digit_spec does not contain any local abstract symbol (contains: int, (=), (<=), mod, t, t'int, bw_and)
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 96, characters 169-170: unused variable c
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 99, characters 6-29: axiom middle_utf8_digits_spec does not contain any local abstract symbol (contains: int, (=), (<=), div, mod, t, t'int, bw_and, shr)
Warning, file "verif/cesu8_rlib/dec_surrogates.coma", line 103, characters 6-31: axiom middle_utf8_digits_spec'0 does not contain any local abstract symbol (contains: int, (=), (<=), div, mod, t, t'int, bw_and, shr)
Warning, file "verif/cesu8_rlib/decode_from_iter.coma", line 95, characters 6-24: axiom prepend_empty_spec does not contain any local abstract symbol (contains: (=), seq, empty, t, t_Option_Seq_char, prepend)
Warning, file "verif/cesu8_rlib/decode_from_iter.coma", line 282, characters 6-26: axiom concat_assoc_u8_spec does not contain any local abstract symbol (contains: (=), t, seq, (++))
Warning, file "verif/cesu8_rlib/decode_from_iter.coma", line 288, characters 6-23: axiom prepend_cons_spec does not contain any local abstract symbol (contains: (=), seq, snoc, t, t_Option_Seq_char, None, Some, prepend, push_front_char)
Warning, file "verif/cesu8_rlib/decode_from_iter.coma", line 305, characters 6-22: axiom prepend_end_spec does not contain any local abstract symbol (contains: (=), seq, empty, t, t_Option_Seq_char, Some, prepend)
Warning, file "verif/cesu8_rlib/decode_from_iter.coma", line 363, characters 27-32: unused variable width
Warning, file "verif/cesu8_rlib/decode_one.coma", line 188, characters 6-23: axiom first_suffix_spec does not contain any local abstract symbol (contains: int, (=), (+), t, seq, length, ([..]), push_front_u8)
Warning, file "verif/cesu8_rlib/decode_one.coma", line 343, characters 6-25: axiom advance_suffix_spec does not contain any local abstract symbol (contains: int, (=), (+), (<), (<=), t, seq, length, get, ([..]), tail_u8)
Warning, file "verif/cesu8_rlib/decoder_specs/append_ascii.coma", line 30, characters 178-179: unused variable n
Warning, file "verif/cesu8_rlib/decoder_specs/append_ascii.coma", line 33, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_specs/append_ascii.coma", line 62, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_specs/ascii_output.coma", line 27, characters 178-179: unused variable n
Warning, file "verif/cesu8_rlib/decoder_specs/ascii_output.coma", line 30, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_specs/ascii_output.coma", line 59, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_specs/extend_bytes.coma", line 76, characters 34-38: unused variable self
Warning, file "verif/cesu8_rlib/decoder_specs/extend_bytes.coma", line 102, characters 35-39: unused variable self
Warning, file "verif/cesu8_rlib/decoder_specs/extend_bytes.coma", line 136, characters 31-35: unused variable self
Warning, file "verif/cesu8_rlib/decoder_specs/prepend_cons.coma", line 26, characters 6-28: axiom concat_assoc_char_spec does not contain any local abstract symbol (contains: (=), seq, (++), t)
Warning, file "verif/cesu8_rlib/decoder_specs/supplementary_output.coma", line 28, characters 178-179: unused variable n
Warning, file "verif/cesu8_rlib/decoder_specs/supplementary_output.coma", line 31, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_specs/supplementary_output.coma", line 60, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_specs/three_byte_output.coma", line 42, characters 178-179: unused variable n
Warning, file "verif/cesu8_rlib/decoder_specs/three_byte_output.coma", line 45, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_specs/three_byte_output.coma", line 74, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_specs/two_byte_output.coma", line 32, characters 178-179: unused variable n
Warning, file "verif/cesu8_rlib/decoder_specs/two_byte_output.coma", line 35, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_specs/two_byte_output.coma", line 64, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 154, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 153, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, gt_log_Int, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 158, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 161, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, encode_token, encode_chars, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 168, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 187, characters 30-35: unused variable bytes
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 189, characters 6-34: axiom excludes_markers_concat_spec does not contain any local abstract symbol (contains: int, (=), (-), t, t'int, seq, length, get, (++), excludes_cesu8_markers)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 204, characters 6-32: axiom utf8_excludes_markers_spec does not contain any local abstract symbol (contains: t, seq, t, to_bytes, excludes_cesu8_markers)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 208, characters 30-35: unused variable bytes
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 210, characters 6-33: axiom excludes_markers_split_spec does not contain any local abstract symbol (contains: t, seq, (++), excludes_cesu8_markers)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 218, characters 49-53: unused variable high
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 215, characters 30-35: unused variable token
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 221, characters 6-33: axiom token_excludes_markers_spec does not contain any local abstract symbol (contains: int, bool, (=), True, (<=), t, seq, t, to_int, encode_token, excludes_cesu8_markers)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 236, characters 6-36: axiom encoding_excludes_markers_spec does not contain any local abstract symbol (contains: bool, t, seq, t, encode_chars, compatible_scalars, excludes_cesu8_markers)
Warning, file "verif/cesu8_rlib/decoder_lemmas/canonical_ownership.coma", line 242, characters 6-30: axiom compatible_encoding_spec does not contain any local abstract symbol (contains: bool, (=), t, seq, t, to_bytes, encode_chars, compatible_scalars)
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 122, characters 57-61: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 122, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, gt_log_Int, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 126, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 129, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, encode_token, encode_chars, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 135, characters 29-34: unused variable bytes
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 137, characters 6-33: axiom excludes_markers_split_spec does not contain any local abstract symbol (contains: t, seq, (++), excludes_cesu8_markers)
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 145, characters 49-53: unused variable high
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 142, characters 29-34: unused variable token
Warning, file "verif/cesu8_rlib/decoder_lemmas/encoding_excludes_markers.coma", line 148, characters 6-33: axiom token_excludes_markers_spec does not contain any local abstract symbol (contains: int, bool, (=), True, (<=), t, seq, t, to_int, excludes_cesu8_markers, encode_token)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback.coma", line 108, characters 19-24: unused variable chars
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback.coma", line 104, characters 33-38: unused variable value
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 189, characters 176-181: unused variable chars
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 192, characters 6-25: axiom char_head_tail_spec does not contain any local abstract symbol (contains: int, (=), seq, length, get, t, push_front_char, tail_char, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 224, characters 57-61: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 224, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, gt_log_Int, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 228, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 231, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, encode_token, encode_chars, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 238, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 255, characters 66-69: unused variable low
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 255, characters 14-18: unused variable high
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 242, characters 97-102: unused variable input
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 261, characters 6-25: axiom step_canonical_spec does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, (++), t, to_int, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some'0, step, encode_token)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 270, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 275, characters 6-24: axiom advance_bytes_spec does not contain any local abstract symbol (contains: int, (=), (+), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 281, characters 6-26: axiom advance_bytes_spec'0 does not contain any local abstract symbol (contains: int, (=), (+), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 287, characters 6-26: axiom advance_bytes_spec'1 does not contain any local abstract symbol (contains: int, (=), (+), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 298, characters 171-176: unused variable input
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 298, characters 196-200: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 298, characters 209-214: unused variable width
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 298, characters 222-227: unused variable value
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_canonical.coma", line 301, characters 6-22: axiom step_bounds_spec does not contain any local abstract symbol (contains: int, bool, (=), (<), (<=), t, seq, length, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some'0, step, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 183, characters 171-176: unused variable input
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 183, characters 196-200: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 183, characters 209-214: unused variable width
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 183, characters 222-227: unused variable value
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 186, characters 6-22: axiom step_bounds_spec does not contain any local abstract symbol (contains: int, bool, (=), (<), (<=), t, seq, length, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some'0, step, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 214, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 243, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 258, characters 21-24: unused variable low
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 257, characters 12-16: unused variable high
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 247, characters 208-216: unused variable consumed
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 247, characters 173-178: unused variable token
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 263, characters 6-21: axiom step_sound_spec does not contain any local abstract symbol (contains: int, bool, (=), t, seq, ([..]), t, of_int, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some'0, step, encode_token)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 268, characters 171-175: unused variable head
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 268, characters 186-190: unused variable tail
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 271, characters 6-20: axiom char_cons_spec does not contain any local abstract symbol (contains: int, (=), seq, get, t, push_front_char, tail_char)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 277, characters 57-61: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 277, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, gt_log_Int, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 281, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 284, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, encode_token, encode_chars, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 291, characters 126-134: unused variable combined
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_sound.coma", line 293, characters 6-33: axiom join_byte_subsequences_spec does not contain any local abstract symbol (contains: int, (=), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_step.coma", line 108, characters 171-176: unused variable input
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_step.coma", line 108, characters 196-200: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_step.coma", line 108, characters 209-214: unused variable width
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_step.coma", line 108, characters 222-227: unused variable value
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_step.coma", line 111, characters 6-22: axiom step_bounds_spec does not contain any local abstract symbol (contains: int, bool, (=), (<), (<=), t, seq, length, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some, step, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 198, characters 171-176: unused variable input
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 198, characters 196-200: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 198, characters 209-214: unused variable width
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 198, characters 222-227: unused variable value
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 201, characters 6-22: axiom step_bounds_spec does not contain any local abstract symbol (contains: int, bool, (=), (<), (<=), t, seq, length, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some'0, step, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 220, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 249, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 264, characters 21-24: unused variable low
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 263, characters 12-16: unused variable high
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 253, characters 208-216: unused variable consumed
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 253, characters 173-178: unused variable token
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 269, characters 6-21: axiom step_sound_spec does not contain any local abstract symbol (contains: int, bool, (=), t, seq, ([..]), t, of_int, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some'0, step, encode_token)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 274, characters 171-175: unused variable head
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 274, characters 186-190: unused variable tail
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 277, characters 6-20: axiom char_cons_spec does not contain any local abstract symbol (contains: int, (=), seq, get, t, push_front_char, tail_char)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 288, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 287, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, utf8_layout, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 292, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 295, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, encode_token, encode_chars, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 302, characters 126-134: unused variable combined
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 304, characters 6-33: axiom join_byte_subsequences_spec does not contain any local abstract symbol (contains: int, (=), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 337, characters 176-181: unused variable chars
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 340, characters 6-25: axiom char_head_tail_spec does not contain any local abstract symbol (contains: int, (=), seq, length, get, t, push_front_char, tail_char, gt_log_Int)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 358, characters 66-69: unused variable low
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 358, characters 14-18: unused variable high
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 345, characters 98-103: unused variable input
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 364, characters 6-25: axiom step_canonical_spec does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, (++), t, to_int, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some'0, step, encode_token)
Warning, file "verif/cesu8_rlib/decoder_lemmas/fallback_witness.coma", line 390, characters 10-16: unused variable mapped
Warning, file "verif/cesu8_rlib/decoder_lemmas/scalar_excludes_markers.coma", line 57, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_canonical.coma", line 130, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_sound.coma", line 113, characters 171-176: unused variable input
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_sound.coma", line 113, characters 196-200: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_sound.coma", line 113, characters 209-214: unused variable width
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_sound.coma", line 113, characters 222-227: unused variable value
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_sound.coma", line 116, characters 6-22: axiom step_bounds_spec does not contain any local abstract symbol (contains: int, bool, (=), (<), (<=), t, seq, length, tup2_Int_Int, tup2_Int_Int'mk, t_Option_tup2_Int_Int, Some, step, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_sound.coma", line 123, characters 6-28: axiom scalar_char_value_spec does not contain any local abstract symbol (contains: int, (=), t, to_int, of_int, scalar)
Warning, file "verif/cesu8_rlib/decoder_lemmas/step_sound.coma", line 152, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma", line 117, characters 57-61: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma", line 117, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, gt_log_Int, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma", line 121, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma", line 124, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, gt_log_Int, encode_token, encode_chars)
Warning, file "verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma", line 131, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma", line 159, characters 29-34: unused variable bytes
Warning, file "verif/cesu8_rlib/decoder_lemmas/utf8_excludes_markers.coma", line 161, characters 6-34: axiom excludes_markers_concat_spec does not contain any local abstract symbol (contains: int, (=), (-), t, t'int, seq, length, get, (++), excludes_cesu8_markers)
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 110, characters 178-179: unused variable c
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 113, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 116, characters 54-58: unused variable tail
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 115, characters 198-202: unused variable java
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 119, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 118, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, gt_log_Int, utf8_layout)
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 123, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/encode_model/compatible_encoding.coma", line 126, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, encode_token, encode_chars, gt_log_Int)
Warning, file "verif/cesu8_rlib/encode_model/split_encoding.coma", line 105, characters 178-179: unused variable c
Warning, file "verif/cesu8_rlib/encode_model/split_encoding.coma", line 108, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/from_cesu8.coma", line 46, characters 17-19: unused variable f0
Warning, file "verif/cesu8_rlib/from_cesu8.coma", line 56, characters 12-14: unused variable f0
Warning, file "verif/cesu8_rlib/from_cesu8_internal.coma", line 86, characters 11-13: unused variable f0
Warning, file "verif/cesu8_rlib/from_cesu8_internal.coma", line 309, characters 31-35: unused variable self
Warning, file "verif/cesu8_rlib/from_cesu8_internal.coma", line 311, characters 31-35: unused variable self
Warning, file "verif/cesu8_rlib/from_cesu8_internal.coma", line 355, characters 6-29: axiom injective_to_bytes_spec does not contain any local abstract symbol (contains: (=), t, seq, t, to_bytes)
Warning, file "verif/cesu8_rlib/from_cesu8_internal.coma", line 374, characters 17-21: unused variable f0'0
Warning, file "verif/cesu8_rlib/from_cesu8_internal.coma", line 384, characters 14-18: unused variable f0'0
Warning, file "verif/cesu8_rlib/from_java_cesu8.coma", line 46, characters 17-19: unused variable f0
Warning, file "verif/cesu8_rlib/from_java_cesu8.coma", line 56, characters 12-14: unused variable f0
Warning, file "verif/cesu8_rlib/middle_utf8_digits.coma", line 16, characters 110-117: unused variable shifted
Warning, file "verif/cesu8_rlib/middle_utf8_digits.coma", line 16, characters 17-20: unused variable low
Warning, file "verif/cesu8_rlib/middle_utf8_digits.coma", line 18, characters 6-25: axiom low_utf8_digit_spec does not contain any local abstract symbol (contains: int, (=), (<=), mod, t, t'int, bw_and)
Warning, file "verif/cesu8_rlib/to_cesu8.coma", line 74, characters 6-29: axiom lift_compatibility_spec does not contain any local abstract symbol (contains: bool, t, seq, t, compatible_bytes, to_bytes, compatible_scalars)
Warning, file "verif/cesu8_rlib/to_cesu8.coma", line 109, characters 6-30: axiom compatible_encoding_spec does not contain any local abstract symbol (contains: bool, (=), t, seq, t, to_bytes, compatible_scalars, encode_chars)
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 210, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 209, characters 6-25: axiom split_encoding_spec does not contain any local abstract symbol (contains: int, bool, seq, length, get, t, gt_log_Int, utf8_layout)
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 214, characters 32-36: unused variable java
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 217, characters 6-27: axiom split_encoding_spec'1 does not contain any local abstract symbol (contains: int, bool, (=), t, seq, length, get, (++), t, tail_char, encode_token, encode_chars, gt_log_Int)
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 224, characters 6-24: axiom advance_bytes_spec does not contain any local abstract symbol (contains: int, (=), (+), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 230, characters 6-26: axiom advance_bytes_spec'0 does not contain any local abstract symbol (contains: int, (=), (+), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 236, characters 6-26: axiom advance_bytes_spec'1 does not contain any local abstract symbol (contains: int, (=), (+), (<=), t, seq, length, ([..]), (++))
Warning, file "verif/cesu8_rlib/to_cesu8_internal.coma", line 291, characters 6-26: axiom concat_assoc_u8_spec does not contain any local abstract symbol (contains: (=), t, seq, (++))
Warning, file "verif/cesu8_rlib/to_java_cesu8.coma", line 74, characters 6-29: axiom lift_compatibility_spec does not contain any local abstract symbol (contains: bool, t, seq, t, compatible_bytes, to_bytes, compatible_scalars)
Warning, file "verif/cesu8_rlib/to_java_cesu8.coma", line 109, characters 6-30: axiom compatible_encoding_spec does not contain any local abstract symbol (contains: bool, (=), t, seq, t, to_bytes, compatible_scalars, encode_chars)
Proved (59 files) ✔
--- scalar.log ---
$ ['bash', './cesu8/1.1.0/creusot/scripts/prove.sh', 'verif/cesu8_rlib/encode_model/concat_compatibility.coma', 'verif/cesu8_rlib/encode_model/lift_compatibility.coma', 'verif/cesu8_rlib/encode_model/scalar_compatibility.coma']
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 158, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 462, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 766, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 1070, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 1374, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "verif/cesu8_rlib/encode_model/lift_compatibility.coma", line 93, characters 178-179: unused variable c
Warning, file "verif/cesu8_rlib/encode_model/lift_compatibility.coma", line 96, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Warning, file "verif/cesu8_rlib/encode_model/lift_compatibility.coma", line 98, characters 190-194: unused variable java
Warning, file "verif/cesu8_rlib/encode_model/lift_compatibility.coma", line 121, characters 6-31: axiom concat_compatibility_spec does not contain any local abstract symbol (contains: bool, t, seq, (++), compatible_bytes)
Warning, file "verif/cesu8_rlib/encode_model/scalar_compatibility.coma", line 50, characters 178-179: unused variable c
Warning, file "verif/cesu8_rlib/encode_model/scalar_compatibility.coma", line 53, characters 6-31: axiom standard_utf8_layout_spec does not contain any local abstract symbol (contains: t, utf8_layout)
Proved (3 files) ✔
--- consumer.log ---
$ ['bash', './cesu8/1.1.0/creusot/scripts/prove.sh', 'verif/cesu8_rlib/round_trip/cesu8_round_trip.coma', 'verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma', 'verif/cesu8_rlib/round_trip/round_trip_model.coma']
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 158, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 462, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 766, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 1070, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "/private/tmp/cesu8-creusot014.3RbvMr/data/share/why3find/packages/creusot/creusot/int.coma", line 1374, characters 8-22: axiom extensionality does not contain any local abstract symbol (contains: int, (=), t, to_int)
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 137, characters 31-35: unused variable self
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 139, characters 31-35: unused variable self
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 169, characters 19-21: unused variable f0
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 179, characters 12-14: unused variable f0
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 219, characters 19-21: unused variable x0
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 229, characters 12-14: unused variable x0
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 241, characters 6-30: axiom canonical_ownership_spec does not contain any local abstract symbol (contains: bool, seq, t, t, encode_chars, compatible_scalars, ordinary_utf8)
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 247, characters 6-30: axiom compatible_encoding_spec does not contain any local abstract symbol (contains: bool, (=), seq, t, t, encode_chars, compatible_scalars, to_bytes)
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 253, characters 6-29: axiom injective_to_bytes_spec does not contain any local abstract symbol (contains: (=), seq, t, t, to_bytes)
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 346, characters 21-25: unused variable text
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 345, characters 25-30: unused variable bytes
Warning, file "verif/cesu8_rlib/round_trip/cesu8_round_trip.coma", line 351, characters 6-27: axiom round_trip_model_spec does not contain any local abstract symbol (contains: bool, seq, t, t, encode_chars, t_Result_Cow_str_Cesu8DecodingError, decode_result, observes_round_trip)
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 137, characters 31-35: unused variable self
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 139, characters 31-35: unused variable self
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 169, characters 19-21: unused variable f0
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 179, characters 12-14: unused variable f0
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 219, characters 19-21: unused variable x0
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 229, characters 12-14: unused variable x0
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 241, characters 6-30: axiom canonical_ownership_spec does not contain any local abstract symbol (contains: bool, seq, t, t, encode_chars, compatible_scalars, ordinary_utf8)
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 247, characters 6-30: axiom compatible_encoding_spec does not contain any local abstract symbol (contains: bool, (=), seq, t, t, encode_chars, compatible_scalars, to_bytes)
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 253, characters 6-29: axiom injective_to_bytes_spec does not contain any local abstract symbol (contains: (=), seq, t, t, to_bytes)
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 346, characters 21-25: unused variable text
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 345, characters 25-30: unused variable bytes
Warning, file "verif/cesu8_rlib/round_trip/java_cesu8_round_trip.coma", line 351, characters 6-27: axiom round_trip_model_spec does not contain any local abstract symbol (contains: bool, seq, t, t, encode_chars, t_Result_Cow_str_Cesu8DecodingError, decode_result, observes_round_trip)
Warning, file "verif/cesu8_rlib/round_trip/round_trip_model.coma", line 128, characters 6-30: axiom canonical_ownership_spec does not contain any local abstract symbol (contains: bool, seq, t, t, ordinary_utf8, encode_chars, compatible_scalars)
Warning, file "verif/cesu8_rlib/round_trip/round_trip_model.coma", line 134, characters 6-30: axiom compatible_encoding_spec does not contain any local abstract symbol (contains: bool, (=), seq, t, t, to_bytes, encode_chars, compatible_scalars)
Warning, file "verif/cesu8_rlib/round_trip/round_trip_model.coma", line 140, characters 6-29: axiom injective_to_bytes_spec does not contain any local abstract symbol (contains: (=), seq, t, t, to_bytes)
Proved (3 files) ✔
=== stderr ===
Environment
The checks used unmodified Creusot 0.14.0 (official tag commit 65349025c67e69fcd7479f1f420fa5904f69bc27), Rust nightly-2026-08-03, Why3 1.8.2+git and Why3find 1.3.0+dev with Z3 5.3.2 and Alt-Ergo 2.6.4 on aarch64-apple-darwin. The 0.14 registry model package comes from source parent 076d26764 and has byte-identical model sources to the official tag. The verification copy is based on the cesu8 1.1.0 release; the relationship to that release is qualified above. The separate native tests used Rust 1.91.0. The cargo-proofs 0.5.0 recording adapter invokes the audit runner and reads Why3find proof files for the six public bodies.
What is trusted
The checks depend on Creusot's Rust and standard-library models and on the translation and provers. A local external contract assumes that str::as_bytes returns the concatenation of the ordinary UTF-8 encodings of the string's scalars. In particular, the whole-input UTF-8 validator is assumed to preserve the bytes on success and, on error, exclude every scalar sequence whose ordinary UTF-8 encoding equals the input; the conventional UTF-8 encoding of each scalar and injectivity of string encoding are also model assumptions. Slice, iterator, vector and Cow operations use their standard-library contracts. The fallback proves that its resulting bytes represent valid UTF-8 before the modeled unchecked string construction. The CESU-8 encoder and parser and their relation are checked, rather than assumed.
Technical limitations
The checked source is a verification copy adapted from the 1.1.0 release. Its encoder reconstructs a supplementary scalar from four UTF-8 bytes instead of calling .chars().next() on an unchecked four-byte string slice; compatibility scans are indexed, the width table is constant, and decoder token operations are factored into helpers. These changes address verification model limitations while retaining the decoder's whole-input dispatch and surrogate bit operations. A checked arithmetic lemma relates the capacity expressions on the modeled length domain. Separate finite native tests compare the copy with the release, including all byte strings of length at most two; an independent encoding oracle checks individual Unicode scalar encodings. They do not prove equivalence for all inputs: formal equivalence of the adapted copy to the published release remains unproved.
The functional contracts observe byte and scalar contents and Cow variants, not pointer identity, allocation behavior or allocator failure. They do not establish unconditional termination or whole-crate memory safety. Error formatting and diagnostic traits are outside the six selected public contracts.
Dependencies (0)
No direct dependencies.
Comments (0)
No comments.