Skip to content

Add canonical logic derivation task - #43

Draft
sileod wants to merge 2 commits into
mainfrom
agent/logic-derivation-task
Draft

Add canonical logic derivation task#43
sileod wants to merge 2 commits into
mainfrom
agent/logic-derivation-task

Conversation

@sileod

@sileod sileod commented Aug 5, 2026

Copy link
Copy Markdown
Owner

What changed

  • add a logic_derivation task reusing logic_depth theory generation, rendering, focusing, metadata, and difficulty controls
  • add bounded proof-term dynamic programming with the objective: minimum derivation depth, then minimum proof-tree size
  • reject examples with multiple optimal proof strings
  • preserve generation balancing state only for accepted examples
  • add tests for size tie-breaking, ambiguity rejection, registration, generation, and scoring

Answer format

Facts are line numbers, and rule applications are recursive terms, for example 8(2,7(0,3)).

Validation

  • Python syntax compilation for both new files
  • isolated execution tests for unique proofs, ambiguous proofs, tie-breaking, and zero-body rule serialization

The full repository test suite was not run locally because this environment has no repository checkout or outbound GitHub access.

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