kernel-Int.gcd_comm
- Kind
- kernel-term
- Status
- checked
Supports: For all integers a and b, gcd(a, b) = gcd(b, a). (The integer gcd returns a natural number.)
test "$(cargo run -q -p axeyum-lean-kernel --example int_theorem_inventory -- gcd_comm 2>/dev/null | grep -Ec '^theorem[[:space:]]+Int\.gcd_comm[[: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.