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(10, 1)
After
Real ORIGINAL left point ORIGINAL exact numerator over nonzero denominator = 10
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, [10, 1]]
After
derived = [[10, 1], 10/1]
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(-8, 7)
After
Real ORIGINAL right point ORIGINAL exact numerator over nonzero denominator = -8/7
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, [-8, 7]]
After
derived = [[-8, 7], -8/7]
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(10, 7)
After
Real ORIGINAL normalized left numerator times right positive denominator = 70
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(-8, 1)
After
Real ORIGINAL normalized right numerator times left positive denominator = -8
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(70, -8)
After
Real distance ORIGINAL signed crossproduct difference = 78
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(1, 7)
After
Real distance ORIGINAL positive denominator product = 7
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 = [10/1, -8/7, 78, 7]
After
derived = [78, 7]
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(78, 7)
After
Real exact distance derived fraction ORIGINAL exact numerator over nonzero denominator = 78/7
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, [78, 7]]
After
derived = [[78, 7], 78/7]
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