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, 15)
After
Metric ORIGINAL via sum i0 j0 k1 = 15
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, 31)
After
Metric ORIGINAL via sum i0 j0 k2 = 31
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, 48)
After
Metric ORIGINAL via sum i0 j0 k3 = 48
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 0, 0]
After
derived = [[0, 15, 31, 48], [0, 15, 31, 48], []]
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(15, 15)
After
Metric ORIGINAL via sum i0 j1 k0 = 30
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(15, 0)
After
Metric ORIGINAL via sum i0 j1 k1 = 15
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(15, 16)
After
Metric ORIGINAL via sum i0 j1 k2 = 31
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(15, 33)
After
Metric ORIGINAL via sum i0 j1 k3 = 48
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 0, 1]
After
derived = [[0, 15, 31, 48], [30, 15, 31, 48], []]
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(31, 31)
After
Metric ORIGINAL via sum i0 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, S011
S013 · calculation
Before
Metric ORIGINAL via sum i0 j2 k1 := sum(31, 16)
After
Metric ORIGINAL via sum i0 j2 k1 = 47
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(31, 0)
After
Metric ORIGINAL via sum i0 j2 k2 = 31
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(31, 17)
After
Metric ORIGINAL via sum i0 j2 k3 = 48
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 0, 2]
After
derived = [[0, 15, 31, 48], [62, 47, 31, 48], []]
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(48, 48)
After
Metric ORIGINAL via sum i0 j3 k0 = 96
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(48, 33)
After
Metric ORIGINAL via sum i0 j3 k1 = 81
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(48, 17)
After
Metric ORIGINAL via sum i0 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, S018
S020 · calculation
Before
Metric ORIGINAL via sum i0 j3 k3 := sum(48, 0)
After
Metric ORIGINAL via sum i0 j3 k3 = 48
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 0, 3]
After
derived = [[0, 15, 31, 48], [96, 81, 65, 48], []]
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(15, 0)
After
Metric ORIGINAL via sum i1 j0 k0 = 15
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(15, 15)
After
Metric ORIGINAL via sum i1 j0 k1 = 30
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(15, 31)
After
Metric ORIGINAL via sum i1 j0 k2 = 46
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(15, 48)
After
Metric ORIGINAL via sum i1 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, S024
S026 · implies
Before
source roles = [4, [[0, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 1, 0]
After
derived = [[15, 0, 16, 33], [15, 30, 46, 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, S025
S027 · calculation
Before
Metric ORIGINAL via sum i1 j1 k0 := sum(0, 15)
After
Metric ORIGINAL via sum i1 j1 k0 = 15
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, 16)
After
Metric ORIGINAL via sum i1 j1 k2 = 16
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, 33)
After
Metric ORIGINAL via sum i1 j1 k3 = 33
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 1, 1]
After
derived = [[15, 0, 16, 33], [15, 0, 16, 33], []]
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(16, 31)
After
Metric ORIGINAL via sum i1 j2 k0 = 47
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(16, 16)
After
Metric ORIGINAL via sum i1 j2 k1 = 32
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(16, 0)
After
Metric ORIGINAL via sum i1 j2 k2 = 16
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(16, 17)
After
Metric ORIGINAL via sum i1 j2 k3 = 33
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 1, 2]
After
derived = [[15, 0, 16, 33], [47, 32, 16, 33], []]
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(33, 48)
After
Metric ORIGINAL via sum i1 j3 k0 = 81
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(33, 33)
After
Metric ORIGINAL via sum i1 j3 k1 = 66
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(33, 17)
After
Metric ORIGINAL via sum i1 j3 k2 = 50
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(33, 0)
After
Metric ORIGINAL via sum i1 j3 k3 = 33
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 1, 3]
After
derived = [[15, 0, 16, 33], [81, 66, 50, 33], []]
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(31, 0)
After
Metric ORIGINAL via sum i2 j0 k0 = 31
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(31, 15)
After
Metric ORIGINAL via sum i2 j0 k1 = 46
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(31, 31)
After
Metric ORIGINAL via sum i2 j0 k2 = 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, S043
S045 · calculation
Before
Metric ORIGINAL via sum i2 j0 k3 := sum(31, 48)
After
Metric ORIGINAL via sum i2 j0 k3 = 79
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 2, 0]
After
derived = [[31, 16, 0, 17], [31, 46, 62, 79], []]
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(16, 15)
After
Metric ORIGINAL via sum i2 j1 k0 = 31
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(16, 0)
After
Metric ORIGINAL via sum i2 j1 k1 = 16
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(16, 16)
After
Metric ORIGINAL via sum i2 j1 k2 = 32
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(16, 33)
After
Metric ORIGINAL via sum i2 j1 k3 = 49
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 2, 1]
After
derived = [[31, 16, 0, 17], [31, 16, 32, 49], []]
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, 31)
After
Metric ORIGINAL via sum i2 j2 k0 = 31
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, 16)
After
Metric ORIGINAL via sum i2 j2 k1 = 16
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, 17)
After
Metric ORIGINAL via sum i2 j2 k3 = 17
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 2, 2]
After
derived = [[31, 16, 0, 17], [31, 16, 0, 17], []]
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(17, 48)
After
Metric ORIGINAL via sum i2 j3 k0 = 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, S056
S058 · calculation
Before
Metric ORIGINAL via sum i2 j3 k1 := sum(17, 33)
After
Metric ORIGINAL via sum i2 j3 k1 = 50
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(17, 17)
After
Metric ORIGINAL via sum i2 j3 k2 = 34
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(17, 0)
After
Metric ORIGINAL via sum i2 j3 k3 = 17
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 2, 3]
After
derived = [[31, 16, 0, 17], [65, 50, 34, 17], []]
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(48, 0)
After
Metric ORIGINAL via sum i3 j0 k0 = 48
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(48, 15)
After
Metric ORIGINAL via sum i3 j0 k1 = 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, S062
S064 · calculation
Before
Metric ORIGINAL via sum i3 j0 k2 := sum(48, 31)
After
Metric ORIGINAL via sum i3 j0 k2 = 79
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(48, 48)
After
Metric ORIGINAL via sum i3 j0 k3 = 96
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 3, 0]
After
derived = [[48, 33, 17, 0], [48, 63, 79, 96], []]
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(33, 15)
After
Metric ORIGINAL via sum i3 j1 k0 = 48
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(33, 0)
After
Metric ORIGINAL via sum i3 j1 k1 = 33
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(33, 16)
After
Metric ORIGINAL via sum i3 j1 k2 = 49
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(33, 33)
After
Metric ORIGINAL via sum i3 j1 k3 = 66
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 3, 1]
After
derived = [[48, 33, 17, 0], [48, 33, 49, 66], []]
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(17, 31)
After
Metric ORIGINAL via sum i3 j2 k0 = 48
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(17, 16)
After
Metric ORIGINAL via sum i3 j2 k1 = 33
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(17, 0)
After
Metric ORIGINAL via sum i3 j2 k2 = 17
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(17, 17)
After
Metric ORIGINAL via sum i3 j2 k3 = 34
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 3, 2]
After
derived = [[48, 33, 17, 0], [48, 33, 17, 34], []]
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, 48)
After
Metric ORIGINAL via sum i3 j3 k0 = 48
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, 33)
After
Metric ORIGINAL via sum i3 j3 k1 = 33
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, 17)
After
Metric ORIGINAL via sum i3 j3 k2 = 17
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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 0]], 3, 3]
After
derived = [[48, 33, 17, 0], [48, 33, 17, 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, 15, 31, 48], [15, 0, 16, 33], [31, 16, 0, 17], [48, 33, 17, 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