Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplifications simplify proof #24

Closed
wants to merge 2 commits into from

Conversation

Yag000
Copy link
Collaborator

@Yag000 Yag000 commented Jul 28, 2024

I've added a small theorem that states simplifications do not increase the number of symbols in formulas. This follows a conversation I had with @samvang and @hferee, in which we discussed adopting a more mathematical approach to simplifications by setting a goal and proving that our simplifications are a step toward that goal.

In this case, I used the same measure as the one used in the benchmark (number of symbols) to write the theorem, stating that the number of symbols in a simplified formula is always less than or equal to the original.

I don't see how we could get a better bound that isn't too implementation-dependent. Achieving that would probably require defining some notion of irreducibility, which I think would be hard to formalize in a useful and readable way.

The benchmark was also updated to output a last row in which summarizes the benchmark.

It will now also display the sum of all the sizes of the formulas before
and after the simplification, and the time it took to simplify them and
to compute their interpolants.
@hferee
Copy link
Owner

hferee commented Sep 12, 2024

Thanks for the work.
The definitions have changed quite a lot, and I'm not sure we can use this in the near future, so I'll close the PR for now.

@hferee hferee closed this Sep 12, 2024
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.

2 participants