Main derivation
S01 · equivalent
Before
P\ \text{qualifies as convex}After
X\ \text{convex}\ \land\ f\ \text{convex on}\ XConditions: none
Rule: mko_cvxopt · Uses: G1, mko_cvxopt
Leaf basis: mko_cvxopt + def_unfold
By the MKO, qualification as a convex problem consists of two independent obligations: the feasible domain X is convex, and the objective f is convex on X. They must be checked separately (MKO para0); if either fails, P does not qualify.
S02 · implies
Before
x,y\in[0,5],\ \lambda\in[0,1]
After
\lambda x+(1-\lambda)y\in[0,5];\ X\ \text{convex}Conditions: \lambda\in[0,1]
Rule: L_interval · Uses: G1, L_interval, mko_cvxset
Leaf basis: L_interval + forall_intro
Apply Lemma L_interval (α=0, β=5): for arbitrary x, y∈[0,5] and λ∈[0,1], the convex combination stays in [0,5]. By the definition of a convex set and ∀-introduction, X is convex. The lemma is proved in S02.1 and S02.2.
S03 · equivalent
Before
G_f(x,y,\lambda)=\lambda f(x)+(1-\lambda)f(y)-f(\lambda x+(1-\lambda)y)
After
G_f(x,y,\lambda)=\lambda(1-\lambda)(x-y)^2
Conditions: none
Rule: L_gap1 · Uses: G1, L_gap1
Leaf basis: distributive + power_laws + add_inverse
The leading coefficient of f is 1, so Lemma L_gap1 (b=−6, c=10) applies: the Jensen gap of f equals λ(1−λ)(x−y)² for all reals x, y, λ. The lemma is proved in S03.1 (the linear and constant parts cancel) and S03.2 (the quadratic part becomes a perfect square); N1 checks the whole identity.
S04 · implies
Before
G_f=\lambda(1-\lambda)(x-y)^2,\ \lambda\in[0,1]
After
G_f\ge 0;\ f\ \text{convex on}\ XConditions: \lambda\in[0,1]
Rule: mko_cvxf · Uses: S02, S03, mono_nonneg, square_nonneg, mko_cvxf
Leaf basis: mono_nonneg + square_nonneg + mul_zero + forall_intro
λ≥0 and 1−λ≥0 give λ(1−λ)≥0; (x−y)²≥0; a product of nonnegative numbers is nonnegative, so G_f≥0, that is f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y). With x, y∈X and λ arbitrary, and X convex by S02, the definition gives that f is convex on X.
S05 · implies
Before
X\ \text{convex},\ f\ \text{convex on}\ XAfter
P\ \text{qualifies as a convex problem}Conditions: none
Rule: and_intro_elim · Uses: S01, S02, S04
Leaf basis: and_intro_elim
Both obligations hold, so by S01 P qualifies as a convex problem. This is only qualification: it says neither which point is optimal nor that an optimal point exists (MKO assumption a2).
S06 · implies
Before
x_1=1
After
0\le 1\le 5,\ x_1\in X
Conditions: none
Rule: set_builder · Uses: G1, G2, set_builder
Leaf basis: set_builder + order_basics
Feasibility means membership in X=[0,5]={x ∣ 0≤x≤5}. 0≤1 and 1≤5, so x₁ is feasible.
S07 · implies
Before
x_2=4,\ x_3=-1
After
0\le 4\le 5\ (x_2\in X);\ -1<0\ (x_3\notin X)
Conditions: none
Rule: set_builder · Uses: G1, G2, set_builder
Leaf basis: set_builder + order_basics
0≤4≤5, so x₂ is feasible. −1<0 violates the lower bound, so x₃ is infeasible; whatever f(−1)=17 is, x₃ is not a candidate for P and cannot enter the comparison.
S08 · equivalent
Before
f(1)
After
f(1)=1-6+10=5
Conditions: none
Rule: numeric_evaluation · Uses: G1, S06
Leaf basis: numeric_evaluation
Single-point evaluation: f(1)=1²−6·1+10=1−6+10=5.
S09 · equivalent
Before
f(4)
After
f(4)=16-24+10=2
Conditions: none
Rule: numeric_evaluation · Uses: G1, S07
Leaf basis: numeric_evaluation
Single-point evaluation: f(4)=4²−6·4+10=16−24+10=2.
S10 · implies
Before
f(x_1)=5,\ f(x_2)=2
After
f(x_2)<f(x_1)\ \text{(smaller objective value at }x_2\text{)}Conditions: none
Rule: order_basics · Uses: S06, S07, S08, S09
Leaf basis: order_basics + numeric_evaluation
Comparison of the two feasible candidates: 2<5, so between the two points {x₁,x₂}, x₂ has the lower objective value. This conclusion concerns these two points only (MKO para2) and says nothing about the other points of X.
S11 · implies
Before
3\in X,\ f(3)=9-18+10=1
After
f(3)=1<2=f(x_2);\ x_2\ \text{is not a minimizer of}\ PConditions: none
Rule: minimizer_def · Uses: S10, minimizer_def, quantifier_negation
Leaf basis: minimizer_def + quantifier_negation + numeric_evaluation
3 is feasible (0≤3≤5), and single-point evaluation gives f(3)=9−18+10=1<2=f(4). By the definition of a minimizer, x₂ would need f(4)≤f(x) for every feasible x; x=3 violates this, so x₂ is not optimal for P. The winner of a two-candidate comparison is not the optimum of the whole problem. Nor does this guide claim that 3 is a minimizer: that would need an optimality certificate outside this slice.
S12 · implies
Before
s,t\in(0,1],\ \lambda\in[0,1]
After
\lambda s+(1-\lambda)t\in(0,1];\ X'\ \text{convex}Conditions: \lambda\in[0,1]
Rule: L_halfopen · Uses: G3, L_halfopen, mko_cvxset
Leaf basis: L_halfopen + forall_intro
Turn to P′. By Lemma L_halfopen, a convex combination of two points of (0,1] stays in (0,1], so X′ is convex (a half-open interval is also an explicit real interval). The lemma is proved in S12.1 (strictly positive) and S12.2 (at most 1).
S13 · implies
Before
f_0(x)=x^2\ \text{on}\ X'=(0,1]After
G_{f_0}=\lambda(1-\lambda)(x-y)^2\ge 0;\ P'\ \text{qualifies as convex}Conditions: \lambda\in[0,1]
Rule: mko_cvxopt · Uses: S12, L_gap1, mono_nonneg, square_nonneg, mko_cvxopt
Leaf basis: L_gap1 + mono_nonneg + square_nonneg + and_intro_elim
f₀ is the case b=c=0 of L_gap1, with Jensen gap λ(1−λ)(x−y)²≥0 (by the same sign argument as S04), so f₀ is convex on the convex set X′. Both obligations hold, so P′ qualifies as a convex problem.
S14 · implies
Before
x\in(0,1]
After
\tfrac{x}{2}\in(0,1],\ f_0(\tfrac{x}{2})=\tfrac{x^2}{4}<x^2=f_0(x)Conditions: x>0
Rule: minimizer_def · Uses: G3, S13, minimizer_def
Leaf basis: minimizer_def + square_nonneg + order_basics + frac_rules
Take any feasible x∈(0,1]. x/2>0 and x/2<x≤1, so x/2 is feasible too. x²−(x/2)²=3x²/4, and x≠0 gives x²>0, hence 3x²/4>0, that is f₀(x/2)<f₀(x). By the definition of a minimizer, x is not a minimizer.
S15 · implies
Before
\forall x\in X':\ x\ \text{is not a minimizer}After
P'\ \text{is convex but has no minimizer}Conditions: none
Rule: forall_intro · Uses: S13, S14, forall_intro, quantifier_negation
Leaf basis: forall_intro + quantifier_negation
The x in S14 was arbitrary, so by ∀-introduction no point of X′ is a minimizer, i.e. P′ has no minimizer (the infimum 0 of f₀ on X′ is not attained, since 0∉X′). Yet P′ qualifies as convex (S13). So 'a convex problem has a (unique) global solution' is false: qualification does not guarantee that a solution exists.
Substeps and lemmas
S02.1 · implies
Before
\alpha\le s,\ \alpha\le t,\ 0\le\lambda\le 1
After
\alpha=\lambda\alpha+(1-\lambda)\alpha\le\lambda s+(1-\lambda)t
Conditions: \lambda\ge 0; 1-\lambda\ge 0
Rule: mono_nonneg · Uses: mono_nonneg, ineq_add, distributive
Leaf basis: mono_nonneg + ineq_add + distributive
λ≥0 and 1−λ≥0. Multiplying α≤s by λ and α≤t by 1−λ keeps the direction; adding, the left side equals (λ+1−λ)α=α by distributivity.
S02.2 · 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: mono_nonneg · Uses: S02.1, mono_nonneg, ineq_add, distributive
Leaf basis: mono_nonneg + ineq_add + distributive
The upper bound is symmetric: multiply s≤β by λ and t≤β by 1−λ, add and simplify to β. S02.1 and S02.2 prove L_interval.
S03.1 · equivalent
Before
\lambda(bx+c)+(1-\lambda)(by+c)-\big(b(\lambda x+(1-\lambda)y)+c\big)
After
0
Conditions: none
Rule: distributive · Uses: distributive
Leaf basis: distributive + add_inverse + mul_one
The linear part λbx+(1−λ)by−b(λx+(1−λ)y)=0 and the constant part λc+(1−λ)c−c=0, both by distributivity, for any b, c.
S03.2 · equivalent
Before
\lambda x^2+(1-\lambda)y^2-(\lambda x+(1-\lambda)y)^2
After
\lambda(1-\lambda)(x-y)^2
Conditions: none
Rule: distributive · Uses: S03.1, distributive, power_laws
Leaf basis: distributive + power_laws + mul_comm
Expand (λx+(1−λ)y)²=λ²x²+2λ(1−λ)xy+(1−λ)²y². The coefficient of x² is λ−λ²=λ(1−λ), that of y² is (1−λ)−(1−λ)²=λ(1−λ), and that of xy is −2λ(1−λ); together this is λ(1−λ)(x−y)². Adding the 0 of S03.1 proves L_gap1.
S12.1 · case_split
Before
0<s,\ 0<t,\ 0\le\lambda\le 1
After
\lambda s+(1-\lambda)t>0
Conditions: none
Rule: case_analysis · Uses: mono_nonneg, order_basics, case_analysis
Leaf basis: case_analysis + order_basics + mono_nonneg
Two cases. λ>0: λs>0 (a product of two positive numbers), and (1−λ)t≥0 (multiply 0≤t by 1−λ≥0); a positive number plus a nonnegative one is positive. λ=0: the sum equals t>0. For λ∈[0,1] these are the only two cases, so λs+(1−λ)t>0.
S12.2 · implies
Before
s\le 1,\ t\le 1
After
\lambda s+(1-\lambda)t\le\lambda+(1-\lambda)=1
Conditions: \lambda\ge 0; 1-\lambda\ge 0
Rule: mono_nonneg · Uses: S12.1, mono_nonneg, ineq_add, distributive
Leaf basis: mono_nonneg + ineq_add + distributive
Multiply s≤1 by λ and t≤1 by 1−λ and add: λs+(1−λ)t≤λ+(1−λ)=1. S12.1 and S12.2 prove L_halfopen.