How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
For a prime and a nonzero integer : and ; holds exactly for ; exactly when ; ; and
Statement
Let be a prime (Prime and composite integers: is prime when and its only positive divisors are and ), let with , and write (The -adic valuation of a nonzero integer: the greatest with ). Powers are the natural powers of Powers : natural exponents in a monoid and integer exponents in a group, with in the commutative monoid ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ), and means . Then:
- for every ; in particular and ;
- and ;
- for : if and only if ;
- for some with and ;
- if and only if ;
- and .
Facts & Assumptions
Given: A prime , a nonzero integer , and .
is the greatest with ; in particular , and fails for every (The -adic valuation of a nonzero integer: the greatest with ).
Exponent law in a monoid, for natural exponents: (Exponent laws in a group: and for all , and when and commute).
Divisibility is reflexive and transitive; implies ; and , , are equivalent (Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and ).
means for some (Divisibility in : when for some integer ).
exactly when or ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ).
Every prime satisfies (Prime and composite integers: is prime when and its only positive divisors are and ).
If and then ; and a product of two nonzero integers is nonzero (The integers have no zero divisors; multiplicative cancellation).
On : means for some (Order on the natural numbers); (Addition of natural numbers, The natural numbers (von Neumann)); and exactly when (On the order is membership: ); exactly when (Discreteness: is the immediate successor); and is a linear order, so it is antisymmetric and total ( is a linear order on ).
is a commutative ring, its order is total, antisymmetric and transitive and compatible with addition, and is injective, order preserving, with image the nonnegative integers and , (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals, The integers form a totally ordered ring, Order on the integers, The naturals embed in the integers).
Induction on : a subset containing and closed under is all of (The principle of mathematical induction).
Proof
.
in , since is nonnegative and differs from ; hence , and .
Clause 1. by [L1], and , so would contradict the maximality of ; hence .
Clause 2, the other direction. If then belongs to the set of which is the greatest element, so .
Clause 0: for every . The set of such contains , since ; and if then has both factors , so the product is positive, hence by discreteness of the order on (a positive integer is with , so and ). By induction the set is all of , and in particular and .
Clause 2, one direction. Let and write with . Then , so ; with and transitivity, .
Clause 3. By [L1] fix with . Then , since . If , say , then , so , contradicting step 1.3. Hence .
If then : write , so .
Clause 4. If then by step 2.2. Conversely if then , so by step 1.4.
. If with , then by step 2.4 and transitivity, so or , contradicting step 1.2. So no satisfies , while ; the greatest such is .
. First , so by step 1.4 applied to . Next , where : otherwise for some , and cancelling gives , so , contradicting step 1.2. Hence by step 2.2, that is , and antisymmetry gives .
, because holds exactly when , so the two sets of exponents coincide.
Clauses 0 to 5 are established.
Remarks
-
Clause 3 is the working form. Every later proof on this page writes a nonzero integer as with and then argues about ; that is how for nonzero integers , and whenever , and are all nonzero gets additivity, and it is where Euclid's lemma enters.
-
The hypothesis is carried everywhere because is not defined: every power of divides , so there is no greatest exponent (The -adic valuation of a nonzero integer: the greatest with ).
-
Clause 2 says the exponents form an initial segment, which is what makes "the greatest with " the same as "the number of times divides ". Without it the maximum could in principle skip values.
Depends on
- The $p$-adic valuation $v_p(a)$ of a nonzero integer: the greatest $k \in \mathbb{N}$ with $p^{k} \mid a$
- Prime and composite integers: $p$ is prime when $p > 1$ and its only positive divisors are $1$ and $p$
- Powers $g^{n}$: natural exponents in a monoid and integer exponents in a group, with $g^{0} = e$
- Exponent laws in a group: $g^{m+n} = g^{m}g^{n}$ and $(g^{m})^{n} = g^{mn}$ for all $m, n \in \mathbb{Z}$, and $(gh)^{n} = g^{n}h^{n}$ **when $g$ and $h$ commute**
- Semigroup and monoid
- $(\mathbb{Z}, \cdot, 1)$ is a commutative monoid whose group of units is $\{1, -1\}$; equivalently $u \mid 1$ holds exactly for $u = 1$ and $u = -1$
- Divisibility in $\mathbb{Z}$: $d \mid a$ when $a = dq$ for some integer $q$
- Divisibility is reflexive and transitive on $\mathbb{Z}$, and is linear: if $d \mid a$ and $d \mid b$ then $d \mid ax + by$ for all integers $x, y$; also $d \mid a$ implies $d \mid ac$, $-d \mid a$ and $d \mid -a$
- The integers have no zero divisors; multiplicative cancellation
- The principle of mathematical induction
- On $\mathbb{N}$ the order is membership: $m < n \iff m \in n$
- Discreteness: $\sigma(n)$ is the immediate successor
- $\le$ is a linear order on $\mathbb{N}$
- Order on the natural numbers
- Addition of natural numbers
- The natural numbers $\mathbb{N}$ (von Neumann)
- The integers as equivalence classes of pairs of naturals
- Arithmetic on the integers
- Order on the integers
- The integers form a commutative ring
- The integers form a totally ordered ring
- The naturals embed in the integers
Used by
- The number-theoretic Möbius function μ(n) from prime factorisation Definition
- 360 = 2³ · 3² · 5 and 84 = 2² · 3 · 7, with gcd(360,84) = 12 and lcm(360,84) = 2520 read off the exponents Example
- For positive integers a and b: a ∣ b if and only if vₚ(a) ≤ vₚ(b) for every prime p Lemma
- The p-adic valuation extends to the nonzero rationals by vₚ(a/b) := vₚ(a) - vₚ(b) ∈ ℤ, independently of the representation; it satisfies vₚ(xy) = vₚ(x) + vₚ(y), and vₚ(x+y) ≥ min{vₚ(x), vₚ(y)} whenever x, y and x+y are nonzero Lemma
- vₚ(ab) = vₚ(a) + vₚ(b) for nonzero integers a, b, and vₚ(a+b) ≥ min{vₚ(a), vₚ(b)} whenever a, b and a+b are all nonzero Lemma
- Euler's product formula φ(n)=n∏_p∣ n(1-1/p)=∏_pᵏ∥ n(pᵏ-pᵏ⁻¹) for n≥1, stated through a finite injective list of its prime divisors Theorem
- For n ≥ 1 and any injective list p : r → ℤ of primes containing every prime divisor of n, one has n = ∏_i<r pᵢ^ v_pᵢ(n); the exponents are determined by n, and v_q(n) = 0 for every prime q outside the list Theorem
- For positive integers a and b and every prime p: vₚ(gcd(a,b)) = min{vₚ(a), vₚ(b)} and vₚ(lcm(a,b)) = max{vₚ(a), vₚ(b)}; so the exponent-wise greatest common divisor is the gcd of the divisibility page and not a second notion Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 76 results over 25 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- P-adic valuation (Wikipedia) (standard reference, not scraped)
- University of Chicago REU notes: p-adic numbers (standard reference, not scraped)