Alphabeta Math
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 13 results · all verified · 8 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 5 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Convex and Semicontinuous Functions on R^n: Examples and Counterexamples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-21Open item page →

The Euclidean norm and its square are convex, with a ball of subgradients at zero for the norm

Example

Let n≥1. The Euclidean norm is convex and its subdifferential at zero is the closed unit ball. The squared norm q(x)=∥x∥22 is strictly convex and satisfies

∂q(x)={2x}.

Facts & Assumptions

[L2]

A C2 function on an open convex set is convex if and only if its Hessian is positive semidefinite everywhere (A C2 function is convex exactly when its Hessian is positive semidefinite).

[L3]

A C2 function on an open convex set whose Hessian is positive definite everywhere is strictly convex (An everywhere-positive-definite Hessian implies strict convexity).

[L7]

Sums and scalar multiples of totally differentiable Euclidean maps are totally differentiable with the expected derivatives (Sums and scalar multiples of totally differentiable maps are totally differentiable with the expected derivatives).

Verification

technique · direct
1.1L1algebra

Homogeneity and the triangle inequality in [L1] give ∥(1−t)x+ty∥2≤(1−t)∥x∥2+t∥y∥2, so the norm is convex.

1.2L4algebra

If ∥v∥2≤1, [L4] gives ⟨v,y⟩≤∥y∥2, so v is a subgradient of the norm at zero. Conversely, a subgradient v satisfies ∥y∥2≥⟨v,y⟩ for all y; taking y=v gives ∥v∥2≥∥v∥22, hence ∥v∥2≤1.

2.1L2L3L5L6L7givenalgebra∎

Since q(x)=∑j<nxj2, coordinatewise differentiation with [L5]–[L7] gives gradient 2x and constant Hessian 2I, so q is C2 and its Hessian is positive definite. Thus [L2] gives convexity, [L3] gives strict convexity, and differentiable subgradient uniqueness gives ∂q(x)={2x}.

ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-21Open item page →

A finite maximum of affine functions and its active subgradients

Example

Let n,m≥1, let a1,…,am∈Rn, and let b1,…,bm∈R. Define f:Rn→R by

f(x)=max⁡1≤j≤m(⟨aj,x⟩+bj),

and let J(x)={j:f(x)=⟨aj,x⟩+bj} be the active index set. Then f is convex and

∂f(x)=conv⁡{aj:j∈J(x)}.

For the two-dimensional function f(x1,x2)=max⁡{x1,−x1,x2,−x2}, the subdifferential at zero is conv⁡{±e1,±e2}={v:∣v1∣+∣v2∣≤1}.

Facts & Assumptions

Given: The affine family above, subgradients as in Subgradients and the subdifferential of a convex function, and finite convex combinations as in Finite Jensen inequality for convex functions on Rn.

[L1]

The pointwise maximum of a nonempty finite family of convex functions on a common convex domain is convex (Nonnegative combinations, affine precomposition, and finite pointwise maxima preserve convexity).

[L2]

A point outside a nonempty closed convex set is strictly separated from it (A point outside a nonempty closed convex set is strictly separated from it).

[L5]

A compact subset of a metric space is closed and bounded (A compact subset of a metric space is closed and bounded).

Verification

technique · direct
1.1L1

Each affine constituent is convex, so [L1] makes their nonempty finite maximum f convex.

2.1step 1.1algebra

If j∈J(x), then f(y)≥⟨aj,y⟩+bj=f(x)+⟨aj,y−x⟩. Nonnegative weighted sums of these inequalities show that every convex combination of active slopes is a subgradient.

3.1step 2.1L2L3L4L5algebra∎

The active-weight simplex is closed and bounded, hence compact by [L3]; its affine image is compact by [L4] and closed by [L5]. If a subgradient v lay outside this active convex hull, [L2] would give a direction h with ⟨v,h⟩ strictly larger than every active ⟨aj,h⟩. Finiteness lets one choose t>0 small enough that inactive affine pieces remain below the active maximum at x+th. Then the subgradient inequality would require an increment at least t⟨v,h⟩, while the actual increment is tmax⁡j∈J(x)⟨aj,h⟩, a contradiction. The displayed four-piece formula follows from its four active slopes at zero.

CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

A convex function on [0,1] that is discontinuous at the boundary

Statement refuted

Every convex real-valued function on a convex subset of Euclidean space is continuous on its whole domain.

The counterexample below establishes: The function is convex on [0,1] but is not continuous at 0.

Facts & Assumptions

Given: Define f:[0,1]→R by f(0)=1 and f(x)=0 for 0<x≤1.

[F1]

The function f:C→R is convex when f((1−t)x+ty)≤(1−t)f(x)+tf(y) for all x,y∈C and t∈[0,1] (Convex and strictly convex functions on Euclidean convex sets).

[L1]

Every convex function on an open convex set is continuous on that set (A convex function on an open convex set is continuous).

Counterexample

technique · direct
1.1F1algebra

A convex combination of two domain points equals zero only when every endpoint having positive weight is zero. In that case [F1] is an equality. Otherwise the left side is zero and the right side is nonnegative, so [F1] again holds.

2.1step 1.1L1∎

For every positive x, f(x)=0, whereas f(0)=1, so the right-hand limit at zero is not the function value. The function is convex on [0,1] but is not continuous at 0. This does not contradict [L1], because the domain is not open at zero.

CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-21Open item page →

x↦−1−∥x∥22 has empty subdifferential on the unit-sphere boundary

Statement refuted

Every convex real-valued function on a closed convex domain has a subgradient at every domain point.

Facts & Assumptions

Given: Let B={x∈Rn:∥x∥2≤1} for n≥1 (The p-norms ∥x∥p for rational p≥1, and ∥x∥∞) and define f(x)=−1−∥x∥22 on B, with convexity as in Convex and strictly convex functions on Euclidean convex sets. For the comparison with the interior-point theorem, assume the Axiom of Choice and the Axiom of Countable Choice (The Axiom of Choice, The Axiom of Countable Choice (ACω)).

[F1]

A vector v is a subgradient of f at a when f(y)≥f(a)+⟨v,y−a⟩ for every y in the domain (Subgradients and the subdifferential of a convex function).

[L1]

Assuming the Axiom of Choice and the Axiom of Countable Choice, a convex function has nonempty subdifferential at every interior point of its domain (A convex function has a subgradient at every interior point of its domain).

Counterexample

technique · direct
1.1L2givenalgebra

Put sx=1−∥x∥22. The lifted vectors (x,sx) have norm one in Rn+1. By the triangle inequality in [L2], the convex combination ((1−t)x+ty,(1−t)sx+tsy) has norm at most one, so its nonnegative last coordinate is at most s(1−t)x+ty. Negating gives the convexity inequality for f on the whole closed ball.

2.1step 1.1F1algebra

Fix a unit vector u and suppose v satisfied [F1] at u. Testing y=αu for 0≤α<1 gives ⟨v,u⟩≥1−α21−α=1+α1−α. The right side is unbounded as α approaches 1, impossible for the fixed vector v. Hence ∂f(u)=∅.

3.1step 2.1L1∎

Step 2.1 applies to every sphere point, while [L1] gives nonempty subdifferentials at every interior point. Thus the interior hypothesis in the existence theorem is sharp.

CounterexampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passaudited 2026-08-21Open item page →

A lower semicontinuous function on [0,1] with no maximum

Statement refuted

Every lower semicontinuous real-valued function on a nonempty compact set attains both a minimum and a maximum.

Facts & Assumptions

Given: Define g:[0,1]→R by g(0)=−1 and g(x)=−x for 0<x≤1, with the one-dimensional convention identified by Upper and lower semicontinuity on subsets of Rn, Euclidean semicontinuity agrees with the published real-line definition.

[L1]

Lower semicontinuity is equivalent to relative openness of every strict superlevel set and to relative closedness of every weak sublevel set (Semicontinuity on Rn is characterized by strict open level sets and weak closed level sets).

[L2]

