Main derivation
S01 · definition
Before
w\ \text{convex combination of}\ v_1,v_2,v_3After
\exists\lambda:\ \lambda_i\ge0,\ \sum_i\lambda_i=1,\ \sum_i\lambda_iv_i=w
Conditions: n=3\ge1
Rule: mko_convex_def · Uses: mko_convex_def
Leaf basis: mko_convex_def + def_unfold
Unfold by the MKO: a convex combination needs three separate things: every weight nonnegative, the weights summing exactly to 1, and the weighted sum equal to the target (MKO paragraphs 0 and 2). A witness is a weight vector meeting all three.
S02 · implies
Before
\lambda=(\tfrac16,\tfrac13,\tfrac12)
After
\lambda_1,\lambda_2,\lambda_3\ge0
Conditions: none
Rule: order_basics · Uses: G2, S01
Leaf basis: order_basics
All three weights are positive rationals, hence nonnegative. This is the first condition.
S03 · equivalent
Before
\tfrac16+\tfrac13+\tfrac12
After
1
Conditions: none
Rule: numeric_evaluation · Uses: G2, S01
Leaf basis: numeric_evaluation + frac_rules
With a common denominator: 1/6+2/6+3/6=6/6=1 (N1), an exact equality. This is the second condition.
S04 · equivalent
Before
\tfrac16(0,0)+\tfrac13(6,0)+\tfrac12(0,6)
After
(2,3)=w
Conditions: none
Rule: vector_space_axioms · Uses: G1, G2, vector_space_axioms
Leaf basis: vector_space_axioms + cartesian_product_def
Reconstruct coordinatewise (S04.1, S04.2): first coordinate 2, second coordinate 3, which is exactly w. This is the third condition, the exact reconstruction of the target described in MKO paragraph 2.
S05 · implies
Before
\lambda_i\ge0,\ \sum\lambda_i=1,\ \sum\lambda_iv_i=w
After
w=(2,3)\ \text{is a convex combination of}\ v_1,v_2,v_3Conditions: none
Rule: exists_intro · Uses: S02, S03, S04, S01
Leaf basis: exists_intro + and_intro_elim
All three conditions pass, so λ=(1/6,1/3,1/2) is a witness, and ∃-introduction makes w a convex combination. The witness proves only that this point is a convex combination, not that the weights are unique (MKO assumption a2).
S06 · implies
Before
\tfrac12v_1+\tfrac12v_2+0\cdot v_3
After
(3,0)\ \text{with weights}\ (\tfrac12,\tfrac12,0)\ \text{convex}Conditions: \lambda_3=0
Rule: mko_convex_def · Uses: G3, S01
Leaf basis: mko_convex_def + numeric_evaluation
The weights 1/2, 1/2, 0 are all nonnegative (0 is nonnegative too) and sum to 1 (N5); reconstruction: first coordinate 1/2·6=3 (N4), second coordinate 0. So (3,0) is a convex combination; a zero weight is allowed and simply makes v_3 play no role.
S07 · implies
Before
\lambda v_2+(1-\lambda)v_3,\ \lambda\in[0,1]
After
(6\lambda,\ 6-6\lambda);\ \lambda=\tfrac13:\ (2,4)
Conditions: 0\le\lambda\le1
Rule: vector_space_axioms · Uses: G1, S01, vector_space_axioms
Leaf basis: vector_space_axioms + order_basics + distributive
A two-point convex combination uses λ and 1−λ (MKO paragraph 1): both are nonnegative exactly when 0≤λ≤1, and they sum to 1 automatically. The coordinates are (6λ, 6−6λ) (N6, N7 are identities), and as λ goes from 0 to 1 the point runs along the segment from v_3 to v_2. λ=1/3 gives (2,4) (N8, N9).
S08 · equivalent
Before
\sum_i\lambda_i=1,\ \sum_i\lambda_iv_i=(4,4)
After
\lambda=(-\tfrac13,\ \tfrac23,\ \tfrac23)\ \text{(the only solution)}Conditions: none
Rule: eq_congruence · Uses: G1, G3, p_affine_comb
Leaf basis: eq_congruence + mul_inverse_nonzero
Take any weights summing to 1 whose weighted sum is u=(4,4). Since v_1=(0,0), the first coordinate gives 6λ_2=4 and the second gives 6λ_3=4 (S08.1), so λ_2=λ_3=2/3; the total 1 gives λ_1=1−4/3=−1/3 (S08.2). Every step is an equivalence, so these are the only affine weights.
S09 · implies
Before
\lambda_1=-\tfrac13<0
After
u=(4,4)\ \text{affine but not a convex combination of}\ v_1,v_2,v_3Conditions: none
Rule: contradiction · Uses: S08, S01, p_affine_comb
Leaf basis: contradiction + order_basics
If u were a convex combination, its convex weights would be weights summing to 1, hence equal to (−1/3,2/3,2/3) by S08; but −1/3<0 (N12) violates nonnegativity, a contradiction. So u is not a convex combination; it is only an affine combination (the MKO: negative weights give only a general affine combination).
S10 · theorem_application
Before
\lambda_i\ge0,\ \sum\lambda_i=1,\ \ell(v_i)\le M
After
\ell\Big(\sum_i\lambda_iv_i\Big)\le M
Conditions: none
Rule: L_bound · Uses: L_bound
Leaf basis: L_bound + vector_space_axioms
Lemma L_bound (proved in S10.1, S10.2): under a linear functional, a convex combination does not exceed an upper bound of the values at the points. This gives a second exclusion method that does not need solving equations, and it visibly uses nonnegativity of the weights.
S11 · implies
Before
\ell(x,y)=x+y:\ \ell(v_1)=0,\ \ell(v_2)=6,\ \ell(v_3)=6
After
\ell(u)=8>6\ \Rightarrow\ u\ \text{not a convex combination}Conditions: none
Rule: contrapositive · Uses: S10, G1, G3
Leaf basis: contrapositive + L_bound + numeric_evaluation
Take ℓ(x,y)=x+y; its values at the three points are 0, 6, 6, so M=6. If u were a convex combination, L_bound would give ℓ(u)≤6, but ℓ(u)=4+4=8>6 (N14, N15). By contraposition u is not a convex combination, agreeing with S09. The affine weights (−1/3,2/3,2/3) give −1/3·0+2/3·6+2/3·6=8: the negative weight is exactly what pushes the value past the bound.
S12 · implies
Before
\lambda=(0.333,\ 0.333,\ 0.333)
After
\sum\lambda_i=0.999\neq1:\ \text{not convex weights}Conditions: none
Rule: numeric_evaluation · Uses: G3, S01, G1
Leaf basis: numeric_evaluation + frac_rules
0.333 is the exact rational 333/1000, and three of them add to 0.999 (N16), which is not 1 (N17), so the total condition fails and these are not convex weights; the weighted sum (1.998, 1.998) is not (2,2) either. The exact weights (1/3,1/3,1/3) sum to 1 (N18) and give (2,2), a valid witness. MKO assumption a1 does not accept floating-point approximations.
S13 · implies
Before
v_4=(3,3)
After
(3,3)=1\cdot v_4=\tfrac12v_2+\tfrac12v_3:\ \text{weights}\ (0,0,0,1)\ \text{and}\ (0,\tfrac12,\tfrac12,0)Conditions: none
Rule: mko_convex_def · Uses: G3, S01, G1
Leaf basis: mko_convex_def + numeric_evaluation
On the four points v_1, v_2, v_3, v_4, the point (3,3) has two convex weight vectors: (0,0,0,1) takes v_4 directly, and (0,1/2,1/2,0) gives (1/2·6, 1/2·6)=(3,3) (N19, N20). Both are nonnegative with total 1, yet they differ. So a convex-combination witness does not bring uniqueness of coordinates; affine independence guarantees uniqueness throughout a family, but is not necessary for uniqueness at an individual point. Here v_4 lies on the segment from v_2 to v_3 and the two witnesses show nonuniqueness at (3,3), not at every point.
S14 · implies
Before
\text{S05 to S13}After
\text{convex}\iff(\lambda_i\ge0)\land(\textstyle\sum\lambda_i=1)\land(\text{exact reconstruction})Conditions: none
Rule: and_intro_elim · Uses: S05, S06, S09, S11, S12, S13
Leaf basis: and_intro_elim
Summary: w=(2,3) has the witness (1/6,1/3,1/2); zero weights are allowed; u=(4,4) has a negative entry in its only affine weights and x+y=8>6, so it is not a convex combination; three weights of 0.333 sum to 0.999 and do not qualify; convex weights need not be unique.
Substeps and lemmas
S04.1 · equivalent
Before
\tfrac16\cdot0+\tfrac13\cdot6+\tfrac12\cdot0
After
2
Conditions: none
Rule: numeric_evaluation · Uses: G1, G2
Leaf basis: numeric_evaluation + mul_zero
First coordinate: only v_2 has a nonzero first coordinate, and 1/3·6=2 (N2).
S04.2 · equivalent
Before
\tfrac16\cdot0+\tfrac13\cdot0+\tfrac12\cdot6
After
3
Conditions: none
Rule: numeric_evaluation · Uses: G1, G2
Leaf basis: numeric_evaluation + mul_zero
Second coordinate: only v_3 has a nonzero second coordinate, and 1/2·6=3 (N3).
S08.1 · equivalent
Before
\lambda_1(0,0)+\lambda_2(6,0)+\lambda_3(0,6)=(4,4)
After
6\lambda_2=4,\ 6\lambda_3=4\ \Longleftrightarrow\ \lambda_2=\lambda_3=\tfrac23
Conditions: 6\neq0
Rule: cartesian_product_def · Uses: G1, cartesian_product_def
Leaf basis: cartesian_product_def + mul_inverse_nonzero
The weighted sum is (6λ_2, 6λ_3), equal coordinatewise to (4,4). Multiplying by 1/6 gives λ_2=λ_3=4/6=2/3 (N10). λ_1 does not appear in the coordinate equations because v_1 is the origin.
S08.2 · equivalent
Before
\lambda_1+\tfrac23+\tfrac23=1
After
\lambda_1=-\tfrac13
Conditions: none
Rule: eq_congruence · Uses: S08.1, eq_congruence
Leaf basis: eq_congruence + add_inverse + numeric_evaluation
Subtract 4/3 from both sides: λ_1=1−4/3=−1/3 (N11).
S10.1 · equivalent
Before
\ell\Big(\sum_i\lambda_iv_i\Big)
After
\sum_i\lambda_i\ell(v_i)
Conditions: none
Rule: distributive · Uses: vector_space_axioms, distributive
Leaf basis: distributive + finite_sum_rules
Write v_i=(x_i,y_i). Σλ_iv_i=(Σλ_ix_i, Σλ_iy_i), so ℓ takes the value αΣλ_ix_i+βΣλ_iy_i=Σλ_i(αx_i+βy_i)=Σλ_iℓ(v_i) (distributivity; N13 checks the identity for three points with α=β=1).
S10.2 · implies
Before
\sum_i\lambda_i\ell(v_i)
After
\le\sum_i\lambda_iM=M\sum_i\lambda_i=M
Conditions: \lambda_i\ge0; \sum_i\lambda_i=1
Rule: order_basics · Uses: S10.1, order_basics, finite_sum_rules
Leaf basis: order_basics + finite_sum_rules + mul_one
For each i, ℓ(v_i)≤M and λ_i≥0, and multiplying by a nonnegative number preserves ≤: λ_iℓ(v_i)≤λ_iM. Adding gives Σλ_iℓ(v_i)≤MΣλ_i=M. S10.1 and S10.2 prove Lemma L_bound. If some λ_i<0, multiplication would reverse the inequality and the step would fail.
Error controls and negative controls
Negative weights give only affine combinations
One misconception named by the MKO is to allow negative weights. u=(4,4) can be written −1/3v_1+2/3v_2+2/3v_3 with weights summing to 1, but that is only an affine combination. S08 proves these are the only affine weights, so S09 rules out a convex combination; S11 confirms this independently with the bound x+y≤6.
An approximate total is not exactly 1
Another misconception named by the MKO is to treat an approximation such as 0.999 as exactly 1. Three weights of 0.333 add to 0.999, not 1, so they do not qualify; a correct witness uses the exact rational 1/3. (The infinitely repeating 9s equal 1 as a real number, but the exercises use only finite, exact rational weights.)
A witness does not give unique coordinates
A third misconception named by the MKO is to claim unique coordinates directly from a convex combination. In S13, (3,3) has the two convex weight vectors (0,0,0,1) and (0,1/2,1/2,0) over v_1 through v_4. Uniqueness requires its own argument; affine independence is sufficient for uniqueness throughout a family, not necessary for uniqueness at every individual point; the uniqueness of affine weights for the three points v_1, v_2, v_3 in S08 came from solving the equations directly, not from the witness.
- The weights (−1/3,2/3,2/3) sum to 1, so u=(4,4) is a convex combination of v_1, v_2, v_3 →
reject — −1/3<0; moreover these are the only affine weights (S08, S09), and x+y=8>6 (S11). - (0.333,0.333,0.333) are convex weights →
reject — Their total is 0.999≠1 (S12). - (3,3)=1·v_4, so its convex coordinates over v_1 through v_4 are uniquely (0,0,0,1) →
reject — (0,1/2,1/2,0) also gives (3,3) (S13). - Convex weights must all be positive, so (3,0)=1/2v_1+1/2v_2+0v_3 is not a convex combination →
reject — The definition only requires λ_i≥0; zero weights are allowed (S06).