Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2.3's decoder is a compiled statement

Proved
LinearSetReconciliation327.Main.cr23_progDec_stmt

by djwj233 · Nov 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

compilerdecoderlinear-set-reconciliationrelocationstatementword-ram

The decoder program progDec\mathrm{progDec}progDec of Proposition 2.3 is compiled from a single source-level statement SdecS_{\mathrm{dec}}Sdec​ of the word-RAM programming language, i.e. there is a Stmt SdecS_{\mathrm{dec}}Sdec​ with Sdec.compile(0)+ ⁣+[halt]=progDecS_{\mathrm{dec}}.\mathrm{compile}(0) \mathbin{+\!+} [\mathrm{halt}] = \mathrm{progDec}Sdec​.compile(0)++[halt]=progDec −-− so the decoder is a relocatable block and can be sequenced with a further stage, which is impossible for the bare Program that Proposition 2.3 exports, since its jump targets are absolute.

Preamble
import Definitions.Def_LinearSetReconciliation327_Main_CR23Dec
Formal statement
namespace LinearSetReconciliation327.Main

theorem cr23_progDec_stmt : ∃ (Sdec : Stmt), Sdec.compile 0 ++ [iHalt] = progDec := by sorry

end LinearSetReconciliation327.Main
Source
arXiv:2611.11409 (Liu, Xu, Yang, Zhou, *Linear Set Reconciliation with O(d) Additive Redundancy*), §2.3 (Proposition 2.3: the CR23 decoder program); CR23 construction from M. Cheraghchi and I. Ribeiro, *Simple Codes for Sparse Recovery*, arXiv:1901.02852. Extracted from the verified development `Solutions/Sol_proposition_2_3.lean` §3 (`def decStmt`, `def progDec`).

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