Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-08-04 (gpt-5.6-sol-codex-subscription)
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.

Every nonempty finite set of reals has a maximum and a minimum

Statement

For every n∈N and all a0,a1,…,an∈R, the set {a0,a1,…,an} has a maximum and a minimum (Maximum and minimum of a set).

What is proved below is exactly the displayed statement, by induction on n.

The usual reading, that every nonempty finite subset of R has a maximum and a minimum, follows once one identifies the nonempty finite subsets of R with the sets listable as {a0,…,an}. That identification is recorded as a stipulation in the Given below, because this page has no definition of finiteness to prove it against. It is discharged, not merely assumed: The nonempty finite subsets of R are exactly the listable ones ↗ proves that the two descriptions of a nonempty finite subset of R agree. That lemma is recorded in justified_by rather than in deps, since it is about the sets this lemma quantifies over and therefore depends on this one. This is what licenses the notation max⁡{a1,…,an} and min⁡{a1,…,an} for finite sets of real numbers from this page onwards.

Facts & Assumptions

Given: Real numbers a0,a1,a2,…; for n∈N write Fn:={a0,…,an}, so that Fn+1=Fn∪{an+1}. A subset of R is nonempty and finite exactly when it equals Fn for some n∈N and some choice of a0,…,an.

[A1]

P(n) denotes the statement: for all a0,…,an∈R, the set Fn has a maximum and a minimum.

[L1]

Maximum and minimum: m=max⁡X means m∈X and x≤m for all x∈X; m=min⁡X means m∈X and m≤x for all x∈X; each is unique when it exists (Maximum and minimum of a set).

[L2]

Induction principle: if P(0) holds and P(n) implies P(n+1) for every n∈N, then P(n) holds for every n∈N, where n+1 denotes the successor σ(n) (The principle of mathematical induction, Addition of natural numbers).

[L3]

The order on R is reflexive, total and transitive: a≤a; for all a,b exactly one of a<b, a=b, b<a holds, so at least one of a≤b and b≤a holds; and a≤b with b≤c gives a≤c (Complete ordered field (least-upper-bound property), Ordered field).

Proof

technique · induction
1.1

Base case: F0={a0}, and a0∈F0 with a0≤a0 by reflexivity, so a0 is both a maximum and a minimum of F0; hence P(0) holds.

baseA1L1L3
1.2

Inductive hypothesis: fix n∈N and assume P(n), that is, for all reals a0,…,an the set Fn has a maximum and a minimum.

ihA1
2.1

Let a0,…,an+1∈R be arbitrary; by the inductive hypothesis the set Fn has a maximum M and a minimum m, and Fn+1=Fn∪{an+1}.

step 1.2L1
3.1

By totality at least one of an+1≤M and M≤an+1 holds. If an+1≤M, then M∈Fn⊆Fn+1, every element of Fn is ≤M because M=max⁡Fn, and an+1≤M as well, so M is a maximum of Fn+1. If M≤an+1, then an+1∈Fn+1, every x∈Fn satisfies x≤M≤an+1 hence x≤an+1 by transitivity, and an+1≤an+1, so an+1 is a maximum of Fn+1. Either way Fn+1 has a maximum.

step 2.1L1L3
3.2

Dually, at least one of m≤an+1 and an+1≤m holds. If m≤an+1, then m∈Fn+1 and every element of Fn+1 is ≥m, so m is a minimum of Fn+1. If an+1≤m, then an+1∈Fn+1 and every x∈Fn satisfies an+1≤m≤x hence an+1≤x by transitivity, so an+1 is a minimum of Fn+1. Either way Fn+1 has a minimum.

step 2.1L1L3
4.1

Since a0,…,an+1 were arbitrary, Fn+1 has a maximum and a minimum for every such list, that is, P(n) implies P(n+1).

step 3.1step 3.2A1
5.1

The base case and the inductive step give P(n) for every n∈N by the induction principle; since a nonempty finite subset of R is exactly a set of the form Fn, every nonempty finite subset of R has both a maximum and a minimum.

step 1.1step 4.1givenL2discharge-induction∎

Remarks

Depends on

Used by

…and 88 more results.

Dependency tree · two levels

11 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources