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] Syntax for lattice operations?

2016-03-13 Thread Tobias Nipkow
On 10/03/2016 11:00, Florian Haftmann wrote: Hi all, traditionally, syntax for lattice operations (⊓ ⊔ ⊥ ⊤ etc.) has been kept in a separate library theory, to allow use of that quite generic notation for unforeseen applications. Meanwhile however all those operations to which

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] Sketch for generic interval notation [_..<_] / [_.._]

2016-03-13 Thread Florian Haftmann
Hi all, the attached patches (based on f26dc26f2161) sketch how a generic interval [_..<_] / [_.._] could look like in List.thy. Key points: * The required logical properties are obtained by a specialization of linordered_semidom with a <= b <--> (EX n. b = a + of_nat n)" This avoids