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

Add test cases about minimization #170

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

GinoGiotto
Copy link
Contributor

fixes #165

This PR contains two tests: the first has a proof that can be automatically minimized, the second one cannot. I designed them to be as similar to each other as possible. This aims to isolate the issue that causes #165 and therefore provide a (hopefully) sound explanation of the phenomenon.

Additional evidence is provided by the fact that my edited version of the minimizer can find the test shortening of th2 in min_not_found.mm, which the regular minimizer cannot detect.

The following comments [1] [2] have been very helpful to figure out the issue, and the test cases presented in this PR have been inspired by them.

@jkingdon jkingdon merged commit 50179d3 into metamath:master Aug 6, 2024
2 checks passed
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.

Minimizer doesn't find simple shortening
2 participants