Yana
Яна
The shadow that keeps meaning
Every transformation casts a shadow.
Yana checks whether the meaning Lena read is still intact after the transformation. Each transformation creates a promise to keep. Yana gathers evidence and counterexamples, and an independent checker goes over them again.
Source · Topaz
function boundary(x: int) -> int {
if (x == 9223372036854775807) {
x
} else {
x + 2
}
}Target · Rust body in brief
if x == i64::MAX {
Ok(x)
} else {
x.checked_add(2).ok_or("TPZ4004")
}Promise
- Open · Two solvers, all signed 64-bit inputs
- Closed · Counterexample when the overflow check is removed
9223372036854775806
The result assumes normal entry with the argument in its assigned frame slot.
Three answers.
Open
The meaning held
Closed
Found where the meaning broke
Spoken
Said where it could not be sure
Four layers of checks.
- 1
Run
Runs both versions and compares the results.
- 2
Two checkers
Each examines it on its own.
- 3
Certificate
Another checker re-checks the certificate.
- 4
Machine proof
A machine checks the proof.
The first door.
The first door is the Topaz compiler. The code it produces is held up against the source.