S01 · implies
Before
p=3,\quad a=-108
After
|a|=108=3^3\cdot4,\quad3\nmid4\Rightarrow v_3(a)=3
Conditions: none
Rule: calc · Uses: G1
Leaf basis: calc
Normalize the sign, then divide by 3 to obtain 36,12,4; the final 4 is not divisible by 3.
derivation-mko-p-adic-valuation-integers-01 · ocme-new142-reader-adoption-20261021
v3(-108)=3,v3(18)=2,v3(-1944)=5,v3(-90)=2; zero uses infinity.
Exact extraction at prime 3, product/sum instances and an unequal-sum argument; no completion.
calcG1 — p=3 is prime, a=-108,b=18; v_p(0) uses the sole serializable string sentinel infinity.u,v — unit parts after extraction, possibly negativev_p(0) — infinity stringcalc · prerequisite — Assume exact integer arithmetic, division with remainder, and definitions of divisibility and gcd; every congruence has an explicit modulus. Assume unique prime factorization and that a prime not dividing either factor does not divide their product.mko_definition · cited — Require prime p≥2. For a≠0 uniquely write |a|=p^k*u with p not dividing u, and define v_p(a)=k. Negative integers are valid and normalized by absolute value. Use the single serializable infinity sentinel for v_p(0). Exact families check factor extraction, v_p(ab)=v_p(a)+v_p(b), and v_p(a+b)≥min(v_p(a),v_p(b)). Unequal summand valuations guarantee equality in the sum inequality; equal valuations do not guarantee it and may cancel to zero. Composite bases are outside the p-adic valuation convention. Identities involving zero explicitly use the infinity convention. · mko-p-adic-valuation-integersBefore
p=3,\quad a=-108
After
|a|=108=3^3\cdot4,\quad3\nmid4\Rightarrow v_3(a)=3
Conditions: none
Rule: calc · Uses: G1
Leaf basis: calc
Normalize the sign, then divide by 3 to obtain 36,12,4; the final 4 is not divisible by 3.
Before
b=18
After
18=3^2\cdot2,\quad3\nmid2\Rightarrow v_3(b)=2
Conditions: none
Rule: calc · Uses: G1, S01
Leaf basis: calc
Complete extraction 18 to 6 to 2 gives the other nonzero input's unit part.
Before
ab=-1944
After
|ab|=3^{3+2}(4\cdot2)=3^5\cdot8,\quad3\nmid8\Rightarrow v_3(ab)=5Conditions: none
Rule: calc · Uses: G1, S01, S02
Leaf basis: calc
The prime does not divide the product of the two unit parts, so the extracted product exponent is exactly 5.
Before
a+b=-90
After
90=3^2\cdot10,\quad3\nmid10\Rightarrow v_3(a+b)=2=\min(3,2)
Conditions: none
Rule: calc · Uses: G1, S01, S02
Leaf basis: calc
Direct extraction of the sum gives an equality instance for unequal valuations.
Before
a=p^ru,\quad b=p^sv,\quad r<s,\quad p\nmid u,v
After
a+b=p^r(u+p^{s-r}v),\quad u+p^{s-r}v\equiv u\not\equiv0\pmod pConditions: a and b are nonzero; r<s; p is prime
Rule: calc · Uses: G1, S04
Leaf basis: calc
In the general unequal case factor the smaller exponent; the bracket remains nonzero modulo p, so the sum valuation is exactly r.
Before
v_3(3)=v_3(6)=1
After
v_3(3+6)=v_3(9)=2>1
Conditions: none
Rule: calc · Uses: G1, S05
Leaf basis: calc
Equal summand valuations need not give equality; the bracket 1+2 is divisible by 3, raising the value.
Before
-108+108=0
After
v_3(0)=\texttt{infinity},\quad\texttt{infinity}>k\ (k\in\mathbb N_0)Conditions: none
Rule: mko_definition · Uses: G1, S01, S06
Leaf basis: mko_definition
Exact cancellation uses the fixed string infinity; it exceeds every nonnegative integer, with min(infinity,k)=k and infinity+k=infinity, and separately infinity+infinity=infinity and min(infinity,infinity)=infinity.
Before
v_p(a)=r,\quad v_p(b)=s\text{ finite}After
p^{\min(r,s)}\mid a+b\Rightarrow v_p(a+b)\ge\min(r,s)Conditions: none
Rule: calc · Uses: G1, S05, S06, S07
Leaf basis: calc
Both terms are divisible by the lower prime power, so is their sum; if zero, infinity still satisfies the lower bound.
Before
\text{base }4,\quad a=b=2After
v_4(2)=0,\quad v_4(4)=1\ne0+0
Conditions: none
Rule: calc · Uses: G1, S03, S08
Leaf basis: calc
The highest-power extraction at a composite base can violate the product law and is not this p-adic valuation.
No substeps in this guide.
S09 · premise_audit · G1, S03, S08 — This does not refute prime-3 certificates; it shows the prime-base premise is essential.S08 · premise_audit · G1, S05, S06, S07 — Only unequal r,s guarantee equality by S05; equal r,s cannot be upgraded.S07 · premise_audit · G1, S01, S06 — If one input is zero, the product is zero and has valuation infinity; the sum equals the other input, so its valuation equals that input's valuation. If both inputs are zero, the sum is zero and its valuation is infinity, consistently with these conventions.S06 · premise_audit · G1, S05 — This refutes unconditional equality while respecting the sum inequality.S05 · premise_audit · G1, S04 — a,b and their unit parts may be negative; nondivisibility still applies.S04 · premise_audit · G1, S01, S02 — Normalize -90 by absolute value rather than approximate logarithms.S03 · premise_audit · G1, S01, S02 — The unit product 8 is not divisible by 3; merely showing 3^5 divides would be insufficient.S02 · premise_audit · G1, S01 — Both inputs are nonzero, so their finite valuations 3,2 can be added.S01 · premise_audit · G1 — Stopping at 12 would underestimate the valuation; maximality needs the final nondivisibility check.After |a|=p^k*u, check p does not divide u before assigning k.
Zero uses the string infinity only, not 0 or an unmarked NaN.
reject — Extraction uses absolute value, giving -108 value 3.reject — 3+6=9 gives 2>1.reject — 2*2=4 gives 1 distinct from 0+0.v3(-108)=3,v3(18)=2,v3(-1944)=5,v3(-90)=2; zero uses infinity.
3 declared checks for this guide; only the listed expressions are covered.
b1b2f1dcf8c50d67a93fe52d95f8eef7b3abba9f95c4e2650117d3d500f2fb521401fae53535c51db055a8d4462a820e89c80a8d1baa04ecf21c750d6a25a649db9321d708caa5c1eac27fabb94edf46138ffe75SCOPED_LEAD_AND_BILINGUAL_CONTEXT_REVIEWSame-source full JSON (formulas, ASTs, controls and revision log)