Step-by-step derivation
S001 · implies
Before
source roles = [qf-str22-metric-triangle-audit, metric-triangle-audit]
After
derived = [[n, distances, bad_triples, triangle]]
Conditions: none
Use this bank exact ordered tuple and hyphenated operation.Rational outputs reduce with positive denominators and OMIT/1 for integers,unlike the preceding legacy bank.Do not change original bilingual snapshots or meaning.
Step identifiers and dependencies
Rule: STR22_exact_interface_and_source_ORDERED_tuple_roles · Uses: G001
S002 · calculation
Before
Metric ORIGINAL via sum i0 j0 k0 := sum(0, 0)
After
Metric ORIGINAL via sum i0 j0 k0 = 0
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Metric ORIGINAL via sum i0 j0 k1 := sum(0, 20)
After
Metric ORIGINAL via sum i0 j0 k1 = 20
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Metric ORIGINAL via sum i0 j0 k2 := sum(0, 41)
After
Metric ORIGINAL via sum i0 j0 k2 = 41
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Metric ORIGINAL via sum i0 j0 k3 := sum(0, 63)
After
Metric ORIGINAL via sum i0 j0 k3 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 0, 0]
After
derived = [[0, 20, 41, 63], [0, 20, 41, 63], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S005
S007 · calculation
Before
Metric ORIGINAL via sum i0 j1 k0 := sum(20, 20)
After
Metric ORIGINAL via sum i0 j1 k0 = 40
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Metric ORIGINAL via sum i0 j1 k1 := sum(20, 0)
After
Metric ORIGINAL via sum i0 j1 k1 = 20
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Metric ORIGINAL via sum i0 j1 k2 := sum(20, 21)
After
Metric ORIGINAL via sum i0 j1 k2 = 41
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Metric ORIGINAL via sum i0 j1 k3 := sum(20, 43)
After
Metric ORIGINAL via sum i0 j1 k3 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 0, 1]
After
derived = [[0, 20, 41, 63], [40, 20, 41, 63], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S010
S012 · calculation
Before
Metric ORIGINAL via sum i0 j2 k0 := sum(41, 41)
After
Metric ORIGINAL via sum i0 j2 k0 = 82
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Metric ORIGINAL via sum i0 j2 k1 := sum(41, 21)
After
Metric ORIGINAL via sum i0 j2 k1 = 62
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Metric ORIGINAL via sum i0 j2 k2 := sum(41, 0)
After
Metric ORIGINAL via sum i0 j2 k2 = 41
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Metric ORIGINAL via sum i0 j2 k3 := sum(41, 22)
After
Metric ORIGINAL via sum i0 j2 k3 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 0, 2]
After
derived = [[0, 20, 41, 63], [82, 62, 41, 63], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S015
S017 · calculation
Before
Metric ORIGINAL via sum i0 j3 k0 := sum(63, 63)
After
Metric ORIGINAL via sum i0 j3 k0 = 126
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
Metric ORIGINAL via sum i0 j3 k1 := sum(63, 43)
After
Metric ORIGINAL via sum i0 j3 k1 = 106
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
Metric ORIGINAL via sum i0 j3 k2 := sum(63, 22)
After
Metric ORIGINAL via sum i0 j3 k2 = 85
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
Metric ORIGINAL via sum i0 j3 k3 := sum(63, 0)
After
Metric ORIGINAL via sum i0 j3 k3 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 0, 3]
After
derived = [[0, 20, 41, 63], [126, 106, 85, 63], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S020
S022 · calculation
Before
Metric ORIGINAL via sum i1 j0 k0 := sum(20, 0)
After
Metric ORIGINAL via sum i1 j0 k0 = 20
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
Metric ORIGINAL via sum i1 j0 k1 := sum(20, 20)
After
Metric ORIGINAL via sum i1 j0 k1 = 40
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
Metric ORIGINAL via sum i1 j0 k2 := sum(20, 41)
After
Metric ORIGINAL via sum i1 j0 k2 = 61
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
Metric ORIGINAL via sum i1 j0 k3 := sum(20, 63)
After
Metric ORIGINAL via sum i1 j0 k3 = 83
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 1, 0]
After
derived = [[20, 0, 21, 43], [20, 40, 61, 83], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S025
S027 · calculation
Before
Metric ORIGINAL via sum i1 j1 k0 := sum(0, 20)
After
Metric ORIGINAL via sum i1 j1 k0 = 20
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
Metric ORIGINAL via sum i1 j1 k1 := sum(0, 0)
After
Metric ORIGINAL via sum i1 j1 k1 = 0
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · calculation
Before
Metric ORIGINAL via sum i1 j1 k2 := sum(0, 21)
After
Metric ORIGINAL via sum i1 j1 k2 = 21
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S028
S030 · calculation
Before
Metric ORIGINAL via sum i1 j1 k3 := sum(0, 43)
After
Metric ORIGINAL via sum i1 j1 k3 = 43
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S029
S031 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 1, 1]
After
derived = [[20, 0, 21, 43], [20, 0, 21, 43], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S030
S032 · calculation
Before
Metric ORIGINAL via sum i1 j2 k0 := sum(21, 41)
After
Metric ORIGINAL via sum i1 j2 k0 = 62
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · calculation
Before
Metric ORIGINAL via sum i1 j2 k1 := sum(21, 21)
After
Metric ORIGINAL via sum i1 j2 k1 = 42
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S032
S034 · calculation
Before
Metric ORIGINAL via sum i1 j2 k2 := sum(21, 0)
After
Metric ORIGINAL via sum i1 j2 k2 = 21
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S033
S035 · calculation
Before
Metric ORIGINAL via sum i1 j2 k3 := sum(21, 22)
After
Metric ORIGINAL via sum i1 j2 k3 = 43
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S034
S036 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 1, 2]
After
derived = [[20, 0, 21, 43], [62, 42, 21, 43], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S035
S037 · calculation
Before
Metric ORIGINAL via sum i1 j3 k0 := sum(43, 63)
After
Metric ORIGINAL via sum i1 j3 k0 = 106
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S036
S038 · calculation
Before
Metric ORIGINAL via sum i1 j3 k1 := sum(43, 43)
After
Metric ORIGINAL via sum i1 j3 k1 = 86
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S037
S039 · calculation
Before
Metric ORIGINAL via sum i1 j3 k2 := sum(43, 22)
After
Metric ORIGINAL via sum i1 j3 k2 = 65
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S038
S040 · calculation
Before
Metric ORIGINAL via sum i1 j3 k3 := sum(43, 0)
After
Metric ORIGINAL via sum i1 j3 k3 = 43
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S039
S041 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 1, 3]
After
derived = [[20, 0, 21, 43], [106, 86, 65, 43], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S040
S042 · calculation
Before
Metric ORIGINAL via sum i2 j0 k0 := sum(41, 0)
After
Metric ORIGINAL via sum i2 j0 k0 = 41
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · calculation
Before
Metric ORIGINAL via sum i2 j0 k1 := sum(41, 20)
After
Metric ORIGINAL via sum i2 j0 k1 = 61
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S042
S044 · calculation
Before
Metric ORIGINAL via sum i2 j0 k2 := sum(41, 41)
After
Metric ORIGINAL via sum i2 j0 k2 = 82
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S043
S045 · calculation
Before
Metric ORIGINAL via sum i2 j0 k3 := sum(41, 63)
After
Metric ORIGINAL via sum i2 j0 k3 = 104
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S044
S046 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 2, 0]
After
derived = [[41, 21, 0, 22], [41, 61, 82, 104], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S045
S047 · calculation
Before
Metric ORIGINAL via sum i2 j1 k0 := sum(21, 20)
After
Metric ORIGINAL via sum i2 j1 k0 = 41
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
Metric ORIGINAL via sum i2 j1 k1 := sum(21, 0)
After
Metric ORIGINAL via sum i2 j1 k1 = 21
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · calculation
Before
Metric ORIGINAL via sum i2 j1 k2 := sum(21, 21)
After
Metric ORIGINAL via sum i2 j1 k2 = 42
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S048
S050 · calculation
Before
Metric ORIGINAL via sum i2 j1 k3 := sum(21, 43)
After
Metric ORIGINAL via sum i2 j1 k3 = 64
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S049
S051 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 2, 1]
After
derived = [[41, 21, 0, 22], [41, 21, 42, 64], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S050
S052 · calculation
Before
Metric ORIGINAL via sum i2 j2 k0 := sum(0, 41)
After
Metric ORIGINAL via sum i2 j2 k0 = 41
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S051
S053 · calculation
Before
Metric ORIGINAL via sum i2 j2 k1 := sum(0, 21)
After
Metric ORIGINAL via sum i2 j2 k1 = 21
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · calculation
Before
Metric ORIGINAL via sum i2 j2 k2 := sum(0, 0)
After
Metric ORIGINAL via sum i2 j2 k2 = 0
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S053
S055 · calculation
Before
Metric ORIGINAL via sum i2 j2 k3 := sum(0, 22)
After
Metric ORIGINAL via sum i2 j2 k3 = 22
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S054
S056 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 2, 2]
After
derived = [[41, 21, 0, 22], [41, 21, 0, 22], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S055
S057 · calculation
Before
Metric ORIGINAL via sum i2 j3 k0 := sum(22, 63)
After
Metric ORIGINAL via sum i2 j3 k0 = 85
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S056
S058 · calculation
Before
Metric ORIGINAL via sum i2 j3 k1 := sum(22, 43)
After
Metric ORIGINAL via sum i2 j3 k1 = 65
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · calculation
Before
Metric ORIGINAL via sum i2 j3 k2 := sum(22, 22)
After
Metric ORIGINAL via sum i2 j3 k2 = 44
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S058
S060 · calculation
Before
Metric ORIGINAL via sum i2 j3 k3 := sum(22, 0)
After
Metric ORIGINAL via sum i2 j3 k3 = 22
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S059
S061 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 2, 3]
After
derived = [[41, 21, 0, 22], [85, 65, 44, 22], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S060
S062 · calculation
Before
Metric ORIGINAL via sum i3 j0 k0 := sum(63, 0)
After
Metric ORIGINAL via sum i3 j0 k0 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S061
S063 · calculation
Before
Metric ORIGINAL via sum i3 j0 k1 := sum(63, 20)
After
Metric ORIGINAL via sum i3 j0 k1 = 83
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S062
S064 · calculation
Before
Metric ORIGINAL via sum i3 j0 k2 := sum(63, 41)
After
Metric ORIGINAL via sum i3 j0 k2 = 104
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S063
S065 · calculation
Before
Metric ORIGINAL via sum i3 j0 k3 := sum(63, 63)
After
Metric ORIGINAL via sum i3 j0 k3 = 126
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S064
S066 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 3, 0]
After
derived = [[63, 43, 22, 0], [63, 83, 104, 126], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S065
S067 · calculation
Before
Metric ORIGINAL via sum i3 j1 k0 := sum(43, 20)
After
Metric ORIGINAL via sum i3 j1 k0 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S066
S068 · calculation
Before
Metric ORIGINAL via sum i3 j1 k1 := sum(43, 0)
After
Metric ORIGINAL via sum i3 j1 k1 = 43
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S067
S069 · calculation
Before
Metric ORIGINAL via sum i3 j1 k2 := sum(43, 21)
After
Metric ORIGINAL via sum i3 j1 k2 = 64
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S068
S070 · calculation
Before
Metric ORIGINAL via sum i3 j1 k3 := sum(43, 43)
After
Metric ORIGINAL via sum i3 j1 k3 = 86
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S069
S071 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 3, 1]
After
derived = [[63, 43, 22, 0], [63, 43, 64, 86], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S070
S072 · calculation
Before
Metric ORIGINAL via sum i3 j2 k0 := sum(22, 41)
After
Metric ORIGINAL via sum i3 j2 k0 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S071
S073 · calculation
Before
Metric ORIGINAL via sum i3 j2 k1 := sum(22, 21)
After
Metric ORIGINAL via sum i3 j2 k1 = 43
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S072
S074 · calculation
Before
Metric ORIGINAL via sum i3 j2 k2 := sum(22, 0)
After
Metric ORIGINAL via sum i3 j2 k2 = 22
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S073
S075 · calculation
Before
Metric ORIGINAL via sum i3 j2 k3 := sum(22, 22)
After
Metric ORIGINAL via sum i3 j2 k3 = 44
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S074
S076 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 3, 2]
After
derived = [[63, 43, 22, 0], [63, 43, 22, 44], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S075
S077 · calculation
Before
Metric ORIGINAL via sum i3 j3 k0 := sum(0, 63)
After
Metric ORIGINAL via sum i3 j3 k0 = 63
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S076
S078 · calculation
Before
Metric ORIGINAL via sum i3 j3 k1 := sum(0, 43)
After
Metric ORIGINAL via sum i3 j3 k1 = 43
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S077
S079 · calculation
Before
Metric ORIGINAL via sum i3 j3 k2 := sum(0, 22)
After
Metric ORIGINAL via sum i3 j3 k2 = 22
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S078
S080 · calculation
Before
Metric ORIGINAL via sum i3 j3 k3 := sum(0, 0)
After
Metric ORIGINAL via sum i3 j3 k3 = 0
Conditions: none
Use the ORIGINAL operands exactly,without floating point.Only the declared SOURCE rational operations use their profile;additional integer teaching algebra adds no new input-domain restriction.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S079
S081 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]], 3, 3]
After
derived = [[63, 43, 22, 0], [63, 43, 22, 0], []]
Conditions: none
For EACH(i,j),test d(i,k)<=d(i,j)+d(j,k) for EVERY k,including repeated points.Retain every failure,not only unordered distinct triangles.
Step identifiers and dependencies
Rule: Metric_ALL_third_points_EACH_ordered_pair_triangle · Uses: G001, S080
S082 · implies
Before
source roles = [4, [[0, 20, 41, 63], [20, 0, 21, 43], [41, 21, 0, 22], [63, 43, 22, 0]]]
After
derived = [[], Yes]
Conditions: none
List failures of ALL n³ original ordered triples in nested i,j,k order.No failures establish the triangle obligation for THIS table,not automatically nonnegativity,separation or symmetry.
Step identifiers and dependencies
Rule: Metric_ALL_bad_triangles_nested_order_not_only_first · Uses: G001, S081