Alphabeta Math
Session-authored (Fable 5 assisted)
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 n1. The Euclidean norm is convex and its subdifferential at zero is the closed unit ball. The squared norm q(x)=x22 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.1

Homogeneity and the triangle inequality in [L1] give (1t)x+ty2(1t)x2+ty2, so the norm is convex.

L1algebra
1.2

If v21, [L4] gives v,yy2, so v is a subgradient of the norm at zero. Conversely, a subgradient v satisfies y2v,y for all y; taking y=v gives v2v22, hence v21.

L4algebra
2.1

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}.

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

A finite maximum of affine functions and its active subgradients

Example

Let n,m1, let a1,,amRn, and let b1,,bmR. Define f:RnR by

f(x)=max1jm(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:jJ(x)}.

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

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.1

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

L1
2.1

If jJ(x), then f(y)aj,y+bj=f(x)+aj,yx. Nonnegative weighted sums of these inequalities show that every convex combination of active slopes is a subgradient.

step 1.1algebra
3.1

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 tv,h, while the actual increment is tmaxjJ(x)aj,h, a contradiction. The displayed four-piece formula follows from its four active slopes at zero.

step 2.1L2L3L4L5algebra
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<x1.

[F1]

The function f:CR is convex when f((1t)x+ty)(1t)f(x)+tf(y) for all x,yC 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.1

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.

F1algebra
2.1

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.

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

x1x22 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={xRn:x21} for n1 (The p-norms xp for rational p1, and x) and define f(x)=1x22 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,ya 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.1

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

L2givenalgebra
2.1

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

step 1.1F1algebra
3.1

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.

step 2.1L1
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<x1, 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.1

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.

L1givenalgebra
2.1

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

step 1.1algebra
3.1

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

step 2.1L2
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 n1, let XRn, and let EX. The characteristic function 1E:XR 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.1

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

L1L2algebra
2.1

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.

step 1.1algebra
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.1

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

L1L2L3algebra
2.1

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.

step 1.1algebra
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 n1, the function f:RnR given by f(x)=j<nxj4 is strictly convex, but its Hessian at the origin is the zero matrix.

Facts & Assumptions

Given: Fix n1. 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.1

Let r<s and 0<t<1, and put c=(1t)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<(1t)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 n1.

L1L2givenalgebra
2.1

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 n1. Thus f(x)=j<nxj4 is strictly convex, but its Hessian at the origin is the zero matrix.

L1L3step 1.1givenalgebra
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.1

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

L1
2.1

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.

step 1.1L1
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.1

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

L1
2.1

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.

step 1.1L2
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.1

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

L1
2.1

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

step 1.1L1
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.1

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

L1
2.1

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

step 1.1L1
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 n1, the function f:RnR 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.1

The function in [L1] satisfies strict convexity globally.

L1
2.1

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

step 1.1L1

Sources