Step-by-step derivation
S001 · implies
Before
source operation=crt-solve-system;original snapshot and mathematics retained
After
explicit ordered source output fields=[moduli, normalized_residues, solution, product, congruence_checks, solved]
Conditions: none
Keep the historical interface marker in the original snapshot while giving ordered fields here,without JavaScript or an external table.Labels are not mathematical evidence,and each No marker retains the operation's claim scope.
Step identifiers and dependencies
Rule: source_ordered_interface_explicit_without_javascript · Uses: G001
S002 · calculation
Before
original residue slot0 exact quotient := div(23, 3)
After
original residue slot0 exact quotient = 23/3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
original residue slot0 floor quotient multiple := mul(7, 3)
After
original residue slot0 floor quotient multiple = 21
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
original residue slot0 normalized remainder := sub(23, 21)
After
original residue slot0 normalized remainder = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · implies
Before
original residue slot0:integer value=23;positive modulus=3;exact ratio=23/3;floor quotient=7
After
value=q*modulus+remainder;normalized residue=2 in[0,3)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S004
S006 · calculation
Before
original residue slot1 exact quotient := div(47, 5)
After
original residue slot1 exact quotient = 47/5
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
original residue slot1 floor quotient multiple := mul(9, 5)
After
original residue slot1 floor quotient multiple = 45
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
original residue slot1 normalized remainder := sub(47, 45)
After
original residue slot1 normalized remainder = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
original residue slot1:integer value=47;positive modulus=5;exact ratio=47/5;floor quotient=9
After
value=q*modulus+remainder;normalized residue=2 in[0,5)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S008
S010 · calculation
Before
original residue slot2 exact quotient := div(71, 49)
After
original residue slot2 exact quotient = 71/49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
original residue slot2 floor quotient multiple := mul(1, 49)
After
original residue slot2 floor quotient multiple = 49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
original residue slot2 normalized remainder := sub(71, 49)
After
original residue slot2 normalized remainder = 22
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · implies
Before
original residue slot2:integer value=71;positive modulus=49;exact ratio=71/49;floor quotient=1
After
value=q*modulus+remainder;normalized residue=22 in[0,49)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S012
S014 · calculation
Before
CRT modulus product prefix0 := mul(1, 3)
After
CRT modulus product prefix0 = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · implies
Before
LCM prefix0 gcd:positive original gcd inputs=[1, 3]
After
Euclidean rows[a,b,q,r] with a=q*b+r=[[1, 3, 0, 1], [3, 1, 3, 0]];positive gcd=1
Conditions: none
Each remainder replacement preserves common divisors;the last nonzero value is the gcd.List every quotient/remainder row for source-bound checking.
Step identifiers and dependencies
Rule: crt_pair_gcd_exact_euclidean_witness · Uses: G001, S014
S016 · calculation
Before
CRT LCM prefix0 quotient := div(1, 1)
After
CRT LCM prefix0 quotient = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
CRT LCM prefix0 value := mul(1, 3)
After
CRT LCM prefix0 value = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
CRT modulus product prefix1 := mul(3, 5)
After
CRT modulus product prefix1 = 15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · implies
Before
LCM prefix1 gcd:positive original gcd inputs=[3, 5]
After
Euclidean rows[a,b,q,r] with a=q*b+r=[[3, 5, 0, 3], [5, 3, 1, 2], [3, 2, 1, 1], [2, 1, 2, 0]];positive gcd=1
Conditions: none
Each remainder replacement preserves common divisors;the last nonzero value is the gcd.List every quotient/remainder row for source-bound checking.
Step identifiers and dependencies
Rule: crt_pair_gcd_exact_euclidean_witness · Uses: G001, S018
S020 · calculation
Before
CRT LCM prefix1 quotient := div(3, 1)
After
CRT LCM prefix1 quotient = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
CRT LCM prefix1 value := mul(3, 5)
After
CRT LCM prefix1 value = 15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
CRT modulus product prefix2 := mul(15, 49)
After
CRT modulus product prefix2 = 735
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · implies
Before
LCM prefix2 gcd:positive original gcd inputs=[15, 49]
After
Euclidean rows[a,b,q,r] with a=q*b+r=[[15, 49, 0, 15], [49, 15, 3, 4], [15, 4, 3, 3], [4, 3, 1, 1], [3, 1, 3, 0]];positive gcd=1
Conditions: none
Each remainder replacement preserves common divisors;the last nonzero value is the gcd.List every quotient/remainder row for source-bound checking.
Step identifiers and dependencies
Rule: crt_pair_gcd_exact_euclidean_witness · Uses: G001, S022
S024 · calculation
Before
CRT LCM prefix2 quotient := div(15, 1)
After
CRT LCM prefix2 quotient = 15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
CRT LCM prefix2 value := mul(15, 49)
After
CRT LCM prefix2 value = 735
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · implies
Before
original modulus pair0,1:positive original gcd inputs=[3, 5]
After
Euclidean rows[a,b,q,r] with a=q*b+r=[[3, 5, 0, 3], [5, 3, 1, 2], [3, 2, 1, 1], [2, 1, 2, 0]];positive gcd=1
Conditions: none
Each remainder replacement preserves common divisors;the last nonzero value is the gcd.List every quotient/remainder row for source-bound checking.
Step identifiers and dependencies
Rule: crt_pair_gcd_exact_euclidean_witness · Uses: G001, S025
S027 · calculation
Before
CRT original pair0,1 residue difference := sub(2, 2)
After
CRT original pair0,1 residue difference = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
CRT original pair0,1 difference divided by gcd := div(0, 1)
After
CRT original pair0,1 difference divided by gcd = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · implies
Before
original constraint slots=[0, 1];moduli=[3, 5];gcd=1;normalized residue difference=0
After
difference/gcd=0;pair coprime=Yes;pair compatible=Yes
Conditions: none
A common solution forces each residue difference to be divisible by the corresponding gcd.Check every pair;noncoprimality is not automatic inconsistency.
Step identifiers and dependencies
Rule: crt_every_pair_compatibility_not_automatic_inconsistency · Uses: G001, S028
S030 · implies
Before
original modulus pair0,2:positive original gcd inputs=[3, 49]
After
Euclidean rows[a,b,q,r] with a=q*b+r=[[3, 49, 0, 3], [49, 3, 16, 1], [3, 1, 3, 0]];positive gcd=1
Conditions: none
Each remainder replacement preserves common divisors;the last nonzero value is the gcd.List every quotient/remainder row for source-bound checking.
Step identifiers and dependencies
Rule: crt_pair_gcd_exact_euclidean_witness · Uses: G001, S029
S031 · calculation
Before
CRT original pair0,2 residue difference := sub(2, 22)
After
CRT original pair0,2 residue difference = -20
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S030
S032 · calculation
Before
CRT original pair0,2 difference divided by gcd := div(-20, 1)
After
CRT original pair0,2 difference divided by gcd = -20
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · implies
Before
original constraint slots=[0, 2];moduli=[3, 49];gcd=1;normalized residue difference=-20
After
difference/gcd=-20;pair coprime=Yes;pair compatible=Yes
Conditions: none
A common solution forces each residue difference to be divisible by the corresponding gcd.Check every pair;noncoprimality is not automatic inconsistency.
Step identifiers and dependencies
Rule: crt_every_pair_compatibility_not_automatic_inconsistency · Uses: G001, S032
S034 · implies
Before
original modulus pair1,2:positive original gcd inputs=[5, 49]
After
Euclidean rows[a,b,q,r] with a=q*b+r=[[5, 49, 0, 5], [49, 5, 9, 4], [5, 4, 1, 1], [4, 1, 4, 0]];positive gcd=1
Conditions: none
Each remainder replacement preserves common divisors;the last nonzero value is the gcd.List every quotient/remainder row for source-bound checking.
Step identifiers and dependencies
Rule: crt_pair_gcd_exact_euclidean_witness · Uses: G001, S033
S035 · calculation
Before
CRT original pair1,2 residue difference := sub(2, 22)
After
CRT original pair1,2 residue difference = -20
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S034
S036 · calculation
Before
CRT original pair1,2 difference divided by gcd := div(-20, 1)
After
CRT original pair1,2 difference divided by gcd = -20
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S035
S037 · implies
Before
original constraint slots=[1, 2];moduli=[5, 49];gcd=1;normalized residue difference=-20
After
difference/gcd=-20;pair coprime=Yes;pair compatible=Yes
Conditions: none
A common solution forces each residue difference to be divisible by the corresponding gcd.Check every pair;noncoprimality is not automatic inconsistency.
Step identifiers and dependencies
Rule: crt_every_pair_compatibility_not_automatic_inconsistency · Uses: G001, S036
S038 · implies
Before
original aligned moduli=[3, 5, 49];original signed residues=[23, 47, 71];normalized residues=[2, 2, 22];all pair audits=[[0, 1, 1, Yes], [0, 2, 1, Yes], [1, 2, 1, Yes]]
After
pairwise coprime=Yes;gcd compatible=Yes;product=735;LCM period=735
Conditions: none
Retain original aligned constraint order,not separate semantic sorting.Main coprime operations use the product;the noncoprime boundary retains the lcm.Modulus1 adds no restriction.
Step identifiers and dependencies
Rule: crt_original_constraint_order_product_vs_lcm · Uses: G001, S037
S039 · calculation
Before
merge original slot0 Euclidean step0 quotient fraction := div(1, 3)
After
merge original slot0 Euclidean step0 quotient fraction = 1/3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S038
S040 · calculation
Before
merge original slot0 Euclidean step0 divisor multiple := mul(0, 3)
After
merge original slot0 Euclidean step0 divisor multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S039
S041 · calculation
Before
merge original slot0 Euclidean step0 remainder := sub(1, 0)
After
merge original slot0 Euclidean step0 remainder = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S040
S042 · calculation
Before
merge original slot0 Euclidean step0 first coefficient multiple := mul(0, 0)
After
merge original slot0 Euclidean step0 first coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · calculation
Before
merge original slot0 Euclidean step0 first coefficient difference := sub(1, 0)
After
merge original slot0 Euclidean step0 first coefficient difference = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S042
S044 · calculation
Before
merge original slot0 Euclidean step0 second coefficient multiple := mul(0, 1)
After
merge original slot0 Euclidean step0 second coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S043
S045 · calculation
Before
merge original slot0 Euclidean step0 second coefficient difference := sub(0, 0)
After
merge original slot0 Euclidean step0 second coefficient difference = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S044
S046 · implies
Before
merge original slot0:step=0;current remainders=[1, 3];coefficient pairs=[[1, 0], [0, 1]];exact ratio=1/3;floor q=0
After
next remainder=1;next signed coefficient pair=[1, 0];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S045
S047 · calculation
Before
merge original slot0 Euclidean step1 quotient fraction := div(3, 1)
After
merge original slot0 Euclidean step1 quotient fraction = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
merge original slot0 Euclidean step1 divisor multiple := mul(3, 1)
After
merge original slot0 Euclidean step1 divisor multiple = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · calculation
Before
merge original slot0 Euclidean step1 remainder := sub(3, 3)
After
merge original slot0 Euclidean step1 remainder = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S048
S050 · calculation
Before
merge original slot0 Euclidean step1 first coefficient multiple := mul(3, 1)
After
merge original slot0 Euclidean step1 first coefficient multiple = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S049
S051 · calculation
Before
merge original slot0 Euclidean step1 first coefficient difference := sub(0, 3)
After
merge original slot0 Euclidean step1 first coefficient difference = -3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S050
S052 · calculation
Before
merge original slot0 Euclidean step1 second coefficient multiple := mul(3, 0)
After
merge original slot0 Euclidean step1 second coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S051
S053 · calculation
Before
merge original slot0 Euclidean step1 second coefficient difference := sub(1, 0)
After
merge original slot0 Euclidean step1 second coefficient difference = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · implies
Before
merge original slot0:step=1;current remainders=[3, 1];coefficient pairs=[[0, 1], [1, 0]];exact ratio=3;floor q=3
After
next remainder=0;next signed coefficient pair=[-3, 1];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S053
S055 · calculation
Before
merge original slot0 final first Bezout term := mul(1, 1)
After
merge original slot0 final first Bezout term = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S054
S056 · calculation
Before
merge original slot0 final second Bezout term := mul(3, 0)
After
merge original slot0 final second Bezout term = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S055
S057 · calculation
Before
merge original slot0 final Bezout identity := sum(1, 0)
After
merge original slot0 final Bezout identity = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S056
S058 · calculation
Before
merge slot0 new residue minus old class := sub(2, 0)
After
merge slot0 new residue minus old class = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · calculation
Before
merge slot0 difference divided by gcd := div(2, 1)
After
merge slot0 difference divided by gcd = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S058
S060 · calculation
Before
merge slot0 reduced old modulus := div(1, 1)
After
merge slot0 reduced old modulus = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S059
S061 · calculation
Before
merge slot0 reduced new modulus := div(3, 1)
After
merge slot0 reduced new modulus = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S060
S062 · calculation
Before
merge slot0 new LCM period := mul(1, 3)
After
merge slot0 new LCM period = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S061
S063 · calculation
Before
merge slot0 reduced-unit inverse exact quotient := div(1, 3)
After
merge slot0 reduced-unit inverse exact quotient = 1/3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S062
S064 · calculation
Before
merge slot0 reduced-unit inverse floor quotient multiple := mul(0, 3)
After
merge slot0 reduced-unit inverse floor quotient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S063
S065 · calculation
Before
merge slot0 reduced-unit inverse normalized remainder := sub(1, 0)
After
merge slot0 reduced-unit inverse normalized remainder = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S064
S066 · implies
Before
merge slot0 reduced-unit inverse:integer value=1;positive modulus=3;exact ratio=1/3;floor quotient=0
After
value=q*modulus+remainder;normalized residue=1 in[0,3)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S065
S067 · calculation
Before
merge slot0 parameter congruence product := mul(2, 1)
After
merge slot0 parameter congruence product = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S066
S068 · calculation
Before
merge slot0 normalized parameter exact quotient := div(2, 3)
After
merge slot0 normalized parameter exact quotient = 2/3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S067
S069 · calculation
Before
merge slot0 normalized parameter floor quotient multiple := mul(0, 3)
After
merge slot0 normalized parameter floor quotient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S068
S070 · calculation
Before
merge slot0 normalized parameter normalized remainder := sub(2, 0)
After
merge slot0 normalized parameter normalized remainder = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S069
S071 · implies
Before
merge slot0 normalized parameter:integer value=2;positive modulus=3;exact ratio=2/3;floor quotient=0
After
value=q*modulus+remainder;normalized residue=2 in[0,3)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S070
S072 · calculation
Before
merge slot0 old modulus times parameter := mul(1, 2)
After
merge slot0 old modulus times parameter = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S071
S073 · calculation
Before
merge slot0 unnormalized common solution := sum(0, 2)
After
merge slot0 unnormalized common solution = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S072
S074 · calculation
Before
merge slot0 least class representative exact quotient := div(2, 3)
After
merge slot0 least class representative exact quotient = 2/3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S073
S075 · calculation
Before
merge slot0 least class representative floor quotient multiple := mul(0, 3)
After
merge slot0 least class representative floor quotient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S074
S076 · calculation
Before
merge slot0 least class representative normalized remainder := sub(2, 0)
After
merge slot0 least class representative normalized remainder = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S075
S077 · implies
Before
merge slot0 least class representative:integer value=2;positive modulus=3;exact ratio=2/3;floor quotient=0
After
value=q*modulus+remainder;normalized residue=2 in[0,3)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S076
S078 · implies
Before
old FULL solution class=0 mod1;new original constraint=2 mod3;gcd=1;Bezout coefficients=[1, 0];reduced coprime moduli=[1, 3]
After
write old x=a+M*t;reduced equation gives t=2 mod3;ALL merged solutions x=2 mod3
Conditions: none
Substitute into the old solution class and divide by the gcd.Bezout divided by that gcd supplies the coprime inverse,so t lies in exactly one class modulo m/g.Multiplying back by M gives the lcm period and all solutions,not merely one checked point.
Step identifiers and dependencies
Rule: crt_constructive_merge_all_solutions_not_one_witness · Uses: G001, S077
S079 · calculation
Before
merge original slot1 Euclidean step0 quotient fraction := div(3, 5)
After
merge original slot1 Euclidean step0 quotient fraction = 3/5
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S078
S080 · calculation
Before
merge original slot1 Euclidean step0 divisor multiple := mul(0, 5)
After
merge original slot1 Euclidean step0 divisor multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S079
S081 · calculation
Before
merge original slot1 Euclidean step0 remainder := sub(3, 0)
After
merge original slot1 Euclidean step0 remainder = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S080
S082 · calculation
Before
merge original slot1 Euclidean step0 first coefficient multiple := mul(0, 0)
After
merge original slot1 Euclidean step0 first coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S081
S083 · calculation
Before
merge original slot1 Euclidean step0 first coefficient difference := sub(1, 0)
After
merge original slot1 Euclidean step0 first coefficient difference = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S082
S084 · calculation
Before
merge original slot1 Euclidean step0 second coefficient multiple := mul(0, 1)
After
merge original slot1 Euclidean step0 second coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S083
S085 · calculation
Before
merge original slot1 Euclidean step0 second coefficient difference := sub(0, 0)
After
merge original slot1 Euclidean step0 second coefficient difference = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S084
S086 · implies
Before
merge original slot1:step=0;current remainders=[3, 5];coefficient pairs=[[1, 0], [0, 1]];exact ratio=3/5;floor q=0
After
next remainder=3;next signed coefficient pair=[1, 0];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S085
S087 · calculation
Before
merge original slot1 Euclidean step1 quotient fraction := div(5, 3)
After
merge original slot1 Euclidean step1 quotient fraction = 5/3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S086
S088 · calculation
Before
merge original slot1 Euclidean step1 divisor multiple := mul(1, 3)
After
merge original slot1 Euclidean step1 divisor multiple = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S087
S089 · calculation
Before
merge original slot1 Euclidean step1 remainder := sub(5, 3)
After
merge original slot1 Euclidean step1 remainder = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S088
S090 · calculation
Before
merge original slot1 Euclidean step1 first coefficient multiple := mul(1, 1)
After
merge original slot1 Euclidean step1 first coefficient multiple = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S089
S091 · calculation
Before
merge original slot1 Euclidean step1 first coefficient difference := sub(0, 1)
After
merge original slot1 Euclidean step1 first coefficient difference = -1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S090
S092 · calculation
Before
merge original slot1 Euclidean step1 second coefficient multiple := mul(1, 0)
After
merge original slot1 Euclidean step1 second coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S091
S093 · calculation
Before
merge original slot1 Euclidean step1 second coefficient difference := sub(1, 0)
After
merge original slot1 Euclidean step1 second coefficient difference = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S092
S094 · implies
Before
merge original slot1:step=1;current remainders=[5, 3];coefficient pairs=[[0, 1], [1, 0]];exact ratio=5/3;floor q=1
After
next remainder=2;next signed coefficient pair=[-1, 1];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S093
S095 · calculation
Before
merge original slot1 Euclidean step2 quotient fraction := div(3, 2)
After
merge original slot1 Euclidean step2 quotient fraction = 3/2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S094
S096 · calculation
Before
merge original slot1 Euclidean step2 divisor multiple := mul(1, 2)
After
merge original slot1 Euclidean step2 divisor multiple = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S095
S097 · calculation
Before
merge original slot1 Euclidean step2 remainder := sub(3, 2)
After
merge original slot1 Euclidean step2 remainder = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S096
S098 · calculation
Before
merge original slot1 Euclidean step2 first coefficient multiple := mul(1, -1)
After
merge original slot1 Euclidean step2 first coefficient multiple = -1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S097
S099 · calculation
Before
merge original slot1 Euclidean step2 first coefficient difference := sub(1, -1)
After
merge original slot1 Euclidean step2 first coefficient difference = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S098
S100 · calculation
Before
merge original slot1 Euclidean step2 second coefficient multiple := mul(1, 1)
After
merge original slot1 Euclidean step2 second coefficient multiple = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S099
S101 · calculation
Before
merge original slot1 Euclidean step2 second coefficient difference := sub(0, 1)
After
merge original slot1 Euclidean step2 second coefficient difference = -1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S100
S102 · implies
Before
merge original slot1:step=2;current remainders=[3, 2];coefficient pairs=[[1, 0], [-1, 1]];exact ratio=3/2;floor q=1
After
next remainder=1;next signed coefficient pair=[2, -1];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S101
S103 · calculation
Before
merge original slot1 Euclidean step3 quotient fraction := div(2, 1)
After
merge original slot1 Euclidean step3 quotient fraction = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S102
S104 · calculation
Before
merge original slot1 Euclidean step3 divisor multiple := mul(2, 1)
After
merge original slot1 Euclidean step3 divisor multiple = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S103
S105 · calculation
Before
merge original slot1 Euclidean step3 remainder := sub(2, 2)
After
merge original slot1 Euclidean step3 remainder = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S104
S106 · calculation
Before
merge original slot1 Euclidean step3 first coefficient multiple := mul(2, 2)
After
merge original slot1 Euclidean step3 first coefficient multiple = 4
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S105
S107 · calculation
Before
merge original slot1 Euclidean step3 first coefficient difference := sub(-1, 4)
After
merge original slot1 Euclidean step3 first coefficient difference = -5
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S106
S108 · calculation
Before
merge original slot1 Euclidean step3 second coefficient multiple := mul(2, -1)
After
merge original slot1 Euclidean step3 second coefficient multiple = -2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S107
S109 · calculation
Before
merge original slot1 Euclidean step3 second coefficient difference := sub(1, -2)
After
merge original slot1 Euclidean step3 second coefficient difference = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S108
S110 · implies
Before
merge original slot1:step=3;current remainders=[2, 1];coefficient pairs=[[-1, 1], [2, -1]];exact ratio=2;floor q=2
After
next remainder=0;next signed coefficient pair=[-5, 3];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S109
S111 · calculation
Before
merge original slot1 final first Bezout term := mul(3, 2)
After
merge original slot1 final first Bezout term = 6
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S110
S112 · calculation
Before
merge original slot1 final second Bezout term := mul(5, -1)
After
merge original slot1 final second Bezout term = -5
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S111
S113 · calculation
Before
merge original slot1 final Bezout identity := sum(6, -5)
After
merge original slot1 final Bezout identity = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S112
S114 · calculation
Before
merge slot1 new residue minus old class := sub(2, 2)
After
merge slot1 new residue minus old class = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S113
S115 · calculation
Before
merge slot1 difference divided by gcd := div(0, 1)
After
merge slot1 difference divided by gcd = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S114
S116 · calculation
Before
merge slot1 reduced old modulus := div(3, 1)
After
merge slot1 reduced old modulus = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S115
S117 · calculation
Before
merge slot1 reduced new modulus := div(5, 1)
After
merge slot1 reduced new modulus = 5
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S116
S118 · calculation
Before
merge slot1 new LCM period := mul(3, 5)
After
merge slot1 new LCM period = 15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S117
S119 · calculation
Before
merge slot1 reduced-unit inverse exact quotient := div(2, 5)
After
merge slot1 reduced-unit inverse exact quotient = 2/5
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S118
S120 · calculation
Before
merge slot1 reduced-unit inverse floor quotient multiple := mul(0, 5)
After
merge slot1 reduced-unit inverse floor quotient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S119
S121 · calculation
Before
merge slot1 reduced-unit inverse normalized remainder := sub(2, 0)
After
merge slot1 reduced-unit inverse normalized remainder = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S120
S122 · implies
Before
merge slot1 reduced-unit inverse:integer value=2;positive modulus=5;exact ratio=2/5;floor quotient=0
After
value=q*modulus+remainder;normalized residue=2 in[0,5)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S121
S123 · calculation
Before
merge slot1 parameter congruence product := mul(0, 2)
After
merge slot1 parameter congruence product = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S122
S124 · calculation
Before
merge slot1 normalized parameter exact quotient := div(0, 5)
After
merge slot1 normalized parameter exact quotient = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S123
S125 · calculation
Before
merge slot1 normalized parameter floor quotient multiple := mul(0, 5)
After
merge slot1 normalized parameter floor quotient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S124
S126 · calculation
Before
merge slot1 normalized parameter normalized remainder := sub(0, 0)
After
merge slot1 normalized parameter normalized remainder = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S125
S127 · implies
Before
merge slot1 normalized parameter:integer value=0;positive modulus=5;exact ratio=0;floor quotient=0
After
value=q*modulus+remainder;normalized residue=0 in[0,5)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S126
S128 · calculation
Before
merge slot1 old modulus times parameter := mul(3, 0)
After
merge slot1 old modulus times parameter = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S127
S129 · calculation
Before
merge slot1 unnormalized common solution := sum(2, 0)
After
merge slot1 unnormalized common solution = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S128
S130 · calculation
Before
merge slot1 least class representative exact quotient := div(2, 15)
After
merge slot1 least class representative exact quotient = 2/15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S129
S131 · calculation
Before
merge slot1 least class representative floor quotient multiple := mul(0, 15)
After
merge slot1 least class representative floor quotient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S130
S132 · calculation
Before
merge slot1 least class representative normalized remainder := sub(2, 0)
After
merge slot1 least class representative normalized remainder = 2
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S131
S133 · implies
Before
merge slot1 least class representative:integer value=2;positive modulus=15;exact ratio=2/15;floor quotient=0
After
value=q*modulus+remainder;normalized residue=2 in[0,15)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S132
S134 · implies
Before
old FULL solution class=2 mod3;new original constraint=2 mod5;gcd=1;Bezout coefficients=[2, -1];reduced coprime moduli=[3, 5]
After
write old x=a+M*t;reduced equation gives t=0 mod5;ALL merged solutions x=2 mod15
Conditions: none
Substitute into the old solution class and divide by the gcd.Bezout divided by that gcd supplies the coprime inverse,so t lies in exactly one class modulo m/g.Multiplying back by M gives the lcm period and all solutions,not merely one checked point.
Step identifiers and dependencies
Rule: crt_constructive_merge_all_solutions_not_one_witness · Uses: G001, S133
S135 · calculation
Before
merge original slot2 Euclidean step0 quotient fraction := div(15, 49)
After
merge original slot2 Euclidean step0 quotient fraction = 15/49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S134
S136 · calculation
Before
merge original slot2 Euclidean step0 divisor multiple := mul(0, 49)
After
merge original slot2 Euclidean step0 divisor multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S135
S137 · calculation
Before
merge original slot2 Euclidean step0 remainder := sub(15, 0)
After
merge original slot2 Euclidean step0 remainder = 15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S136
S138 · calculation
Before
merge original slot2 Euclidean step0 first coefficient multiple := mul(0, 0)
After
merge original slot2 Euclidean step0 first coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S137
S139 · calculation
Before
merge original slot2 Euclidean step0 first coefficient difference := sub(1, 0)
After
merge original slot2 Euclidean step0 first coefficient difference = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S138
S140 · calculation
Before
merge original slot2 Euclidean step0 second coefficient multiple := mul(0, 1)
After
merge original slot2 Euclidean step0 second coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S139
S141 · calculation
Before
merge original slot2 Euclidean step0 second coefficient difference := sub(0, 0)
After
merge original slot2 Euclidean step0 second coefficient difference = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S140
S142 · implies
Before
merge original slot2:step=0;current remainders=[15, 49];coefficient pairs=[[1, 0], [0, 1]];exact ratio=15/49;floor q=0
After
next remainder=15;next signed coefficient pair=[1, 0];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S141
S143 · calculation
Before
merge original slot2 Euclidean step1 quotient fraction := div(49, 15)
After
merge original slot2 Euclidean step1 quotient fraction = 49/15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S142
S144 · calculation
Before
merge original slot2 Euclidean step1 divisor multiple := mul(3, 15)
After
merge original slot2 Euclidean step1 divisor multiple = 45
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S143
S145 · calculation
Before
merge original slot2 Euclidean step1 remainder := sub(49, 45)
After
merge original slot2 Euclidean step1 remainder = 4
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S144
S146 · calculation
Before
merge original slot2 Euclidean step1 first coefficient multiple := mul(3, 1)
After
merge original slot2 Euclidean step1 first coefficient multiple = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S145
S147 · calculation
Before
merge original slot2 Euclidean step1 first coefficient difference := sub(0, 3)
After
merge original slot2 Euclidean step1 first coefficient difference = -3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S146
S148 · calculation
Before
merge original slot2 Euclidean step1 second coefficient multiple := mul(3, 0)
After
merge original slot2 Euclidean step1 second coefficient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S147
S149 · calculation
Before
merge original slot2 Euclidean step1 second coefficient difference := sub(1, 0)
After
merge original slot2 Euclidean step1 second coefficient difference = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S148
S150 · implies
Before
merge original slot2:step=1;current remainders=[49, 15];coefficient pairs=[[0, 1], [1, 0]];exact ratio=49/15;floor q=3
After
next remainder=4;next signed coefficient pair=[-3, 1];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S149
S151 · calculation
Before
merge original slot2 Euclidean step2 quotient fraction := div(15, 4)
After
merge original slot2 Euclidean step2 quotient fraction = 15/4
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S150
S152 · calculation
Before
merge original slot2 Euclidean step2 divisor multiple := mul(3, 4)
After
merge original slot2 Euclidean step2 divisor multiple = 12
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S151
S153 · calculation
Before
merge original slot2 Euclidean step2 remainder := sub(15, 12)
After
merge original slot2 Euclidean step2 remainder = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S152
S154 · calculation
Before
merge original slot2 Euclidean step2 first coefficient multiple := mul(3, -3)
After
merge original slot2 Euclidean step2 first coefficient multiple = -9
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S153
S155 · calculation
Before
merge original slot2 Euclidean step2 first coefficient difference := sub(1, -9)
After
merge original slot2 Euclidean step2 first coefficient difference = 10
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S154
S156 · calculation
Before
merge original slot2 Euclidean step2 second coefficient multiple := mul(3, 1)
After
merge original slot2 Euclidean step2 second coefficient multiple = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S155
S157 · calculation
Before
merge original slot2 Euclidean step2 second coefficient difference := sub(0, 3)
After
merge original slot2 Euclidean step2 second coefficient difference = -3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S156
S158 · implies
Before
merge original slot2:step=2;current remainders=[15, 4];coefficient pairs=[[1, 0], [-3, 1]];exact ratio=15/4;floor q=3
After
next remainder=3;next signed coefficient pair=[10, -3];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S157
S159 · calculation
Before
merge original slot2 Euclidean step3 quotient fraction := div(4, 3)
After
merge original slot2 Euclidean step3 quotient fraction = 4/3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S158
S160 · calculation
Before
merge original slot2 Euclidean step3 divisor multiple := mul(1, 3)
After
merge original slot2 Euclidean step3 divisor multiple = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S159
S161 · calculation
Before
merge original slot2 Euclidean step3 remainder := sub(4, 3)
After
merge original slot2 Euclidean step3 remainder = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S160
S162 · calculation
Before
merge original slot2 Euclidean step3 first coefficient multiple := mul(1, 10)
After
merge original slot2 Euclidean step3 first coefficient multiple = 10
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S161
S163 · calculation
Before
merge original slot2 Euclidean step3 first coefficient difference := sub(-3, 10)
After
merge original slot2 Euclidean step3 first coefficient difference = -13
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S162
S164 · calculation
Before
merge original slot2 Euclidean step3 second coefficient multiple := mul(1, -3)
After
merge original slot2 Euclidean step3 second coefficient multiple = -3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S163
S165 · calculation
Before
merge original slot2 Euclidean step3 second coefficient difference := sub(1, -3)
After
merge original slot2 Euclidean step3 second coefficient difference = 4
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S164
S166 · implies
Before
merge original slot2:step=3;current remainders=[4, 3];coefficient pairs=[[-3, 1], [10, -3]];exact ratio=4/3;floor q=1
After
next remainder=1;next signed coefficient pair=[-13, 4];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S165
S167 · calculation
Before
merge original slot2 Euclidean step4 quotient fraction := div(3, 1)
After
merge original slot2 Euclidean step4 quotient fraction = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S166
S168 · calculation
Before
merge original slot2 Euclidean step4 divisor multiple := mul(3, 1)
After
merge original slot2 Euclidean step4 divisor multiple = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S167
S169 · calculation
Before
merge original slot2 Euclidean step4 remainder := sub(3, 3)
After
merge original slot2 Euclidean step4 remainder = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S168
S170 · calculation
Before
merge original slot2 Euclidean step4 first coefficient multiple := mul(3, -13)
After
merge original slot2 Euclidean step4 first coefficient multiple = -39
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S169
S171 · calculation
Before
merge original slot2 Euclidean step4 first coefficient difference := sub(10, -39)
After
merge original slot2 Euclidean step4 first coefficient difference = 49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S170
S172 · calculation
Before
merge original slot2 Euclidean step4 second coefficient multiple := mul(3, 4)
After
merge original slot2 Euclidean step4 second coefficient multiple = 12
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S171
S173 · calculation
Before
merge original slot2 Euclidean step4 second coefficient difference := sub(-3, 12)
After
merge original slot2 Euclidean step4 second coefficient difference = -15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S172
S174 · implies
Before
merge original slot2:step=4;current remainders=[3, 1];coefficient pairs=[[10, -3], [-13, 4]];exact ratio=3;floor q=3
After
next remainder=0;next signed coefficient pair=[49, -15];a*x+b*y equals next remainder
Conditions: none
Use the same quotient for remainders and both signed coefficient recurrences,preserving a*x+b*y=remainder.Do not compute only a gcd and guess an inverse.
Step identifiers and dependencies
Rule: crt_extended_euclid_invariant_signed_coefficients · Uses: G001, S173
S175 · calculation
Before
merge original slot2 final first Bezout term := mul(15, -13)
After
merge original slot2 final first Bezout term = -195
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S174
S176 · calculation
Before
merge original slot2 final second Bezout term := mul(49, 4)
After
merge original slot2 final second Bezout term = 196
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S175
S177 · calculation
Before
merge original slot2 final Bezout identity := sum(-195, 196)
After
merge original slot2 final Bezout identity = 1
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S176
S178 · calculation
Before
merge slot2 new residue minus old class := sub(22, 2)
After
merge slot2 new residue minus old class = 20
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S177
S179 · calculation
Before
merge slot2 difference divided by gcd := div(20, 1)
After
merge slot2 difference divided by gcd = 20
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S178
S180 · calculation
Before
merge slot2 reduced old modulus := div(15, 1)
After
merge slot2 reduced old modulus = 15
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S179
S181 · calculation
Before
merge slot2 reduced new modulus := div(49, 1)
After
merge slot2 reduced new modulus = 49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S180
S182 · calculation
Before
merge slot2 new LCM period := mul(15, 49)
After
merge slot2 new LCM period = 735
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S181
S183 · calculation
Before
merge slot2 reduced-unit inverse exact quotient := div(-13, 49)
After
merge slot2 reduced-unit inverse exact quotient = -13/49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S182
S184 · calculation
Before
merge slot2 reduced-unit inverse floor quotient multiple := mul(-1, 49)
After
merge slot2 reduced-unit inverse floor quotient multiple = -49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S183
S185 · calculation
Before
merge slot2 reduced-unit inverse normalized remainder := sub(-13, -49)
After
merge slot2 reduced-unit inverse normalized remainder = 36
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S184
S186 · implies
Before
merge slot2 reduced-unit inverse:integer value=-13;positive modulus=49;exact ratio=-13/49;floor quotient=-1
After
value=q*modulus+remainder;normalized residue=36 in[0,49)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S185
S187 · calculation
Before
merge slot2 parameter congruence product := mul(20, 36)
After
merge slot2 parameter congruence product = 720
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S186
S188 · calculation
Before
merge slot2 normalized parameter exact quotient := div(720, 49)
After
merge slot2 normalized parameter exact quotient = 720/49
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S187
S189 · calculation
Before
merge slot2 normalized parameter floor quotient multiple := mul(14, 49)
After
merge slot2 normalized parameter floor quotient multiple = 686
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S188
S190 · calculation
Before
merge slot2 normalized parameter normalized remainder := sub(720, 686)
After
merge slot2 normalized parameter normalized remainder = 34
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S189
S191 · implies
Before
merge slot2 normalized parameter:integer value=720;positive modulus=49;exact ratio=720/49;floor quotient=14
After
value=q*modulus+remainder;normalized residue=34 in[0,49)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S190
S192 · calculation
Before
merge slot2 old modulus times parameter := mul(15, 34)
After
merge slot2 old modulus times parameter = 510
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S191
S193 · calculation
Before
merge slot2 unnormalized common solution := sum(2, 510)
After
merge slot2 unnormalized common solution = 512
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S192
S194 · calculation
Before
merge slot2 least class representative exact quotient := div(512, 735)
After
merge slot2 least class representative exact quotient = 512/735
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S193
S195 · calculation
Before
merge slot2 least class representative floor quotient multiple := mul(0, 735)
After
merge slot2 least class representative floor quotient multiple = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S194
S196 · calculation
Before
merge slot2 least class representative normalized remainder := sub(512, 0)
After
merge slot2 least class representative normalized remainder = 512
Conditions: none
Compute exactly from original roles and established intermediates,retaining indices,denominators,signs and the relevant carrier.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S195
S197 · implies
Before
merge slot2 least class representative:integer value=512;positive modulus=735;exact ratio=512/735;floor quotient=0
After
value=q*modulus+remainder;normalized residue=512 in[0,735)
Conditions: none
Use the floor quotient for a positive modulus,including signed inputs,to obtain the representative from0 through modulus−1.This is not truncation toward zero or a change of congruence class.Modulus1 is a valid trivial constraint with residue0.
Step identifiers and dependencies
Rule: crt_exact_floor_modulo_signed_input · Uses: G001, S196
S198 · implies
Before
old FULL solution class=2 mod15;new original constraint=22 mod49;gcd=1;Bezout coefficients=[-13, 4];reduced coprime moduli=[15, 49]
After
write old x=a+M*t;reduced equation gives t=34 mod49;ALL merged solutions x=512 mod735
Conditions: none
Substitute into the old solution class and divide by the gcd.Bezout divided by that gcd supplies the coprime inverse,so t lies in exactly one class modulo m/g.Multiplying back by M gives the lcm period and all solutions,not merely one checked point.
Step identifiers and dependencies
Rule: crt_constructive_merge_all_solutions_not_one_witness · Uses: G001, S197