Step-by-step derivation
S001 · implies
Before
source operation=upf-unit-sign-boundary;original snapshot and mathematics retained
After
explicit ordered source output fields=[n, ordinary_positive_form_claim, sign_unit, absolute_prime_multiset, boundary]
Conditions: none
Retain the historical interface marker while listing ordered output fields without JavaScript.Fields and tags are not extra mathematical evidence;fixed No markers retain their claim scope.
Step identifiers and dependencies
Rule: source_ordered_interface_explicit_without_javascript · Uses: G001
S002 · implies
Before
ORIGINAL positive integer absolute magnitude=222>1
After
initialize remaining=n,prime multiset empty;invariant product(extracted)*remaining=n;every smaller trial divisor has been exhausted
Conditions: none
Divide only by an actual divisor and exhaust smaller candidates,which justifies primality of each extracted divisor without assuming n is prime.
Step identifiers and dependencies
Rule: upf_factorization_remaining_product_invariant · Uses: G001, S001
S003 · calculation
Before
upf extract divisor2 occurrence0 := div(222, 2)
After
upf extract divisor2 occurrence0 = 111
Conditions: none
Substitute the original roles and established intermediates exactly,retaining order,signs and quantified conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · implies
Before
next divisor=2;previous remaining=222;all smaller divisors exhausted
After
extracted multiplicity=1;next remaining=111;remaining modulo2=1;extracted multiset=[2]
Conditions: none
Exhaust every multiplicity before advancing.The stopping test concerns the current remainder,and the final prime remainder must not be omitted.
Step identifiers and dependencies
Rule: upf_complete_trial_division_remaining_invariant · Uses: G001, S003
S005 · calculation
Before
upf extract divisor3 occurrence1 := div(111, 3)
After
upf extract divisor3 occurrence1 = 37
Conditions: none
Substitute the original roles and established intermediates exactly,retaining order,signs and quantified conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · implies
Before
next divisor=3;previous remaining=111;all smaller divisors exhausted
After
extracted multiplicity=1;next remaining=37;remaining modulo3=1;extracted multiset=[2, 3]
Conditions: none
Exhaust every multiplicity before advancing.The stopping test concerns the current remainder,and the final prime remainder must not be omitted.
Step identifiers and dependencies
Rule: upf_complete_trial_division_remaining_invariant · Uses: G001, S005
S007 · implies
Before
next divisor=4;previous remaining=37;all smaller divisors exhausted
After
extracted multiplicity=0;next remaining=37;remaining modulo4=1;extracted multiset=[2, 3]
Conditions: none
Exhaust every multiplicity before advancing.The stopping test concerns the current remainder,and the final prime remainder must not be omitted.
Step identifiers and dependencies
Rule: upf_complete_trial_division_remaining_invariant · Uses: G001, S006
S008 · implies
Before
next divisor=5;previous remaining=37;all smaller divisors exhausted
After
extracted multiplicity=0;next remaining=37;remaining modulo5=2;extracted multiset=[2, 3]
Conditions: none
Exhaust every multiplicity before advancing.The stopping test concerns the current remainder,and the final prime remainder must not be omitted.
Step identifiers and dependencies
Rule: upf_complete_trial_division_remaining_invariant · Uses: G001, S007
S009 · implies
Before
next divisor=6;previous remaining=37;all smaller divisors exhausted
After
extracted multiplicity=0;next remaining=37;remaining modulo6=1;extracted multiset=[2, 3]
Conditions: none
Exhaust every multiplicity before advancing.The stopping test concerns the current remainder,and the final prime remainder must not be omitted.
Step identifiers and dependencies
Rule: upf_complete_trial_division_remaining_invariant · Uses: G001, S008
S010 · calculation
Before
upf canonical complete product factor0 := mul(1, 2)
After
upf canonical complete product factor0 = 2
Conditions: none
Substitute the original roles and established intermediates exactly,retaining order,signs and quantified conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
upf canonical complete product factor1 := mul(2, 3)
After
upf canonical complete product factor1 = 6
Conditions: none
Substitute the original roles and established intermediates exactly,retaining order,signs and quantified conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
upf canonical complete product factor2 := mul(6, 37)
After
upf canonical complete product factor2 = 222
Conditions: none
Substitute the original roles and established intermediates exactly,retaining order,signs and quantified conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · implies
Before
exhausted trial divisors below7;terminal remaining=37;d*d>remaining;ORIGINAL n=222
After
complete increasing prime multiset=[2, 3, 37];full product=222;a composite terminal remainder would have an already tested smaller divisor
Conditions: none
If a terminal remainder greater than1 were composite,its least prime factor would already have been exhausted,a contradiction.The final entry is therefore prime.This certifies this instance;general existence follows by strong induction,recursively splitting a composite into smaller positive factors.
Step identifiers and dependencies
Rule: upf_final_prime_remainder_complete_existence_instance · Uses: G001, S012
S014 · implies
Before
ORIGINAL signed integer=-222;actual sign=-1;positive prime multiset=[2, 3, 37]
After
ordinary_positive_form_claim fixed No;zero has no finite prime product;units use empty product1;nonzero sign is separated from |n| prime factors
Conditions: none
Zero is not a finite prime product;±1 are units with an empty prime multiset.Other nonzero integers separate sign from positive factors.The fixed No is not a positivity test or a denial of factorization for a positive integer.
Step identifiers and dependencies
Rule: upf_zero_units_sign_nonclaim_not_positive_test · Uses: G001, S013