kernel-Rat.sub_add_sub
- Kind
- kernel-term
- Status
- checked
Supports: Rat.sub_add_sub 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 -- Rat.sub_add_sub 2>/dev/null | grep -cE '^Rat\\.sub_add_sub[[:space:]]' Evidence notes
`build_rat_prelude` admits Rat.sub_add_sub through the trusted `Kernel::add_declaration` gate, which re-checks the proof term against the stated type, so a line in this tool's output for the exact name is a machine-checked proof having been admitted. `theorem_dependency_inventory` exits non-zero for a named filter that matches nothing (a deleted theorem cannot read as a re-derived one), and `grep -c` (never `-q`) both avoids a SIGPIPE-under-pipefail false negative and independently asserts the exact tab-anchored line is present -- two ways the same absence would be caught. `--release` is MANDATORY: this tool also builds `creal`/`complex`/`cpoint`, which recurse deep enough in a debug build to overflow the default thread stack (measured: release exits 0, debug SIGABRTs at 134) -- the same resource-limit gotcha already documented for `prelude_theorem_inventory --include-constructed`.