kernel-Int.modEq_trans
- Kind
- kernel-term
- Status
- checked
Supports: For all integers n, a, b and c: if a is congruent to b modulo n and b is congruent to c modulo n, then a is congruent to c modulo n.
test "$(cargo run -q -p axeyum-lean-kernel --example int_theorem_inventory -- modEq_trans 2>/dev/null | grep -Ec '^theorem[[:space:]]+Int\.modEq_trans[[:space:]]')" -ge 1 Evidence notes
`build_int_prelude` admits this theorem through the trusted `Kernel::add_declaration` gate, which re-checks the proof term against the stated type, so producing this row at all is a machine-checked proof. `int_theorem_inventory` exits non-zero for a name that does not exist, and the `grep -q` requires the admitted `theorem`-kind row to be printed.