kernel-Nat.odd_totient_iff_eq_one
- Kind
- kernel-term
- Status
- checked
Supports: Odd (totient n) iff totient n = 1
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- odd_totient_iff_eq_one 2>/dev/null | grep -Ec '^Nat\.odd_totient_iff_eq_one[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits this theorem through the trusted `Kernel::add_declaration` gate. Route: the same `trichotomy(two, n)` split `totient_eq_one_iff` uses. Forward (`Odd (totient n) -> totient n = 1`): `n < 2` splits into `n = 0` (transports the hypothesis to `Odd (totient 0)`, defeq `Odd 0`, refuted by `even_not_odd` against a fresh `Even 0` witness) or `n = 1` (`totient 1 = 1` by defeq, closes by `Eq.refl` transported); `n = 2` closes the same way (`totient 2 = 1` by defeq); `2 < n` derives `Even (totient n)` from `totient_even` and refutes it against the hypothesis via `odd_not_even`. Reverse: transports a fresh `Odd 1` witness (`Exists.intro` at `k = 0`, `Eq.refl`) along the hypothesised `totient n = 1`. `nat_theorem_inventory` exits non-zero for a name that does not exist, and the `grep -c` requires the admitted declaration to be printed (confirmed 1 for the real name).