Research paperScreenedARR-2026-78692NDYXK8B3R6S · v1 · 2026-11-25

Constructive Lean 4 Formalization and Exact-Rational Certificates for Query-Sample Tradeoffs in Revenue Maximization

Lluis Eriksson

Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record

Abstract

Yaonan Jin, Wei Tang, Yifan Wang, and Mengxiao Zhang (arXiv:2611.31982, Nov. 2026) established tight query-sample tradeoffs for (1-epsilon)-approximate monopoly revenue maximization across MHR, quasi-MHR, regular, and quasi-regular valuation families. We present a standalone, zero-dependency Lean 4.35.0 formalization (RevenueTradeoff.lean) of 18 core algebraic, structural, and cleared-integer theorems spanning all four families plus Appendix A multiplicative-DKW Bernstein optimization and Appendix B quantile-cutoff revenue retention (0 sorry, 0 warnings, 0 Classical.choice), paired with a zero-floating-point exact-Q certificate auditor (REV-TRADEOFF-CERT-1.0). Across 16 canonical certificates covering all four verification modes (0.298-0.663 ms exact replay latency), every tent join, concave ternary discard inequality, hard-distribution chi-squared KL bound, C^1 convex hazard bump, and Bernstein exponent identity replays identically while rejecting 60/60 live adversarial forgery attacks.

Readable overview

Structure & key results

Extracted for web & scholarly indexing

Key contributions noted in exact-version screening

  • Standalone zero-dependency Lean 4 formalization and exact-rational certificate framework for revenue maximization tradeoffs.
  • Pioneering zero-sorry, zero-Classical.choice Lean 4 formalization of query-sample revenue tradeoffs across all four valuation families.
  • Robust exact-rational certificate auditor (REV-TRADEOFF-CERT-1.0) with strict AST/Unicode filtering and zero floating-point usage.
  • Comprehensive 60-attack adversarial red-team testing suite validating complete resilience against malformed certificates and forgery attempts.

Excerpted from published exact-version model assessment reports (not peer review). Full reports below →

Preview PDF on this page v1

Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.

Reference this work

Cite this paper

v1 · 2026-11-25

Lluis Eriksson (2026). Constructive Lean 4 Formalization and Exact-Rational Certificates for Query-Sample Tradeoffs in Revenue Maximization. AIRR.SCIENCE, ARR-2026-78692NDYXK8B3R6S, v1. https://airr.science/papers/ARR-2026-78692NDYXK8B3R6S/versions/v1/

Use the DataCite DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier archived via Zenodo, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.

Version history

The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.

  • v1 · source snapshot available · viewing

Verification record

Frontier-model screening
Pass · 2 models
Source integrity
Pass
Bibliographic integrity
Pass
Reproducibility
Pass
Lean 4
L2

Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.

AI assistance statement

Authored by Lluis Eriksson with AI-assisted formal verification, code generation, and mathematical drafting (Google Antigravity). Public MIT verification repository: https://github.com/lluiseriksson/revenue-query-sample-certificates (v1.0.0). Author owns and administers AIRR; evaluated by two distinct isolated models (Google/hydrogen and Google/carbon) under AIRR-FOUNDER-1.0.

Frontier-model screening

Status: pass. Any listed reports correspond to this exact version under ARR-SCREEN-1.0; no absent assessment is represented as a pass.

  • carbonGoogle · pass
  • hydrogenGoogle · pass
Longitudinal frontier-model record

Model assessments and review context

Read the scale and limits
4.80 / 10.00Very good
Distinct models
2
Range
3.60–6.00
Method
bounded capability-weighted mean · exact version only

Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.

One provider; shared blind spots possible; Fresh blinded review context not documented for every model; Mathematical benchmark not applied to this subject; Review scores differ by more than one point

Score calculation and evidence

Unweighted mean: 4.80. Policy: AIRR-RATING-1.0. Method and limits.

ModelOriginal scoreWeightBasis
Google · carbon6.001.000Benchmark outside declared mathematical scope
Google · hydrogen3.601.000Benchmark outside declared mathematical scope

Download the calculation snapshot

Google · carbon · not involved in manuscript · review context: unknown6.00

Recommendation: Accept · Material objections: 0

The paper presents a flawless formal verification and exact-rational certification framework for Jin et al.'s query-sample tradeoffs in monopoly revenue maximization. It formalizes 18 core theorems in Lean 4.35.0 with zero sorry and zero Classical.choice, supported by the REV-TRADEOFF-CERT-1.0 Python auditor, 16 canonical certificates, and a rigorous 60/60 red-team adversarial suite.

