1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! Per-run value semantics: integer mode and value order.
/// How integers behave.
///
/// Arbitrary precision is dive's default. TLC's 32-bit integers, with its overflow
/// error, are always available and selected by `--int=tlc` (part of `--compat=tlc`).
/// How names (strings, model values and record field names) are ordered. The order of
/// every other value is built from it, so this decides set order, printing order and
/// which element `CHOOSE` picks.
///
/// TLC orders names by their position in its global intern table
/// (`util.UniqueString.compareTo` compares intern tokens), not by their characters.
/// That order depends on the order in which SANY and TLC first met each name: adding
/// an unused definition `U == "alpha"` can change `CHOOSE e \in {"zeta", "alpha"} : TRUE`.
/// dive's default is a canonical, text-independent order; TLC's order is
/// `--choose-order=tlc`, included in `--compat=tlc`.
/// The value semantics of one run. Cheap to copy; pass it to every operation that may
/// compare, normalize, enumerate or print values.
///
/// All values compared within a run must have been built under the same `Ctx` and
/// the same [`Interner`](crate::Interner): sets are kept sorted in the run's order.