Get the latest tech news

Formal specs as sets of behaviors


Amazon’s recent announcement of their spec-driven AI tool, Kiro, inspired me to write a blog post on a completely unrelated topic: formal specifications. In particular, I wanted to write abou…

Amazon’s recent announcement of their spec-driven AI tool, Kiro, inspired me to write a blog post on a completely unrelated topic: formal specifications. One area where formal methods can get confusing for newcomers is that the notation for writing the behavior generator can look like a programming language, particularly when it comes to nondeterminism. In a formal specification, when we talk about “nondeterminism”, we mean “there are multiple ways a correct behavior can be extended”, and that includes all of the different potential inputs that we might receive from outside.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of sets

sets

Photo of behaviors

behaviors

Photo of Formal specs

Formal specs

Related news:

News photo

Subliminal learning: Models transmit behaviors via hidden signals in data

News photo

Study shows increased screen time is impacting kid's behaviors, can lead to aggression and anxiety

News photo

White House Memo on EV Grants Sets Up Fight Over Spending Power