Skip to content

Logic: optional proof traces for chaining, resolution, DPLL and CDCL - #212

Merged
dmeoli merged 1 commit into
masterfrom
feature/proof-traces
Dec 2, 2026
Merged

dmeoli merged 1 commit into
masterfrom
feature/proof-traces

Conversation

@dmeoli

@dmeoli dmeoli commented Dec 2, 2026

Copy link
Copy Markdown
Member

folFcAsk, folBcAsk, plResolution, folResolution, dpllSatisfiable and cdclSatisfiable take a last option {trace}, an array they fill, without it nothing changes

  • folFcAsk: the inferred facts in order, {fact, rule, theta, premises}
  • folBcAsk: the search tree, nodes {goal, rule, theta, status, children}, status proved, failed or open
  • plResolution, folResolution: every clause, {clause, from, parents, theta}, parents the indices of earlier clauses, down to the empty clause false
  • dpllSatisfiable: pure, unit, decide, flip and conflict steps with their depth
  • cdclSatisfiable: decide, propagate (with the reason), conflict (with the 1UIP learnt clause and the backjump level) and restart

I need them to draw proof trees and refutation DAGs on the site

folFcAsk, folBcAsk, plResolution, folResolution, dpllSatisfiable and
cdclSatisfiable take a trailing {trace} option, an array they fill with
the inferred facts, the goal tree, the refutation DAG or the search
steps; without it nothing changes.
@dmeoli
dmeoli marked this pull request as ready for review December 2, 2026 12:53
@dmeoli
dmeoli merged commit 2e8e182 into master Dec 2, 2026
1 check passed
@dmeoli
dmeoli deleted the feature/proof-traces branch December 2, 2026 12:53
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