R0043-22179 · q-20261014-advance-20261110-r06-mobius-inversion-finite-divisors-0054
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=4;check complete integer range1..4
After
ALL positive divisors INCREASING=[1, 2, 4];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(4, 1)
After
Mobius roundtrip m=1 forward f(1) ORIGINAL a times divisor = 4
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(4, -9)
After
Mobius roundtrip m=1 forward f(1) plus ORIGINAL b = -5
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(-5)
After
Mobius roundtrip m=1 forward full forward divisor sum = -5
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(4, 1)
After
Mobius roundtrip m=1 inverse F(n/1) f(1) ORIGINAL a times divisor = 4
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(4, -9)
After
Mobius roundtrip m=1 inverse F(n/1) f(1) plus ORIGINAL b = -5
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(-5)
After
Mobius roundtrip m=1 inverse F(n/1) full forward divisor sum = -5
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, -5)
After
Mobius roundtrip m=1 inverse mu(1) times SAME F(n/1) = -5
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(-5)
After
Mobius roundtrip m=1 inverse complete inverse-term sum = -5
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(4, 1)
After
Mobius roundtrip m=1 inverse direct ORIGINAL a times n = 4
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(4, -9)
After
Mobius roundtrip m=1 inverse direct plus ORIGINAL b = -5
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, -5, -5]]
After
complete reconstructed=-5;direct f(n)=-5;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(4, 1)
After
Mobius roundtrip m=2 forward f(1) ORIGINAL a times divisor = 4
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(4, -9)
After
Mobius roundtrip m=2 forward f(1) plus ORIGINAL b = -5
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(4, 2)
After
Mobius roundtrip m=2 forward f(2) ORIGINAL a times divisor = 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, S022
S024 · calculation
Before
Mobius roundtrip m=2 forward f(2) plus ORIGINAL b := sum(8, -9)
After
Mobius roundtrip m=2 forward f(2) plus ORIGINAL b = -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, S023
S025 · calculation
Before
Mobius roundtrip m=2 forward full forward divisor sum := sum(-5, -1)
After
Mobius roundtrip m=2 forward full forward divisor sum = -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, 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(4, 1)
After
Mobius roundtrip m=2 inverse F(n/1) f(1) ORIGINAL a times divisor = 4
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(4, -9)
After
Mobius roundtrip m=2 inverse F(n/1) f(1) plus ORIGINAL b = -5
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(4, 2)
After
Mobius roundtrip m=2 inverse F(n/1) f(2) ORIGINAL a times divisor = 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, S032
S034 · calculation
Before
Mobius roundtrip m=2 inverse F(n/1) f(2) plus ORIGINAL b := sum(8, -9)
After
Mobius roundtrip m=2 inverse F(n/1) f(2) plus ORIGINAL b = -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, S033
S035 · calculation
Before
Mobius roundtrip m=2 inverse F(n/1) full forward divisor sum := sum(-5, -1)
After
Mobius roundtrip m=2 inverse F(n/1) full forward divisor sum = -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, S034
S036 · calculation
Before
Mobius roundtrip m=2 inverse mu(1) times SAME F(n/1) := mul(1, -6)
After
Mobius roundtrip m=2 inverse mu(1) times SAME F(n/1) = -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, 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(4, 1)
After
Mobius roundtrip m=2 inverse F(n/2) f(1) ORIGINAL a times divisor = 4
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(4, -9)
After
Mobius roundtrip m=2 inverse F(n/2) f(1) plus ORIGINAL b = -5
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(-5)
After
Mobius roundtrip m=2 inverse F(n/2) full forward divisor sum = -5
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, -5)
After
Mobius roundtrip m=2 inverse mu(2) times SAME F(n/2) = 5
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(-6, 5)
After
Mobius roundtrip m=2 inverse complete inverse-term sum = -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, S047
S049 · calculation
Before
Mobius roundtrip m=2 inverse direct ORIGINAL a times n := mul(4, 2)
After
Mobius roundtrip m=2 inverse direct ORIGINAL a times n = 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, S048
S050 · calculation
Before
Mobius roundtrip m=2 inverse direct plus ORIGINAL b := sum(8, -9)
After
Mobius roundtrip m=2 inverse direct plus ORIGINAL b = -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, 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, -6, -6], [2, -1, 1, -5, 5]]
After
complete reconstructed=-1;direct f(n)=-1;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=4 forward:actual positive input=4;check complete integer range1..4
After
ALL positive divisors INCREASING=[1, 2, 4];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=4 forward f(1) ORIGINAL a times divisor := mul(4, 1)
After
Mobius roundtrip m=4 forward f(1) ORIGINAL a times divisor = 4
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=4 forward f(1) plus ORIGINAL b := sum(4, -9)
After
Mobius roundtrip m=4 forward f(1) plus ORIGINAL b = -5
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=4 forward f(2) ORIGINAL a times divisor := mul(4, 2)
After
Mobius roundtrip m=4 forward f(2) ORIGINAL a times divisor = 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, S054
S056 · calculation
Before
Mobius roundtrip m=4 forward f(2) plus ORIGINAL b := sum(8, -9)
After
Mobius roundtrip m=4 forward f(2) plus ORIGINAL b = -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, S055
S057 · calculation
Before
Mobius roundtrip m=4 forward f(4) ORIGINAL a times divisor := mul(4, 4)
After
Mobius roundtrip m=4 forward f(4) ORIGINAL a times divisor = 16
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 · calculation
Before
Mobius roundtrip m=4 forward f(4) plus ORIGINAL b := sum(16, -9)
After
Mobius roundtrip m=4 forward f(4) plus ORIGINAL b = 7
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, S057
S059 · calculation
Before
Mobius roundtrip m=4 forward full forward divisor sum := sum(-5, -1, 7)
After
Mobius roundtrip m=4 forward full forward divisor sum = 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, S058
S060 · implies
Before
Mobius roundtrip m=4 inverse:actual positive input=4;check complete integer range1..4
After
ALL positive divisors INCREASING=[1, 2, 4];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, S059
S061 · implies
Before
Mobius roundtrip m=4 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, S060
S062 · implies
Before
Mobius roundtrip m=4 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, S061
S063 · calculation
Before
Mobius roundtrip m=4 inverse n divided by ORIGINAL divisor1 := div(4, 1)
After
Mobius roundtrip m=4 inverse n divided by ORIGINAL divisor1 = 4
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 · implies
Before
Mobius roundtrip m=4 inverse F(n/1):actual positive input=4;check complete integer range1..4
After
ALL positive divisors INCREASING=[1, 2, 4];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, S063
S065 · calculation
Before
Mobius roundtrip m=4 inverse F(n/1) f(1) ORIGINAL a times divisor := mul(4, 1)
After
Mobius roundtrip m=4 inverse F(n/1) f(1) ORIGINAL a times divisor = 4
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=4 inverse F(n/1) f(1) plus ORIGINAL b := sum(4, -9)
After
Mobius roundtrip m=4 inverse F(n/1) f(1) plus ORIGINAL b = -5
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=4 inverse F(n/1) f(2) ORIGINAL a times divisor := mul(4, 2)
After
Mobius roundtrip m=4 inverse F(n/1) f(2) ORIGINAL a times divisor = 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, S066
S068 · calculation
Before
Mobius roundtrip m=4 inverse F(n/1) f(2) plus ORIGINAL b := sum(8, -9)
After
Mobius roundtrip m=4 inverse F(n/1) f(2) plus ORIGINAL b = -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, S067
S069 · calculation
Before
Mobius roundtrip m=4 inverse F(n/1) f(4) ORIGINAL a times divisor := mul(4, 4)
After
Mobius roundtrip m=4 inverse F(n/1) f(4) ORIGINAL a times divisor = 16
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, S068
S070 · calculation
Before
Mobius roundtrip m=4 inverse F(n/1) f(4) plus ORIGINAL b := sum(16, -9)
After
Mobius roundtrip m=4 inverse F(n/1) f(4) plus ORIGINAL b = 7
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, S069
S071 · calculation
Before
Mobius roundtrip m=4 inverse F(n/1) full forward divisor sum := sum(-5, -1, 7)
After
Mobius roundtrip m=4 inverse F(n/1) full forward divisor sum = 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, S070
S072 · calculation
Before
Mobius roundtrip m=4 inverse mu(1) times SAME F(n/1) := mul(1, 1)
After
Mobius roundtrip m=4 inverse mu(1) times SAME F(n/1) = 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, S071
S073 · implies
Before
Mobius roundtrip m=4 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, S072
S074 · 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, S073
S075 · 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, S074
S076 · 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, S075
S077 · implies
Before
Mobius roundtrip m=4 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, S076
S078 · calculation
Before
Mobius roundtrip m=4 inverse n divided by ORIGINAL divisor2 := div(4, 2)
After
Mobius roundtrip m=4 inverse n divided by ORIGINAL divisor2 = 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, S077
S079 · implies
Before
Mobius roundtrip m=4 inverse F(n/2):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, S078
S080 · calculation
Before
Mobius roundtrip m=4 inverse F(n/2) f(1) ORIGINAL a times divisor := mul(4, 1)
After
Mobius roundtrip m=4 inverse F(n/2) f(1) ORIGINAL a times divisor = 4
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=4 inverse F(n/2) f(1) plus ORIGINAL b := sum(4, -9)
After
Mobius roundtrip m=4 inverse F(n/2) f(1) plus ORIGINAL b = -5
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=4 inverse F(n/2) f(2) ORIGINAL a times divisor := mul(4, 2)
After
Mobius roundtrip m=4 inverse F(n/2) f(2) ORIGINAL a times divisor = 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, S081
S083 · calculation
Before
Mobius roundtrip m=4 inverse F(n/2) f(2) plus ORIGINAL b := sum(8, -9)
After
Mobius roundtrip m=4 inverse F(n/2) f(2) plus ORIGINAL b = -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, S082
S084 · calculation
Before
Mobius roundtrip m=4 inverse F(n/2) full forward divisor sum := sum(-5, -1)
After
Mobius roundtrip m=4 inverse F(n/2) full forward divisor sum = -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, S083
S085 · calculation
Before
Mobius roundtrip m=4 inverse mu(2) times SAME F(n/2) := mul(-1, -6)
After
Mobius roundtrip m=4 inverse mu(2) times SAME F(n/2) = 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, S084
S086 · implies
Before
Mobius roundtrip m=4 inverse Mobius at ORIGINAL divisor4:actual positive input for mu=4
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, S085
S087 · implies
Before
ORIGINAL positive integer absolute magnitude=4>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, S086
S088 · calculation
Before
upf extract divisor2 occurrence0 := div(4, 2)
After
upf extract divisor2 occurrence0 = 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, S087
S089 · calculation
Before
upf extract divisor2 occurrence1 := div(2, 2)
After
upf extract divisor2 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, S088
S090 · implies
Before
next divisor=2;previous remaining=4;all smaller divisors exhausted
After
extracted multiplicity=2;next remaining=1;remaining modulo2=1;extracted multiset=[2, 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, S089
S091 · 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, S090
S092 · calculation
Before
upf canonical complete product factor1 := mul(2, 2)
After
upf canonical complete product factor1 = 4
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, S091
S093 · implies
Before
exhausted trial divisors below3;terminal remaining=1;d*d>remaining;ORIGINAL n=4
After
complete increasing prime multiset=[2, 2];full product=4;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, S092
S094 · implies
Before
Mobius roundtrip m=4 inverse Mobius at ORIGINAL divisor4:input=4;COMPLETE prime multiset=[2, 2];distinct primes=[2]
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, S093
S095 · calculation
Before
Mobius roundtrip m=4 inverse n divided by ORIGINAL divisor4 := div(4, 4)
After
Mobius roundtrip m=4 inverse n divided by ORIGINAL divisor4 = 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, S094
S096 · implies
Before
Mobius roundtrip m=4 inverse F(n/4):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, S095
S097 · calculation
Before
Mobius roundtrip m=4 inverse F(n/4) f(1) ORIGINAL a times divisor := mul(4, 1)
After
Mobius roundtrip m=4 inverse F(n/4) f(1) ORIGINAL a times divisor = 4
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 · calculation
Before
Mobius roundtrip m=4 inverse F(n/4) f(1) plus ORIGINAL b := sum(4, -9)
After
Mobius roundtrip m=4 inverse F(n/4) f(1) plus ORIGINAL b = -5
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, S097
S099 · calculation
Before
Mobius roundtrip m=4 inverse F(n/4) full forward divisor sum := sum(-5)
After
Mobius roundtrip m=4 inverse F(n/4) full forward divisor sum = -5
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=4 inverse mu(4) times SAME F(n/4) := mul(0, -5)
After
Mobius roundtrip m=4 inverse mu(4) times SAME F(n/4) = 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, S099
S101 · calculation
Before
Mobius roundtrip m=4 inverse complete inverse-term sum := sum(1, 6, 0)
After
Mobius roundtrip m=4 inverse complete inverse-term sum = 7
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=4 inverse direct ORIGINAL a times n := mul(4, 4)
After
Mobius roundtrip m=4 inverse direct ORIGINAL a times n = 16
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=4 inverse direct plus ORIGINAL b := sum(16, -9)
After
Mobius roundtrip m=4 inverse direct plus ORIGINAL b = 7
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 · implies
Before
Mobius roundtrip m=4 inverse:actual n=4;ALL [d,mu(d),n/d,F(n/d),mu(d)*F(n/d)] rows=[[1, 1, 4, 1, 1], [2, -1, 2, -6, 6], [4, 0, 1, -5, 0]]
After
complete reconstructed=7;direct f(n)=7;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, S103