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, 5)
After
Metric ORIGINAL via sum i0 j0 k1 = 5
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, 11)
After
Metric ORIGINAL via sum i0 j0 k2 = 11
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, 18)
After
Metric ORIGINAL via sum i0 j0 k3 = 18
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 0, 0]
After
derived = [[0, 5, 11, 18], [0, 5, 11, 18], []]
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(5, 5)
After
Metric ORIGINAL via sum i0 j1 k0 = 10
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(5, 0)
After
Metric ORIGINAL via sum i0 j1 k1 = 5
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(5, 6)
After
Metric ORIGINAL via sum i0 j1 k2 = 11
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(5, 13)
After
Metric ORIGINAL via sum i0 j1 k3 = 18
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 0, 1]
After
derived = [[0, 5, 11, 18], [10, 5, 11, 18], []]
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(11, 11)
After
Metric ORIGINAL via sum i0 j2 k0 = 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, S011
S013 · calculation
Before
Metric ORIGINAL via sum i0 j2 k1 := sum(11, 6)
After
Metric ORIGINAL via sum i0 j2 k1 = 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, S012
S014 · calculation
Before
Metric ORIGINAL via sum i0 j2 k2 := sum(11, 0)
After
Metric ORIGINAL via sum i0 j2 k2 = 11
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(11, 7)
After
Metric ORIGINAL via sum i0 j2 k3 = 18
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 0, 2]
After
derived = [[0, 5, 11, 18], [22, 17, 11, 18], []]
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(18, 18)
After
Metric ORIGINAL via sum i0 j3 k0 = 36
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(18, 13)
After
Metric ORIGINAL via sum i0 j3 k1 = 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, S017
S019 · calculation
Before
Metric ORIGINAL via sum i0 j3 k2 := sum(18, 7)
After
Metric ORIGINAL via sum i0 j3 k2 = 25
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(18, 0)
After
Metric ORIGINAL via sum i0 j3 k3 = 18
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 0, 3]
After
derived = [[0, 5, 11, 18], [36, 31, 25, 18], []]
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(5, 0)
After
Metric ORIGINAL via sum i1 j0 k0 = 5
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(5, 5)
After
Metric ORIGINAL via sum i1 j0 k1 = 10
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(5, 11)
After
Metric ORIGINAL via sum i1 j0 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, S023
S025 · calculation
Before
Metric ORIGINAL via sum i1 j0 k3 := sum(5, 18)
After
Metric ORIGINAL via sum i1 j0 k3 = 23
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 1, 0]
After
derived = [[5, 0, 6, 13], [5, 10, 16, 23], []]
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, 5)
After
Metric ORIGINAL via sum i1 j1 k0 = 5
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, 6)
After
Metric ORIGINAL via sum i1 j1 k2 = 6
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, 13)
After
Metric ORIGINAL via sum i1 j1 k3 = 13
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 1, 1]
After
derived = [[5, 0, 6, 13], [5, 0, 6, 13], []]
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(6, 11)
After
Metric ORIGINAL via sum i1 j2 k0 = 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, S031
S033 · calculation
Before
Metric ORIGINAL via sum i1 j2 k1 := sum(6, 6)
After
Metric ORIGINAL via sum i1 j2 k1 = 12
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(6, 0)
After
Metric ORIGINAL via sum i1 j2 k2 = 6
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(6, 7)
After
Metric ORIGINAL via sum i1 j2 k3 = 13
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 1, 2]
After
derived = [[5, 0, 6, 13], [17, 12, 6, 13], []]
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(13, 18)
After
Metric ORIGINAL via sum i1 j3 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, S036
S038 · calculation
Before
Metric ORIGINAL via sum i1 j3 k1 := sum(13, 13)
After
Metric ORIGINAL via sum i1 j3 k1 = 26
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(13, 7)
After
Metric ORIGINAL via sum i1 j3 k2 = 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, S038
S040 · calculation
Before
Metric ORIGINAL via sum i1 j3 k3 := sum(13, 0)
After
Metric ORIGINAL via sum i1 j3 k3 = 13
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 1, 3]
After
derived = [[5, 0, 6, 13], [31, 26, 20, 13], []]
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(11, 0)
After
Metric ORIGINAL via sum i2 j0 k0 = 11
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(11, 5)
After
Metric ORIGINAL via sum i2 j0 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, S042
S044 · calculation
Before
Metric ORIGINAL via sum i2 j0 k2 := sum(11, 11)
After
Metric ORIGINAL via sum i2 j0 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, S043
S045 · calculation
Before
Metric ORIGINAL via sum i2 j0 k3 := sum(11, 18)
After
Metric ORIGINAL via sum i2 j0 k3 = 29
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 2, 0]
After
derived = [[11, 6, 0, 7], [11, 16, 22, 29], []]
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(6, 5)
After
Metric ORIGINAL via sum i2 j1 k0 = 11
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(6, 0)
After
Metric ORIGINAL via sum i2 j1 k1 = 6
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(6, 6)
After
Metric ORIGINAL via sum i2 j1 k2 = 12
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(6, 13)
After
Metric ORIGINAL via sum i2 j1 k3 = 19
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 2, 1]
After
derived = [[11, 6, 0, 7], [11, 6, 12, 19], []]
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, 11)
After
Metric ORIGINAL via sum i2 j2 k0 = 11
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, 6)
After
Metric ORIGINAL via sum i2 j2 k1 = 6
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, 7)
After
Metric ORIGINAL via sum i2 j2 k3 = 7
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 2, 2]
After
derived = [[11, 6, 0, 7], [11, 6, 0, 7], []]
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(7, 18)
After
Metric ORIGINAL via sum i2 j3 k0 = 25
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(7, 13)
After
Metric ORIGINAL via sum i2 j3 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, S057
S059 · calculation
Before
Metric ORIGINAL via sum i2 j3 k2 := sum(7, 7)
After
Metric ORIGINAL via sum i2 j3 k2 = 14
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(7, 0)
After
Metric ORIGINAL via sum i2 j3 k3 = 7
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 2, 3]
After
derived = [[11, 6, 0, 7], [25, 20, 14, 7], []]
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(18, 0)
After
Metric ORIGINAL via sum i3 j0 k0 = 18
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(18, 5)
After
Metric ORIGINAL via sum i3 j0 k1 = 23
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(18, 11)
After
Metric ORIGINAL via sum i3 j0 k2 = 29
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(18, 18)
After
Metric ORIGINAL via sum i3 j0 k3 = 36
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 3, 0]
After
derived = [[18, 13, 7, 0], [18, 23, 29, 36], []]
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(13, 5)
After
Metric ORIGINAL via sum i3 j1 k0 = 18
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(13, 0)
After
Metric ORIGINAL via sum i3 j1 k1 = 13
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(13, 6)
After
Metric ORIGINAL via sum i3 j1 k2 = 19
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(13, 13)
After
Metric ORIGINAL via sum i3 j1 k3 = 26
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 3, 1]
After
derived = [[18, 13, 7, 0], [18, 13, 19, 26], []]
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(7, 11)
After
Metric ORIGINAL via sum i3 j2 k0 = 18
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(7, 6)
After
Metric ORIGINAL via sum i3 j2 k1 = 13
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(7, 0)
After
Metric ORIGINAL via sum i3 j2 k2 = 7
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(7, 7)
After
Metric ORIGINAL via sum i3 j2 k3 = 14
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 3, 2]
After
derived = [[18, 13, 7, 0], [18, 13, 7, 14], []]
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, 18)
After
Metric ORIGINAL via sum i3 j3 k0 = 18
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, 13)
After
Metric ORIGINAL via sum i3 j3 k1 = 13
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, 7)
After
Metric ORIGINAL via sum i3 j3 k2 = 7
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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 0]], 3, 3]
After
derived = [[18, 13, 7, 0], [18, 13, 7, 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, 5, 11, 18], [5, 0, 6, 13], [11, 6, 0, 7], [18, 13, 7, 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