Step-by-step derivation
S001 · implies
Before
source roles = [lagrange-single-linear-constraint]
After
derived = [[center, constraint_gradient, constraint_rhs, normal_displacement_coefficient, solution_point, multiplier, objective_gradient, feasible, stationary, specified_problem_scope]]
Conditions: none
List the complete operation/mode field order without JavaScript or answer-shape inference;Boolean,string,null and an unclaimed result remain distinct.
Step identifiers and dependencies
Rule: source_ordered_fields_without_JS · Uses: G001
S002 · calculation
Before
Lagrange single ORIGINAL normal squared norm ORIGINAL product0 := mul(1, 1)
After
Lagrange single ORIGINAL normal squared norm ORIGINAL product0 = 1
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Lagrange single ORIGINAL normal squared norm ORIGINAL running sum0 := sum(0, 1)
After
Lagrange single ORIGINAL normal squared norm ORIGINAL running sum0 = 1
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Lagrange single ORIGINAL normal squared norm ORIGINAL product1 := mul(5, 5)
After
Lagrange single ORIGINAL normal squared norm ORIGINAL product1 = 25
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Lagrange single ORIGINAL normal squared norm ORIGINAL running sum1 := sum(1, 25)
After
Lagrange single ORIGINAL normal squared norm ORIGINAL running sum1 = 26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Lagrange single ORIGINAL normal dot center ORIGINAL product0 := mul(1, 4)
After
Lagrange single ORIGINAL normal dot center ORIGINAL product0 = 4
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Lagrange single ORIGINAL normal dot center ORIGINAL running sum0 := sum(0, 4)
After
Lagrange single ORIGINAL normal dot center ORIGINAL running sum0 = 4
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Lagrange single ORIGINAL normal dot center ORIGINAL product1 := mul(5, 4)
After
Lagrange single ORIGINAL normal dot center ORIGINAL product1 = 20
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Lagrange single ORIGINAL normal dot center ORIGINAL running sum1 := sum(4, 20)
After
Lagrange single ORIGINAL normal dot center ORIGINAL running sum1 = 24
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Lagrange single ORIGINAL rhs minus center value := sub(7, 24)
After
Lagrange single ORIGINAL rhs minus center value = -17
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Lagrange single ORIGINAL normal displacement := div(-17, 26)
After
Lagrange single ORIGINAL normal displacement = -17/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Lagrange single ORIGINAL normal shift0 := mul(-17/26, 1)
After
Lagrange single ORIGINAL normal shift0 = -17/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Lagrange single ORIGINAL solution coordinate0 := sum(4, -17/26)
After
Lagrange single ORIGINAL solution coordinate0 = 87/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Lagrange single ORIGINAL normal shift1 := mul(-17/26, 5)
After
Lagrange single ORIGINAL normal shift1 = -85/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Lagrange single ORIGINAL solution coordinate1 := sum(4, -85/26)
After
Lagrange single ORIGINAL solution coordinate1 = 19/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Lagrange single ORIGINAL multiplier2tau := mul(2, -17/26)
After
Lagrange single ORIGINAL multiplier2tau = -17/13
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
Lagrange single ORIGINAL displacement coordinate0 := sub(87/26, 4)
After
Lagrange single ORIGINAL displacement coordinate0 = -17/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
Lagrange single ORIGINAL objective gradient0 := mul(2, -17/26)
After
Lagrange single ORIGINAL objective gradient0 = -17/13
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
Lagrange single ORIGINAL displacement coordinate1 := sub(19/26, 4)
After
Lagrange single ORIGINAL displacement coordinate1 = -85/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
Lagrange single ORIGINAL objective gradient1 := mul(2, -85/26)
After
Lagrange single ORIGINAL objective gradient1 = -85/13
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
Lagrange single ORIGINAL full feasibility ORIGINAL product0 := mul(1, 87/26)
After
Lagrange single ORIGINAL full feasibility ORIGINAL product0 = 87/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
Lagrange single ORIGINAL full feasibility ORIGINAL running sum0 := sum(0, 87/26)
After
Lagrange single ORIGINAL full feasibility ORIGINAL running sum0 = 87/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
Lagrange single ORIGINAL full feasibility ORIGINAL product1 := mul(5, 19/26)
After
Lagrange single ORIGINAL full feasibility ORIGINAL product1 = 95/26
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
Lagrange single ORIGINAL full feasibility ORIGINAL running sum1 := sum(87/26, 95/26)
After
Lagrange single ORIGINAL full feasibility ORIGINAL running sum1 = 7
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
Lagrange single ORIGINAL lambda times normal0 := mul(-17/13, 1)
After
Lagrange single ORIGINAL lambda times normal0 = -17/13
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · calculation
Before
Lagrange single ORIGINAL lambda times normal1 := mul(-17/13, 5)
After
Lagrange single ORIGINAL lambda times normal1 = -85/13
Conditions: none
Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · implies
Before
source roles = [[4, 4], [1, 5], 7, 26, 24, -17/26, [87/26, 19/26], -17/13, [-17/13, -85/13]]
After
derived = [Yes, Yes, ANY feasible y=x+v has a dot v=0;f(y)=f(x)+norm(v)^2]
Conditions: none
A nonzero normal gives norm²>0 and tau solves a dot(c+tau a)=rhs.The objective is squared distance WITHOUT1/2,so gradient and lambda contain2.For any feasible y=x+v,the cross term2tau(a dot v)=0 and the objective difference is||v||²>=0.This specified problem has a unique minimum,not general sufficiency of multiplier equations.
Step identifiers and dependencies
Rule: Lagrange_specified_squared_distance_complete_orthogonality_certificate · Uses: G001, S026