F64_Insts_Dec2flt_modelNumImpDec2fltLemireU64_pow10_fast_path

Lean checked

Definition and explanation

This explanation was written alongside the formalization to describe the statement and its reasoning.

No paired prose available.

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
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
noncomputable section
namespace dec2flt_model

-- [TABLET NODE: F64_Insts_Dec2flt_modelNumImpDec2fltLemireU64_pow10_fast_path]
/-- [dec2flt_model::num::imp::dec2flt::{impl dec2flt_model::num::imp::dec2flt::Lemire<u64> for f64}::pow10_fast_path]:
    Source: 'num/imp/../../dec2flt/mod.rs', lines 222:4-252:5
    Visibility: public -/
def F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64.pow10_fast_path
  (exponent : Std.Usize) : Result F64 :=
-- BODY
do
  let i ← lift (exponent &&& 31#usize)
  match i.val with
  | 0 => core.f64.F64.from_bits 4607182418800017408#u64
  | 1 => core.f64.F64.from_bits 4621819117588971520#u64
  | 2 => core.f64.F64.from_bits 4636737291354636288#u64
  | 3 => core.f64.F64.from_bits 4652007308841189376#u64
  | 4 => core.f64.F64.from_bits 4666723172467343360#u64
  | 5 => core.f64.F64.from_bits 4681608360884174848#u64
  | 6 => core.f64.F64.from_bits 4696837146684686336#u64
  | 7 => core.f64.F64.from_bits 4711630319722168320#u64
  | 8 => core.f64.F64.from_bits 4726483295884279808#u64
  | 9 => core.f64.F64.from_bits 4741671816366391296#u64
  | 10 => core.f64.F64.from_bits 4756540486875873280#u64
  | 11 => core.f64.F64.from_bits 4771362005757984768#u64
  | 12 => core.f64.F64.from_bits 4786511204640096256#u64
  | 13 => core.f64.F64.from_bits 4801453603149578240#u64
  | 14 => core.f64.F64.from_bits 4816244402031689728#u64
  | 15 => core.f64.F64.from_bits 4831355200913801216#u64
  | 16 => core.f64.F64.from_bits 4846369599423283200#u64
  | 17 => core.f64.F64.from_bits 4861130398305394688#u64
  | 18 => core.f64.F64.from_bits 4876203697187506176#u64
  | 19 => core.f64.F64.from_bits 4891288408196988160#u64
  | 20 => core.f64.F64.from_bits 4906019910204099648#u64
  | 21 => core.f64.F64.from_bits 4921056587992461136#u64
  | 22 => core.f64.F64.from_bits 4936209963552724370#u64
  | _ => core.f64.F64.from_bits 0#u64
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.

Download Lean source · Download TeX source

Proof structure

Follow the declared dependencies to read the supporting statements and proofs.

Explore this dependency tree

Inspect related source (45)
More program dependencies (12)
Standard-library dependencies (30)

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

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
All 30 entries
Technical checking records
Local closure summary
{
  "node": "F64_Insts_Dec2flt_modelNumImpDec2fltLemireU64_pow10_fast_path",
  "closure_version": "patch_c_v1",
  "active_decl_hash": "b0b157fde97de06ec940a391ed3db53c13bd0c6e87ca1cf2f3ecd8dd0068ab77",
  "active_statement_hash": "",
  "kernel_axioms": [
    "Classical.choice",
    "Quot.sound",
    "propext"
  ],
  "toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
  "lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
  "checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
  "approved_axioms_hash": "576e6bf9480cfd32f53c309c7ac8fb115c1ba6e413f299ed5ff9fa7c647e6769",
  "axcheck_status": "Agreed",
  "accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-181",
  "boundary_theorems": {},
  "strict_theorem_deps": {},
  "strict_definition_deps": {
    "F64": "ec4e25fbaf4e11d4",
    "Preamble": "365e22a97907c302"
  }
}
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
{}