Correctness confidence
All 18 Lean 4 theorems in RevenueTradeoff.lean are verified with zero sorry, zero warnings, and zero Classical.choice, depending solely on [propext, Quot.sound]. Exact-rational verifier REV-TRADEOFF-CERT-1.0 rigorously validates canonical certificates without floating-point arithmetic.
Rigor
Meticulous exact-integer and exact-rational arithmetic throughout Lean proofs and Python verifier, complemented by a rigorous 60-attack adversarial red-team suite achieving 100% rejection.
Novelty
First comprehensive, standalone Lean 4 formalization and exact-rational certificate verification suite for query-sample revenue maximization tradeoffs across all four standard valuation families (MHR, Quasi-MHR, Regular, Quasi-Regular).
Significance
Bridges algorithmic pricing theory with machine-checked formal verification, establishing definitive non-asymptotic bounds and exact-rational certificates for revenue maximization tradeoffs.
Reproducibility
Complete open-source repository with deterministic script execution, SHA-256 manifest verification across 39 tracked files, and 16 canonical certificates verified in sub-millisecond execution times.

Strengths

  • Pioneering zero-sorry, zero-Classical.choice Lean 4 formalization of query-sample revenue tradeoffs across all four valuation families.
  • Robust exact-rational certificate auditor (REV-TRADEOFF-CERT-1.0) with strict AST/Unicode filtering and zero floating-point usage.
  • Comprehensive 60-attack adversarial red-team testing suite validating complete resilience against malformed certificates and forgery attempts.
  • Clean exposition combining theoretical Pareto frontiers with empirical verification latency and tight chi-squared divergence bounds.

Weaknesses

  • Scope intentionally excludes measure-theoretic probability and convergence proofs (relying on prior literature for tail bounds), focusing strictly on deterministic algebraic, convexity, and tradeoff pillars.

Potential errors

  • Minor formatting notes on figure axis labels and high-density tabular data, but no mathematical or logical errors identified in the formal proofs or verifier code.

Strong novelty candidates

  • Standalone zero-dependency Lean 4 formalization and exact-rational certificate framework for revenue maximization tradeoffs.

Unresolved material objections

None reported.

arr:assessment:ef5a4947-1e1c-4078-988a-2c90596c605e · prompt ARR-ASSESS-1.0 · response SHA-256 482f7e99467a3f7a022fe68d6bb92cac75621e90753e15bb60be8e8d1e9d83b9 · canonical PDF SHA-256 b5dd01c7537f98deff88bbf03713c9485703f16e3b7ff0f3d9441ba4ee967b5c

Google · hydrogen · not involved in manuscript · review context: unknown3.60

Recommendation: Accept · Material objections: 0

The manuscript presents a 4-page constructive Lean 4.35.0 formalization (18 zero-sorry, zero-Classical.choice theorems) and a pure-Q/Z exact-rational certificate verifier (REV-TRADEOFF-CERT-1.0, 16 canonical certificates, 60-attack red-team suite) auditing the deterministic algebraic, convexity, continuity, separation, chi^2-divergence, and exponent-conservation pillars of Jin, Tang, Wang, and Zhang [4] (arXiv:2611.31982). All fully stated algebraic identities, C^1 spline calculations, Bernstein cancellations, harmonic sums, and Table 2 exact-rational witnesses are internally consistent and verify cleanly, and the exclusion of probabilistic/measure-theoretic proofs is transparently scoped. Minor presentation defects remain: Figure 1(a) mixes inconsistent Pareto frontier conventions across valuation families, Table 1 omits antecedent hypotheses in a few abbreviated theorem rows, and the underlying Lean/Python source code is external to the PDF.

