[Imprint][Data Privacy Statement][E-Mail]
Back to main index.
View the specification.
View theorem base summary,
View theorem base listing,
the used properties by spec,
the dependency list,
the symbol table,
enrich
string2list,
nat-pot
with
functions n→s : nat → string;
s→n : string → nat;
axioms n2s-char : ⊦ n < 10 → n→s(n) = ('0' + '1' + '2' + '3' + '4' + '5' + '6' + '7' + ('8' + '9'))[n] + "";
n2s-rec : ⊦ 10 ≤ n → n→s(n) = n→s(n / 10) + n→s(n % 10);
used for: ls;
s2n-char : ⊦ s→n(char ') = pos(char, '0' + '1' + '2' + '3' + '4' + '5' + '6' + '7' + ('8' + '9'));
s2n-rec : ⊦ s→n(char ' + char0 ' + str) = s→n(char ') * 10 ^ (# str)+1 + s→n(char0 ' + str);
used for: ls;
end enrich