Goal and scope
Constraints 3x+2y≤12, x+2y≤6, −x≤0, −y≤0; objective: maximize L(x,y)=x+y. For the seven supplied candidates P1=(0,0), P2=(4,0), P3=(3,1), P4=(2,2), P5=(0,3), P6=(4,1), P7=(3,2), check feasibility constraint by constraint, compare objective values only among feasible candidates, and find the best value among the candidates and all points attaining it; then use the feasible point Q=(3,3/2) and an inequality certificate to prove that the maximum over the continuous feasible region is 9/2, not the candidate value 4.
Works inside the MKO's scope: integer-coefficient constraints ax+by≤c in two variables, an integer-coefficient objective and a complete explicitly supplied finite candidate list (assumption a1). Enumerating candidates yields only 'best among the supplied candidates' (assumption a2). The maximum over the continuous feasible region is proved separately with one feasible witness point and one inequality certificate built from nonnegative weights; this is specific to this problem and proves no general vertex or duality theorem. The canonical MKO and its English edition are not changed.
Main derivation
S01 · definition
Before
\text{linear program with supplied candidates}After
\max L(x,y)=x+y\ \text{s.t.}\ C_1,C_2,C_3,C_4;\ K=\{P_1,P_2,P_3,P_4,P_5,P_6,P_7\}Conditions: none
Rule: mko_lp · Uses: G1, G2, G3, mko_lp
Leaf basis: mko_lp + def_intro
By the MKO, a linear program consists of a linear objective and linear constraints. Two different sets appear here: the supplied candidate set K (seven points) and the continuous feasible region F_ℝ. S02 to S11 work on K only, and their conclusion is called 'best among the supplied candidates'; only S12 to S15 discuss F_ℝ.
S02 · equivalent
Before
P\in F_K
After
P\in K\ \land\ C_1(P)\land C_2(P)\land C_3(P)\land C_4(P)
Conditions: none
Rule: def_unfold · Uses: S01, G1, set_builder
Leaf basis: set_builder + def_unfold + and_intro_elim
Definition of a feasible candidate: P is feasible exactly when all four constraints hold. This is a conjunction: check constraint by constraint first, then compare objective values only among feasible candidates (MKO, first paragraph). The constraints use '≤', so equality also satisfies them.
S03 · equivalent
Before
C_1,C_2,C_3,C_4\ \text{at}\ P_1,\ P_2,\ P_3,\ P_4,\ P_5,\ P_6,\ P_7After
\text{table of left-hand sides}Conditions: none
Rule: numeric_evaluation · Uses: G1, G2
Leaf basis: numeric_evaluation
Substitute every candidate into the left side of every constraint, in three sub-steps: C1, C2, and the sign constraints C3 and C4.
S04 · implies
Before
P_1,\ P_2,\ P_3,\ P_4,\ P_5
After
C_1\land C_2\land C_3\land C_4\ \text{hold}Conditions: none
Rule: and_intro_elim · Uses: S02, S03.1, S03.2, S03.3
Leaf basis: and_intro_elim + order_basics
For P1 to P5 the C1 values 0, 12, 11, 10, 6 are all ≤12, the C2 values 0, 4, 5, 6, 6 are all ≤6, and C3, C4 hold. All four constraints hold, so these five points are feasible. P2 makes C1 tight and P4, P5 make C2 tight; equality is still feasible.
S05 · implies
Before
P_6=(4,1),\ P_7=(3,2)
After
P_6,P_7\notin F_K
Conditions: none
Rule: de_morgan_logic · Uses: S02, S03.1, S03.2
Leaf basis: de_morgan_logic + order_basics
Negating a conjunction needs only one failing part: P6 has C1 value 14>12; P7 has C1 value 13>12 (and C2 value 7>6 fails too). So P6 and P7 are infeasible and take no part in comparing objective values.
S06 · equivalent
Before
F_K=\{P\in K\mid C_1\land C_2\land C_3\land C_4\}After
F_K=\{P_1,P_2,P_3,P_4,P_5\}Conditions: none
Rule: set_extensionality · Uses: S04, S05, G2
Leaf basis: set_extensionality + case_analysis
All seven elements of K have been decided: P1 to P5 are feasible (S04) and P6, P7 are not (S05). So the set of feasible candidates is exactly {P1,P2,P3,P4,P5}.
S07 · equivalent
Before
L(P_1),\ L(P_2),\ L(P_3),\ L(P_4),\ L(P_5)
After
0,\ 4,\ 4,\ 4,\ 3
Conditions: none
Rule: numeric_evaluation · Uses: S06, G1
Leaf basis: numeric_evaluation
Compute the objective only on feasible candidates: L(0,0)=0, L(4,0)=4, L(3,1)=4, L(2,2)=4, L(0,3)=3.
S08 · implies
Before
\max_{P\in F_K}L(P)After
4
Conditions: F_K\neq\varnothing
Rule: mko_opt · Uses: S07, mko_opt
Leaf basis: mko_opt + order_basics + finite_counting_basics
By the definition of maximization, find a feasible P* with L(P)≤L(P*) for every feasible P. The value 4 is attained by P2, and each of 0, 4, 4, 4, 3 is ≤4; so the maximum among the candidates is 4. F_K is a nonempty finite set, so a maximum exists.
S09 · equivalent
Before
\arg\max_{P\in F_K}L(P)After
\{P_2,P_3,P_4\}Conditions: none
Rule: mko_opt · Uses: S07, S08, mko_opt
Leaf basis: mko_opt + set_builder + numeric_evaluation
The feasible candidates attaining the maximum 4 are P2, P3 and P4, a three-way tie; P1 (0) and P5 (3) do not. By the MKO, the argmax keeps all tied points rather than reporting just one.
S10 · implies
Before
L(P_6)=5,\ L(P_7)=5
After
5>4\ \text{but}\ P_6,P_7\notin F_KConditions: none
Rule: mko_opt · Uses: S05, S08, G1
Leaf basis: mko_opt + numeric_evaluation
P6 and P7 both have objective value 5, larger than 4, but they are infeasible (S05), so they are outside the comparison and do not affect the maximum. Counting them would wrongly report 5 as the optimum, which is one of the mistakes named by the MKO.
S11 · implies
Before
\max_{F_K}L=4,\ \arg\max=\{P_2,P_3,P_4\}After
\text{best among the supplied candidates only}Conditions: none
Rule: mko_lp · Uses: S08, S09, mko_lp
Leaf basis: mko_lp
By the MKO, without a proof that the candidate list covers the feasible region, the conclusion can only be called 'best among the supplied candidates'. So far no step has considered points of F_ℝ that are not in K.
S12 · implies
Before
Q=(3,\tfrac{3}{2})After
Q\in F_{\mathbb{R}},\ L(Q)=\tfrac{9}{2}>4Conditions: none
Rule: numeric_evaluation · Uses: G1, G3, S08
Leaf basis: numeric_evaluation + order_basics + exists_intro
Take the point Q=(3,3/2) outside the candidate list: C1: 3·3+2·(3/2)=12≤12; C2: 3+2·(3/2)=6≤6; the coordinates are nonnegative, so C3 and C4 hold. Hence Q∈F_ℝ and L(Q)=3+3/2=9/2>4. Therefore the candidate best value 4 is not the maximum over the continuous feasible region.
S13 · implies
Before
(x,y)\in F_{\mathbb{R}}After
x+y\le\tfrac{9}{2}Conditions: none
Rule: order_basics · Uses: G1, G3
Leaf basis: order_basics + distributive + frac_rules
An inequality certificate: combining C1 and C2 with the nonnegative weights 1/4 and 1/4 gives x+y≤9/2 for every feasible point. Two sub-steps: one identity and one addition of inequalities. This is a proof for all points of F_ℝ, not a sample.
S14 · implies
Before
Q\in F_{\mathbb{R}},\ L(Q)=\tfrac{9}{2},\ \forall P\in F_{\mathbb{R}}:\ L(P)\le\tfrac{9}{2}After
\max_{F_{\mathbb{R}}}L=\tfrac{9}{2}Conditions: none
Rule: mko_opt · Uses: S12, S13
Leaf basis: mko_opt + and_intro_elim
Both conditions for a maximum hold: 9/2 is attained by the feasible point Q (S12), and every feasible point has value ≤9/2 (S13). So the maximum over the continuous feasible region is 9/2, larger than the candidate best 4.
S15 · implies
Before
x+y=\tfrac{9}{2},\ (x,y)\in F_{\mathbb{R}}After
(x,y)=(3,\tfrac{3}{2})Conditions: none
Rule: order_basics · Uses: S13.1, S13.2, S14, G1
Leaf basis: order_basics + eq_congruence + numeric_evaluation
If x+y=9/2, both inequalities in S13.2 must be equalities: if either were strict, the sum would be strictly below 9/2. So 3x+2y=12 and x+2y=6; subtracting gives 2x=6, x=3, and then y=3/2. Hence the continuous maximum is attained only at Q; Q is not in the candidate list, where the three tied points reach only 4.
Substeps and lemmas
S03.1 · equivalent
Before
3x+2y\ \text{at}\ P_1,\ P_2,\ P_3,\ P_4,\ P_5,\ P_6,\ P_7After
0,\ 12,\ 11,\ 10,\ 6,\ 14,\ 13
Conditions: none
Rule: numeric_evaluation · Uses: G1, G2
Leaf basis: numeric_evaluation + order_basics
3·0+2·0=0, 3·4+2·0=12, 3·3+2·1=11, 3·2+2·2=10, 3·0+2·3=6, 3·4+2·1=14, 3·3+2·2=13. Against the bound 12: the first five are ≤12, while 14 for P6 and 13 for P7 are >12.
S03.2 · equivalent
Before
x+2y\ \text{at}\ P_1,\ P_2,\ P_3,\ P_4,\ P_5,\ P_6,\ P_7After
0,\ 4,\ 5,\ 6,\ 6,\ 6,\ 7
Conditions: none
Rule: numeric_evaluation · Uses: G1, G2
Leaf basis: numeric_evaluation + order_basics
0+0=0, 4+0=4, 3+2=5, 2+4=6, 0+6=6, 4+2=6, 3+4=7. Against the bound 6: P1 to P6 are all ≤6 (P4, P5 and P6 with equality), while 7 for P7 is >6.
S03.3 · equivalent
Before
-x\le 0,\ -y\le 0\ \text{at all}\ P_iAfter
\text{true for all seven}Conditions: none
Rule: order_basics · Uses: G1, G2
Leaf basis: order_basics
All coordinates of the seven candidates are nonnegative integers from 0 to 4; for a nonnegative u, −u≤0. So C3 and C4 hold for every candidate, and feasibility is decided by C1 and C2 alone.
S13.1 · equivalent
Before
x+y
After
\tfrac{1}{4}(3x+2y)+\tfrac{1}{4}(x+2y)Conditions: none
Rule: distributive · Uses: distributive, frac_rules
Leaf basis: distributive + add_assoc + add_comm + frac_rules
Expand the right side: (1/4)(3x+2y)+(1/4)(x+2y)=(1/4)(4x+4y)=x+y. This identity holds for all real x and y (N11).
S13.2 · implies
Before
3x+2y\le 12,\ x+2y\le 6
After
\tfrac{1}{4}(3x+2y)+\tfrac{1}{4}(x+2y)\le\tfrac{12}{4}+\tfrac{6}{4}=\tfrac{9}{2}Conditions: \tfrac{1}{4}>0
Rule: order_basics · Uses: S13.1, G1, order_basics
Leaf basis: order_basics + frac_rules + numeric_evaluation
Multiply C1 by the positive number 1/4, keeping the direction: (1/4)(3x+2y)≤3; likewise C2: (1/4)(x+2y)≤3/2. Add the two inequalities (u1≤v1 and u2≤v2 give u1+u2≤v1+u2≤v1+v2) to get a sum ≤9/2; by S13.1, x+y≤9/2. With a negative weight, multiplication would reverse the inequality and the addition would fail.