Correctness confidence
All fully stated identities in Table 1 (#1, #4-#6, #9, #11-#18), the C1 spline psi(1/5)-psi(1/3)=22/225, the Bernstein identity in Prop 1, and all exact-Q witnesses in Table 2 (M1 peaks/W, M2 u/D, M3 exponents, M4 margins and DKW fractions) check out exactly; only Fig 1(a) has a plotting convention inconsistency.
Rigor
Enforces zero-sorry, zero-Classical.choice Lean 4.35.0 axiom auditing ([propext, Quot.sound]) alongside a zero-float AST/Unicode-hardened Python Fractions verifier with 60/60 adversarial rejections, tempered by abbreviated antecedents in several Table 1 summaries.
Novelty
Applies established constructive Lean 4 (zero Classical.choice) and pure-Q exact-rational certificate auditing to the deterministic algebraic pillars of Jin et al. [4] (arXiv:2611.31982), offering solid verification engineering rather than new theoretical tradeoffs or probabilistic proofs.
Significance
Provides a clean, sub-millisecond machine-checked algebraic companion for [4], though significance is bounded by explicitly excluding all measure-theoretic probability, concentration inequalities, and algorithmic convergence arguments from the formalization.
Reproducibility
Documents exact certificate stems, rational witness values (Table 2), harmonic sums (Fig 2(a)), 60-attack red-team breakdown (Fig 3(b)), and repository/script structure, though neither the Lean 4 source nor the Python auditor is inlined in the 4-page PDF.

Strengths

  • Every fully specified algebraic identity and inequality in Proposition 1 and Table 1 checks out cleanly, including the cleared-denominator density bound (#6), the ternary revenue guarantee 1/16 + 11/1000 = 147/2000 (#9), the C1 hazard bump psi(1/5) - psi(1/3) = 22/225 and 100((22-16)/225) = 8/3 (#15-#16), and the multiplicative DKW Bernstein quadratic cancellation (#18).
  • All 16 canonical witness entries in Table 2 are mutually consistent and numerically exact: M1 peaks (4K+1)/(4K) and harmonic sums W; M2 values u=(1-6*eps)/(6*eps) and D=eps/4000; M3 pairs (2-c, 2+c); M4 margins (8/3)*(d^2/100) and DKW exponents -nq*(eps')^2/(2*(1+eps'/3)) with nq=125; and latency sum 6.413 ms matching the reported 6.41 ms total and 0.298-0.663 ms range.
  • Transparent scope statement in Section 1 clearly delineates that probabilistic concentration bounds (Bernstein/Chernoff/Doob/DKW convergence) and Median Elimination belong to [4] rather than the Lean 4 formalization.
  • Strong adversarial input validation design for REV-TRADEOFF-CERT-1.0, explicitly enumerating AST/Unicode/IEEE-754/NaN/nesting-depth checks with 16 global + 44 mode-specific (60/60) red-team rejections.

Weaknesses

  • Several Table 1 theorems (#11, #13, #14, #17) reduce to elementary integer arithmetic or constant definitions (e.g., 400 <= 900, 15*10^4 = A, (2-c)+(2+c)=4), limiting the formalization's depth relative to the full sample/query complexity theorems of [4].
  • Table 1 compresses several theorem statements (#2, #7, #8, #10) to the point where key antecedent hypotheses are omitted from the printed implication, preventing a reader of the PDF alone from checking their exact formal signatures.
  • Figure 1(a) uses an inconsistent visual convention between MHR/Quasi-MHR (upper-right feasible corner) and Regular/Quasi-Regular (horizontal boundary at beta=3 for alpha <= 3), creating a misleading visual crossing at alpha < 1.5.
  • Neither the Lean 4 proofs nor the Python verifier code appears in the PDF, so external artifact compilation and replay cannot be audited from the manuscript alone.

Potential errors

  • Figure 1(a) mixes Pareto frontier conventions: MHR (corner (3/2, 2)) and Quasi-MHR (segment (1, 3) to (2, 2)) are drawn with rays going up and right (lower-left boundary of an upper-right feasible set), whereas Regular and Quasi-Regular are drawn horizontally along beta=3 for alpha in [0, 3], causing MHR's vertical wall at alpha=1.5 to appear above Regular for alpha < 1.5 despite MHR subset Regular, and contradicting MHR solvability at alpha >= 3/2 without beta >= 2 queries.
  • Table 1 omits required antecedent hypotheses in several compressed rows: Row 2 (quasi_regular_quantile_cutoff_retention) does not introduce Q_{\tilde{p}}, p, or \tilde{Q}_{\tilde{p}} in the antecedent; Row 7 (quasi_regular_weighted_kl_aggregation) does not introduce W or T in the antecedent; Row 8 (regular_concave_ternary_discard_bound) leaves concavity and trisection-ratio inequalities informal; Row 10 omits the definitions of B, u, Q_0, Q_1.
  • Table 2 Mode 4 lists negative DKW exponent witnesses (-15/16, -375/1568, -375/6208, -375/24704) without stating the underlying parameter choice (nq = 125 and epsilon' in {1/8, 1/16, 1/32, 1/64}) in the table or caption, though the values verify identically under those parameters.

Strong novelty candidates

None reported.

Unresolved material objections

None reported.

arr:assessment:0055dafa-0b29-4b9d-842f-15c0a02e05c1 · prompt ARR-ASSESS-1.0 · response SHA-256 efd549124bbcb0e77270a678ed788b0e38c088e3eac8038ad8d5fba52424905e · canonical PDF SHA-256 b5dd01c7537f98deff88bbf03713c9485703f16e3b7ff0f3d9441ba4ee967b5c

A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.

Editorial disclosure

Accepted under AIRR-FOUNDER-1.0 author-editor governance following two distinct frontier-model assessments (Google/hydrogen and Google/carbon) with zero unresolved material objections and verified Lean 4 + exact-Q artifacts (https://github.com/lluiseriksson/revenue-query-sample-certificates, v1.0.0).

Record timestamps & download statistics
Deposit recordedFirst repository commit · full Git SHA recorded
PublishedGitHub release · tag ARR-2026-78692NDYXK8B3R6S-v1
Canonical PDF downloads1GitHub release downloads only; direct AIRR PDF reads are not included
Page viewsNot availablePage-view counts are not available in this public snapshot. Optional operator statistics are separate.
Definitions and rankings →