Original question and givens
Use the complete explicitly supplied finite candidate grid, integer constraints A*x+B*y≤c and linear objective u*x+v*y. Feasibility precedes objective comparison; an optimum among these candidates is not a general continuous-domain LP optimum or dual certificate. points=[[0, 0], [1, 3], [2, 4], [1, 2]], objective [u,v]=[2, 2]. Normalize tuple collections by removing identical tuples and sorting their JSON strings with the source’s en-locale comparison. This is canonical record order, not numerical coordinate order; number any output rows from 0 only after that normalization. Give (objective,every [canonical index,x,y,u*x+v*y] row). No constraints are checked in this family.
G001 — Use the complete explicitly supplied finite candidate grid, integer constraints A*x+B*y≤c and linear objective u*x+v*y. Feasibility precedes objective comparison; an optimum among these candidates is not a general continuous-domain LP optimum or dual certificate. points=[[0, 0], [1, 3], [2, 4], [1, 2]], objective [u,v]=[2, 2]. Normalize tuple collections by removing identical tuples and sorting their JSON strings with the source’s en-locale comparison. This is canonical record order, not numerical coordinate order; number any output rows from 0 only after that normalization. Give (objective,every [canonical index,x,y,u*x+v*y] row). No constraints are checked in this family.
Step-by-step derivation
S001 · implies
Before
explicit finite candidate grid and linear rows a·x+b·y≤c
After
keep candidate-grid optimization separate from continuous LP
Conditions: none
Audit only the listed finite candidates;without a complete-vertex or full-feasible-domain certificate,this is not a general continuous-LP optimum claim.
Step identifiers and dependencies
Rule: finite_LP_scope · Uses: G001
S002 · implies
Before
[[0, 0], [1, 3], [2, 4], [1, 2]]
After
deduplicated canonical indexed points=[[0, 0, 0], [1, 1, 2], [2, 1, 3], [3, 2, 4]]
Conditions: none
Keep the original data;output indices follow the source contract's sorted distinct points,not original input positions.
Step identifiers and dependencies
Rule: candidate_index_normalization · Uses: G001, S001
S003 · calculation
Before
point0 objective first term := mul(2, 0)
After
point0 objective first term = 0
Conditions: none
Use the same coordinate order in the objective.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
point0 objective second term := mul(2, 0)
After
point0 objective second term = 0
Conditions: none
Multiply the second objective coefficient by the second coordinate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
point0 objective := sum(0, 0)
After
point0 objective = 0
Conditions: none
Sum the complete two products.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
point1 objective first term := mul(2, 1)
After
point1 objective first term = 2
Conditions: none
Use the same coordinate order in the objective.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
point1 objective second term := mul(2, 2)
After
point1 objective second term = 4
Conditions: none
Multiply the second objective coefficient by the second coordinate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
point1 objective := sum(2, 4)
After
point1 objective = 6
Conditions: none
Sum the complete two products.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
point2 objective first term := mul(2, 1)
After
point2 objective first term = 2
Conditions: none
Use the same coordinate order in the objective.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
point2 objective second term := mul(2, 3)
After
point2 objective second term = 6
Conditions: none
Multiply the second objective coefficient by the second coordinate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
point2 objective := sum(2, 6)
After
point2 objective = 8
Conditions: none
Sum the complete two products.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
point3 objective first term := mul(2, 2)
After
point3 objective first term = 4
Conditions: none
Use the same coordinate order in the objective.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
point3 objective second term := mul(2, 4)
After
point3 objective second term = 8
Conditions: none
Multiply the second objective coefficient by the second coordinate.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
point3 objective := sum(4, 8)
After
point3 objective = 12
Conditions: none
Sum the complete two products.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · implies
Before
[[0, 0, 0, 0], [1, 1, 2, 6], [2, 1, 3, 8], [3, 2, 4, 12]]
After
objective values alone do not certify feasibility
Conditions: none
This operation supplies no constraints;objective values alone establish neither feasibility nor optimality.
Step identifiers and dependencies
Rule: objective_not_constraint · Uses: G001, S014
S016 · implies
Before
finite candidates have been completely audited
After
no unlisted-point or general-LP optimality claim
Conditions: none
A best value in the finite list does not exclude a better unlisted feasible point;script PASS does not lift this boundary.
Step identifiers and dependencies
Rule: finite_grid_boundary · Uses: G001, S015
Result
([2, 2], [[0, 0, 0, 0], [1, 1, 2, 6], [2, 1, 3, 8], [3, 2, 4, 12]])
The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.