R0043-22193 · q-20261014-advance-20261110-r06-mobius-inversion-finite-divisors-0068
Step-by-step derivation
S001 · implies
Before
source operation=mobinv-roundtrip-table;original snapshot and mathematics retained
After
explicit ordered source output fields=[n, roundtrip_rows, all_equal, boundary]
Conditions: none
Retain the historical interface marker and list ordered source fields without JavaScript.MVT fields come from the original mode,without padding or answer-shape inference.Tags and fixed No markers retain their claim scope.
Step identifiers and dependencies
Rule: source_ordered_interface_explicit_without_javascript · Uses: G001
S002 · implies
Before
Mobius inversion ORIGINAL roundtrip:actual positive input=18;check complete integer range1..18
After
ALL positive divisors INCREASING=[1, 2, 3, 6, 9, 18];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S001
S003 · implies
Before
Mobius roundtrip m=1 forward:actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S002
S004 · calculation
Before
Mobius roundtrip m=1 forward f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=1 forward f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Mobius roundtrip m=1 forward f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=1 forward f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Mobius roundtrip m=1 forward full forward divisor sum := sum(8)
After
Mobius roundtrip m=1 forward full forward divisor sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · implies
Before
Mobius roundtrip m=1 inverse:actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S006
S008 · implies
Before
Mobius roundtrip m=1 inverse Mobius at ORIGINAL divisor1:actual positive input for mu=1
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S007
S009 · implies
Before
Mobius roundtrip m=1 inverse Mobius at ORIGINAL divisor1:input=1;COMPLETE prime multiset=[];distinct primes=[]
After
mu=1;empty product case=Yes;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S008
S010 · calculation
Before
Mobius roundtrip m=1 inverse n divided by ORIGINAL divisor1 := div(1, 1)
After
Mobius roundtrip m=1 inverse n divided by ORIGINAL divisor1 = 1
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · implies
Before
Mobius roundtrip m=1 inverse F(n/1):actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S010
S012 · calculation
Before
Mobius roundtrip m=1 inverse F(n/1) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=1 inverse F(n/1) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Mobius roundtrip m=1 inverse F(n/1) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=1 inverse F(n/1) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Mobius roundtrip m=1 inverse F(n/1) full forward divisor sum := sum(8)
After
Mobius roundtrip m=1 inverse F(n/1) full forward divisor sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Mobius roundtrip m=1 inverse mu(1) times SAME F(n/1) := mul(1, 8)
After
Mobius roundtrip m=1 inverse mu(1) times SAME F(n/1) = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Mobius roundtrip m=1 inverse complete inverse-term sum := sum(8)
After
Mobius roundtrip m=1 inverse complete inverse-term sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
Mobius roundtrip m=1 inverse direct ORIGINAL a times n := mul(3, 1)
After
Mobius roundtrip m=1 inverse direct ORIGINAL a times n = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
Mobius roundtrip m=1 inverse direct plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=1 inverse direct plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · implies
Before
Mobius roundtrip m=1 inverse:actual n=1;ALL [d,mu(d),n/d,F(n/d),mu(d)*F(n/d)] rows=[[1, 1, 1, 8, 8]]
After
complete reconstructed=8;direct f(n)=8;sum_d mu(d)sum_e|n/d f(e)=sum_e|n f(e)sum_d|n/e mu(d)=f(n)
Conditions: none
Swap the finite sums over d*e|n.The inner Mobius sum is1 for n/e=1 and0 otherwise by pairing distinct-prime subsets,leaving only e=n.For n1,the d1 term and mu1=1 remain;do not mix indices from the alternate equivalent convention.
Step identifiers and dependencies
Rule: mobinv_general_finite_double_sum_and_Mobius_cancellation · Uses: G001, S018
S020 · implies
Before
Mobius roundtrip m=2 forward:actual positive input=2;check complete integer range1..2
After
ALL positive divisors INCREASING=[1, 2];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S019
S021 · calculation
Before
Mobius roundtrip m=2 forward f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=2 forward f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
Mobius roundtrip m=2 forward f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=2 forward f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
Mobius roundtrip m=2 forward f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=2 forward f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
Mobius roundtrip m=2 forward f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=2 forward f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
Mobius roundtrip m=2 forward full forward divisor sum := sum(8, 11)
After
Mobius roundtrip m=2 forward full forward divisor sum = 19
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · implies
Before
Mobius roundtrip m=2 inverse:actual positive input=2;check complete integer range1..2
After
ALL positive divisors INCREASING=[1, 2];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S025
S027 · implies
Before
Mobius roundtrip m=2 inverse Mobius at ORIGINAL divisor1:actual positive input for mu=1
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S026
S028 · implies
Before
Mobius roundtrip m=2 inverse Mobius at ORIGINAL divisor1:input=1;COMPLETE prime multiset=[];distinct primes=[]
After
mu=1;empty product case=Yes;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S027
S029 · calculation
Before
Mobius roundtrip m=2 inverse n divided by ORIGINAL divisor1 := div(2, 1)
After
Mobius roundtrip m=2 inverse n divided by ORIGINAL divisor1 = 2
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S028
S030 · implies
Before
Mobius roundtrip m=2 inverse F(n/1):actual positive input=2;check complete integer range1..2
After
ALL positive divisors INCREASING=[1, 2];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S029
S031 · calculation
Before
Mobius roundtrip m=2 inverse F(n/1) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=2 inverse F(n/1) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S030
S032 · calculation
Before
Mobius roundtrip m=2 inverse F(n/1) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=2 inverse F(n/1) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · calculation
Before
Mobius roundtrip m=2 inverse F(n/1) f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=2 inverse F(n/1) f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S032
S034 · calculation
Before
Mobius roundtrip m=2 inverse F(n/1) f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=2 inverse F(n/1) f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S033
S035 · calculation
Before
Mobius roundtrip m=2 inverse F(n/1) full forward divisor sum := sum(8, 11)
After
Mobius roundtrip m=2 inverse F(n/1) full forward divisor sum = 19
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S034
S036 · calculation
Before
Mobius roundtrip m=2 inverse mu(1) times SAME F(n/1) := mul(1, 19)
After
Mobius roundtrip m=2 inverse mu(1) times SAME F(n/1) = 19
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S035
S037 · implies
Before
Mobius roundtrip m=2 inverse Mobius at ORIGINAL divisor2:actual positive input for mu=2
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S036
S038 · implies
Before
ORIGINAL positive integer absolute magnitude=2>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, S037
S039 · 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, S038
S040 · implies
Before
exhausted trial divisors below2;terminal remaining=2;d*d>remaining;ORIGINAL n=2
After
complete increasing prime multiset=[2];full product=2;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, S039
S041 · implies
Before
Mobius roundtrip m=2 inverse Mobius at ORIGINAL divisor2:input=2;COMPLETE prime multiset=[2];distinct primes=[2]
After
mu=-1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S040
S042 · calculation
Before
Mobius roundtrip m=2 inverse n divided by ORIGINAL divisor2 := div(2, 2)
After
Mobius roundtrip m=2 inverse n divided by ORIGINAL divisor2 = 1
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · implies
Before
Mobius roundtrip m=2 inverse F(n/2):actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S042
S044 · calculation
Before
Mobius roundtrip m=2 inverse F(n/2) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=2 inverse F(n/2) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S043
S045 · calculation
Before
Mobius roundtrip m=2 inverse F(n/2) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=2 inverse F(n/2) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S044
S046 · calculation
Before
Mobius roundtrip m=2 inverse F(n/2) full forward divisor sum := sum(8)
After
Mobius roundtrip m=2 inverse F(n/2) full forward divisor sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S045
S047 · calculation
Before
Mobius roundtrip m=2 inverse mu(2) times SAME F(n/2) := mul(-1, 8)
After
Mobius roundtrip m=2 inverse mu(2) times SAME F(n/2) = -8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
Mobius roundtrip m=2 inverse complete inverse-term sum := sum(19, -8)
After
Mobius roundtrip m=2 inverse complete inverse-term sum = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · calculation
Before
Mobius roundtrip m=2 inverse direct ORIGINAL a times n := mul(3, 2)
After
Mobius roundtrip m=2 inverse direct ORIGINAL a times n = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S048
S050 · calculation
Before
Mobius roundtrip m=2 inverse direct plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=2 inverse direct plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S049
S051 · implies
Before
Mobius roundtrip m=2 inverse:actual n=2;ALL [d,mu(d),n/d,F(n/d),mu(d)*F(n/d)] rows=[[1, 1, 2, 19, 19], [2, -1, 1, 8, -8]]
After
complete reconstructed=11;direct f(n)=11;sum_d mu(d)sum_e|n/d f(e)=sum_e|n f(e)sum_d|n/e mu(d)=f(n)
Conditions: none
Swap the finite sums over d*e|n.The inner Mobius sum is1 for n/e=1 and0 otherwise by pairing distinct-prime subsets,leaving only e=n.For n1,the d1 term and mu1=1 remain;do not mix indices from the alternate equivalent convention.
Step identifiers and dependencies
Rule: mobinv_general_finite_double_sum_and_Mobius_cancellation · Uses: G001, S050
S052 · implies
Before
Mobius roundtrip m=3 forward:actual positive input=3;check complete integer range1..3
After
ALL positive divisors INCREASING=[1, 3];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S051
S053 · calculation
Before
Mobius roundtrip m=3 forward f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=3 forward f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · calculation
Before
Mobius roundtrip m=3 forward f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=3 forward f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S053
S055 · calculation
Before
Mobius roundtrip m=3 forward f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=3 forward f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S054
S056 · calculation
Before
Mobius roundtrip m=3 forward f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=3 forward f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S055
S057 · calculation
Before
Mobius roundtrip m=3 forward full forward divisor sum := sum(8, 14)
After
Mobius roundtrip m=3 forward full forward divisor sum = 22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S056
S058 · implies
Before
Mobius roundtrip m=3 inverse:actual positive input=3;check complete integer range1..3
After
ALL positive divisors INCREASING=[1, 3];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S057
S059 · implies
Before
Mobius roundtrip m=3 inverse Mobius at ORIGINAL divisor1:actual positive input for mu=1
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S058
S060 · implies
Before
Mobius roundtrip m=3 inverse Mobius at ORIGINAL divisor1:input=1;COMPLETE prime multiset=[];distinct primes=[]
After
mu=1;empty product case=Yes;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S059
S061 · calculation
Before
Mobius roundtrip m=3 inverse n divided by ORIGINAL divisor1 := div(3, 1)
After
Mobius roundtrip m=3 inverse n divided by ORIGINAL divisor1 = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S060
S062 · implies
Before
Mobius roundtrip m=3 inverse F(n/1):actual positive input=3;check complete integer range1..3
After
ALL positive divisors INCREASING=[1, 3];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S061
S063 · calculation
Before
Mobius roundtrip m=3 inverse F(n/1) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=3 inverse F(n/1) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S062
S064 · calculation
Before
Mobius roundtrip m=3 inverse F(n/1) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=3 inverse F(n/1) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S063
S065 · calculation
Before
Mobius roundtrip m=3 inverse F(n/1) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=3 inverse F(n/1) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S064
S066 · calculation
Before
Mobius roundtrip m=3 inverse F(n/1) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=3 inverse F(n/1) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S065
S067 · calculation
Before
Mobius roundtrip m=3 inverse F(n/1) full forward divisor sum := sum(8, 14)
After
Mobius roundtrip m=3 inverse F(n/1) full forward divisor sum = 22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S066
S068 · calculation
Before
Mobius roundtrip m=3 inverse mu(1) times SAME F(n/1) := mul(1, 22)
After
Mobius roundtrip m=3 inverse mu(1) times SAME F(n/1) = 22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S067
S069 · implies
Before
Mobius roundtrip m=3 inverse Mobius at ORIGINAL divisor3:actual positive input for mu=3
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S068
S070 · implies
Before
ORIGINAL positive integer absolute magnitude=3>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, S069
S071 · calculation
Before
upf canonical complete product factor0 := mul(1, 3)
After
upf canonical complete product factor0 = 3
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, S070
S072 · implies
Before
exhausted trial divisors below2;terminal remaining=3;d*d>remaining;ORIGINAL n=3
After
complete increasing prime multiset=[3];full product=3;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, S071
S073 · implies
Before
Mobius roundtrip m=3 inverse Mobius at ORIGINAL divisor3:input=3;COMPLETE prime multiset=[3];distinct primes=[3]
After
mu=-1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S072
S074 · calculation
Before
Mobius roundtrip m=3 inverse n divided by ORIGINAL divisor3 := div(3, 3)
After
Mobius roundtrip m=3 inverse n divided by ORIGINAL divisor3 = 1
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S073
S075 · implies
Before
Mobius roundtrip m=3 inverse F(n/3):actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S074
S076 · calculation
Before
Mobius roundtrip m=3 inverse F(n/3) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=3 inverse F(n/3) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S075
S077 · calculation
Before
Mobius roundtrip m=3 inverse F(n/3) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=3 inverse F(n/3) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S076
S078 · calculation
Before
Mobius roundtrip m=3 inverse F(n/3) full forward divisor sum := sum(8)
After
Mobius roundtrip m=3 inverse F(n/3) full forward divisor sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S077
S079 · calculation
Before
Mobius roundtrip m=3 inverse mu(3) times SAME F(n/3) := mul(-1, 8)
After
Mobius roundtrip m=3 inverse mu(3) times SAME F(n/3) = -8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S078
S080 · calculation
Before
Mobius roundtrip m=3 inverse complete inverse-term sum := sum(22, -8)
After
Mobius roundtrip m=3 inverse complete inverse-term sum = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S079
S081 · calculation
Before
Mobius roundtrip m=3 inverse direct ORIGINAL a times n := mul(3, 3)
After
Mobius roundtrip m=3 inverse direct ORIGINAL a times n = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S080
S082 · calculation
Before
Mobius roundtrip m=3 inverse direct plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=3 inverse direct plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S081
S083 · implies
Before
Mobius roundtrip m=3 inverse:actual n=3;ALL [d,mu(d),n/d,F(n/d),mu(d)*F(n/d)] rows=[[1, 1, 3, 22, 22], [3, -1, 1, 8, -8]]
After
complete reconstructed=14;direct f(n)=14;sum_d mu(d)sum_e|n/d f(e)=sum_e|n f(e)sum_d|n/e mu(d)=f(n)
Conditions: none
Swap the finite sums over d*e|n.The inner Mobius sum is1 for n/e=1 and0 otherwise by pairing distinct-prime subsets,leaving only e=n.For n1,the d1 term and mu1=1 remain;do not mix indices from the alternate equivalent convention.
Step identifiers and dependencies
Rule: mobinv_general_finite_double_sum_and_Mobius_cancellation · Uses: G001, S082
S084 · implies
Before
Mobius roundtrip m=6 forward:actual positive input=6;check complete integer range1..6
After
ALL positive divisors INCREASING=[1, 2, 3, 6];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S083
S085 · calculation
Before
Mobius roundtrip m=6 forward f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=6 forward f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S084
S086 · calculation
Before
Mobius roundtrip m=6 forward f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=6 forward f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S085
S087 · calculation
Before
Mobius roundtrip m=6 forward f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=6 forward f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S086
S088 · calculation
Before
Mobius roundtrip m=6 forward f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=6 forward f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S087
S089 · calculation
Before
Mobius roundtrip m=6 forward f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=6 forward f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S088
S090 · calculation
Before
Mobius roundtrip m=6 forward f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=6 forward f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S089
S091 · calculation
Before
Mobius roundtrip m=6 forward f(6) ORIGINAL a times divisor := mul(3, 6)
After
Mobius roundtrip m=6 forward f(6) ORIGINAL a times divisor = 18
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S090
S092 · calculation
Before
Mobius roundtrip m=6 forward f(6) plus ORIGINAL b := sum(18, 5)
After
Mobius roundtrip m=6 forward f(6) plus ORIGINAL b = 23
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S091
S093 · calculation
Before
Mobius roundtrip m=6 forward full forward divisor sum := sum(8, 11, 14, 23)
After
Mobius roundtrip m=6 forward full forward divisor sum = 56
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S092
S094 · implies
Before
Mobius roundtrip m=6 inverse:actual positive input=6;check complete integer range1..6
After
ALL positive divisors INCREASING=[1, 2, 3, 6];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S093
S095 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor1:actual positive input for mu=1
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S094
S096 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor1:input=1;COMPLETE prime multiset=[];distinct primes=[]
After
mu=1;empty product case=Yes;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S095
S097 · calculation
Before
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor1 := div(6, 1)
After
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor1 = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S096
S098 · implies
Before
Mobius roundtrip m=6 inverse F(n/1):actual positive input=6;check complete integer range1..6
After
ALL positive divisors INCREASING=[1, 2, 3, 6];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S097
S099 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=6 inverse F(n/1) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S098
S100 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=6 inverse F(n/1) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S099
S101 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=6 inverse F(n/1) f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S100
S102 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=6 inverse F(n/1) f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S101
S103 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=6 inverse F(n/1) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S102
S104 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=6 inverse F(n/1) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S103
S105 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(6) ORIGINAL a times divisor := mul(3, 6)
After
Mobius roundtrip m=6 inverse F(n/1) f(6) ORIGINAL a times divisor = 18
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S104
S106 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) f(6) plus ORIGINAL b := sum(18, 5)
After
Mobius roundtrip m=6 inverse F(n/1) f(6) plus ORIGINAL b = 23
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S105
S107 · calculation
Before
Mobius roundtrip m=6 inverse F(n/1) full forward divisor sum := sum(8, 11, 14, 23)
After
Mobius roundtrip m=6 inverse F(n/1) full forward divisor sum = 56
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S106
S108 · calculation
Before
Mobius roundtrip m=6 inverse mu(1) times SAME F(n/1) := mul(1, 56)
After
Mobius roundtrip m=6 inverse mu(1) times SAME F(n/1) = 56
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S107
S109 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor2:actual positive input for mu=2
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S108
S110 · implies
Before
ORIGINAL positive integer absolute magnitude=2>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, S109
S111 · 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, S110
S112 · implies
Before
exhausted trial divisors below2;terminal remaining=2;d*d>remaining;ORIGINAL n=2
After
complete increasing prime multiset=[2];full product=2;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, S111
S113 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor2:input=2;COMPLETE prime multiset=[2];distinct primes=[2]
After
mu=-1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S112
S114 · calculation
Before
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor2 := div(6, 2)
After
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor2 = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S113
S115 · implies
Before
Mobius roundtrip m=6 inverse F(n/2):actual positive input=3;check complete integer range1..3
After
ALL positive divisors INCREASING=[1, 3];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S114
S116 · calculation
Before
Mobius roundtrip m=6 inverse F(n/2) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=6 inverse F(n/2) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S115
S117 · calculation
Before
Mobius roundtrip m=6 inverse F(n/2) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=6 inverse F(n/2) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S116
S118 · calculation
Before
Mobius roundtrip m=6 inverse F(n/2) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=6 inverse F(n/2) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S117
S119 · calculation
Before
Mobius roundtrip m=6 inverse F(n/2) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=6 inverse F(n/2) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S118
S120 · calculation
Before
Mobius roundtrip m=6 inverse F(n/2) full forward divisor sum := sum(8, 14)
After
Mobius roundtrip m=6 inverse F(n/2) full forward divisor sum = 22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S119
S121 · calculation
Before
Mobius roundtrip m=6 inverse mu(2) times SAME F(n/2) := mul(-1, 22)
After
Mobius roundtrip m=6 inverse mu(2) times SAME F(n/2) = -22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S120
S122 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor3:actual positive input for mu=3
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S121
S123 · implies
Before
ORIGINAL positive integer absolute magnitude=3>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, S122
S124 · calculation
Before
upf canonical complete product factor0 := mul(1, 3)
After
upf canonical complete product factor0 = 3
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, S123
S125 · implies
Before
exhausted trial divisors below2;terminal remaining=3;d*d>remaining;ORIGINAL n=3
After
complete increasing prime multiset=[3];full product=3;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, S124
S126 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor3:input=3;COMPLETE prime multiset=[3];distinct primes=[3]
After
mu=-1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S125
S127 · calculation
Before
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor3 := div(6, 3)
After
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor3 = 2
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S126
S128 · implies
Before
Mobius roundtrip m=6 inverse F(n/3):actual positive input=2;check complete integer range1..2
After
ALL positive divisors INCREASING=[1, 2];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S127
S129 · calculation
Before
Mobius roundtrip m=6 inverse F(n/3) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=6 inverse F(n/3) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S128
S130 · calculation
Before
Mobius roundtrip m=6 inverse F(n/3) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=6 inverse F(n/3) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S129
S131 · calculation
Before
Mobius roundtrip m=6 inverse F(n/3) f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=6 inverse F(n/3) f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S130
S132 · calculation
Before
Mobius roundtrip m=6 inverse F(n/3) f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=6 inverse F(n/3) f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S131
S133 · calculation
Before
Mobius roundtrip m=6 inverse F(n/3) full forward divisor sum := sum(8, 11)
After
Mobius roundtrip m=6 inverse F(n/3) full forward divisor sum = 19
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S132
S134 · calculation
Before
Mobius roundtrip m=6 inverse mu(3) times SAME F(n/3) := mul(-1, 19)
After
Mobius roundtrip m=6 inverse mu(3) times SAME F(n/3) = -19
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S133
S135 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor6:actual positive input for mu=6
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S134
S136 · implies
Before
ORIGINAL positive integer absolute magnitude=6>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, S135
S137 · calculation
Before
upf extract divisor2 occurrence0 := div(6, 2)
After
upf extract divisor2 occurrence0 = 3
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, S136
S138 · implies
Before
next divisor=2;previous remaining=6;all smaller divisors exhausted
After
extracted multiplicity=1;next remaining=3;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, S137
S139 · 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, S138
S140 · 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, S139
S141 · implies
Before
exhausted trial divisors below3;terminal remaining=3;d*d>remaining;ORIGINAL n=6
After
complete increasing prime multiset=[2, 3];full product=6;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, S140
S142 · implies
Before
Mobius roundtrip m=6 inverse Mobius at ORIGINAL divisor6:input=6;COMPLETE prime multiset=[2, 3];distinct primes=[2, 3]
After
mu=1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S141
S143 · calculation
Before
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor6 := div(6, 6)
After
Mobius roundtrip m=6 inverse n divided by ORIGINAL divisor6 = 1
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S142
S144 · implies
Before
Mobius roundtrip m=6 inverse F(n/6):actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S143
S145 · calculation
Before
Mobius roundtrip m=6 inverse F(n/6) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=6 inverse F(n/6) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S144
S146 · calculation
Before
Mobius roundtrip m=6 inverse F(n/6) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=6 inverse F(n/6) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S145
S147 · calculation
Before
Mobius roundtrip m=6 inverse F(n/6) full forward divisor sum := sum(8)
After
Mobius roundtrip m=6 inverse F(n/6) full forward divisor sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S146
S148 · calculation
Before
Mobius roundtrip m=6 inverse mu(6) times SAME F(n/6) := mul(1, 8)
After
Mobius roundtrip m=6 inverse mu(6) times SAME F(n/6) = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S147
S149 · calculation
Before
Mobius roundtrip m=6 inverse complete inverse-term sum := sum(56, -22, -19, 8)
After
Mobius roundtrip m=6 inverse complete inverse-term sum = 23
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S148
S150 · calculation
Before
Mobius roundtrip m=6 inverse direct ORIGINAL a times n := mul(3, 6)
After
Mobius roundtrip m=6 inverse direct ORIGINAL a times n = 18
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S149
S151 · calculation
Before
Mobius roundtrip m=6 inverse direct plus ORIGINAL b := sum(18, 5)
After
Mobius roundtrip m=6 inverse direct plus ORIGINAL b = 23
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S150
S152 · implies
Before
Mobius roundtrip m=6 inverse:actual n=6;ALL [d,mu(d),n/d,F(n/d),mu(d)*F(n/d)] rows=[[1, 1, 6, 56, 56], [2, -1, 3, 22, -22], [3, -1, 2, 19, -19], [6, 1, 1, 8, 8]]
After
complete reconstructed=23;direct f(n)=23;sum_d mu(d)sum_e|n/d f(e)=sum_e|n f(e)sum_d|n/e mu(d)=f(n)
Conditions: none
Swap the finite sums over d*e|n.The inner Mobius sum is1 for n/e=1 and0 otherwise by pairing distinct-prime subsets,leaving only e=n.For n1,the d1 term and mu1=1 remain;do not mix indices from the alternate equivalent convention.
Step identifiers and dependencies
Rule: mobinv_general_finite_double_sum_and_Mobius_cancellation · Uses: G001, S151
S153 · implies
Before
Mobius roundtrip m=9 forward:actual positive input=9;check complete integer range1..9
After
ALL positive divisors INCREASING=[1, 3, 9];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S152
S154 · calculation
Before
Mobius roundtrip m=9 forward f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=9 forward f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S153
S155 · calculation
Before
Mobius roundtrip m=9 forward f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=9 forward f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S154
S156 · calculation
Before
Mobius roundtrip m=9 forward f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=9 forward f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S155
S157 · calculation
Before
Mobius roundtrip m=9 forward f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=9 forward f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S156
S158 · calculation
Before
Mobius roundtrip m=9 forward f(9) ORIGINAL a times divisor := mul(3, 9)
After
Mobius roundtrip m=9 forward f(9) ORIGINAL a times divisor = 27
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S157
S159 · calculation
Before
Mobius roundtrip m=9 forward f(9) plus ORIGINAL b := sum(27, 5)
After
Mobius roundtrip m=9 forward f(9) plus ORIGINAL b = 32
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S158
S160 · calculation
Before
Mobius roundtrip m=9 forward full forward divisor sum := sum(8, 14, 32)
After
Mobius roundtrip m=9 forward full forward divisor sum = 54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S159
S161 · implies
Before
Mobius roundtrip m=9 inverse:actual positive input=9;check complete integer range1..9
After
ALL positive divisors INCREASING=[1, 3, 9];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S160
S162 · implies
Before
Mobius roundtrip m=9 inverse Mobius at ORIGINAL divisor1:actual positive input for mu=1
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S161
S163 · implies
Before
Mobius roundtrip m=9 inverse Mobius at ORIGINAL divisor1:input=1;COMPLETE prime multiset=[];distinct primes=[]
After
mu=1;empty product case=Yes;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S162
S164 · calculation
Before
Mobius roundtrip m=9 inverse n divided by ORIGINAL divisor1 := div(9, 1)
After
Mobius roundtrip m=9 inverse n divided by ORIGINAL divisor1 = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S163
S165 · implies
Before
Mobius roundtrip m=9 inverse F(n/1):actual positive input=9;check complete integer range1..9
After
ALL positive divisors INCREASING=[1, 3, 9];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S164
S166 · calculation
Before
Mobius roundtrip m=9 inverse F(n/1) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=9 inverse F(n/1) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S165
S167 · calculation
Before
Mobius roundtrip m=9 inverse F(n/1) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=9 inverse F(n/1) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S166
S168 · calculation
Before
Mobius roundtrip m=9 inverse F(n/1) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=9 inverse F(n/1) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S167
S169 · calculation
Before
Mobius roundtrip m=9 inverse F(n/1) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=9 inverse F(n/1) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S168
S170 · calculation
Before
Mobius roundtrip m=9 inverse F(n/1) f(9) ORIGINAL a times divisor := mul(3, 9)
After
Mobius roundtrip m=9 inverse F(n/1) f(9) ORIGINAL a times divisor = 27
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S169
S171 · calculation
Before
Mobius roundtrip m=9 inverse F(n/1) f(9) plus ORIGINAL b := sum(27, 5)
After
Mobius roundtrip m=9 inverse F(n/1) f(9) plus ORIGINAL b = 32
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S170
S172 · calculation
Before
Mobius roundtrip m=9 inverse F(n/1) full forward divisor sum := sum(8, 14, 32)
After
Mobius roundtrip m=9 inverse F(n/1) full forward divisor sum = 54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S171
S173 · calculation
Before
Mobius roundtrip m=9 inverse mu(1) times SAME F(n/1) := mul(1, 54)
After
Mobius roundtrip m=9 inverse mu(1) times SAME F(n/1) = 54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S172
S174 · implies
Before
Mobius roundtrip m=9 inverse Mobius at ORIGINAL divisor3:actual positive input for mu=3
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S173
S175 · implies
Before
ORIGINAL positive integer absolute magnitude=3>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, S174
S176 · calculation
Before
upf canonical complete product factor0 := mul(1, 3)
After
upf canonical complete product factor0 = 3
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, S175
S177 · implies
Before
exhausted trial divisors below2;terminal remaining=3;d*d>remaining;ORIGINAL n=3
After
complete increasing prime multiset=[3];full product=3;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, S176
S178 · implies
Before
Mobius roundtrip m=9 inverse Mobius at ORIGINAL divisor3:input=3;COMPLETE prime multiset=[3];distinct primes=[3]
After
mu=-1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S177
S179 · calculation
Before
Mobius roundtrip m=9 inverse n divided by ORIGINAL divisor3 := div(9, 3)
After
Mobius roundtrip m=9 inverse n divided by ORIGINAL divisor3 = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S178
S180 · implies
Before
Mobius roundtrip m=9 inverse F(n/3):actual positive input=3;check complete integer range1..3
After
ALL positive divisors INCREASING=[1, 3];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S179
S181 · calculation
Before
Mobius roundtrip m=9 inverse F(n/3) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=9 inverse F(n/3) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S180
S182 · calculation
Before
Mobius roundtrip m=9 inverse F(n/3) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=9 inverse F(n/3) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S181
S183 · calculation
Before
Mobius roundtrip m=9 inverse F(n/3) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=9 inverse F(n/3) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S182
S184 · calculation
Before
Mobius roundtrip m=9 inverse F(n/3) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=9 inverse F(n/3) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S183
S185 · calculation
Before
Mobius roundtrip m=9 inverse F(n/3) full forward divisor sum := sum(8, 14)
After
Mobius roundtrip m=9 inverse F(n/3) full forward divisor sum = 22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S184
S186 · calculation
Before
Mobius roundtrip m=9 inverse mu(3) times SAME F(n/3) := mul(-1, 22)
After
Mobius roundtrip m=9 inverse mu(3) times SAME F(n/3) = -22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S185
S187 · implies
Before
Mobius roundtrip m=9 inverse Mobius at ORIGINAL divisor9:actual positive input for mu=9
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S186
S188 · implies
Before
ORIGINAL positive integer absolute magnitude=9>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, S187
S189 · implies
Before
next divisor=2;previous remaining=9;all smaller divisors exhausted
After
extracted multiplicity=0;next remaining=9;remaining modulo2=1;extracted multiset=[]
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, S188
S190 · calculation
Before
upf extract divisor3 occurrence0 := div(9, 3)
After
upf extract divisor3 occurrence0 = 3
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, S189
S191 · calculation
Before
upf extract divisor3 occurrence1 := div(3, 3)
After
upf extract divisor3 occurrence1 = 1
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, S190
S192 · implies
Before
next divisor=3;previous remaining=9;all smaller divisors exhausted
After
extracted multiplicity=2;next remaining=1;remaining modulo3=1;extracted multiset=[3, 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, S191
S193 · calculation
Before
upf canonical complete product factor0 := mul(1, 3)
After
upf canonical complete product factor0 = 3
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, S192
S194 · calculation
Before
upf canonical complete product factor1 := mul(3, 3)
After
upf canonical complete product factor1 = 9
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, S193
S195 · implies
Before
exhausted trial divisors below4;terminal remaining=1;d*d>remaining;ORIGINAL n=9
After
complete increasing prime multiset=[3, 3];full product=9;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, S194
S196 · implies
Before
Mobius roundtrip m=9 inverse Mobius at ORIGINAL divisor9:input=9;COMPLETE prime multiset=[3, 3];distinct primes=[3]
After
mu=0;empty product case=No;repeated prime=Yes
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S195
S197 · calculation
Before
Mobius roundtrip m=9 inverse n divided by ORIGINAL divisor9 := div(9, 9)
After
Mobius roundtrip m=9 inverse n divided by ORIGINAL divisor9 = 1
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S196
S198 · implies
Before
Mobius roundtrip m=9 inverse F(n/9):actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S197
S199 · calculation
Before
Mobius roundtrip m=9 inverse F(n/9) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=9 inverse F(n/9) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S198
S200 · calculation
Before
Mobius roundtrip m=9 inverse F(n/9) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=9 inverse F(n/9) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S199
S201 · calculation
Before
Mobius roundtrip m=9 inverse F(n/9) full forward divisor sum := sum(8)
After
Mobius roundtrip m=9 inverse F(n/9) full forward divisor sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S200
S202 · calculation
Before
Mobius roundtrip m=9 inverse mu(9) times SAME F(n/9) := mul(0, 8)
After
Mobius roundtrip m=9 inverse mu(9) times SAME F(n/9) = 0
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S201
S203 · calculation
Before
Mobius roundtrip m=9 inverse complete inverse-term sum := sum(54, -22, 0)
After
Mobius roundtrip m=9 inverse complete inverse-term sum = 32
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S202
S204 · calculation
Before
Mobius roundtrip m=9 inverse direct ORIGINAL a times n := mul(3, 9)
After
Mobius roundtrip m=9 inverse direct ORIGINAL a times n = 27
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S203
S205 · calculation
Before
Mobius roundtrip m=9 inverse direct plus ORIGINAL b := sum(27, 5)
After
Mobius roundtrip m=9 inverse direct plus ORIGINAL b = 32
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S204
S206 · implies
Before
Mobius roundtrip m=9 inverse:actual n=9;ALL [d,mu(d),n/d,F(n/d),mu(d)*F(n/d)] rows=[[1, 1, 9, 54, 54], [3, -1, 3, 22, -22], [9, 0, 1, 8, 0]]
After
complete reconstructed=32;direct f(n)=32;sum_d mu(d)sum_e|n/d f(e)=sum_e|n f(e)sum_d|n/e mu(d)=f(n)
Conditions: none
Swap the finite sums over d*e|n.The inner Mobius sum is1 for n/e=1 and0 otherwise by pairing distinct-prime subsets,leaving only e=n.For n1,the d1 term and mu1=1 remain;do not mix indices from the alternate equivalent convention.
Step identifiers and dependencies
Rule: mobinv_general_finite_double_sum_and_Mobius_cancellation · Uses: G001, S205
S207 · implies
Before
Mobius roundtrip m=18 forward:actual positive input=18;check complete integer range1..18
After
ALL positive divisors INCREASING=[1, 2, 3, 6, 9, 18];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S206
S208 · calculation
Before
Mobius roundtrip m=18 forward f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=18 forward f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S207
S209 · calculation
Before
Mobius roundtrip m=18 forward f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=18 forward f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S208
S210 · calculation
Before
Mobius roundtrip m=18 forward f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=18 forward f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S209
S211 · calculation
Before
Mobius roundtrip m=18 forward f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=18 forward f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S210
S212 · calculation
Before
Mobius roundtrip m=18 forward f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=18 forward f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S211
S213 · calculation
Before
Mobius roundtrip m=18 forward f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=18 forward f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S212
S214 · calculation
Before
Mobius roundtrip m=18 forward f(6) ORIGINAL a times divisor := mul(3, 6)
After
Mobius roundtrip m=18 forward f(6) ORIGINAL a times divisor = 18
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S213
S215 · calculation
Before
Mobius roundtrip m=18 forward f(6) plus ORIGINAL b := sum(18, 5)
After
Mobius roundtrip m=18 forward f(6) plus ORIGINAL b = 23
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S214
S216 · calculation
Before
Mobius roundtrip m=18 forward f(9) ORIGINAL a times divisor := mul(3, 9)
After
Mobius roundtrip m=18 forward f(9) ORIGINAL a times divisor = 27
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S215
S217 · calculation
Before
Mobius roundtrip m=18 forward f(9) plus ORIGINAL b := sum(27, 5)
After
Mobius roundtrip m=18 forward f(9) plus ORIGINAL b = 32
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S216
S218 · calculation
Before
Mobius roundtrip m=18 forward f(18) ORIGINAL a times divisor := mul(3, 18)
After
Mobius roundtrip m=18 forward f(18) ORIGINAL a times divisor = 54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S217
S219 · calculation
Before
Mobius roundtrip m=18 forward f(18) plus ORIGINAL b := sum(54, 5)
After
Mobius roundtrip m=18 forward f(18) plus ORIGINAL b = 59
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S218
S220 · calculation
Before
Mobius roundtrip m=18 forward full forward divisor sum := sum(8, 11, 14, 23, 32, 59)
After
Mobius roundtrip m=18 forward full forward divisor sum = 147
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S219
S221 · implies
Before
Mobius roundtrip m=18 inverse:actual positive input=18;check complete integer range1..18
After
ALL positive divisors INCREASING=[1, 2, 3, 6, 9, 18];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S220
S222 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor1:actual positive input for mu=1
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S221
S223 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor1:input=1;COMPLETE prime multiset=[];distinct primes=[]
After
mu=1;empty product case=Yes;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S222
S224 · calculation
Before
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor1 := div(18, 1)
After
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor1 = 18
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S223
S225 · implies
Before
Mobius roundtrip m=18 inverse F(n/1):actual positive input=18;check complete integer range1..18
After
ALL positive divisors INCREASING=[1, 2, 3, 6, 9, 18];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S224
S226 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=18 inverse F(n/1) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S225
S227 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=18 inverse F(n/1) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S226
S228 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=18 inverse F(n/1) f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S227
S229 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=18 inverse F(n/1) f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S228
S230 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=18 inverse F(n/1) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S229
S231 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=18 inverse F(n/1) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S230
S232 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(6) ORIGINAL a times divisor := mul(3, 6)
After
Mobius roundtrip m=18 inverse F(n/1) f(6) ORIGINAL a times divisor = 18
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S231
S233 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(6) plus ORIGINAL b := sum(18, 5)
After
Mobius roundtrip m=18 inverse F(n/1) f(6) plus ORIGINAL b = 23
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S232
S234 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(9) ORIGINAL a times divisor := mul(3, 9)
After
Mobius roundtrip m=18 inverse F(n/1) f(9) ORIGINAL a times divisor = 27
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S233
S235 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(9) plus ORIGINAL b := sum(27, 5)
After
Mobius roundtrip m=18 inverse F(n/1) f(9) plus ORIGINAL b = 32
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S234
S236 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(18) ORIGINAL a times divisor := mul(3, 18)
After
Mobius roundtrip m=18 inverse F(n/1) f(18) ORIGINAL a times divisor = 54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S235
S237 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) f(18) plus ORIGINAL b := sum(54, 5)
After
Mobius roundtrip m=18 inverse F(n/1) f(18) plus ORIGINAL b = 59
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S236
S238 · calculation
Before
Mobius roundtrip m=18 inverse F(n/1) full forward divisor sum := sum(8, 11, 14, 23, 32, 59)
After
Mobius roundtrip m=18 inverse F(n/1) full forward divisor sum = 147
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S237
S239 · calculation
Before
Mobius roundtrip m=18 inverse mu(1) times SAME F(n/1) := mul(1, 147)
After
Mobius roundtrip m=18 inverse mu(1) times SAME F(n/1) = 147
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S238
S240 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor2:actual positive input for mu=2
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S239
S241 · implies
Before
ORIGINAL positive integer absolute magnitude=2>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, S240
S242 · 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, S241
S243 · implies
Before
exhausted trial divisors below2;terminal remaining=2;d*d>remaining;ORIGINAL n=2
After
complete increasing prime multiset=[2];full product=2;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, S242
S244 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor2:input=2;COMPLETE prime multiset=[2];distinct primes=[2]
After
mu=-1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S243
S245 · calculation
Before
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor2 := div(18, 2)
After
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor2 = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S244
S246 · implies
Before
Mobius roundtrip m=18 inverse F(n/2):actual positive input=9;check complete integer range1..9
After
ALL positive divisors INCREASING=[1, 3, 9];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S245
S247 · calculation
Before
Mobius roundtrip m=18 inverse F(n/2) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=18 inverse F(n/2) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S246
S248 · calculation
Before
Mobius roundtrip m=18 inverse F(n/2) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=18 inverse F(n/2) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S247
S249 · calculation
Before
Mobius roundtrip m=18 inverse F(n/2) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=18 inverse F(n/2) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S248
S250 · calculation
Before
Mobius roundtrip m=18 inverse F(n/2) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=18 inverse F(n/2) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S249
S251 · calculation
Before
Mobius roundtrip m=18 inverse F(n/2) f(9) ORIGINAL a times divisor := mul(3, 9)
After
Mobius roundtrip m=18 inverse F(n/2) f(9) ORIGINAL a times divisor = 27
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S250
S252 · calculation
Before
Mobius roundtrip m=18 inverse F(n/2) f(9) plus ORIGINAL b := sum(27, 5)
After
Mobius roundtrip m=18 inverse F(n/2) f(9) plus ORIGINAL b = 32
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S251
S253 · calculation
Before
Mobius roundtrip m=18 inverse F(n/2) full forward divisor sum := sum(8, 14, 32)
After
Mobius roundtrip m=18 inverse F(n/2) full forward divisor sum = 54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S252
S254 · calculation
Before
Mobius roundtrip m=18 inverse mu(2) times SAME F(n/2) := mul(-1, 54)
After
Mobius roundtrip m=18 inverse mu(2) times SAME F(n/2) = -54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S253
S255 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor3:actual positive input for mu=3
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S254
S256 · implies
Before
ORIGINAL positive integer absolute magnitude=3>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, S255
S257 · calculation
Before
upf canonical complete product factor0 := mul(1, 3)
After
upf canonical complete product factor0 = 3
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, S256
S258 · implies
Before
exhausted trial divisors below2;terminal remaining=3;d*d>remaining;ORIGINAL n=3
After
complete increasing prime multiset=[3];full product=3;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, S257
S259 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor3:input=3;COMPLETE prime multiset=[3];distinct primes=[3]
After
mu=-1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S258
S260 · calculation
Before
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor3 := div(18, 3)
After
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor3 = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S259
S261 · implies
Before
Mobius roundtrip m=18 inverse F(n/3):actual positive input=6;check complete integer range1..6
After
ALL positive divisors INCREASING=[1, 2, 3, 6];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S260
S262 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=18 inverse F(n/3) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S261
S263 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=18 inverse F(n/3) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S262
S264 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=18 inverse F(n/3) f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S263
S265 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=18 inverse F(n/3) f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S264
S266 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=18 inverse F(n/3) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S265
S267 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=18 inverse F(n/3) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S266
S268 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(6) ORIGINAL a times divisor := mul(3, 6)
After
Mobius roundtrip m=18 inverse F(n/3) f(6) ORIGINAL a times divisor = 18
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S267
S269 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) f(6) plus ORIGINAL b := sum(18, 5)
After
Mobius roundtrip m=18 inverse F(n/3) f(6) plus ORIGINAL b = 23
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S268
S270 · calculation
Before
Mobius roundtrip m=18 inverse F(n/3) full forward divisor sum := sum(8, 11, 14, 23)
After
Mobius roundtrip m=18 inverse F(n/3) full forward divisor sum = 56
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S269
S271 · calculation
Before
Mobius roundtrip m=18 inverse mu(3) times SAME F(n/3) := mul(-1, 56)
After
Mobius roundtrip m=18 inverse mu(3) times SAME F(n/3) = -56
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S270
S272 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor6:actual positive input for mu=6
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S271
S273 · implies
Before
ORIGINAL positive integer absolute magnitude=6>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, S272
S274 · calculation
Before
upf extract divisor2 occurrence0 := div(6, 2)
After
upf extract divisor2 occurrence0 = 3
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, S273
S275 · implies
Before
next divisor=2;previous remaining=6;all smaller divisors exhausted
After
extracted multiplicity=1;next remaining=3;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, S274
S276 · 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, S275
S277 · 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, S276
S278 · implies
Before
exhausted trial divisors below3;terminal remaining=3;d*d>remaining;ORIGINAL n=6
After
complete increasing prime multiset=[2, 3];full product=6;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, S277
S279 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor6:input=6;COMPLETE prime multiset=[2, 3];distinct primes=[2, 3]
After
mu=1;empty product case=No;repeated prime=No
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S278
S280 · calculation
Before
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor6 := div(18, 6)
After
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor6 = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S279
S281 · implies
Before
Mobius roundtrip m=18 inverse F(n/6):actual positive input=3;check complete integer range1..3
After
ALL positive divisors INCREASING=[1, 3];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S280
S282 · calculation
Before
Mobius roundtrip m=18 inverse F(n/6) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=18 inverse F(n/6) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S281
S283 · calculation
Before
Mobius roundtrip m=18 inverse F(n/6) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=18 inverse F(n/6) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S282
S284 · calculation
Before
Mobius roundtrip m=18 inverse F(n/6) f(3) ORIGINAL a times divisor := mul(3, 3)
After
Mobius roundtrip m=18 inverse F(n/6) f(3) ORIGINAL a times divisor = 9
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S283
S285 · calculation
Before
Mobius roundtrip m=18 inverse F(n/6) f(3) plus ORIGINAL b := sum(9, 5)
After
Mobius roundtrip m=18 inverse F(n/6) f(3) plus ORIGINAL b = 14
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S284
S286 · calculation
Before
Mobius roundtrip m=18 inverse F(n/6) full forward divisor sum := sum(8, 14)
After
Mobius roundtrip m=18 inverse F(n/6) full forward divisor sum = 22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S285
S287 · calculation
Before
Mobius roundtrip m=18 inverse mu(6) times SAME F(n/6) := mul(1, 22)
After
Mobius roundtrip m=18 inverse mu(6) times SAME F(n/6) = 22
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S286
S288 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor9:actual positive input for mu=9
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S287
S289 · implies
Before
ORIGINAL positive integer absolute magnitude=9>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, S288
S290 · implies
Before
next divisor=2;previous remaining=9;all smaller divisors exhausted
After
extracted multiplicity=0;next remaining=9;remaining modulo2=1;extracted multiset=[]
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, S289
S291 · calculation
Before
upf extract divisor3 occurrence0 := div(9, 3)
After
upf extract divisor3 occurrence0 = 3
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, S290
S292 · calculation
Before
upf extract divisor3 occurrence1 := div(3, 3)
After
upf extract divisor3 occurrence1 = 1
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, S291
S293 · implies
Before
next divisor=3;previous remaining=9;all smaller divisors exhausted
After
extracted multiplicity=2;next remaining=1;remaining modulo3=1;extracted multiset=[3, 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, S292
S294 · calculation
Before
upf canonical complete product factor0 := mul(1, 3)
After
upf canonical complete product factor0 = 3
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, S293
S295 · calculation
Before
upf canonical complete product factor1 := mul(3, 3)
After
upf canonical complete product factor1 = 9
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, S294
S296 · implies
Before
exhausted trial divisors below4;terminal remaining=1;d*d>remaining;ORIGINAL n=9
After
complete increasing prime multiset=[3, 3];full product=9;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, S295
S297 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor9:input=9;COMPLETE prime multiset=[3, 3];distinct primes=[3]
After
mu=0;empty product case=No;repeated prime=Yes
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S296
S298 · calculation
Before
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor9 := div(18, 9)
After
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor9 = 2
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S297
S299 · implies
Before
Mobius roundtrip m=18 inverse F(n/9):actual positive input=2;check complete integer range1..2
After
ALL positive divisors INCREASING=[1, 2];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S298
S300 · calculation
Before
Mobius roundtrip m=18 inverse F(n/9) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=18 inverse F(n/9) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S299
S301 · calculation
Before
Mobius roundtrip m=18 inverse F(n/9) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=18 inverse F(n/9) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S300
S302 · calculation
Before
Mobius roundtrip m=18 inverse F(n/9) f(2) ORIGINAL a times divisor := mul(3, 2)
After
Mobius roundtrip m=18 inverse F(n/9) f(2) ORIGINAL a times divisor = 6
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S301
S303 · calculation
Before
Mobius roundtrip m=18 inverse F(n/9) f(2) plus ORIGINAL b := sum(6, 5)
After
Mobius roundtrip m=18 inverse F(n/9) f(2) plus ORIGINAL b = 11
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S302
S304 · calculation
Before
Mobius roundtrip m=18 inverse F(n/9) full forward divisor sum := sum(8, 11)
After
Mobius roundtrip m=18 inverse F(n/9) full forward divisor sum = 19
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S303
S305 · calculation
Before
Mobius roundtrip m=18 inverse mu(9) times SAME F(n/9) := mul(0, 19)
After
Mobius roundtrip m=18 inverse mu(9) times SAME F(n/9) = 0
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S304
S306 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor18:actual positive input for mu=18
After
complete prime multiplicities required for this input;mu(1) uses empty product,not a partial factor search
Conditions: none
Identify whether the input is the original n or one of its positive divisors.Every mu evaluation requires complete prime multiplicities,not a partial factor search.
Step identifiers and dependencies
Rule: mobius_complete_UPF_input_role · Uses: G001, S305
S307 · implies
Before
ORIGINAL positive integer absolute magnitude=18>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, S306
S308 · calculation
Before
upf extract divisor2 occurrence0 := div(18, 2)
After
upf extract divisor2 occurrence0 = 9
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, S307
S309 · implies
Before
next divisor=2;previous remaining=18;all smaller divisors exhausted
After
extracted multiplicity=1;next remaining=9;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, S308
S310 · calculation
Before
upf extract divisor3 occurrence1 := div(9, 3)
After
upf extract divisor3 occurrence1 = 3
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, S309
S311 · calculation
Before
upf extract divisor3 occurrence2 := div(3, 3)
After
upf extract divisor3 occurrence2 = 1
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, S310
S312 · implies
Before
next divisor=3;previous remaining=9;all smaller divisors exhausted
After
extracted multiplicity=2;next remaining=1;remaining modulo3=1;extracted multiset=[2, 3, 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, S311
S313 · 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, S312
S314 · 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, S313
S315 · calculation
Before
upf canonical complete product factor2 := mul(6, 3)
After
upf canonical complete product factor2 = 18
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, S314
S316 · implies
Before
exhausted trial divisors below4;terminal remaining=1;d*d>remaining;ORIGINAL n=18
After
complete increasing prime multiset=[2, 3, 3];full product=18;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, S315
S317 · implies
Before
Mobius roundtrip m=18 inverse Mobius at ORIGINAL divisor18:input=18;COMPLETE prime multiset=[2, 3, 3];distinct primes=[2, 3]
After
mu=0;empty product case=No;repeated prime=Yes
Conditions: none
The empty prime multiset for1 gives mu1=1.A repeated prime gives a square divisor and value0;otherwise distinct-prime parity determines the sign.Sorting must not discard multiplicities.
Step identifiers and dependencies
Rule: mobius_value_one_repeated_prime_or_squarefree_parity · Uses: G001, S316
S318 · calculation
Before
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor18 := div(18, 18)
After
Mobius roundtrip m=18 inverse n divided by ORIGINAL divisor18 = 1
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S317
S319 · implies
Before
Mobius roundtrip m=18 inverse F(n/18):actual positive input=1;check complete integer range1..1
After
ALL positive divisors INCREASING=[1];not only primes/proper divisors or all integers<=n
Conditions: none
Check divisibility over the complete range,retaining1 and n.The relation d|n is neither d<=n nor a prime/proper-divisor restriction.
Step identifiers and dependencies
Rule: mobinv_ALL_positive_divisors_complete_indexing · Uses: G001, S318
S320 · calculation
Before
Mobius roundtrip m=18 inverse F(n/18) f(1) ORIGINAL a times divisor := mul(3, 1)
After
Mobius roundtrip m=18 inverse F(n/18) f(1) ORIGINAL a times divisor = 3
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S319
S321 · calculation
Before
Mobius roundtrip m=18 inverse F(n/18) f(1) plus ORIGINAL b := sum(3, 5)
After
Mobius roundtrip m=18 inverse F(n/18) f(1) plus ORIGINAL b = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S320
S322 · calculation
Before
Mobius roundtrip m=18 inverse F(n/18) full forward divisor sum := sum(8)
After
Mobius roundtrip m=18 inverse F(n/18) full forward divisor sum = 8
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S321
S323 · calculation
Before
Mobius roundtrip m=18 inverse mu(18) times SAME F(n/18) := mul(0, 8)
After
Mobius roundtrip m=18 inverse mu(18) times SAME F(n/18) = 0
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S322
S324 · calculation
Before
Mobius roundtrip m=18 inverse complete inverse-term sum := sum(147, -54, -56, 22, 0, 0)
After
Mobius roundtrip m=18 inverse complete inverse-term sum = 59
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S323
S325 · calculation
Before
Mobius roundtrip m=18 inverse direct ORIGINAL a times n := mul(3, 18)
After
Mobius roundtrip m=18 inverse direct ORIGINAL a times n = 54
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S324
S326 · calculation
Before
Mobius roundtrip m=18 inverse direct plus ORIGINAL b := sum(54, 5)
After
Mobius roundtrip m=18 inverse direct plus ORIGINAL b = 59
Conditions: none
Substitute original roles,order and established intermediates exactly,without changing source bindings or using floating-point approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S325
S327 · implies
Before
Mobius roundtrip m=18 inverse:actual n=18;ALL [d,mu(d),n/d,F(n/d),mu(d)*F(n/d)] rows=[[1, 1, 18, 147, 147], [2, -1, 9, 54, -54], [3, -1, 6, 56, -56], [6, 1, 3, 22, 22], [9, 0, 2, 19, 0], [18, 0, 1, 8, 0]]
After
complete reconstructed=59;direct f(n)=59;sum_d mu(d)sum_e|n/d f(e)=sum_e|n f(e)sum_d|n/e mu(d)=f(n)
Conditions: none
Swap the finite sums over d*e|n.The inner Mobius sum is1 for n/e=1 and0 otherwise by pairing distinct-prime subsets,leaving only e=n.For n1,the d1 term and mu1=1 remain;do not mix indices from the alternate equivalent convention.
Step identifiers and dependencies
Rule: mobinv_general_finite_double_sum_and_Mobius_cancellation · Uses: G001, S326