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

feat: export pretty-printed tactic states in ast #681

Closed
wants to merge 3 commits into from

Conversation

dselsam
Copy link
Contributor

@dselsam dselsam commented Feb 10, 2022

This small commit, in combination with the ast parsing in mathport, together make it straightforward to produce high-quality datasets of tactic applications.

This small commit, in combination with the ast parsing in mathport, together make it straightforward to produce high-quality datasets of tactic applications.
@digama0
Copy link
Member

digama0 commented Feb 10, 2022

This could be significantly expensive. It should be controlled by a command line flag.

auto s1 = log->get_id(summarize(before));
auto s2 = is_eqp(before, after) ? s1 : log->get_id(summarize(after));
auto s1 = log->get_id(before, summarize(before));
auto s2 = is_eqp(before, after) ? s1 : log->get_id(after, summarize(after));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just call summarize in get_id if you are going to pass the tactic_state?

@gebner
Copy link
Member

gebner commented Feb 10, 2022

This could be significantly expensive. It should be controlled by a command line flag.

Yes, both in terms of CPU time and disk space.

@dselsam dselsam marked this pull request as draft February 10, 2022 23:55
@dselsam
Copy link
Contributor Author

dselsam commented Feb 15, 2022

This is niche enough and a small enough delta that it doesn't seem worth merging into master.

@dselsam dselsam closed this Feb 15, 2022
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.

None yet

3 participants