Skip to content

DAG Proof Output#2

Open
Tia-Vu wants to merge 10 commits intooflatt:oflatt-term-proofsfrom
Tia-Vu:oflatt-term-proofs
Open

DAG Proof Output#2
Tia-Vu wants to merge 10 commits intooflatt:oflatt-term-proofsfrom
Tia-Vu:oflatt-term-proofs

Conversation

@Tia-Vu
Copy link
Copy Markdown

@Tia-Vu Tia-Vu commented Oct 17, 2023

Added an option to print the proof as an adjacency list representing a DAG instead of as a tree. The default is to print as a tree unless the :dag flag is added to the end of the get-proof or lookup-proof command. Ex. (get-proof (= addx2 addx20) :dag).

Terms are printed after being renumbered where the original ordering of all values, but not nums are maintained.

There is also a term_id_to_string function so the original term IDs can also be printed instead.

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