# LeanCert's benchmarks with interval: figure captions

Written by `scripts/plot.py`; do not edit by hand. Every figure is `NAME.png` (9 inches wide at 200 dpi) and `NAME.svg`. An image holds only the plot, its axes with units, a legend with short series names and panel letters; the caption says what the figure shows, what was measured, in which unit, on which scales, where and when. The notes say how, which numbers come from Lean and which from scripts, and give the numbers behind the marks.

## Figure 1: `01-time-per-goal`

![Two panels with three rising step curves each on a logarithmic time axis from 0.004 to 300 seconds. In panel (a) the FloatLib curve ends at 144 of 147 goals, the kernel-checked LeanCert curve at 138 and the compiled-checker LeanCert curve at 139; in panel (b) they end at 197, 203 and 210 of 210 goals. The FloatLib curve rises furthest to the left in both panels.](01-time-per-goal.svg "Goals proved against time per goal, by FloatLib's `interval` and by LeanCert's own tactic on the same statements, each with one call. A curve counts the goals proved within the time on the horizontal axis; the time is that of the whole `theorem` command inside Lean (elaboration, the tactic and the kernel check), the median of two repetitions for a run under 20 s and one repetition otherwise, with both tools running side by side. Panel (a) holds the inequality goals of LeanCert's seven benchmark suites and of its two script benchmarks, panel (b) the inequalities, with six combinations of comparisons, that LeanCert's examples and tests prove with one tactic call. The time axis is logarithmic, a curve further left is faster and one that ends higher proves more. Measured on FloatLib and LeanCert 44b323a ported to Lean 4.36.0 and Mathlib v4.36.0, on 2026-11-21 on an Intel Xeon Platinum 8275CL (96 threads, shared with other jobs), at most 7 Lean processes at once.")

**Figure 1.** Goals proved against time per goal, by FloatLib's `interval` and by LeanCert's own tactic on the same statements, each with one call. A curve counts the goals proved within the time on the horizontal axis; the time is that of the whole `theorem` command inside Lean (elaboration, the tactic and the kernel check), the median of two repetitions for a run under 20 s and one repetition otherwise, with both tools running side by side. Panel (a) holds the inequality goals of LeanCert's seven benchmark suites and of its two script benchmarks, panel (b) the inequalities, with six combinations of comparisons, that LeanCert's examples and tests prove with one tactic call. The time axis is logarithmic, a curve further left is faster and one that ends higher proves more. Measured on FloatLib and LeanCert 44b323a ported to Lean 4.36.0 and Mathlib v4.36.0, on 2026-11-21 on an Intel Xeon Platinum 8275CL (96 threads, shared with other jobs), at most 7 Lean processes at once.

Alt text: Two panels with three rising step curves each on a logarithmic time axis from 0.004 to 300 seconds. In panel (a) the FloatLib curve ends at 144 of 147 goals, the kernel-checked LeanCert curve at 138 and the compiled-checker LeanCert curve at 139; in panel (b) they end at 197, 203 and 210 of 210 goals. The FloatLib curve rises furthest to the left in both panels.

Notes: A goal counts for a curve only when Lean accepted the proof; for FloatLib and for kernel-checked LeanCert `#print axioms` lists only propext, Classical.choice and Quot.sound, while LeanCert's compiled checker (`native_decide`, the route LeanCert ships as its default) adds one compiler axiom per proof and is drawn for reference only. A goal is counted at the first rung of its ladder that proves it (plain file and default options, then raised `maxRecDepth` and `maxHeartbeats`, then one fixed set of larger tactic options); the suite's README gives the counts per rung. Goals proved, median and longest time per goal: panel (a) LeanCert, compiled checker 139 of 147, 0.50 s, 192 s; panel (a) LeanCert, kernel-checked 138 of 147, 0.76 s, 189 s; panel (a) FloatLib interval 144 of 147, 0.07 s, 40 s; panel (b) LeanCert, compiled checker 210 of 210, 0.12 s, 37 s; panel (b) LeanCert, kernel-checked 203 of 210, 0.32 s, 45 s; panel (b) FloatLib interval 197 of 210, 0.05 s, 2 s. Five LeanCert times of panel (b), of three goals that take more than 20 s, are from the first run and not from a repetition. From Lean: every time (`IO.monoNanosNow` around the `theorem` command) and every verdict. From scripts: the medians, the counts and the drawing. Source: `results/goals.csv`.

