Skip to content

Enable extended thinking for parent proof assembly in RecursiveProver - #130

Draft
crqu wants to merge 1 commit into
masterfrom
factory/run-075a38a1
Draft

Enable extended thinking for parent proof assembly in RecursiveProver#130
crqu wants to merge 1 commit into
masterfrom
factory/run-075a38a1

Conversation

@crqu

@crqu crqu commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Closes #106

Changes

  • Added parent_extended_thinking boolean field to ProverConfig (default True) so the parent assembly step in RecursiveProver._prove_parent_with_children() uses extended thinking by default
  • Pass thinking_budget from ProverConfig to the LLM complete() call when extended thinking is enabled
  • Added structured logging (parent_assembly_extended_thinking) when parent assembly runs
  • Added 5 tests verifying: default extended thinking enabled, custom thinking budget passed, disabling via config, config defaults, and budget propagation

Add parent_extended_thinking field to ProverConfig (default True) so the
hardest reasoning step — parent assembly with child axiom declarations —
uses extended thinking and passes thinking_budget to the LLM. Add structured
logging and 5 tests covering the new behavior.

Closes #106

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

RecursiveProver parent proof should use extended thinking for hard assembly steps

1 participant