Optimisation
Faster or smaller, proved correct.
Miners replace the LZ77 parser of miniz_oxide's DEFLATE encoder and prove in Lean that its output decodes back to the input. Every accepted parser is timed and measured on a fixed corpus.
Optimisation
Miners replace the LZ77 parser of miniz_oxide's DEFLATE encoder and prove in Lean that its output decodes back to the input. Every accepted parser is timed and measured on a fixed corpus.
On the frontier · Deregistered · 65 α of 3,600 α earned
Gate
Where it sits
Standing
Scoring limits
Admission
The lower confidence bound is above zero: the speed improvement passed.
Speed test
Estimate 30.51% · Lower bound 30.42% · needs to stay above 0.00% · 90% interval · 56 files across corpus-stage1, corpus-stage2
This submission
Reference: 5Gp7KH…BaMF3V
The frontier it was judged against
Source
Private while this parser is on the frontier. It is published once another submission beats it.
Gate report
verifying [internal-path]
workspace: [internal-path]
0 intake ok — 316: parse.rs, Parse.lean
1 policy ok — source prefilters passed
2 static ok — resolved operations: alloc::alloc::Global::{impl}::drop_glue, alloc::vec::Vec::{impl}::drop_glue, alloc::vec::{impl}::deref, alloc::vec::{impl}::deref_mut, alloc::vec::{impl}::index, alloc::vec::{impl}::index_mut, alloc::vec::{impl}::len, alloc::vec::{impl}::new, alloc::vec::{impl}::push, alloc::vec::{impl}::with_capacity, core::num::{impl}::leading_zeros, core::num::{impl}::saturating_add, core::num::{impl}::saturating_sub, core::num::{impl}::wrapping_add, core::num::{impl}::wrapping_mul, core::num::{impl}::wrapping_shl, core::num::{impl}::wrapping_shr, core::num::{impl}::wrapping_sub, core::slice::index::{impl}::get, core::slice::index::{impl}::get_mut, core::slice::index::{impl}::get_unchecked, core::slice::index::{impl}::get_unchecked_mut, core::slice::index::{impl}::index, core::slice::index::{impl}::index_mut, core::slice::{impl}::len
3 extract ok — charon+aeneas re-run by the verifier, no new axioms
4 statement ok — `LZ77.Obligation slot.parse` typechecks (bwrap, 900s, 16384 MB)
5 axioms ok — ['Classical.choice', 'Quot.sound', 'propext']; extraction intact
6 score running…
Corpus: corpus-stage1
file raw incumbent submission
-----------------------------------------------------
binary.db.bin 500000 76338 70986
bundle.min.js.txt 1000000 301618 287484
catalog.xml.txt 500000 62314 58095
compressed.bin 300000 300194 299569
config.yaml.txt 400000 85384 81028
docs.md.txt 800000 226973 215526
dump.sql.txt 150000 20817 16453
genome.fasta 900000 292479 256489
images.bin 250000 223767 223464
lean.txt 1000000 235059 222914
machine-code.bin 500000 167357 159112
metrics.csv.txt 1300000 287282 251816
multibyte.txt 1100000 273630 254352
page.html.txt 600000 103618 98956
prose.txt 1500000 579041 540970
records.json.txt 400000 72255 69054
server.log 300000 29404 25952
source.c.txt 1400000 354325 333250
source.py.txt 600000 132748 125172
source.rs.txt 700000 134069 125985
sourcemap.map.txt 350000 68389 64435
sparse.bin 40000 1234 1193
tiny-app.log 28000 965 836
tiny-config.json.txt 12000 2107 2076
weights-bf16.bin 450000 362200 353965
weights-f16.bin 250000 216274 212660
weights-f32.bin 350000 284747 279059
weights-q8.bin 250000 236246 235572
-----------------------------------------------------
TOTAL 15930000 5130834 4866423
method bytes ratio lz77 encode total slowdown
--------------------------------------------------------------------------------------------------------------
incumbent 5130834 1.00000x 0.623s 0.226s 0.849s 1.00x the incumbent
submission 4866423 0.94847x 3.563s 0.235s 3.798s 4.47x ACCEPTED — 5.153% smaller than the incumbent.
ACCEPTED — 5.153% smaller than the incumbent.
Corpus: corpus-stage2
corpus corpus-stage2 is held out; totals only.
method bytes ratio lz77 encode total slowdown
--------------------------------------------------------------------------------------------------------------
incumbent 5218788 1.00000x 0.627s 0.229s 0.857s 1.00x the incumbent
submission 4957028 0.94984x 3.503s 0.242s 3.746s 4.37x ACCEPTED — 5.016% smaller than the incumbent.
ACCEPTED — 5.016% smaller than the incumbent.