[isabelle-dev] Multiset insert

Florian Haftmann florian.haftmann at informatik.tu-muenchen.de
Thu Jul 28 10:50:03 CEST 2016

Just an aside: concerning »insert« and »add«, infix syntax would be
desirable, e.g.

	a `insert` X
	a `add` M

similar to

	Y \union Y
	N + M

which would yield much more readable propositions, esp. wrt. associativity:

	a `insert` b `insert` X = {a, b} \union X
	insert a (insert b X) = {a, b} \union X

This is structurally similar to append and cons on lists:

	x # y # xs = [x, y] @ xs

But so far I have seen any convincing symbolic notation for that for
sets or multisets.



PGP available:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://mailman46.in.tum.de/pipermail/isabelle-dev/attachments/20160728/76705bb5/attachment.sig>

More information about the isabelle-dev mailing list