Definition and explanation
This explanation was written alongside the formalization to describe the statement and its reasoning.
Lean definition
This module includes declarations linked to the Aeneas extraction. The source view pairs each matched declaration with its Rust input.
import Tablet.Assumptions
import Tablet.Preamble
import Tablet.num_imp_dec2flt_Lemire
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
noncomputable section
namespace dec2flt_model
-- [TABLET NODE: num_imp_dec2flt_Lemire_MIN_EXPONENT_FAST_PATH_default]
/-- [dec2flt_model::num::imp::dec2flt::Lemire::MIN_EXPONENT_FAST_PATH]
Source: 'num/imp/../../dec2flt/mod.rs', lines 121:4-121:70
Visibility: public -/
@[global_simps, irreducible, trait_default]
def num.imp.dec2flt.Lemire.MIN_EXPONENT_FAST_PATH.default {Self : Type}
{Clause0_Clause0_Clause0_Int : Type} (LemireInst : num.imp.dec2flt.Lemire
Self Clause0_Clause0_Clause0_Int) : Result Std.I64 :=
-- BODY
do
let i ← LemireInst.MAX_EXPONENT_FAST_PATH
-. i
Preservation and explanation
Natural-language argument
The status above describes the Lean proof. Its explanatory prose may remain a sketch after that proof closes.
Explanatory prose status
Prose retained as authored. The explanatory prose is preserved as it stood when captured.
The authored explanation is included with the statement above.
Proof structure
Follow the declared dependencies to read the supporting statements and proofs.
Inspect related source (22)
- default · dec2flt/mod.rs:121 Program Rust
- Lemire · dec2flt/mod.rs:115 Program Rust
- FloatErrorKind · num/mod.rs:18 Program Rust
More program dependencies (11)
- ParseFloatError · num/mod.rs:13 Program Rust
- Dec2FltAssemblyTrace · dec2flt/mod.rs:318 Program Rust
- Dec2FltTrace · dec2flt/mod.rs:284 Program Rust
- BiasedFp · dec2flt/common.rs:52 Program Rust
- ByteSlice · dec2flt/common.rs:4 Program Rust
- Decimal · dec2flt/decimal.rs:32 Program Rust
- DecimalSeq · dec2flt/decimal_seq.rs:21 Program Rust
- CastInto · traits.rs:18 Program Rust
- Float · traits.rs:67 Program Rust
- FloatExt · traits.rs:168 Program Rust
- Int · traits.rs:27 Program Rust
Standard-library dependencies (8)
- FpCategory · core/src/num/mod.rs:1522 Rust library
- Add · core/src/ops/arith.rs:76 Rust library
- Div · core/src/ops/arith.rs:460 Rust library
- Mul · core/src/ops/arith.rs:322 Rust library
- Neg · core/src/ops/arith.rs:690 Rust library
- BitOr · core/src/ops/bit.rs:254 Rust library
- Shl · core/src/ops/bit.rs:461 Rust library
- Shr · core/src/ops/bit.rs:584 Rust library
Related source and models come from the extraction records and declared dependencies.
Proof assumptions and review
Lean checks the formal proof. Trellis also reviews how the statement corresponds to the intended requirement.
Transitive assumptions
- Classical.choice
- Quot.sound
- propext
This list combines the assumptions recorded for this declaration and its dependencies. It may include assumptions used by auxiliary declarations in those modules.
Helper theorems included
- core num FpCategory
- core ops arith Add
- core ops arith Div
- core ops arith Mul
- core ops arith Neg
- core ops bit BitOr
All 14 entries
- core num FpCategory
- core ops arith Add
- core ops arith Div
- core ops arith Mul
- core ops arith Neg
- core ops bit BitOr
- core ops bit Shl
- core ops bit Shr
- num imp dec2flt Lemire
- num imp dec2flt Lemire MIN EXPONENT FAST PATH default
- num imp traits CastInto
- num imp traits Float
- num imp traits FloatExt
- num imp traits Int
Technical checking records
Local closure summary
{
"node": "num_imp_dec2flt_Lemire_MIN_EXPONENT_FAST_PATH_default",
"closure_version": "patch_c_v1",
"active_decl_hash": "9184f6265d83ea15900cfc02508b65b3ec77fda96afb3e0b31fcffcb5de12178",
"active_statement_hash": "",
"kernel_axioms": [
"Classical.choice",
"Quot.sound",
"propext"
],
"toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
"lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
"checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
"approved_axioms_hash": "b3d2e5a7a57ad9d2abdfb1c60bd76050a5cafa6a2be969c219d3ae71b2a8ade5",
"axcheck_status": "Agreed",
"accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-1",
"boundary_theorems": {},
"strict_theorem_deps": {},
"strict_definition_deps": {
"num_imp_dec2flt_Lemire": "dee8bafa6a4122e2"
}
}Prose assessment
{
"label": "Prose review has no verdict in this snapshot",
"assessment_status": null,
"fingerprint_relation": "unknown",
"assessment_fingerprint": null,
"current_fingerprint": null,
"superseded_for_theorem_closure": false
}Review verdicts
{}