Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Physical descriptor construction for three times the source value plus two

Proved
IntMul.AffineTriple.affine_descriptor

by raresbuhai · Oct 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithmsfixed-tape-routinginteger-multiplicationturing-machines

For any finite big-endian source word www, the fixed three-tape machine, starting with the actual marked source and empty output and scratch banks, halts in its exact final frame within

2∣w∣+42|w|+42∣w∣+4

actual transitions. It retains the source cells, returns the source head to its marker, leaves scratch empty, and writes a little-endian word bbb whose output cursor is at its actual end and which satisfies

val⁡LE(b)=3val⁡(w)+2,∣b∣≤∣w∣+2.\operatorname{val}_{\mathrm{LE}}(b)=3\operatorname{val}(w)+2,\qquad |b|\le |w|+2.valLE​(b)=3val(w)+2,∣b∣≤∣w∣+2.

The source may be empty or contain leading zeros. No numerical value or length is supplied to the machine. For the computed block-size-minus-one descriptor, this constructs the coefficient-precision-minus-one value 3B−13B-13B−1.

Preamble
import Definitions.Def_IntMul_AffineTriple
import Mathlib.Tactic

open IntMul IntMul.AffineTriple

Formal statement
theorem IntMul.AffineTriple.affine_descriptor (w : List Bool) :
    ∃ t : ℕ, t≤ 2*w.length+4 ∧ machine.step^[t] (initialFrame w)=finalFrame w ∧
      BinaryAdder.littleVal (triple 2 w.reverse)=3*val w+2 ∧
      (triple 2 w.reverse).length≤ w.length+2 := by sorry
Source
Original physical finite-carry descriptor transformation, full retained frame and explicit clock. Written by Codex.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me