pith. sign in
module module high

IndisputableMonolith.NumberTheory.Primes.Factorization

show as:
view Lean formalization →

The module defines vp p n as the exponent of prime p in the factorization of n and supplies elementary lemmas on its behavior under multiplication and powers. Number theorists in the Recognition Science setting cite it when extracting prime exponents for constants or squarefree predicates. It reuses Mathlib's Nat.factorization on top of the axiom-free Basic primes module.

claim$v_p(n)$ denotes the exponent of prime $p$ in the prime factorization of the natural number $n$.

background

The module lives in the NumberTheory.Primes namespace and imports Mathlib together with the Basic primes module. The upstream Basic module supplies axiom-free footholds that reuse Mathlib's Nat.Prime while keeping the layer sorry-free. Its central object is the valuation vp p n, implemented directly as n.factorization p, together with the listed sibling lemmas on products, powers, and boundary cases.

proof idea

This is a definition module, no proofs. It declares the valuation and records the standard algebraic identities for factorization that Mathlib already supplies.

why it matters in Recognition Science

The module is imported by the Primes aggregator, by RSConstants (which collects decidable facts about primes such as 137), and by Squarefree (which links the squarefree predicate to vp). It therefore supplies the stable algebraic layer required before any later analytic number theory in the Recognition framework.

scope and limits

used by (3)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (1)

Lean names referenced from this declaration's body.

declarations in this module (19)