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

Replace syl5reqr with eqtr3di #4276

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Replace syl5reqr with eqtr3di #4276

merged 1 commit into from
Oct 10, 2024

Conversation

jkingdon
Copy link
Contributor

This is in set.mm and iset.mm

  • Add eqtr3di with the order of the hypotheses switched and the variables renamed.

  • edit local copy of scripts/minimize to use "minimize_with eqtr3di/may_grow" in place of the normal minimize

  • Run "show usage syl5reqr" and copy-paste the output to a shell command like for i in x y z; do scripts/minimize $i set.mm; done

  • For theorems which had been marked "Proof modification is discouraged", add /OVERRIDE on PROVE and SAVE NEW_PROOF in the script and run. Check that the change to use eqtr3di is the only modification printed in the output. (This step was needed for sineq0ALT in set.mm and nothing in iset.mm)

  • Remove syl5reqr

  • Repeat for iset.mm

This is in set.mm and iset.mm

* Add eqtr3di with the order of the hypotheses switched and the variables renamed.

* edit local copy of scripts/minimize to use "minimize_with eqtr3di/may_grow" in
place of the normal minimize

* Run "show usage syl5reqr" and copy-paste the output to a shell command like
for i in x y z; do scripts/minimize $i set.mm; done

* For theorems which had been marked "Proof modification is discouraged",
add /OVERRIDE on PROVE and SAVE NEW_PROOF in the script and run.
Check that the change to use eqtr3di is the only modification printed in the
output. (This step was needed for sineq0ALT in set.mm and nothing in iset.mm)

* Remove syl5reqr

* Repeat for iset.mm
@jkingdon jkingdon merged commit 60914d5 into metamath:develop Oct 10, 2024
10 checks passed
@jkingdon jkingdon deleted the eqtr3di branch October 10, 2024 21:16
@jkingdon
Copy link
Contributor Author

Going for the quick merge here on the theory that this is the best way to reduce merge conflicts.

This is the least proposed rename which involves moving hypotheses. After this I have in mind renaming:

proposed  syl5bb    bitrid      compare to bitri or bitrd
proposed  syl5rbb   bitr2id     compare to bitr2i or bitr2d
proposed  syl5eq    eqtrid      compare to eqtri or eqtrd

and then taking a look at the rest with an eye towards making a new pull request with proposals for what should happen and what should be dropped.

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