Every lower semicontinuous real-valued function on a nonempty compact Euclidean set is bounded below and attains a minimum (Semicontinuous extreme value theorem on compact Euclidean sets).

Counterexample

technique · direct
1.1L1givenalgebra

The weak sublevel {g≤α} is empty for α<−1, equals {0,1} at α=−1, equals {0}∪[−α,1] for −1<α<0, and is all of [0,1] for α≥0. Each is relatively closed, so [L1] makes g lower semicontinuous.

2.1step 1.1algebra

Every value of g is negative, but g(1/N)=−1/N approaches zero through positive natural N. Hence sup⁡g([0,1])=0 and the supremum is not attained, so g has no maximum.

3.1step 2.1L2∎

The function does attain its minimum −1 at zero, as [L2] requires. It is only the unsupported opposite extremum that fails.

ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

Characteristic functions of open and closed sets are one-sided semicontinuous

Example

Let n≥1, let X⊆Rn, and let E⊆X. The characteristic function 1E:X→R is lower semicontinuous when E is relatively open, and upper semicontinuous when E is relatively closed. On [0,1], the characteristic function of {0} is upper semicontinuous but discontinuous at zero, and its negative is lower semicontinuous but discontinuous there.

Facts & Assumptions

Given: The relative Euclidean topology and the semicontinuity convention Upper and lower semicontinuity on subsets of Rn.

[L1]

Upper semicontinuity is equivalent to relative openness of every strict sublevel set, and lower semicontinuity is equivalent to relative openness of every strict superlevel set (Semicontinuity on Rn is characterized by strict open level sets and weak closed level sets).

Verification

technique · direct
1.1L1L2algebra

Strict superlevels of 1E are empty, E, or all of X, while strict sublevels are empty, X∖E, or all of X. By [L1] and [L2], 1E is lower semicontinuous when E is open and upper semicontinuous when E is closed.

2.1step 1.1algebra∎

For E={0} in [0,1], step 1.1 gives upper semicontinuity, but values at positive points tend to zero rather than the value one at zero. Negation exchanges upper and lower semicontinuity, so −1E supplies the lower-semicontinuous discontinuous example.

CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

A positive-semidefinite Hessian need not give strict convexity

Statement refuted

If a C2 function on an open convex set has a positive-semidefinite Hessian everywhere, then it is strictly convex.

The counterexample below establishes: The Hessian of f(x,y)=x2 is positive semidefinite everywhere, but f is not strictly convex.

Facts & Assumptions

Counterexample

technique · direct
1.1L1L2L3algebra

By [L2] and [L3], the Hessian of f(x,y)=x2 is diag⁡(2,0), which is positive semidefinite. By [L1], f is convex.

2.1step 1.1algebra∎

The distinct points (0,0) and (0,1), and every point of the segment joining them, all have value zero. Thus the strict convexity inequality is an equality on that segment. The Hessian of f(x,y)=x2 is positive semidefinite everywhere, but f is not strictly convex.

CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-21Open item page →

A strictly convex function can have a singular Hessian

Statement refuted

Every twice differentiable strictly convex function has a positive-definite Hessian at every point.

The counterexample below establishes: For every n≥1, the function f:Rn→R given by f(x)=∑j<nxj4 is strictly convex, but its Hessian at the origin is the zero matrix.

Facts & Assumptions

Given: Fix n≥1. Strict convexity is as in Convex and strictly convex functions on Euclidean convex sets, and the Hessian convention is The Hessian matrix and critical points of a scalar field.

Counterexample

technique · direct
1.1L1L2givenalgebra

Let r<s and 0<t<1, and put c=(1−t)r+ts. Apply [L2] on [r,c] and [c,s]. The two secant slopes equal 4u3 and 4v3 for some r<u<c<v<s by [L1], so the first is strictly smaller; rearranging gives c4<(1−t)r4+ts4. Thus x4 is strictly convex. For distinct vectors, at least one coordinate gives this strict inequality and every other coordinate gives the corresponding weak one; adding shows that f(x)=∑j<nxj4 is strictly convex for n≥1.

