kernel-logic-or-elim
- Kind
- kernel-term
- Status
- checked
Supports: If p or q holds, and each of p and q separately implies r, then r holds.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- Or.elim 2>/dev/null | grep -Ec '^Or\.elim[[:space:]]')" -ge 1 Evidence notes
`build_logic_prelude` (built first by `build_nat_prelude`, which `nat_theorem_inventory` constructs) admits `Or.elim` only through the trusted kernel gate, so this line in the tool's output IS the type-check. Anchored with `grep -Ec '^Or.elim[[:space:]]'` on the tool's own substring-filtered output, matching exactly one row; a name that does not exist makes both the tool's argument filter and the anchored grep fail (verified both ways 2026-08-25).