Step-by-step derivation
S001 · implies
Before
[[0, 0], [1, 0], [0, 5]]
After
original vertex labels1,2,3 in an equal-unit orthogonal Euclidean frame
Conditions: none
Retain the original A,B,C order;the squared-coordinate formula uses equal units and orthogonal axes.Do not read values from a sketch or assume candidate vertices already form a triangle.
Step identifiers and dependencies
Rule: labelled_triangle_coordinate_scope · Uses: G001
S002 · implies
Before
[[0, 0], [1, 0], [0, 5]]
After
three distinct points=Yes
Conditions: none
Check distinctness separately from noncollinearity;collinear points may be distinct,while repeated vertices do not form a proper triangle.
Step identifiers and dependencies
Rule: distinct_triangle_vertex_check · Uses: G001, S001
S003 · calculation
Before
ABC first vector component0 := sub(1, 0)
After
ABC first vector component0 = 1
Conditions: none
The first edge vector is the second vertex minus the first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
ABC first vector component1 := sub(0, 0)
After
ABC first vector component1 = 0
Conditions: none
The first edge vector is the second vertex minus the first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
ABC second vector component0 := sub(0, 0)
After
ABC second vector component0 = 0
Conditions: none
The second edge vector is the third vertex minus that same first vertex.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
ABC second vector component1 := sub(5, 0)
After
ABC second vector component1 = 5
Conditions: none
The second edge vector is the third vertex minus that same first vertex.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
ABC cross positive term := mul(1, 5)
After
ABC cross positive term = 5
Conditions: none
Compute u_x v_y first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
ABC cross negative term := mul(0, 0)
After
ABC cross negative term = 0
Conditions: none
Compute u_y v_x separately,retaining subtraction for the next step.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
ABC signed determinant := sub(5, 0)
After
ABC signed determinant = 5
Conditions: none
Subtract to obtain signed double area;do not erase label orientation with an absolute value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · implies
Before
distinct=Yes;signed determinant=5
After
proper triangle=Yes
Conditions: none
A proper triangle needs distinct vertices and nonzero determinant;this judges the supplied coordinates,not a general geometric construction proof.
Step identifiers and dependencies
Rule: triangle_nondegenerate_coordinate_qualification · Uses: G001, S009
S011 · calculation
Before
BCA first vector component0 := sub(0, 1)
After
BCA first vector component0 = -1
Conditions: none
The first edge vector is the second vertex minus the first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
BCA first vector component1 := sub(5, 0)
After
BCA first vector component1 = 5
Conditions: none
The first edge vector is the second vertex minus the first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
BCA second vector component0 := sub(0, 1)
After
BCA second vector component0 = -1
Conditions: none
The second edge vector is the third vertex minus that same first vertex.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
BCA second vector component1 := sub(0, 0)
After
BCA second vector component1 = 0
Conditions: none
The second edge vector is the third vertex minus that same first vertex.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
BCA cross positive term := mul(-1, 0)
After
BCA cross positive term = 0
Conditions: none
Compute u_x v_y first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
BCA cross negative term := mul(5, -1)
After
BCA cross negative term = -5
Conditions: none
Compute u_y v_x separately,retaining subtraction for the next step.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
BCA signed determinant := sub(0, -5)
After
BCA signed determinant = 5
Conditions: none
Subtract to obtain signed double area;do not erase label orientation with an absolute value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
ACB first vector component0 := sub(0, 0)
After
ACB first vector component0 = 0
Conditions: none
The first edge vector is the second vertex minus the first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
ACB first vector component1 := sub(5, 0)
After
ACB first vector component1 = 5
Conditions: none
The first edge vector is the second vertex minus the first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
ACB second vector component0 := sub(1, 0)
After
ACB second vector component0 = 1
Conditions: none
The second edge vector is the third vertex minus that same first vertex.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
ACB second vector component1 := sub(0, 0)
After
ACB second vector component1 = 0
Conditions: none
The second edge vector is the third vertex minus that same first vertex.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
ACB cross positive term := mul(0, 0)
After
ACB cross positive term = 0
Conditions: none
Compute u_x v_y first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
ACB cross negative term := mul(5, 1)
After
ACB cross negative term = 5
Conditions: none
Compute u_y v_x separately,retaining subtraction for the next step.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
ACB signed determinant := sub(0, 5)
After
ACB signed determinant = -5
Conditions: none
Subtract to obtain signed double area;do not erase label orientation with an absolute value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · implies
Before
crossABC=5;crossBCA=5;crossACB=-5
After
cyclic order preserves sign;one transposition reverses it
Conditions: none
Each ordering was evaluated separately;a cyclic relabeling is not a two-vertex swap.Do not silently replace negative orientation by positive area.
Step identifiers and dependencies
Rule: cyclic_vs_swapped_triangle_labels · Uses: G001, S024