Viper
1 program
Added 2026-02-07T14:46:16.899458Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 0e6bbdaa57 · authored 2026-02-07T15:46:57+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Maximum of Two Integers
Provenance: commit 0e6bbdaa57 · authored 2026-02-07T15:46:57+01:00 · agent claude-code · model sonnet · WebSearch disabled
method max(a: Int, b: Int) returns (res: Int)
ensures res >= a && res >= b
ensures res == a || res == b
{
if (a > b) {
res := a
} else {
res := b
}
}