kernel-Nat.gcd_dvd_mul
- Kind
- kernel-term
- Status
- checked
Supports: ∀ (m n : ℕ), m.gcd n ∣ m * n
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- gcd_dvd_mul 2>/dev/null | grep -Ec '^Nat\.gcd_dvd_mul[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits `Nat.gcd_dvd_mul` through the trusted `Kernel::add_declaration` gate (declared in the new `nat_prelude/lcm_gcd_lemmas.rs`'s `declare_gcd_dvd_mul`). Route: `gcd_dvd_left` gives `dvd (gcd m n) m`, and `dvd_mul_right_of_dvd` extends it across the extra `* n` factor -- no induction. `nat_theorem_inventory`'s rendered type for `Nat.gcd_dvd_mul` is `((x0 : AxNat) -> ((x1 : AxNat) -> AxNat.dvd (AxNat.gcd x0 x1) (AxNat.mul x0 x1)))`, matching this fact's `formal.statement` verbatim (`x0`/`x1`/`x2` are the universally quantified variables in order). `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.