Step-by-step derivation
S001 · implies
Before
source operation=eulerthm-negative-base-normalization;original snapshot and mathematics retained
After
explicit ordered source output fields=[original_base, normalized_base, totient, residue, congruent_to_one, certificate]
Conditions: none
Retain the historical interface marker in the original snapshot while listing ordered source fields here,without JavaScript or external lookup.Field labels are not additional mathematical evidence,and No retains the source claim scope.
Step identifiers and dependencies
Rule: source_ordered_interface_explicit_without_javascript · Uses: G001
S002 · calculation
Before
Euler ORIGINAL signed base normalization exact quotient := div(-13, 16)
After
Euler ORIGINAL signed base normalization exact quotient = -13/16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Euler ORIGINAL signed base normalization floor quotient multiple := mul(-1, 16)
After
Euler ORIGINAL signed base normalization floor quotient multiple = -16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Euler ORIGINAL signed base normalization normalized remainder := sub(-13, -16)
After
Euler ORIGINAL signed base normalization normalized remainder = 3
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · implies
Before
Euler ORIGINAL signed base normalization:ORIGINAL signed integer=-13;modulus=16;exact ratio=-13/16;floor quotient=-1
After
value=q*n+remainder;normalized residue=3 in[0,16);same congruence class,NOT absolute-value replacement
Conditions: none
Use the floor quotient for a positive modulus,retaining the congruence class of a negative base rather than replacing it by abs(a).Equal residues mean congruence modulo n,not equality of original integers.
Step identifiers and dependencies
Rule: euler_exact_signed_remainder_not_abs_or_integer_equality · Uses: G001, S004
S006 · implies
Before
Euler ORIGINAL base applicability gcd:ORIGINAL gcd inputs=[-13, 16];nonnegative initial pair=[13, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[13, 16, 0, 13], [16, 13, 1, 3], [13, 3, 4, 1], [3, 1, 3, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S005
S007 · implies
Before
Euler residue representative0:ORIGINAL gcd inputs=[0, 16];nonnegative initial pair=[0, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[0, 16, 0, 0]];terminal gcd=16
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S006
S008 · implies
Before
Euler residue representative1:ORIGINAL gcd inputs=[1, 16];nonnegative initial pair=[1, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[1, 16, 0, 1], [16, 1, 16, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S007
S009 · implies
Before
Euler residue representative2:ORIGINAL gcd inputs=[2, 16];nonnegative initial pair=[2, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[2, 16, 0, 2], [16, 2, 8, 0]];terminal gcd=2
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S008
S010 · implies
Before
Euler residue representative3:ORIGINAL gcd inputs=[3, 16];nonnegative initial pair=[3, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[3, 16, 0, 3], [16, 3, 5, 1], [3, 1, 3, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S009
S011 · implies
Before
Euler residue representative4:ORIGINAL gcd inputs=[4, 16];nonnegative initial pair=[4, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[4, 16, 0, 4], [16, 4, 4, 0]];terminal gcd=4
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S010
S012 · implies
Before
Euler residue representative5:ORIGINAL gcd inputs=[5, 16];nonnegative initial pair=[5, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[5, 16, 0, 5], [16, 5, 3, 1], [5, 1, 5, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S011
S013 · implies
Before
Euler residue representative6:ORIGINAL gcd inputs=[6, 16];nonnegative initial pair=[6, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[6, 16, 0, 6], [16, 6, 2, 4], [6, 4, 1, 2], [4, 2, 2, 0]];terminal gcd=2
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S012
S014 · implies
Before
Euler residue representative7:ORIGINAL gcd inputs=[7, 16];nonnegative initial pair=[7, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[7, 16, 0, 7], [16, 7, 2, 2], [7, 2, 3, 1], [2, 1, 2, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S013
S015 · implies
Before
Euler residue representative8:ORIGINAL gcd inputs=[8, 16];nonnegative initial pair=[8, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[8, 16, 0, 8], [16, 8, 2, 0]];terminal gcd=8
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S014
S016 · implies
Before
Euler residue representative9:ORIGINAL gcd inputs=[9, 16];nonnegative initial pair=[9, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[9, 16, 0, 9], [16, 9, 1, 7], [9, 7, 1, 2], [7, 2, 3, 1], [2, 1, 2, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S015
S017 · implies
Before
Euler residue representative10:ORIGINAL gcd inputs=[10, 16];nonnegative initial pair=[10, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[10, 16, 0, 10], [16, 10, 1, 6], [10, 6, 1, 4], [6, 4, 1, 2], [4, 2, 2, 0]];terminal gcd=2
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S016
S018 · implies
Before
Euler residue representative11:ORIGINAL gcd inputs=[11, 16];nonnegative initial pair=[11, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[11, 16, 0, 11], [16, 11, 1, 5], [11, 5, 2, 1], [5, 1, 5, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S017
S019 · implies
Before
Euler residue representative12:ORIGINAL gcd inputs=[12, 16];nonnegative initial pair=[12, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[12, 16, 0, 12], [16, 12, 1, 4], [12, 4, 3, 0]];terminal gcd=4
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S018
S020 · implies
Before
Euler residue representative13:ORIGINAL gcd inputs=[13, 16];nonnegative initial pair=[13, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[13, 16, 0, 13], [16, 13, 1, 3], [13, 3, 4, 1], [3, 1, 3, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S019
S021 · implies
Before
Euler residue representative14:ORIGINAL gcd inputs=[14, 16];nonnegative initial pair=[14, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[14, 16, 0, 14], [16, 14, 1, 2], [14, 2, 7, 0]];terminal gcd=2
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S020
S022 · implies
Before
Euler residue representative15:ORIGINAL gcd inputs=[15, 16];nonnegative initial pair=[15, 16]
After
ALL exact Euclidean rows[left,right,q,r]=[[15, 16, 0, 15], [16, 15, 1, 1], [15, 1, 15, 0]];terminal gcd=1
Conditions: none
Each row has left=q*right+r with0≤r<positive right.Remainder replacement preserves common divisors and strictly descends to the gcd,including gcd(0,n)=n without division by0.
Step identifiers and dependencies
Rule: euler_gcd_full_remainder_chain_unit_test · Uses: G001, S021
S023 · calculation
Before
Euler complete reduced residue count phi := sum(1, 1, 1, 1, 1, 1, 1, 1)
After
Euler complete reduced residue count phi = 8
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · implies
Before
COMPLETE original residue carrier0..15;ALL [representative,gcd,unit] rows=[[0, 16, No], [1, 1, Yes], [2, 2, No], [3, 1, Yes], [4, 4, No], [5, 1, Yes], [6, 2, No], [7, 1, Yes], [8, 8, No], [9, 1, Yes], [10, 2, No], [11, 1, Yes], [12, 4, No], [13, 1, Yes], [14, 2, No], [15, 1, Yes]]
After
increasing COMPLETE U(n)=[1, 3, 5, 7, 9, 11, 13, 15];phi(n)=8;source count over1..n agrees because0 and n are BOTH nonunits for n>=2
Conditions: none
Test gcd1 for every representative to obtain the complete unit set,which contains1.The source totient count uses1..n while the unit list uses0..n−1.For n≥2 both swapped endpoints0 and n are nonunits,so the counts agree without assuming a prime modulus.
Step identifiers and dependencies
Rule: euler_full_units_totient_count_convention_not_prime_only · Uses: G001, S023
S025 · implies
Before
ORIGINAL normalized base=3;COMPLETE totient exponent=8;modulus=16
After
initialize accumulator1,current_base=base,remaining=phi;invariant accumulator*current_base^remaining congruent to the original totient power
Conditions: none
Use finite square-and-multiply steps preserving the original totient-power congruence,without constructing huge ordinary powers.Phi is the complete unit count,not n−1 unless primality is separately established.
Step identifiers and dependencies
Rule: euler_totient_power_initial_exact_invariant · Uses: G001, S024
S026 · calculation
Before
Euler power bit0 base square := mul(3, 3)
After
Euler power bit0 base square = 9
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · calculation
Before
Euler power bit0 squared-base reduction exact quotient := div(9, 16)
After
Euler power bit0 squared-base reduction exact quotient = 9/16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
Euler power bit0 squared-base reduction floor quotient multiple := mul(0, 16)
After
Euler power bit0 squared-base reduction floor quotient multiple = 0
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · calculation
Before
Euler power bit0 squared-base reduction normalized remainder := sub(9, 0)
After
Euler power bit0 squared-base reduction normalized remainder = 9
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S028
S030 · implies
Before
Euler power bit0 squared-base reduction:ORIGINAL signed integer=9;modulus=16;exact ratio=9/16;floor quotient=0
After
value=q*n+remainder;normalized residue=9 in[0,16);same congruence class,NOT absolute-value replacement
Conditions: none
Use the floor quotient for a positive modulus,retaining the congruence class of a negative base rather than replacing it by abs(a).Equal residues mean congruence modulo n,not equality of original integers.
Step identifiers and dependencies
Rule: euler_exact_signed_remainder_not_abs_or_integer_equality · Uses: G001, S029
S031 · implies
Before
step=0;previous[accumulator,base,exponent]=[1, 3, 8];low bit=0
After
next[accumulator,base,exponent]=[1, 9, 4];split exponent=2*q+bit preserves original-power invariant
Conditions: none
For an odd power move one base factor into the accumulator and square the base for the even part.Exact reductions preserve congruence and halving guarantees termination.This arithmetic also works for nonunits;computability does not establish Euler applicability.
Step identifiers and dependencies
Rule: euler_every_binary_power_step_unit_not_required_for_arithmetic · Uses: G001, S030
S032 · calculation
Before
Euler power bit1 base square := mul(9, 9)
After
Euler power bit1 base square = 81
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · calculation
Before
Euler power bit1 squared-base reduction exact quotient := div(81, 16)
After
Euler power bit1 squared-base reduction exact quotient = 81/16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S032
S034 · calculation
Before
Euler power bit1 squared-base reduction floor quotient multiple := mul(5, 16)
After
Euler power bit1 squared-base reduction floor quotient multiple = 80
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S033
S035 · calculation
Before
Euler power bit1 squared-base reduction normalized remainder := sub(81, 80)
After
Euler power bit1 squared-base reduction normalized remainder = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S034
S036 · implies
Before
Euler power bit1 squared-base reduction:ORIGINAL signed integer=81;modulus=16;exact ratio=81/16;floor quotient=5
After
value=q*n+remainder;normalized residue=1 in[0,16);same congruence class,NOT absolute-value replacement
Conditions: none
Use the floor quotient for a positive modulus,retaining the congruence class of a negative base rather than replacing it by abs(a).Equal residues mean congruence modulo n,not equality of original integers.
Step identifiers and dependencies
Rule: euler_exact_signed_remainder_not_abs_or_integer_equality · Uses: G001, S035
S037 · implies
Before
step=1;previous[accumulator,base,exponent]=[1, 9, 4];low bit=0
After
next[accumulator,base,exponent]=[1, 1, 2];split exponent=2*q+bit preserves original-power invariant
Conditions: none
For an odd power move one base factor into the accumulator and square the base for the even part.Exact reductions preserve congruence and halving guarantees termination.This arithmetic also works for nonunits;computability does not establish Euler applicability.
Step identifiers and dependencies
Rule: euler_every_binary_power_step_unit_not_required_for_arithmetic · Uses: G001, S036
S038 · calculation
Before
Euler power bit2 base square := mul(1, 1)
After
Euler power bit2 base square = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S037
S039 · calculation
Before
Euler power bit2 squared-base reduction exact quotient := div(1, 16)
After
Euler power bit2 squared-base reduction exact quotient = 1/16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S038
S040 · calculation
Before
Euler power bit2 squared-base reduction floor quotient multiple := mul(0, 16)
After
Euler power bit2 squared-base reduction floor quotient multiple = 0
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S039
S041 · calculation
Before
Euler power bit2 squared-base reduction normalized remainder := sub(1, 0)
After
Euler power bit2 squared-base reduction normalized remainder = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S040
S042 · implies
Before
Euler power bit2 squared-base reduction:ORIGINAL signed integer=1;modulus=16;exact ratio=1/16;floor quotient=0
After
value=q*n+remainder;normalized residue=1 in[0,16);same congruence class,NOT absolute-value replacement
Conditions: none
Use the floor quotient for a positive modulus,retaining the congruence class of a negative base rather than replacing it by abs(a).Equal residues mean congruence modulo n,not equality of original integers.
Step identifiers and dependencies
Rule: euler_exact_signed_remainder_not_abs_or_integer_equality · Uses: G001, S041
S043 · implies
Before
step=2;previous[accumulator,base,exponent]=[1, 1, 2];low bit=0
After
next[accumulator,base,exponent]=[1, 1, 1];split exponent=2*q+bit preserves original-power invariant
Conditions: none
For an odd power move one base factor into the accumulator and square the base for the even part.Exact reductions preserve congruence and halving guarantees termination.This arithmetic also works for nonunits;computability does not establish Euler applicability.
Step identifiers and dependencies
Rule: euler_every_binary_power_step_unit_not_required_for_arithmetic · Uses: G001, S042
S044 · calculation
Before
Euler power bit3 accumulator product := mul(1, 1)
After
Euler power bit3 accumulator product = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S043
S045 · calculation
Before
Euler power bit3 accumulator reduction exact quotient := div(1, 16)
After
Euler power bit3 accumulator reduction exact quotient = 1/16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S044
S046 · calculation
Before
Euler power bit3 accumulator reduction floor quotient multiple := mul(0, 16)
After
Euler power bit3 accumulator reduction floor quotient multiple = 0
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S045
S047 · calculation
Before
Euler power bit3 accumulator reduction normalized remainder := sub(1, 0)
After
Euler power bit3 accumulator reduction normalized remainder = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · implies
Before
Euler power bit3 accumulator reduction:ORIGINAL signed integer=1;modulus=16;exact ratio=1/16;floor quotient=0
After
value=q*n+remainder;normalized residue=1 in[0,16);same congruence class,NOT absolute-value replacement
Conditions: none
Use the floor quotient for a positive modulus,retaining the congruence class of a negative base rather than replacing it by abs(a).Equal residues mean congruence modulo n,not equality of original integers.
Step identifiers and dependencies
Rule: euler_exact_signed_remainder_not_abs_or_integer_equality · Uses: G001, S047
S049 · calculation
Before
Euler power bit3 base square := mul(1, 1)
After
Euler power bit3 base square = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S048
S050 · calculation
Before
Euler power bit3 squared-base reduction exact quotient := div(1, 16)
After
Euler power bit3 squared-base reduction exact quotient = 1/16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S049
S051 · calculation
Before
Euler power bit3 squared-base reduction floor quotient multiple := mul(0, 16)
After
Euler power bit3 squared-base reduction floor quotient multiple = 0
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S050
S052 · calculation
Before
Euler power bit3 squared-base reduction normalized remainder := sub(1, 0)
After
Euler power bit3 squared-base reduction normalized remainder = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S051
S053 · implies
Before
Euler power bit3 squared-base reduction:ORIGINAL signed integer=1;modulus=16;exact ratio=1/16;floor quotient=0
After
value=q*n+remainder;normalized residue=1 in[0,16);same congruence class,NOT absolute-value replacement
Conditions: none
Use the floor quotient for a positive modulus,retaining the congruence class of a negative base rather than replacing it by abs(a).Equal residues mean congruence modulo n,not equality of original integers.
Step identifiers and dependencies
Rule: euler_exact_signed_remainder_not_abs_or_integer_equality · Uses: G001, S052
S054 · implies
Before
step=3;previous[accumulator,base,exponent]=[1, 1, 1];low bit=1
After
next[accumulator,base,exponent]=[1, 1, 0];split exponent=2*q+bit preserves original-power invariant
Conditions: none
For an odd power move one base factor into the accumulator and square the base for the even part.Exact reductions preserve congruence and halving guarantees termination.This arithmetic also works for nonunits;computability does not establish Euler applicability.
Step identifiers and dependencies
Rule: euler_every_binary_power_step_unit_not_required_for_arithmetic · Uses: G001, S053
S055 · implies
Before
remaining exponent0;final normalized accumulator=1
After
EXACT original normalized base^8 modulo16=1
Conditions: none
The terminal invariant gives the original totient-power residue.This is arithmetic modulo the stated modulus,not a primality certificate.
Step identifiers and dependencies
Rule: euler_totient_power_terminal_congruence_not_primality · Uses: G001, S054
S056 · calculation
Before
Euler ACTUAL base-unit inverse product := mul(3, 11)
After
Euler ACTUAL base-unit inverse product = 33
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S055
S057 · calculation
Before
Euler ACTUAL inverse check exact quotient := div(33, 16)
After
Euler ACTUAL inverse check exact quotient = 33/16
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S056
S058 · calculation
Before
Euler ACTUAL inverse check floor quotient multiple := mul(2, 16)
After
Euler ACTUAL inverse check floor quotient multiple = 32
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · calculation
Before
Euler ACTUAL inverse check normalized remainder := sub(33, 32)
After
Euler ACTUAL inverse check normalized remainder = 1
Conditions: none
Substitute original roles and established intermediates exactly,retaining indices,signs,denominators and the proof's applicability conditions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S058
S060 · implies
Before
Euler ACTUAL inverse check:ORIGINAL signed integer=33;modulus=16;exact ratio=33/16;floor quotient=2
After
value=q*n+remainder;normalized residue=1 in[0,16);same congruence class,NOT absolute-value replacement
Conditions: none
Use the floor quotient for a positive modulus,retaining the congruence class of a negative base rather than replacing it by abs(a).Equal residues mean congruence modulo n,not equality of original integers.
Step identifiers and dependencies
Rule: euler_exact_signed_remainder_not_abs_or_integer_equality · Uses: G001, S059
S061 · implies
Before
ACTUAL modulus n=16;gcd(original a=-13,n)=1;normalized base=3;ACTUAL inverse=11;COMPLETE U(n)=[1, 3, 5, 7, 9, 11, 13, 15]
After
for ANY r in U(n),a*r remains a unit;actual inverse makes multiplication injective;finite self-injection on U(n) is surjective,so a*U(n)=U(n)
Conditions: none
The reverse product of inverses inverts a product of units,so multiplication by a stays in U(n).Its actual inverse proves injectivity and a finite self-injection is surjective.The modulus may be composite;not every nonzero residue must be a unit.
Step identifiers and dependencies
Rule: euler_all_unit_residue_permutation_composite_allowed · Uses: G001, S060
S062 · implies
Before
SAME complete U(n)=[1, 3, 5, 7, 9, 11, 13, 15] of size phi=8;multiplication by original a=-13 permutes it
After
multiply ALL unit images:a^(8)*product(U) congruent product(U);EVERY U factor is a UNIT,so product(U) has reverse-product inverse;cancel ONLY this unit to get a^phi congruent1 modulo16
Conditions: none
Products over the same permuted finite unit set agree.Cancel product(U) only because it is a unit,not because it is merely nonzero.This is not cancellation of all nonzero residues under a composite modulus or cancellation of0.No prime premise is used,and a passing Euler congruence supplies no primality converse.
Step identifiers and dependencies
Rule: euler_complete_unit_product_cancellation_not_nonzero_factorial · Uses: G001, S061