You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: lean-exporter can reuse an opaque integer ID for distinct definitions #1880
bugSomething isn't workingcodegenDevice code-generation pipeline (Rust MIR to IR to PTX)cuda-oxideSIMT programming model: rustc backend, cargo oxide, cuda-device, cuda-host, bookformal-verificationCompile-time Lean 4 kernel verification (#[verify], oxide-proofs-preview, lean-exporter)safetyMemory safety, soundness, or undefined behaviorsoundness-auditCorrectness case under active maintainer audit; not cleared for merge yet
Each distinct opaque integer definition in an exported MIR function should get a unique oracle ID. Two fallback paths use recyclable register numbers, so different definitions can share an ID.
Minimal repro
The MIR regression compares opaque IDs in the typed exporter output. It uses guarded reads of element zero. Rust-level reproduction has not been established.
Observed output
The baseline regression on e4d512f74 counted four distinct IDs for five definitions. The numbers below are observations from that run, not expected register assignments.
assertion `left == right` failed: load, extract_array_element, and clc_query_* must have distinct OpaqueUint IDs: [(6, 32), (8, 32), (8, 32), (9, 32), (10, 32)]
left: 4
right: 5
Ubuntu on WSL2, Rust 1.99.1. The diagnostic comes from the host exporter test.
bugSomething isn't workingcodegenDevice code-generation pipeline (Rust MIR to IR to PTX)cuda-oxideSIMT programming model: rustc backend, cargo oxide, cuda-device, cuda-host, bookformal-verificationCompile-time Lean 4 kernel verification (#[verify], oxide-proofs-preview, lean-exporter)safetyMemory safety, soundness, or undefined behaviorsoundness-auditCorrectness case under active maintainer audit; not cleared for merge yet
Activity
fix(lean-exporter): allocate OpaqueUint IDs from opaque_ids (NVIDIA#1881