2.1L1L3step 1.1givenalgebra∎

Differentiating again with [L1] and [L3], the Hessian is diagonal with entries 12xj2 and zero off-diagonal entries. At the origin it is the zero matrix, hence singular and not positive definite because n≥1. Thus f(x)=∑j<nxj4 is strictly convex, but its Hessian at the origin is the zero matrix.

False statementConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

FALSE: a convex function on a convex set is continuous

Statement

False claim: every convex real-valued function on a convex Euclidean domain is continuous at every domain point.

Facts & Assumptions

Given: No openness assumption is imposed.

[L1]

There is a function on [0,1] that is convex on [0,1] but is not continuous at 0 (A convex function on [0,1] that is discontinuous at the boundary).

Refutation

technique · direct
1.1L1

The interval in [L1] is convex and the displayed function is convex on it.

2.1step 1.1L1∎

The same function fails continuity at the boundary point zero by [L1], so it refutes the claim. Openness of the domain, or restriction to its interior, is essential.

False statementConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

FALSE: every convex function is differentiable

Statement

False claim: every convex real-valued function on an open Euclidean convex set is differentiable everywhere.

Facts & Assumptions

Given: Positive Euclidean dimension.

[L1]

The Euclidean norm is convex and its subdifferential at zero is the closed unit ball (The Euclidean norm and its square are convex, with a ball of subgradients at zero for the norm).

[L2]

If a convex function is differentiable at a, then ∂f(a)={∇f(a)} (The subdifferential of a differentiable convex function is its gradient singleton).

Refutation

technique · direct
1.1L1

In positive dimension, the closed unit ball in [L1] contains more than one vector, so the norm has a nonsingleton subdifferential at zero.

2.1step 1.1L2∎

By [L2], differentiability there would force the subdifferential to be a singleton. Hence the convex Euclidean norm is not differentiable at zero, and the claim is false.

False statementConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

FALSE: semicontinuity implies continuity on a compact set

Statement

False claim: an upper or lower semicontinuous real-valued function on a compact Euclidean set must be continuous.

Facts & Assumptions

Given: The compact interval [0,1].

[L1]

On [0,1], the characteristic function of {0} is upper semicontinuous but discontinuous at zero, and its negative is lower semicontinuous but discontinuous there (Characteristic functions of open and closed sets are one-sided semicontinuous).

Refutation

technique · direct
1.1L1

The first function in [L1] satisfies upper semicontinuity on a compact domain and fails continuity.

2.1step 1.1L1∎

Its negative in [L1] separately satisfies lower semicontinuity and fails continuity on the same compact domain. Thus neither one-sided notion implies continuity.

False statementConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

FALSE: a positive-semidefinite Hessian gives strict convexity

Statement

False claim: an everywhere-positive-semidefinite Hessian forces a C2 function on an open convex set to be strictly convex.

Facts & Assumptions

Given: No assumptions beyond the false claim.

[L1]

The Hessian of f(x,y)=x2 is positive semidefinite everywhere, but f is not strictly convex (A positive-semidefinite Hessian need not give strict convexity).

Refutation

technique · direct
1.1L1

The function in [L1] satisfies the Hessian hypothesis of the false claim.

2.1step 1.1L1∎

It is constant along every vertical line and therefore violates strict convexity by [L1]. Hence the claim is false.

False statementConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-21Open item page →

FALSE: strict convexity gives a positive-definite Hessian

Statement

False claim: every twice differentiable strictly convex function has a positive-definite Hessian at every point.

Facts & Assumptions

Given: No assumptions beyond the false claim.

[L1]

For every n≥1, the function f:Rn→R given by f(x)=∑j<nxj4 is strictly convex, but its Hessian at the origin is the zero matrix (A strictly convex function can have a singular Hessian).

Refutation

technique · direct
1.1L1

The function in [L1] satisfies strict convexity globally.

2.1step 1.1L1∎

Its Hessian at the origin is zero and hence not positive definite by [L1], directly refuting the claim.

Sources