Files: `01-time-per-goal.png`, `01-time-per-goal.svg`.

## Figure 2: `02-goals-per-suite`

![Horizontal bars in 9 groups of three, one group per suite, on an axis from 0 to 100 percent: FloatLib interval, LeanCert kernel-checked and LeanCert with its compiled checker. Evaluation: 40, 32 and 32 of 40. NumericalRefinement: 2, 2 and 2 of 2. DomainAwareAD: 8, 8 and 8 of 8. bench-showcase: 3, 3 and 3 of 3. bench-trust point: 10, 10 and 10 of 10. bench-trust subdiv: 80, 80 and 80 of 80. bench-trust optimization: 1, 1 and 1 of 1. bench-trust finsum: 0, 2 and 3 of 3. examples and tests: 197, 203 and 210 of 210.](02-goals-per-suite.svg "Share of each suite's inequality goals that FloatLib's `interval` and LeanCert's own tactic prove with one call; the number at the end of a bar is the count of goals. The first eight rows are LeanCert's benchmark suites and script benchmarks, stated as goals; the last row holds the inequalities, with six combinations of comparisons, that LeanCert's examples and tests prove with one tactic call. Goals of other shapes (integrals, root existence and uniqueness, exact identities, list constructions, derivatives) are not in the figure, because `interval` does not address them. Measured on FloatLib and LeanCert 44b323a ported to Lean 4.36.0 and Mathlib v4.36.0, on 2026-11-21 on an Intel Xeon Platinum 8275CL (96 threads, shared with other jobs).")

**Figure 2.** Share of each suite's inequality goals that FloatLib's `interval` and LeanCert's own tactic prove with one call; the number at the end of a bar is the count of goals. The first eight rows are LeanCert's benchmark suites and script benchmarks, stated as goals; the last row holds the inequalities, with six combinations of comparisons, that LeanCert's examples and tests prove with one tactic call. Goals of other shapes (integrals, root existence and uniqueness, exact identities, list constructions, derivatives) are not in the figure, because `interval` does not address them. Measured on FloatLib and LeanCert 44b323a ported to Lean 4.36.0 and Mathlib v4.36.0, on 2026-11-21 on an Intel Xeon Platinum 8275CL (96 threads, shared with other jobs).

Alt text: Horizontal bars in 9 groups of three, one group per suite, on an axis from 0 to 100 percent: FloatLib interval, LeanCert kernel-checked and LeanCert with its compiled checker. Evaluation: 40, 32 and 32 of 40. NumericalRefinement: 2, 2 and 2 of 2. DomainAwareAD: 8, 8 and 8 of 8. bench-showcase: 3, 3 and 3 of 3. bench-trust point: 10, 10 and 10 of 10. bench-trust subdiv: 80, 80 and 80 of 80. bench-trust optimization: 1, 1 and 1 of 1. bench-trust finsum: 0, 2 and 3 of 3. examples and tests: 197, 203 and 210 of 210.

Notes: A bar counts a goal at any rung of its ladder (plain file and default options, raised Lean limits, one fixed set of larger options), within 300 s per run. FloatLib's and kernel-checked LeanCert's proofs depend only on propext, Classical.choice and Quot.sound; the compiled checker adds a compiler axiom and is shown for reference. The examples row exists because LeanCert's call proves each of its goals, so its LeanCert compiled-checker bar is full by construction. 357 goals in all. Counts (suite, goals, FloatLib, LeanCert kernel-checked, LeanCert compiled checker): Evaluation, 40, 40, 32, 32; NumericalRefinement, 2, 2, 2, 2; DomainAwareAD, 8, 8, 8, 8; bench-showcase, 3, 3, 3, 3; bench-trust point, 10, 10, 10, 10; bench-trust subdiv, 80, 80, 80, 80; bench-trust optimization, 1, 1, 1, 1; bench-trust finsum, 3, 0, 2, 3; examples and tests, 210, 197, 203, 210. From Lean: every verdict. From scripts: the counts and the drawing. Source: `results/goals.csv`.

Files: `02-goals-per-suite.png`, `02-goals-per-suite.svg`.
