[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
nat
with
sorts bag('a);
constants
∅ : bag('a);
functions
. ++ . : bag('a) × 'a → bag('a) prio 9 left;
count : 'a × bag('a) → nat;
variables
bag : bag('a);
a : 'a;
b : 'a;
induction
bag('a) generated by ∅, ++;
axioms
extension: bag0 = bag1 ↔ (∀ a. count(a, bag0) = count(a, bag1));
count-empty: count(a, ∅) = 0;
used for: s, ls;
count-insert: count(a, bag ++ b) = (a = b ⊃ 1;0) + count(a, bag);
used for: ls;
end enrich