Skip to content

Curated showcase

The LeanCert.Showcase target contains six examples chosen to show distinct proof shapes:

lake build Showcase
import LeanCert.Tactic

example : Real.log 2 < 7 / 10 := by leancert

example :  x  Set.Icc (0 : ) 1,
    Real.exp x * Real.cos x  3 := by leancert

example :  x  Set.Icc (0 : ) 1,  y  Set.Icc (0 : ) 1,
    x + y  (2 : ) := by leancert

example : ∃! x, x  Set.Icc (1 : ) 2  x ^ 2 - 2 = 0 := by leancert

example : ( x in (0 : )..1, x ^ 2) = 1 / 3 := by leancert

The domain-specific sixth theorem is:

import LeanCert.QProduct

open LeanCert.QProduct

example : ((19 / 36 : ) : )  primeLambda 
    primeLambda  ((7 / 12 : ) : ) :=
  LeanCert.Validity.verify_limit_interval
    primeLambda_le_shiftedTrunc shiftedTrunc_sub_tail_le_primeLambda
    1 (19 / 36) (7 / 12) (by native_decide)

The showcase module also compiles the corresponding advanced-control proof for every displayed example.

Example Advanced control Certificate/trust story Median
log 2 < 0.7 interval_auto 10 observed Dyadic checker; repository-default native verification 6.056 s
nonlinear quantified bound certify_bound 10 observed Rational checker and verification route 6.198 s
two-variable box multivariate_bound checked branch-and-bound certificate 6.311 s
unique square root interval_unique_root checked interval-Newton certificate 7.044 s
polynomial integral integral_exact exact rational kernel proof 6.149 s
q-product enclosure generic directed-limit verifier with q-product truncation and tail theorems native-checked finite truncation and tail 4.476 s

These are medians of three isolated warm lake env lean processes on an Apple-arm64 development machine, Lean/Mathlib v4.32.2. They include roughly 4–6 seconds of Lean process/import overhead and therefore measure the complete copy-paste user experience, not tactic execution alone. The machine-readable baseline records every sample and environment metadata. Runtime depends on hardware, cache state, and verification mode.

Use leancert? to inspect the recognized shape, strategy, numerical backend or policy, verification route, and advanced control.