Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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.

Correctness and exact termination conditions for all-size planning search

Statement

Use the exact terminating evaluator and admissible modes of Search over all positive sample sizes with explicit stopping certificates, and let S={n∈N≥1:E(n) is true}. The unbounded ascending mode terminates if and only if S≠∅, and then returns min⁡S after exactly min⁡S evaluations. If S=∅, it continues forever and returns no value, including no none.

With a valid finite completeness bound B, the bounded mode terminates after at most B evaluations and returns the full-domain extensional answer: min⁡S if S≠∅ and none if S=∅. The certified-infeasibility mode returns that answer immediately. No monotonicity is needed for these conclusions. If feasibility is nondecreasing and E(B) is true, that witness is a valid bound, but monotonicity without a crossing witness or other stopping certificate does not guarantee termination in the empty case.

Facts & Assumptions

Given: The algorithm's exact per-size evaluator, each evaluation terminating, and the stated valid certificate whenever a certified mode is chosen.

[F1]

The planning specification defines feasibility and its extensional output as the least feasible positive integer, or none when the feasible set is empty. Power and sample-size planning specifications

[F2]

The ascending mode visits positive integers in order; the bounded mode visits the prefix through B; the infeasibility mode uses the supplied all-size proof. Search over all positive sample sizes with explicit stopping certificates

[F3]

A nonempty set of positive integers has a unique least member. A nonempty set of positive integers has a least member

Proof

1.1F1F2F3given

Suppose S≠∅. By [F3] let n∗=min⁡S. In ascending mode [F2] calls the evaluator at 1,…,n∗: each call terminates, every earlier answer is false by leastness, and the answer at n∗ is true. The finite sequence of calls therefore terminates at n∗, with exactly n∗ evaluations and the output required by [F1].

1.2F1F2givenalgebra

In bounded mode at most B calls occur and every call terminates, so the mode terminates, including when B=0. If an index is returned, every smaller positive integer has already answered false, and exactness makes the returned integer the least of S, not merely least in a selected list.

2.1F2step 1.1given

If ascending mode terminates, [F2] says it returns only at a true answer, so its returned integer is in S and S is nonempty. Conversely, if S is empty, every terminating call answers false and [F2] increments to the next positive integer. No return instruction is reached, so the execution continues forever. Together with step 1.1 this proves the equivalence and the empty-case behavior.

2.2F1F2givenstep 1.2

If bounded mode returns none, every index at most B is infeasible. Were S nonempty, the completeness certificate would place some element of S at most B, contradicting those answers. Thus S is empty and none is the answer of [F1]. Conversely, empty S makes every bounded answer false, so none is returned.

3.1F1F2givenstep 2.1algebra∎

In the infeasibility mode the supplied proof states that S is empty, so immediate return of none is correct by [F1]. A true answer at a positive B proves that B∈S and therefore is itself a finite completeness witness, whether or not feasibility is monotone. The constant-false evaluator is nondecreasing but has empty S, so step 2.1 shows that monotonicity alone does not give termination of ascending search. These observations establish all remaining assertions.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

9 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