kernel-Nat.lnp_decidable
- Kind
- kernel-term
- Status
- checked
Supports: Nat.lnp_decidable is admitted by the trusted kernel gate with the type recorded in formal.statement.
cargo run -q --release -p axeyum-lean-kernel --example theorem_dependency_inventory -- Nat.lnp_decidable 2>/dev/null | grep -cE '^Nat\.lnp_decidable[[:space:]]' Evidence notes
Two independent failure modes, so the exit status depends on the finding rather than on the run completing: theorem_dependency_inventory exits non-zero when a NAMED filter matches nothing, and grep -c exits 1 printing 0 when the anchored line is absent. Anchored with [[:space:]], never \t -- in a scripted (GNU) grep \t is a literal t. grep -c rather than grep -q, which would SIGPIPE the producer under pipefail. --release is MANDATORY: this tool builds creal/complex/cpoint, which overflow the default debug thread stack. Verified BOTH ways on 2026-08-30: the real name exits 0 printing 1; a fabricated name exits 1.