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 . The unbounded ascending mode terminates if and only if , and then returns after exactly evaluations. If , it continues forever and returns no value, including no .
With a valid finite completeness bound , the bounded mode terminates after at most evaluations and returns the full-domain extensional answer: if and if . The certified-infeasibility mode returns that answer immediately. No monotonicity is needed for these conclusions. If feasibility is nondecreasing and 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.
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
The ascending mode visits positive integers in order; the bounded mode visits the prefix through ; the infeasibility mode uses the supplied all-size proof. Search over all positive sample sizes with explicit stopping certificates
A nonempty set of positive integers has a unique least member. A nonempty set of positive integers has a least member
Proof
Suppose . By [F3] let . In ascending mode [F2] calls the evaluator at : each call terminates, every earlier answer is false by leastness, and the answer at is true. The finite sequence of calls therefore terminates at , with exactly evaluations and the output required by [F1].
In bounded mode at most calls occur and every call terminates, so the mode terminates, including when . If an index is returned, every smaller positive integer has already answered false, and exactness makes the returned integer the least of , not merely least in a selected list.
If ascending mode terminates, [F2] says it returns only at a true answer, so its returned integer is in and is nonempty. Conversely, if 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.
If bounded mode returns none, every index at most is infeasible. Were nonempty, the completeness certificate would place some element of at most , contradicting those answers. Thus is empty and none is the answer of [F1]. Conversely, empty makes every bounded answer false, so none is returned.
In the infeasibility mode the supplied proof states that is empty, so immediate return of none is correct by [F1]. A true answer at a positive proves that and therefore is itself a finite completeness witness, whether or not feasibility is monotone. The constant-false evaluator is nondecreasing but has empty , 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.