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, 10)
After
Metric ORIGINAL via sum i0 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, S002
S004 · calculation
Before
Metric ORIGINAL via sum i0 j0 k2 := sum(0, 21)
After
Metric ORIGINAL via sum i0 j0 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, S003
S005 · calculation
Before
Metric ORIGINAL via sum i0 j0 k3 := sum(0, 33)
After
Metric ORIGINAL via sum i0 j0 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, S004
S006 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 0, 0]
After
derived = [[0, 10, 21, 33], [0, 10, 21, 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, S005
S007 · calculation
Before
Metric ORIGINAL via sum i0 j1 k0 := sum(10, 10)
After
Metric ORIGINAL via sum i0 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, S006
S008 · calculation
Before
Metric ORIGINAL via sum i0 j1 k1 := sum(10, 0)
After
Metric ORIGINAL via sum i0 j1 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, S007
S009 · calculation
Before
Metric ORIGINAL via sum i0 j1 k2 := sum(10, 11)
After
Metric ORIGINAL via sum i0 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, S008
S010 · calculation
Before
Metric ORIGINAL via sum i0 j1 k3 := sum(10, 23)
After
Metric ORIGINAL via sum i0 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, S009
S011 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 0, 1]
After
derived = [[0, 10, 21, 33], [20, 10, 21, 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, S010
S012 · calculation
Before
Metric ORIGINAL via sum i0 j2 k0 := sum(21, 21)
After
Metric ORIGINAL via sum i0 j2 k0 = 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, S011
S013 · calculation
Before
Metric ORIGINAL via sum i0 j2 k1 := sum(21, 11)
After
Metric ORIGINAL via sum i0 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, S012
S014 · calculation
Before
Metric ORIGINAL via sum i0 j2 k2 := sum(21, 0)
After
Metric ORIGINAL via sum i0 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, S013
S015 · calculation
Before
Metric ORIGINAL via sum i0 j2 k3 := sum(21, 12)
After
Metric ORIGINAL via sum i0 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, S014
S016 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 0, 2]
After
derived = [[0, 10, 21, 33], [42, 32, 21, 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, S015
S017 · calculation
Before
Metric ORIGINAL via sum i0 j3 k0 := sum(33, 33)
After
Metric ORIGINAL via sum i0 j3 k0 = 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, S016
S018 · calculation
Before
Metric ORIGINAL via sum i0 j3 k1 := sum(33, 23)
After
Metric ORIGINAL via sum i0 j3 k1 = 56
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(33, 12)
After
Metric ORIGINAL via sum i0 j3 k2 = 45
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(33, 0)
After
Metric ORIGINAL via sum i0 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, S019
S021 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 0, 3]
After
derived = [[0, 10, 21, 33], [66, 56, 45, 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, S020
S022 · calculation
Before
Metric ORIGINAL via sum i1 j0 k0 := sum(10, 0)
After
Metric ORIGINAL via sum i1 j0 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, S021
S023 · calculation
Before
Metric ORIGINAL via sum i1 j0 k1 := sum(10, 10)
After
Metric ORIGINAL via sum i1 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, S022
S024 · calculation
Before
Metric ORIGINAL via sum i1 j0 k2 := sum(10, 21)
After
Metric ORIGINAL via sum i1 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, S023
S025 · calculation
Before
Metric ORIGINAL via sum i1 j0 k3 := sum(10, 33)
After
Metric ORIGINAL via sum i1 j0 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, S024
S026 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 1, 0]
After
derived = [[10, 0, 11, 23], [10, 20, 31, 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, S025
S027 · calculation
Before
Metric ORIGINAL via sum i1 j1 k0 := sum(0, 10)
After
Metric ORIGINAL via sum i1 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, 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, 11)
After
Metric ORIGINAL via sum i1 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, S028
S030 · calculation
Before
Metric ORIGINAL via sum i1 j1 k3 := sum(0, 23)
After
Metric ORIGINAL via sum i1 j1 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, S029
S031 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 1, 1]
After
derived = [[10, 0, 11, 23], [10, 0, 11, 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, S030
S032 · calculation
Before
Metric ORIGINAL via sum i1 j2 k0 := sum(11, 21)
After
Metric ORIGINAL via sum i1 j2 k0 = 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, S031
S033 · calculation
Before
Metric ORIGINAL via sum i1 j2 k1 := sum(11, 11)
After
Metric ORIGINAL via sum i1 j2 k1 = 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, S032
S034 · calculation
Before
Metric ORIGINAL via sum i1 j2 k2 := sum(11, 0)
After
Metric ORIGINAL via sum i1 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, S033
S035 · calculation
Before
Metric ORIGINAL via sum i1 j2 k3 := sum(11, 12)
After
Metric ORIGINAL via sum i1 j2 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, S034
S036 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 1, 2]
After
derived = [[10, 0, 11, 23], [32, 22, 11, 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, S035
S037 · calculation
Before
Metric ORIGINAL via sum i1 j3 k0 := sum(23, 33)
After
Metric ORIGINAL via sum i1 j3 k0 = 56
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(23, 23)
After
Metric ORIGINAL via sum i1 j3 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, S037
S039 · calculation
Before
Metric ORIGINAL via sum i1 j3 k2 := sum(23, 12)
After
Metric ORIGINAL via sum i1 j3 k2 = 35
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(23, 0)
After
Metric ORIGINAL via sum i1 j3 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, S039
S041 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 1, 3]
After
derived = [[10, 0, 11, 23], [56, 46, 35, 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, S040
S042 · calculation
Before
Metric ORIGINAL via sum i2 j0 k0 := sum(21, 0)
After
Metric ORIGINAL via sum i2 j0 k0 = 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, S041
S043 · calculation
Before
Metric ORIGINAL via sum i2 j0 k1 := sum(21, 10)
After
Metric ORIGINAL via sum i2 j0 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, S042
S044 · calculation
Before
Metric ORIGINAL via sum i2 j0 k2 := sum(21, 21)
After
Metric ORIGINAL via sum i2 j0 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, S043
S045 · calculation
Before
Metric ORIGINAL via sum i2 j0 k3 := sum(21, 33)
After
Metric ORIGINAL via sum i2 j0 k3 = 54
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, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 2, 0]
After
derived = [[21, 11, 0, 12], [21, 31, 42, 54], []]
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(11, 10)
After
Metric ORIGINAL via sum i2 j1 k0 = 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, S046
S048 · calculation
Before
Metric ORIGINAL via sum i2 j1 k1 := sum(11, 0)
After
Metric ORIGINAL via sum i2 j1 k1 = 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, S047
S049 · calculation
Before
Metric ORIGINAL via sum i2 j1 k2 := sum(11, 11)
After
Metric ORIGINAL via sum i2 j1 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, S048
S050 · calculation
Before
Metric ORIGINAL via sum i2 j1 k3 := sum(11, 23)
After
Metric ORIGINAL via sum i2 j1 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, S049
S051 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 2, 1]
After
derived = [[21, 11, 0, 12], [21, 11, 22, 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, S050
S052 · calculation
Before
Metric ORIGINAL via sum i2 j2 k0 := sum(0, 21)
After
Metric ORIGINAL via sum i2 j2 k0 = 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, S051
S053 · calculation
Before
Metric ORIGINAL via sum i2 j2 k1 := sum(0, 11)
After
Metric ORIGINAL via sum i2 j2 k1 = 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, 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, 12)
After
Metric ORIGINAL via sum i2 j2 k3 = 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, S054
S056 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 2, 2]
After
derived = [[21, 11, 0, 12], [21, 11, 0, 12], []]
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(12, 33)
After
Metric ORIGINAL via sum i2 j3 k0 = 45
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(12, 23)
After
Metric ORIGINAL via sum i2 j3 k1 = 35
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(12, 12)
After
Metric ORIGINAL via sum i2 j3 k2 = 24
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(12, 0)
After
Metric ORIGINAL via sum i2 j3 k3 = 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, S059
S061 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 2, 3]
After
derived = [[21, 11, 0, 12], [45, 35, 24, 12], []]
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(33, 0)
After
Metric ORIGINAL via sum i3 j0 k0 = 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, S061
S063 · calculation
Before
Metric ORIGINAL via sum i3 j0 k1 := sum(33, 10)
After
Metric ORIGINAL via sum i3 j0 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, S062
S064 · calculation
Before
Metric ORIGINAL via sum i3 j0 k2 := sum(33, 21)
After
Metric ORIGINAL via sum i3 j0 k2 = 54
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(33, 33)
After
Metric ORIGINAL via sum i3 j0 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, S064
S066 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 3, 0]
After
derived = [[33, 23, 12, 0], [33, 43, 54, 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, S065
S067 · calculation
Before
Metric ORIGINAL via sum i3 j1 k0 := sum(23, 10)
After
Metric ORIGINAL via sum i3 j1 k0 = 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, S066
S068 · calculation
Before
Metric ORIGINAL via sum i3 j1 k1 := sum(23, 0)
After
Metric ORIGINAL via sum i3 j1 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, S067
S069 · calculation
Before
Metric ORIGINAL via sum i3 j1 k2 := sum(23, 11)
After
Metric ORIGINAL via sum i3 j1 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, S068
S070 · calculation
Before
Metric ORIGINAL via sum i3 j1 k3 := sum(23, 23)
After
Metric ORIGINAL via sum i3 j1 k3 = 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, S069
S071 · implies
Before
source roles = [4, [[0, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 3, 1]
After
derived = [[33, 23, 12, 0], [33, 23, 34, 46], []]
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(12, 21)
After
Metric ORIGINAL via sum i3 j2 k0 = 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, S071
S073 · calculation
Before
Metric ORIGINAL via sum i3 j2 k1 := sum(12, 11)
After
Metric ORIGINAL via sum i3 j2 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, S072
S074 · calculation
Before
Metric ORIGINAL via sum i3 j2 k2 := sum(12, 0)
After
Metric ORIGINAL via sum i3 j2 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, S073
S075 · calculation
Before
Metric ORIGINAL via sum i3 j2 k3 := sum(12, 12)
After
Metric ORIGINAL via sum i3 j2 k3 = 24
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, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 3, 2]
After
derived = [[33, 23, 12, 0], [33, 23, 12, 24], []]
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, 33)
After
Metric ORIGINAL via sum i3 j3 k0 = 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, S076
S078 · calculation
Before
Metric ORIGINAL via sum i3 j3 k1 := sum(0, 23)
After
Metric ORIGINAL via sum i3 j3 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, S077
S079 · calculation
Before
Metric ORIGINAL via sum i3 j3 k2 := sum(0, 12)
After
Metric ORIGINAL via sum i3 j3 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, 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, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 0]], 3, 3]
After
derived = [[33, 23, 12, 0], [33, 23, 12, 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, 10, 21, 33], [10, 0, 11, 23], [21, 11, 0, 12], [33, 23, 12, 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