The Observation Theory EncyclopediaFrom TSKAboutBy kindBy chapterBy Lean fileLedgerProvenance

safe pruning concept

DefinitionA rule for discarding candidates during a search that is guaranteed to discard no solution. The Apriori principle and the Monotone Invariance Theorem are the book's two instances. Chapter 5. Also loss-free, anti-monotonic.
ExampleA node whose Youden ceiling is 0.70 cannot beat the best F1 found so far, 0.80, so its subtree is skipped.
BookData Mining as Observation, draft 0.2, commit f3914f0; entry id safe-pruning, kind concept.
Statusno ledger row names this entry. Corrections: 1 item(s), see below.
Defining equation

Book equation 5.4.

Assumptions and scope
  • A pruning rule is safe when the pruned search returns the same answer as the unpruned one on every input. The Apriori principle and the Monotone Invariance Theorem are safe by proof.
  • A learned or heuristic rule cannot earn that word from a finite test. It can be empirically lossless on the held-out cases, and the record says which cases.
  • The AUROC form of the F1 ceiling is a safe pruning bound only for concave ROC curves. The Youden form is sound for every score at the leaf, and pruning a subtree by its root’s ceiling is a heuristic in both forms.
Prior artnone recorded
Evidencetheory-radar/ERRATA.md:3-75, lean/DataMiningAsObservation/SafePruning.lean, lean/DataMiningAsObservation/YoudenF1.lean
Reviewednot yet reviewed; generated 2026-09-10 from records at the commits on the provenance page.
search spacepruned
A branch dropped without loss because a bound says nothing in it can win.

Equation

Book equation 5.4.

\[\begin{gathered} F_1^{\max}\ \le\ \sup_{t\in[J,\,1]}\ \frac{2t\pi}{t\pi+\pi+(t-J)(1-\pi)},\qquad J=\max_{\tau}\big(\mathrm{TPR}-\mathrm{FPR}\big),\qquad \pi=\text{prevalence}, \\ J\le 2A-1\ \text{when the ROC curve is concave, and not in general.} \end{gathered}\]

Conditions

Conditions are curated in entries.toml rather than read from a record.

Ledger

none

First stated

Chapter 5 section 5.4 of Data Mining as Observation, with the program’s two owned instances in theory-radar and arc-equivariant-search.

Measurements

none

Failures and corrections

Invariance envelope

none declared

Machine checked

lean/DataMiningAsObservation/SafePruning.lean, theorems support_anti, apriori, subset_of_frequent, at observation-data-mining f3914f0; what the check covers is stated in the book’s appendix C.

lean/DataMiningAsObservation/YoudenF1.lean, theorems f1_eq, f1_le_of_youden, auroc_eq, youden_eq, youden_exceeds_auroc_form, at observation-data-mining f3914f0; what the check covers is stated in the book’s appendix C.

Used in

Data Mining as Observation chapters 5.

Related

Apriori principle; Monotone Invariance Theorem; Youden F1 bound; formula search.

See also

Book equations stated beside the entry’s terms, not defining it: 5.3.

Sources-table rows that share a record with the entry without naming it: chapter 5 section 5.4, chapter 6 section 6.3, chapter 6 section 6.4, chapter 6 section 6.5, chapter 7 section 7.3, chapter 8 section 8.5.

Status

Generated 2026-09-10 by encyclopedia/generate.py; book at observation-data-mining f3914f0; the commit of every record is listed in the encyclopedia’s provenance.

← ROUGEsample variance →