News for hackers. Stuff that matters.
Re:Algorithms and Data Structures – Transition systems (2004... by dataflow on Sunday April 17, 2022 @05:39AM (#31059660)
Looking at the table of contents, it's kind of jarring to see a discussion of transition systems followed by elementary topics like binary search, sorting, etc. I would've expected the book to start with labeled and unlabeled transition systems and then get into various forms of temporal logic, etc. Who is the target audience here? A CS 101 student, or a CS graduate student?
Re:Algorithms and Data Structures – Transition systems (2004... by soegaard on Sunday April 17, 2022 @07:20AM (#31060070)
These notes is indeed used in "CS 101". The note is meant to fill a need not covered by the main materials.

In this case the concept of transition systems is used throughout the course for proofs. In a different note graph algorithms are presented - and the the red thread is that all proods use transitions systems.

In short: you need to look at the full course to see where a lecture note fits in.

Re:Algorithms and Data Structures – Transition systems (2004... by jhck on Sunday April 17, 2022 @05:48AM (#31059705)
You're right that the searching and sorting methods discussed are elementary, but note that the article is about how to prove the correctness of the methods (validity and termination); so it's not just the usual fare about binary search and insertion sort - the article's treatment of those methods actually builds on the transition system theory developed at the beginning. That said, this note is indeed used for CS 101 at Aarhus University - more specifically, it's used in the "Algorithms and Data Structures" course that first year CS students go through.
Re:Algorithms and Data Structures – Transition systems (2004... by dataflow on Sunday April 17, 2022 @05:56AM (#31059735)
Interesting. It's a really strange mix to me. They seem to start talking about safety and liveness properties, but only mention them a grand total of 4 times, and avoid mentioning anything related to them after page 17... in an 81-page book whose subject is ostensibly "Transition Systems", in big letters, which are neither algorithms nor data structures, but model of computation. Surely, if the goal is to talk about transition systems, there would be a LOT more that would be said about safety and liveness properties, and the logic surrounding them? They're generally introduced in graduate or advanced undergraduate courses teaching temporal logic. It's kind of bizarre to me to mention them so briefly and then move on so quickly (what would be the point of doing that in an introductory CS course?), but maybe it'll make sense if I actually read the book? Definitely seems like an unconventional approach on its face.
Re:Algorithms and Data Structures – Transition systems (2004... by qsort on Sunday April 17, 2022 @08:53AM (#31060504)
Sure, but I agree with parent's comment that it's a... weird turn?

When one introduces transition systems, I usually expect "yeah, now he's going to define a labeled transition system, then introduce modal logic, maybe temporal logic, definitely bisimulations, maybe Van Benthem".

Obviously one can do proofs of elementary algorithms with that formalism, it's just a bit unusual, that's all.

Re:Algorithms and Data Structures – Transition systems (2004... by rain1 on Sunday April 17, 2022 @10:08AM (#31060922)
your literally named qsort why are you complaining
Re:Algorithms and Data Structures – Transition systems (2004... by NDizzle on Sunday April 17, 2022 @10:28AM (#31061060)
When it rains, it pours?!