Skip to content

feat(cli): add tactic-search --file for batch data generation#14

Merged
markm39 merged 1 commit into
masterfrom
feat/tactic-search-file
Mar 30, 2026
Merged

feat(cli): add tactic-search --file for batch data generation#14
markm39 merged 1 commit into
masterfrom
feat/tactic-search-file

Conversation

@markm39
Copy link
Copy Markdown
Collaborator

@markm39 markm39 commented Mar 30, 2026

Summary

  • Add --file flag to openproof tactic-search that takes a standalone .lean file
  • Creates a temp session from the file, runs Codex/ollama tactic search, exports verified pairs
  • Enables batch data generation: run in parallel on thousands of Goedel-Pset statements

Usage

OPENPROOF_TACTIC_PROPOSER=codex openproof tactic-search --file theorem.lean

Test plan

  • cargo check -p openproof-cli
  • Test with a simple .lean file containing sorry
  • Verify pairs exported to ~/.openproof/expert-data/positives.jsonl

Allows running tactic search on any .lean file with sorry, without
needing an existing session. Creates a temp session, writes the file
to workspace, runs search with Codex/ollama proposer, exports verified
pairs to ~/.openproof/expert-data/positives.jsonl.

Usage: openproof tactic-search --file path/to/theorem.lean

This enables batch data generation by running in parallel on thousands
of .lean files from Goedel-Pset.
@markm39 markm39 merged commit bedbdd2 into master Mar 30, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant