Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck 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 nNn \in \mathbb{N} and all a0,a1,,anRa_0, a_1, \dots, a_n \in \mathbb{R}, the set {a0,a1,,an}\{a_0, a_1, \dots, a_n\} has a maximum and a minimum (Maximum and minimum of a set).

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

The usual reading, that every nonempty finite subset of R\mathbb{R} has a maximum and a minimum, follows once one identifies the nonempty finite subsets of R\mathbb{R} with the sets listable as {a0,,an}\{a_0, \dots, a_n\}. 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\mathbb{R} are exactly the listable ones proves that the two descriptions of a nonempty finite subset of R\mathbb{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}\max\{a_1, \dots, a_n\} and min{a1,,an}\min\{a_1, \dots, a_n\} for finite sets of real numbers from this page onwards.

Facts & Assumptions

Given: Real numbers a0,a1,a2,a_0, a_1, a_2, \dots; for nNn \in \mathbb{N} write Fn:={a0,,an}F_n := \{a_0, \dots, a_n\}, so that Fn+1=Fn{an+1}F_{n+1} = F_n \cup \{a_{n+1}\}. A subset of R\mathbb{R} is nonempty and finite exactly when it equals FnF_n for some nNn \in \mathbb{N} and some choice of a0,,ana_0, \dots, a_n.

[A1]

P(n)P(n) denotes the statement: for all a0,,anRa_0, \dots, a_n \in \mathbb{R}, the set FnF_n has a maximum and a minimum.

[L1]

Maximum and minimum: m=maxXm = \max X means mXm \in X and xmx \le m for all xXx \in X; m=minXm = \min X means mXm \in X and mxm \le x for all xXx \in X; each is unique when it exists (Maximum and minimum of a set).

[L2]

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

[L3]

The order on R\mathbb{R} is reflexive, total and transitive: aaa \le a; for all a,ba, b exactly one of a<ba < b, a=ba = b, b<ab < a holds, so at least one of aba \le b and bab \le a holds; and aba \le b with bcb \le c gives aca \le c (Complete ordered field (least-upper-bound property), Ordered field).

Proof

technique · induction
1.1

Base case: F0={a0}F_0 = \{a_0\}, and a0F0a_0 \in F_0 with a0a0a_0 \le a_0 by reflexivity, so a0a_0 is both a maximum and a minimum of F0F_0; hence P(0)P(0) holds.

baseA1L1L3
1.2

Inductive hypothesis: fix nNn \in \mathbb{N} and assume P(n)P(n), that is, for all reals a0,,ana_0, \dots, a_n the set FnF_n has a maximum and a minimum.

ihA1
2.1

Let a0,,an+1Ra_0, \dots, a_{n+1} \in \mathbb{R} be arbitrary; by the inductive hypothesis the set FnF_n has a maximum MM and a minimum mm, and Fn+1=Fn{an+1}F_{n+1} = F_n \cup \{a_{n+1}\}.

step 1.2L1
3.1

By totality at least one of an+1Ma_{n+1} \le M and Man+1M \le a_{n+1} holds. If an+1Ma_{n+1} \le M, then MFnFn+1M \in F_n \subseteq F_{n+1}, every element of FnF_n is M\le M because M=maxFnM = \max F_n, and an+1Ma_{n+1} \le M as well, so MM is a maximum of Fn+1F_{n+1}. If Man+1M \le a_{n+1}, then an+1Fn+1a_{n+1} \in F_{n+1}, every xFnx \in F_n satisfies xMan+1x \le M \le a_{n+1} hence xan+1x \le a_{n+1} by transitivity, and an+1an+1a_{n+1} \le a_{n+1}, so an+1a_{n+1} is a maximum of Fn+1F_{n+1}. Either way Fn+1F_{n+1} has a maximum.

step 2.1L1L3
3.2

Dually, at least one of man+1m \le a_{n+1} and an+1ma_{n+1} \le m holds. If man+1m \le a_{n+1}, then mFn+1m \in F_{n+1} and every element of Fn+1F_{n+1} is m\ge m, so mm is a minimum of Fn+1F_{n+1}. If an+1ma_{n+1} \le m, then an+1Fn+1a_{n+1} \in F_{n+1} and every xFnx \in F_n satisfies an+1mxa_{n+1} \le m \le x hence an+1xa_{n+1} \le x by transitivity, so an+1a_{n+1} is a minimum of Fn+1F_{n+1}. Either way Fn+1F_{n+1} has a minimum.

step 2.1L1L3
4.1

Since a0,,an+1a_0, \dots, a_{n+1} were arbitrary, Fn+1F_{n+1} has a maximum and a minimum for every such list, that is, P(n)P(n) implies P(n+1)P(n+1).

step 3.1step 3.2A1
5.1

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

step 1.1step 4.1givenL2discharge-induction

Remarks

Depends on

Used by

…and 77 more results.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 19 results over 9 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources