Commit 2022-12-22 18:28 4c70fde2

View on Github →

feat: port data.nat.prime (#1156)

Estimated changes

added theorem Int.prime_three
added theorem Int.prime_two
added theorem Nat.Prime.dvd_iff_eq
added theorem Nat.Prime.dvd_mul
added theorem Nat.Prime.even_iff
added theorem Nat.Prime.minFac_eq
added theorem Nat.Prime.ne_one
added theorem Nat.Prime.ne_zero
added theorem Nat.Prime.not_dvd_mul
added theorem Nat.Prime.not_dvd_one
added theorem Nat.Prime.one_lt
added theorem Nat.Prime.pos
added theorem Nat.Prime.pow_eq_iff
added theorem Nat.Prime.pow_minFac
added theorem Nat.Prime.pred_pos
added theorem Nat.Prime.two_le
added def Nat.Prime
added theorem Nat.Primes.coe_nat_inj
added def Nat.Primes
added theorem Nat.coprime_of_dvd'
added theorem Nat.coprime_of_dvd
added theorem Nat.coprime_pow_primes
added theorem Nat.coprime_primes
added theorem Nat.dvd_prime
added theorem Nat.dvd_prime_pow
added theorem Nat.dvd_prime_two_le
added theorem Nat.factors_lemma
added theorem Nat.le_minFac'
added theorem Nat.le_minFac
added def Nat.minFac
added def Nat.minFacAux
added theorem Nat.minFacAux_has_prop
added theorem Nat.minFac_dvd
added theorem Nat.minFac_eq
added theorem Nat.minFac_eq_one_iff
added theorem Nat.minFac_eq_two_iff
added theorem Nat.minFac_has_prop
added theorem Nat.minFac_le
added theorem Nat.minFac_le_div
added theorem Nat.minFac_le_of_dvd
added theorem Nat.minFac_lemma
added theorem Nat.minFac_one
added theorem Nat.minFac_pos
added theorem Nat.minFac_prime
added theorem Nat.minFac_sq_le_self
added theorem Nat.minFac_zero
added theorem Nat.not_prime_mul'
added theorem Nat.not_prime_mul
added theorem Nat.not_prime_one
added theorem Nat.not_prime_zero
added theorem Nat.pow_minFac
added theorem Nat.prime_def_le_sqrt
added theorem Nat.prime_def_lt''
added theorem Nat.prime_def_lt'
added theorem Nat.prime_def_lt
added theorem Nat.prime_def_minFac
added theorem Nat.prime_iff
added theorem Nat.prime_mul_iff
added theorem Nat.prime_of_coprime
added theorem Nat.prime_three
added theorem Nat.prime_two
added theorem Nat.succ_pred_prime