Step-by-step derivation
S001 · implies
Before
source operation=eulerthm-nonunit-boundary;original snapshot and mathematics retained
After
explicit ordered source output fields=[n, original_base, gcd, theorem_applicable, residue, boundary]
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(24, 24)
After
Euler ORIGINAL signed base normalization exact quotient = 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, S001
S003 · calculation
Before
Euler ORIGINAL signed base normalization floor quotient multiple := mul(1, 24)
After
Euler ORIGINAL signed base normalization floor quotient multiple = 24
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(24, 24)
After
Euler ORIGINAL signed base normalization normalized remainder = 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, S003
S005 · implies
Before
Euler ORIGINAL signed base normalization:ORIGINAL signed integer=24;modulus=24;exact ratio=1;floor quotient=1
After
value=q*n+remainder;normalized residue=0 in[0,24);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=[24, 24];nonnegative initial pair=[24, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[24, 24, 1, 0]];terminal gcd=24
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, 24];nonnegative initial pair=[0, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[0, 24, 0, 0]];terminal gcd=24
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, 24];nonnegative initial pair=[1, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[1, 24, 0, 1], [24, 1, 24, 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, 24];nonnegative initial pair=[2, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[2, 24, 0, 2], [24, 2, 12, 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, 24];nonnegative initial pair=[3, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[3, 24, 0, 3], [24, 3, 8, 0]];terminal gcd=3
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, 24];nonnegative initial pair=[4, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[4, 24, 0, 4], [24, 4, 6, 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, 24];nonnegative initial pair=[5, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[5, 24, 0, 5], [24, 5, 4, 4], [5, 4, 1, 1], [4, 1, 4, 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, 24];nonnegative initial pair=[6, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[6, 24, 0, 6], [24, 6, 4, 0]];terminal gcd=6
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, 24];nonnegative initial pair=[7, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[7, 24, 0, 7], [24, 7, 3, 3], [7, 3, 2, 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, S013
S015 · implies
Before
Euler residue representative8:ORIGINAL gcd inputs=[8, 24];nonnegative initial pair=[8, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[8, 24, 0, 8], [24, 8, 3, 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, 24];nonnegative initial pair=[9, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[9, 24, 0, 9], [24, 9, 2, 6], [9, 6, 1, 3], [6, 3, 2, 0]];terminal gcd=3
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, 24];nonnegative initial pair=[10, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[10, 24, 0, 10], [24, 10, 2, 4], [10, 4, 2, 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, 24];nonnegative initial pair=[11, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[11, 24, 0, 11], [24, 11, 2, 2], [11, 2, 5, 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, S017
S019 · implies
Before
Euler residue representative12:ORIGINAL gcd inputs=[12, 24];nonnegative initial pair=[12, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[12, 24, 0, 12], [24, 12, 2, 0]];terminal gcd=12
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, 24];nonnegative initial pair=[13, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[13, 24, 0, 13], [24, 13, 1, 11], [13, 11, 1, 2], [11, 2, 5, 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, S019
S021 · implies
Before
Euler residue representative14:ORIGINAL gcd inputs=[14, 24];nonnegative initial pair=[14, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[14, 24, 0, 14], [24, 14, 1, 10], [14, 10, 1, 4], [10, 4, 2, 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, S020
S022 · implies
Before
Euler residue representative15:ORIGINAL gcd inputs=[15, 24];nonnegative initial pair=[15, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[15, 24, 0, 15], [24, 15, 1, 9], [15, 9, 1, 6], [9, 6, 1, 3], [6, 3, 2, 0]];terminal gcd=3
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 · implies
Before
Euler residue representative16:ORIGINAL gcd inputs=[16, 24];nonnegative initial pair=[16, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[16, 24, 0, 16], [24, 16, 1, 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, S022
S024 · implies
Before
Euler residue representative17:ORIGINAL gcd inputs=[17, 24];nonnegative initial pair=[17, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[17, 24, 0, 17], [24, 17, 1, 7], [17, 7, 2, 3], [7, 3, 2, 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, S023
S025 · implies
Before
Euler residue representative18:ORIGINAL gcd inputs=[18, 24];nonnegative initial pair=[18, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[18, 24, 0, 18], [24, 18, 1, 6], [18, 6, 3, 0]];terminal gcd=6
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, S024
S026 · implies
Before
Euler residue representative19:ORIGINAL gcd inputs=[19, 24];nonnegative initial pair=[19, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[19, 24, 0, 19], [24, 19, 1, 5], [19, 5, 3, 4], [5, 4, 1, 1], [4, 1, 4, 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, S025
S027 · implies
Before
Euler residue representative20:ORIGINAL gcd inputs=[20, 24];nonnegative initial pair=[20, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[20, 24, 0, 20], [24, 20, 1, 4], [20, 4, 5, 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, S026
S028 · implies
Before
Euler residue representative21:ORIGINAL gcd inputs=[21, 24];nonnegative initial pair=[21, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[21, 24, 0, 21], [24, 21, 1, 3], [21, 3, 7, 0]];terminal gcd=3
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, S027
S029 · implies
Before
Euler residue representative22:ORIGINAL gcd inputs=[22, 24];nonnegative initial pair=[22, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[22, 24, 0, 22], [24, 22, 1, 2], [22, 2, 11, 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, S028
S030 · implies
Before
Euler residue representative23:ORIGINAL gcd inputs=[23, 24];nonnegative initial pair=[23, 24]
After
ALL exact Euclidean rows[left,right,q,r]=[[23, 24, 0, 23], [24, 23, 1, 1], [23, 1, 23, 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, S029
S031 · 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, S030
S032 · implies
Before
COMPLETE original residue carrier0..23;ALL [representative,gcd,unit] rows=[[0, 24, No], [1, 1, Yes], [2, 2, No], [3, 3, No], [4, 4, No], [5, 1, Yes], [6, 6, No], [7, 1, Yes], [8, 8, No], [9, 3, No], [10, 2, No], [11, 1, Yes], [12, 12, No], [13, 1, Yes], [14, 2, No], [15, 3, No], [16, 8, No], [17, 1, Yes], [18, 6, No], [19, 1, Yes], [20, 4, No], [21, 3, No], [22, 2, No], [23, 1, Yes]]
After
increasing COMPLETE U(n)=[1, 5, 7, 11, 13, 17, 19, 23];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, S031
S033 · implies
Before
ORIGINAL normalized base=0;COMPLETE totient exponent=8;modulus=24
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, S032
S034 · calculation
Before
Euler power bit0 base square := mul(0, 0)
After
Euler power bit0 base square = 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, S033
S035 · calculation
Before
Euler power bit0 squared-base reduction exact quotient := div(0, 24)
After
Euler power bit0 squared-base reduction exact quotient = 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, S034
S036 · calculation
Before
Euler power bit0 squared-base reduction floor quotient multiple := mul(0, 24)
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, S035
S037 · calculation
Before
Euler power bit0 squared-base reduction normalized remainder := sub(0, 0)
After
Euler power bit0 squared-base reduction normalized remainder = 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, S036
S038 · implies
Before
Euler power bit0 squared-base reduction:ORIGINAL signed integer=0;modulus=24;exact ratio=0;floor quotient=0
After
value=q*n+remainder;normalized residue=0 in[0,24);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, S037
S039 · implies
Before
step=0;previous[accumulator,base,exponent]=[1, 0, 8];low bit=0
After
next[accumulator,base,exponent]=[1, 0, 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, S038
S040 · calculation
Before
Euler power bit1 base square := mul(0, 0)
After
Euler power bit1 base square = 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 bit1 squared-base reduction exact quotient := div(0, 24)
After
Euler power bit1 squared-base reduction exact quotient = 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, S040
S042 · calculation
Before
Euler power bit1 squared-base reduction floor quotient multiple := mul(0, 24)
After
Euler power bit1 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, S041
S043 · calculation
Before
Euler power bit1 squared-base reduction normalized remainder := sub(0, 0)
After
Euler power bit1 squared-base reduction normalized remainder = 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, S042
S044 · implies
Before
Euler power bit1 squared-base reduction:ORIGINAL signed integer=0;modulus=24;exact ratio=0;floor quotient=0
After
value=q*n+remainder;normalized residue=0 in[0,24);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, S043
S045 · implies
Before
step=1;previous[accumulator,base,exponent]=[1, 0, 4];low bit=0
After
next[accumulator,base,exponent]=[1, 0, 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, S044
S046 · calculation
Before
Euler power bit2 base square := mul(0, 0)
After
Euler power bit2 base square = 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 bit2 squared-base reduction exact quotient := div(0, 24)
After
Euler power bit2 squared-base reduction exact quotient = 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, S046
S048 · calculation
Before
Euler power bit2 squared-base reduction floor quotient multiple := mul(0, 24)
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, S047
S049 · calculation
Before
Euler power bit2 squared-base reduction normalized remainder := sub(0, 0)
After
Euler power bit2 squared-base reduction normalized remainder = 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, S048
S050 · implies
Before
Euler power bit2 squared-base reduction:ORIGINAL signed integer=0;modulus=24;exact ratio=0;floor quotient=0
After
value=q*n+remainder;normalized residue=0 in[0,24);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, S049
S051 · implies
Before
step=2;previous[accumulator,base,exponent]=[1, 0, 2];low bit=0
After
next[accumulator,base,exponent]=[1, 0, 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, S050
S052 · calculation
Before
Euler power bit3 accumulator product := mul(1, 0)
After
Euler power bit3 accumulator product = 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, S051
S053 · calculation
Before
Euler power bit3 accumulator reduction exact quotient := div(0, 24)
After
Euler power bit3 accumulator reduction exact quotient = 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, S052
S054 · calculation
Before
Euler power bit3 accumulator reduction floor quotient multiple := mul(0, 24)
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, S053
S055 · calculation
Before
Euler power bit3 accumulator reduction normalized remainder := sub(0, 0)
After
Euler power bit3 accumulator reduction normalized remainder = 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, S054
S056 · implies
Before
Euler power bit3 accumulator reduction:ORIGINAL signed integer=0;modulus=24;exact ratio=0;floor quotient=0
After
value=q*n+remainder;normalized residue=0 in[0,24);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, S055
S057 · calculation
Before
Euler power bit3 base square := mul(0, 0)
After
Euler power bit3 base square = 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, S056
S058 · calculation
Before
Euler power bit3 squared-base reduction exact quotient := div(0, 24)
After
Euler power bit3 squared-base reduction exact quotient = 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, S057
S059 · calculation
Before
Euler power bit3 squared-base reduction floor quotient multiple := mul(0, 24)
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, S058
S060 · calculation
Before
Euler power bit3 squared-base reduction normalized remainder := sub(0, 0)
After
Euler power bit3 squared-base reduction normalized remainder = 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, S059
S061 · implies
Before
Euler power bit3 squared-base reduction:ORIGINAL signed integer=0;modulus=24;exact ratio=0;floor quotient=0
After
value=q*n+remainder;normalized residue=0 in[0,24);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, S060
S062 · implies
Before
step=3;previous[accumulator,base,exponent]=[1, 0, 1];low bit=1
After
next[accumulator,base,exponent]=[0, 0, 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, S061
S063 · implies
Before
remaining exponent0;final normalized accumulator=0
After
EXACT original normalized base^8 modulo24=0
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, S062
S064 · implies
Before
ACTUAL original n=24,a=24;gcd=24>1;phi(n)=8;computed totient-power residue=0
After
Euler theorem applicability=No because gcd1 premise fails;retain ACTUAL residue;do NOT cancel a nonunit or infer prime/composite status from this marker
Conditions: none
The No rejects the gcd1 premise without forcing the actual residue to1 or classifying primality.The modulus itself may be prime or composite.Fermat's all-integer form is different from the coprimality-dependent claim a^phi≡1.
Step identifiers and dependencies
Rule: euler_nonunit_applicability_not_prime_test_or_forced_replacement · Uses: G001, S063