kernel-Nat.coprime_two_right
- Kind
- kernel-term
- Status
- checked
Supports: ∀ {n : ℕ}, n.Coprime 2 ↔ Odd n
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- coprime_two_right 2>/dev/null | grep -Ec '^Nat\.coprime_two_right[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits `Nat.coprime_two_right` 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. `nat_theorem_inventory` exits non-zero for a name that does not exist, and the `grep -c` count (tested `-ge 1`, not piped into `grep -q`) requires the admitted declaration to actually be printed. `declare_coprime_two_left` composed with `coprime_symmetric` on both legs of the `Iff` to swap `gcd`'s argument order (`gcd 2 n = 1` to `gcd n 2 = 1`); a thin corollary, no new case analysis.