Step-by-step derivation
S001 · implies
Before
source roles = [qf-real-rational-point-distance, [left, operation, right]]
After
derived = [exact_rational_distance, no-invented-domain]
Conditions: none
Separate source banks:legacy RAW SAFE with unbounded derived BigInts versus BASE Number.isInteger without invented SAFE/million caps.Operations,domains and permissive/exact keys follow THIS bank.Keep ORIGINAL JSON intact.
Step identifiers and dependencies
Rule: R68_BANK_specific_keys_operations_and_numeric_guards · Uses: G001
S002 · calculation
Before
Real ORIGINAL left point ORIGINAL exact numerator over nonzero denominator := div(9, 5)
After
Real ORIGINAL left point ORIGINAL exact numerator over nonzero denominator = 9/5
Conditions: none
Calculate exactly from ORIGINAL ordered operands;mul/sub/div have EXPLICITLY TWO operands.Legacy derived BigInts are not recapped at RAW SAFE;check BASE Number type/representation conditions separately.Do not use floating approximations to force an answer.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · implies
Before
source roles = [Real ORIGINAL left point, [9, 5]]
After
derived = [[9, 5], 9/5]
Conditions: none
BASE normalizeFraction requires INTEGER components and nonzero denominator,without invented SAFE/million/100million caps.Normalize denominator sign and gcd;zero is0/1.This derived representation does not alter the ORIGINAL raw pair.
Step identifiers and dependencies
Rule: Real_BASE_fraction_sign_gcd_normalization_NO_invented_SAFEcap · Uses: G001, S002
S004 · calculation
Before
Real ORIGINAL right point ORIGINAL exact numerator over nonzero denominator := div(-7, 6)
After
Real ORIGINAL right point ORIGINAL exact numerator over nonzero denominator = -7/6
Conditions: none
Calculate exactly from ORIGINAL ordered operands;mul/sub/div have EXPLICITLY TWO operands.Legacy derived BigInts are not recapped at RAW SAFE;check BASE Number type/representation conditions separately.Do not use floating approximations to force an answer.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · implies
Before
source roles = [Real ORIGINAL right point, [-7, 6]]
After
derived = [[-7, 6], -7/6]
Conditions: none
BASE normalizeFraction requires INTEGER components and nonzero denominator,without invented SAFE/million/100million caps.Normalize denominator sign and gcd;zero is0/1.This derived representation does not alter the ORIGINAL raw pair.
Step identifiers and dependencies
Rule: Real_BASE_fraction_sign_gcd_normalization_NO_invented_SAFEcap · Uses: G001, S004
S006 · calculation
Before
Real ORIGINAL normalized left numerator times right positive denominator := mul(9, 6)
After
Real ORIGINAL normalized left numerator times right positive denominator = 54
Conditions: none
Calculate exactly from ORIGINAL ordered operands;mul/sub/div have EXPLICITLY TWO operands.Legacy derived BigInts are not recapped at RAW SAFE;check BASE Number type/representation conditions separately.Do not use floating approximations to force an answer.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Real ORIGINAL normalized right numerator times left positive denominator := mul(-7, 5)
After
Real ORIGINAL normalized right numerator times left positive denominator = -35
Conditions: none
Calculate exactly from ORIGINAL ordered operands;mul/sub/div have EXPLICITLY TWO operands.Legacy derived BigInts are not recapped at RAW SAFE;check BASE Number type/representation conditions separately.Do not use floating approximations to force an answer.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Real distance ORIGINAL signed crossproduct difference := sub(54, -35)
After
Real distance ORIGINAL signed crossproduct difference = 89
Conditions: none
Calculate exactly from ORIGINAL ordered operands;mul/sub/div have EXPLICITLY TWO operands.Legacy derived BigInts are not recapped at RAW SAFE;check BASE Number type/representation conditions separately.Do not use floating approximations to force an answer.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Real distance ORIGINAL positive denominator product := mul(5, 6)
After
Real distance ORIGINAL positive denominator product = 30
Conditions: none
Calculate exactly from ORIGINAL ordered operands;mul/sub/div have EXPLICITLY TWO operands.Legacy derived BigInts are not recapped at RAW SAFE;check BASE Number type/representation conditions separately.Do not use floating approximations to force an answer.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · implies
Before
source roles = [9/5, -7/6, 89, 30]
After
derived = [89, 30]
Conditions: none
Real-line distance is|left−right|.Retain the signed difference BEFORE taking abs.Equal points have distance0;do not return signed or squared distance or guess a sign by reordering points.
Step identifiers and dependencies
Rule: Real_DISTANCE_absolute_difference_NOT_signed_or_squared · Uses: G001, S009
S011 · calculation
Before
Real exact distance derived fraction ORIGINAL exact numerator over nonzero denominator := div(89, 30)
After
Real exact distance derived fraction ORIGINAL exact numerator over nonzero denominator = 89/30
Conditions: none
Calculate exactly from ORIGINAL ordered operands;mul/sub/div have EXPLICITLY TWO operands.Legacy derived BigInts are not recapped at RAW SAFE;check BASE Number type/representation conditions separately.Do not use floating approximations to force an answer.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · implies
Before
source roles = [Real exact distance derived fraction, [89, 30]]
After
derived = [[89, 30], 89/30]
Conditions: none
BASE normalizeFraction requires INTEGER components and nonzero denominator,without invented SAFE/million/100million caps.Normalize denominator sign and gcd;zero is0/1.This derived representation does not alter the ORIGINAL raw pair.
Step identifiers and dependencies
Rule: Real_BASE_fraction_sign_gcd_normalization_NO_invented_SAFEcap · Uses: G001, S011