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

Top-level disjoint variable restrictions apply backwards #163

Open
bmmoore opened this issue Jul 3, 2024 · 0 comments · May be fixed by #164
Open

Top-level disjoint variable restrictions apply backwards #163

bmmoore opened this issue Jul 3, 2024 · 0 comments · May be fixed by #164

Comments

@bmmoore
Copy link

bmmoore commented Jul 3, 2024

While working with some automatically generated proofs I found that top-level disjoint variable restrictions seem to apply also before the $d statement.

In this example metamath-knife --verify complains "Distinct variable violation" on R-id, as if the $d x y $. at the end of the file was active for R-any.

$c term |- R $.
$v x y $.
x-term $f term x $.
y-term $f term y $.

R-any $a |- x R y $.
R-id $p |- x R x $= x-term x-term R-any $.

$( The offending $d may come after multiple declarations $)
$v z $.
z-term $f term z $.
padding-lemma $a |- x R x $.

$d x y $.

metamath-exe accepts the proof. Within a block metamath-knife also respects ordering, after adding ${ before R-any and $} after the $d this example metamath-knife --verify accepts the file.

digama0 added a commit that referenced this issue Jul 3, 2024
@digama0 digama0 linked a pull request Jul 3, 2024 that will close this issue
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 a pull request may close this issue.

1 participant