Quint
1 program
Added 2026-02-10T19:18:04Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 565b153bf8 · authored 2026-02-10T20:18:51+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/quintRelated languages
LLM-contributed programs
Counter Specification
Provenance: commit 565b153bf8 · authored 2026-02-10T20:18:51+01:00 · agent claude-code · model sonnet · WebSearch disabled
// A simple counter specification
module counter {
var count: int
pure val MAX = 10
action init = {
count' = 0
}
action increment = {
require(count < MAX),
count' = count + 1
}
action decrement = {
require(count > 0),
count' = count - 1
}
action step = {
any {
increment,
decrement,
}
}
val neverNegative = count >= 0
val neverExceedsMax = count <= MAX
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)