Re: [isabelle-dev] Explicit representation of multisets

2016-03-13 Thread Jasmin Blanchette
> but this leads to the rather lengthy "insert_mset x M" as opposed to the > current "{#x#} + M". This would come up in all inductive proofs. If we want > to mimic sets, it actually seems unavoidable... With completion, it might actually be easier to type "insert_mset x M" than "{#x#} + M".

Re: [isabelle-dev] Explicit representation of multisets

2016-03-13 Thread Tobias Nipkow
Although I suggested we do this, and still think logically it is the right thing to do, I see one issue, the naming of insert#. The canonical name is insert_mset, but this leads to the rather lengthy "insert_mset x M" as opposed to the current "{#x#} + M". This would come up in all inductive

[isabelle-dev] Explicit representation of multisets

2016-03-10 Thread Florian Haftmann
Hi all, in recent private discussion the question was raised whether the explicit representation of multisets should follow that of sets. For sets, we have: {a, b, c} = insert a (insert b (insert c empty)) For multisets, we currently have: {#a, b, c#} = single a + single b +