Main derivation
S01 · equivalent
Before
H\ \text{convex}After
\forall p,q\in H\ \forall\lambda\in[0,1]:\ \lambda p+(1-\lambda)q\in H
Conditions: none
Rule: mko_convex · Uses: G2, mko_convex
Leaf basis: mko_convex + def_unfold
Unfold 'H is convex' by the MKO's definition: for all points p, q in H and all λ in [0,1], the convex combination stays in H. This is a universal statement over three variables, so the proof must cover every case rather than check a few values of λ.
S02 · equivalent
Before
p=(x_1,y_1)\in H,\ q=(x_2,y_2)\in H,\ \lambda\in[0,1]
After
2x_1-3y_1\le 6,\ 2x_2-3y_2\le 6,\ 0\le\lambda\le 1
Conditions: none
Rule: set_builder · Uses: S01, G2, set_builder
Leaf basis: set_builder + def_unfold
Take arbitrary p, q in H and λ in [0,1], with no further assumption (so that ∀-introduction applies at the end). By set-builder notation, p∈H means 2x₁−3y₁≤6, q∈H means 2x₂−3y₂≤6, and λ∈[0,1] means 0≤λ≤1.
S03 · equivalent
Before
z=\lambda p+(1-\lambda)q
After
z=(\lambda x_1+(1-\lambda)x_2,\ \lambda y_1+(1-\lambda)y_2)
Conditions: none
Rule: coord_ops · Uses: G1, S02, coord_ops
Leaf basis: coord_ops + eq_replace
By the coordinatewise operations of G1: λp=(λx₁,λy₁) and (1−λ)q=((1−λ)x₂,(1−λ)y₂); adding gives the two coordinates of z.
S04 · equivalent
Before
2z_1-3z_2
After
\lambda(2x_1-3y_1)+(1-\lambda)(2x_2-3y_2)
Conditions: none
Rule: distributive · Uses: S03
Leaf basis: distributive + mul_comm + add_comm + add_assoc
Substitute z₁=λx₁+(1−λ)x₂ and z₂=λy₁+(1−λ)y₂ into 2z₁−3z₂, expand and regroup by λ and 1−λ: 2λx₁+2(1−λ)x₂−3λy₁−3(1−λ)y₂=λ(2x₁−3y₁)+(1−λ)(2x₂−3y₂). So the linear form at a convex combination is the combination of its endpoint values with the same weights (N1 checks this polynomial identity).
S05 · implies
Before
0\le\lambda\le 1
After
\lambda\ge 0,\ 1-\lambda\ge 0
Conditions: none
Rule: order_basics · Uses: S02, order_basics
Leaf basis: order_basics
λ≥0 comes directly from S02. From λ≤1, adding −λ to both sides gives 0≤1−λ. Both weights are nonnegative, which is what keeps the direction of the inequalities in the next step.
S06 · implies
Before
2x_1-3y_1\le 6,\ 2x_2-3y_2\le 6
After
\lambda(2x_1-3y_1)\le 6\lambda,\ (1-\lambda)(2x_2-3y_2)\le 6(1-\lambda)
Conditions: \lambda\ge 0; 1-\lambda\ge 0
Rule: L_mono · Uses: S02, S05, L_mono
Leaf basis: L_mono
Apply Lemma L_mono twice: multiply the first inequality by w=λ≥0 and the second by w=1−λ≥0; the direction stays the same. The lemma is proved in S06.1 and S06.2 by the cases w>0 and w=0.
S07 · implies
Before
\lambda(2x_1-3y_1)\le 6\lambda,\ (1-\lambda)(2x_2-3y_2)\le 6(1-\lambda)
After
2z_1-3z_2\le 6\lambda+6(1-\lambda)=6
Conditions: none
Rule: ineq_add · Uses: S04, S06, ineq_add
Leaf basis: ineq_add + distributive + eq_replace
Add the two inequalities; by S04 the left side is exactly 2z₁−3z₂, and by distributivity the right side is 6λ+6(1−λ)=6(λ+1−λ)=6. So 2z₁−3z₂≤6.
S08 · implies
Before
2z_1-3z_2\le 6
After
z\in H\ \text{for all } p,q\in H,\ \lambda\in[0,1];\ H\ \text{convex}Conditions: none
Rule: forall_intro · Uses: S07, S01, S02, forall_intro
Leaf basis: forall_intro + set_builder
By set-builder notation, 2z₁−3z₂≤6 means z∈H. The p, q, λ of S02 were arbitrary, with no extra assumption, so by ∀-introduction the universal statement of S01 holds: H is convex. This is a complete certificate covering every λ∈[0,1], not a sample.
S09 · equivalent
Before
B\ \text{convex}After
\forall p,q\in B\ \forall\lambda\in[0,1]:\ -1\le z_1\le 2\ \land\ 0\le z_2\le 3
Conditions: none
Rule: cartesian_product_def · Uses: G3, S03, mko_convex, cartesian_product_def
Leaf basis: cartesian_product_def + def_unfold
Unfold the convexity of B by the definition and use B=[−1,2]×[0,3]: z∈B is equivalent to the first coordinate lying in [−1,2] and the second in [0,3]. By S03 (the same coordinatewise computation), z₁=λx₁+(1−λ)x₂ and z₂=λy₁+(1−λ)y₂, while p, q∈B give −1≤x₁,x₂≤2 and 0≤y₁,y₂≤3. The box conditions separate by coordinate, so it suffices to prove the interval condition in each coordinate.
S10 · implies
Before
-1\le x_1,x_2\le 2,\ 0\le y_1,y_2\le 3,\ \lambda\in[0,1]
After
-1\le z_1\le 2,\ 0\le z_2\le 3
Conditions: \lambda\in[0,1]
Rule: L_interval · Uses: S09, L_interval
Leaf basis: L_interval
Apply Lemma L_interval to the first coordinate (α=−1, β=2, s=x₁, t=x₂) and to the second (α=0, β=3, s=y₁, t=y₂). The lemma is proved for arbitrary α≤β in S10.1 to S10.3, so it covers every λ∈[0,1] at once.
S11 · implies
Before
-1\le z_1\le 2,\ 0\le z_2\le 3
After
z\in B\ \text{for all } p,q\in B,\ \lambda\in[0,1];\ B\ \text{convex}Conditions: none
Rule: forall_intro · Uses: S10, S09, forall_intro
Leaf basis: forall_intro + and_intro_elim
The two coordinate conditions together are, by the equivalence of S09, z∈B. Since p, q, λ were arbitrary, ∀-introduction gives that B is convex. This is what the MKO means by handling all λ for a box with coordinatewise upper and lower bound certificates.
S12 · equivalent
Before
\neg(F\ \text{convex})After
\exists p,q\in F\ \exists\lambda\in[0,1]:\ \lambda p+(1-\lambda)q\notin F
Conditions: none
Rule: quantifier_negation · Uses: G4, mko_convex, quantifier_negation
Leaf basis: quantifier_negation + def_unfold
Negate the definition of convexity: ¬∀ is equivalent to ∃¬. So to refute the convexity of F it suffices to find one choice of p, q∈F and λ∈[0,1] whose convex combination is not in F.
S13 · equivalent
Before
p=(0,0),\ q=(2,0),\ \lambda=\tfrac12
After
\tfrac12 p+\tfrac12 q=(1,0)
Conditions: none
Rule: coord_ops · Uses: G1, G4, coord_ops
Leaf basis: coord_ops + numeric_evaluation
Take p=(0,0) and q=(2,0) in F and λ=1/2∈[0,1]. Coordinatewise: (1/2)·0+(1/2)·2=1 and (1/2)·0+(1/2)·0=0, so the midpoint is (1,0).
S14 · implies
Before
(1,0)\ \text{vs.}\ (0,0),(2,0),(0,2)After
(1,0)\notin F
Conditions: none
Rule: cartesian_product_def · Uses: S13, G4, cartesian_product_def
Leaf basis: cartesian_product_def + numeric_evaluation
F has exactly three elements. Equal ordered pairs need equal coordinates: the first coordinates of (1,0) against (0,0), (2,0), (0,2) are 1 vs 0, 1 vs 2 and 1 vs 0, all different. So (1,0) equals no element of F, and (1,0)∉F.
S15 · implies
Before
p=(0,0),\ q=(2,0)\in F,\ \lambda=\tfrac12,\ (1,0)\notin F
After
F\ \text{is not convex}Conditions: none
Rule: exists_intro · Uses: S12, S13, S14, exists_intro
Leaf basis: exists_intro + quantifier_negation
S13 and S14 give specific p, q, λ whose convex combination is not in F; by ∃-introduction the existential statement of S12 holds, so F is not convex. One exact counterexample suffices to refute (MKO para2).
S16 · implies
Before
\lambda\in\{0,1\}After
1\cdot p+0\cdot q=p\in F,\ 0\cdot p+1\cdot q=q\in F
Conditions: none
Rule: mul_zero · Uses: S15, G1, mul_zero
Leaf basis: mul_zero + mul_one + add_zero
For any set and any p, q in it, λ=1 gives p and λ=0 gives q, both in the set. So F passes every check with λ∈{0,1}, yet S15 proved F is not convex. Hence passing a check at finitely many λ (for example the endpoints) does not imply convexity; a positive conclusion needs a certificate covering every λ, as in S02 to S08.
Substeps and lemmas
S06.1 · implies
Before
u\le v,\ w>0
After
wu\le wv
Conditions: w>0
Rule: order_basics · Uses: order_basics, eq_congruence
Leaf basis: order_basics + eq_congruence + case_analysis
u≤v means u<v or u=v. If u<v, then since w>0 the order of the reals gives wu<wv; if u=v, multiplying both sides by w gives wu=wv. In both cases wu≤wv.
S06.2 · implies
Before
u\le v,\ w=0
After
wu=0=wv,\ \text{so}\ wu\le wvConditions: w=0
Rule: case_analysis · Uses: S06.1, mul_zero, case_analysis
Leaf basis: mul_zero + case_analysis
If w=0, multiplying by zero gives wu=0=wv, so wu≤wv also holds. w≥0 allows only w>0 (S06.1) and w=0 (this step), so the case analysis is complete. S06.1 and S06.2 together prove Lemma L_mono.
S10.1 · implies
Before
\alpha\le s,\ \alpha\le t
After
\lambda\alpha+(1-\lambda)\alpha\le\lambda s+(1-\lambda)t
Conditions: \lambda\ge 0; 1-\lambda\ge 0
Rule: L_mono · Uses: L_mono, ineq_add, S05
Leaf basis: L_mono + ineq_add
By L_mono (proved in S06.1 and S06.2), multiplying α≤s by λ≥0 gives λα≤λs, and multiplying α≤t by 1−λ≥0 gives (1−λ)α≤(1−λ)t (the weights are nonnegative as in S05). Adding the two gives the lower bound.
S10.2 · equivalent
Before
\lambda\alpha+(1-\lambda)\alpha
After
\alpha
Conditions: none
Rule: distributive · Uses: S10.1, distributive
Leaf basis: distributive + mul_one + add_inverse
By distributivity λα+(1−λ)α=(λ+1−λ)α=1·α=α. Substituting into S10.1 gives α≤λs+(1−λ)t.
S10.3 · implies
Before
s\le\beta,\ t\le\beta
After
\lambda s+(1-\lambda)t\le\lambda\beta+(1-\lambda)\beta=\beta
Conditions: \lambda\ge 0; 1-\lambda\ge 0
Rule: L_mono · Uses: S10.1, S10.2, L_mono, ineq_add
Leaf basis: L_mono + ineq_add + distributive
The upper bound follows similarly: multiply s≤β by λ and t≤β by 1−λ, add, and use the computation of S10.2 with β in place of α to get β. S10.1 to S10.3 together prove Lemma L_interval.