F32_Insts_Dec2flt_modelNumImpDec2fltLemireU32_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: F32_Insts_Dec2flt_modelNumImpDec2fltLemireU32_pow10_fast_path]
/-- [dec2flt_model::num::imp::dec2flt::{impl dec2flt_model::num::imp::dec2flt::Lemire<u32> for f32}::pow10_fast_path]:
    Source: 'num/imp/../../dec2flt/mod.rs', lines 179:4-196:5
    Visibility: public -/
def F32.Insts.Dec2flt_modelNumImpDec2fltLemireU32.pow10_fast_path
  (exponent : Std.Usize) : Result F32 :=
-- BODY
do
  let i ← lift (exponent &&& 15#usize)
  match i.val with
  | 0 => core.f32.F32.from_bits 1065353216#u32
  | 1 => core.f32.F32.from_bits 1092616192#u32
  | 2 => core.f32.F32.from_bits 1120403456#u32
  | 3 => core.f32.F32.from_bits 1148846080#u32
  | 4 => core.f32.F32.from_bits 1176256512#u32
  | 5 => core.f32.F32.from_bits 1203982336#u32
  | 6 => core.f32.F32.from_bits 1232348160#u32
  | 7 => core.f32.F32.from_bits 1259902592#u32
  | 8 => core.f32.F32.from_bits 1287568416#u32
  | 9 => core.f32.F32.from_bits 1315859240#u32
  | 10 => core.f32.F32.from_bits 1343554297#u32
  | _ => core.f32.F32.from_bits 0#u32
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 (22)
More program dependencies (11)
Standard-library dependencies (8)

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
Technical checking records
Local closure summary
{
  "node": "F32_Insts_Dec2flt_modelNumImpDec2fltLemireU32_pow10_fast_path",
  "closure_version": "patch_c_v1",
  "active_decl_hash": "639124fbb532d5b03abee3a72a37f941311997d243d14446209c610136d7eb66",
  "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": {
    "F32": "66afddba6ae3fdd8"
  }
}
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
{}