kernel-Int.fib_rec
- Kind
- kernel-term
- Status
- checked
Supports: Int.fib_rec is admitted by the trusted kernel gate with the type recorded in formal.statement.
cargo run -q --release -p axeyum-lean-kernel --example int_theorem_inventory -- fib_rec 2>/dev/null | grep -cE '^theorem[[:space:]]+Int\.fib_rec[[:space:]]+\(\(x0 : Int\) -> Eq\.\{1\} Int \(Int\.fib \(Int\.add x0 \(Int\.ofNat \(AxNat\.succ \(AxNat\.succ AxNat\.zero\)\)\)\)\) \(Int\.add \(Int\.fib \(Int\.add x0 Int\.one\)\) \(Int\.fib x0\)\)\)$' Evidence notes
The pattern pins the entire rendered type; verified discriminating on this tree -- 1 against the real row, 0 against a row with the two summands transposed. Tab separators are matched with [[:space:]] and never with a backslash-t escape -- see this repository's documented GNU-grep/ugrep divergence, which silently made 68 checker commands match nothing. --release is MANDATORY: this binary also builds creal/complex/cpoint, which overflow the default debug thread stack, and a debug run's empty output would read as ABSENT.