This repository contains Lean4 proofs of error bounds for Logarithmic Number Systems (LNS) presented in the arXiv preprint Rigorous Error Analysis for Logarithmic Number Systems.
All proof files are located in the LNS directory.
Definitions.lean
All definitions which are used in the main results.
Audit.lean
All main results in one file. See Theorem53.lean
, Theorem68.lean
and Theorem72.lean
for other important results.
Tactic.lean
A tactic for computing derivatives.
Common.lean
Some general lemmas.
BasicRounding.lean
Basic properties of fixed-point rounding and approximations of functions.
BasicIxRx.lean
Basic properties of index functions Iₓ
, Rₓ
, ind
and rem
.
BasicPhi.lean
Basic properties of Φ⁺
and Φ⁻
.
BasicErrTaylor.lean
Basic properties of first-order Taylor error functions Ep
and Em
.
Lemma51.lean
An error bound of first-order Taylor approximation of Φ⁺
(Ep
).
Lemma52.lean
An error bound of first-order Taylor
approximation of Φ⁻
(Em
).
Theorem53.lean
Total error bounds of rounded first-order Taylor approximations of Φ⁺
and Φ⁻
.
BasicErrCorrection.lean
Basic properties of error correction functions Qp
and Qm
and related functions.
Lemma61.lean
Limits of Qp
and Qm
.
Lemma62.lean
Monotonicity of Qp
.
Lemma63.lean
An upper bound of the range of Qp
.
Lemma64.lean
An error bound of the index error of Qp
.
Lemma65.lean
Monotonicity of Qm
.
Lemma66.lean
An upper bound of the range of Qm
.
Lemma67.lean
An error bound of the index error of Qm
.
Theorem68.lean
Total error bounds of rounded error correction approximations of Φ⁺
and Φ⁻
.
Lemma71.lean
An auxiliary bound of |Φ⁻(x) - Φ⁻(y)|
.
Theorem72.lean
Total error bounds of rounded co-transformation approximations of Φ⁻
.