Skip to content

Fix bug where a definition's bound variables were not properly added - #198

Open
abnormalhare wants to merge 1 commit into
digama0:masterfrom
abnormalhare:bound_variable_fix
Open

Fix bug where a definition's bound variables were not properly added#198
abnormalhare wants to merge 1 commit into
digama0:masterfrom
abnormalhare:bound_variable_fix

Conversation

@abnormalhare

Copy link
Copy Markdown

To be fully honest, I don't know Rust. I used the builtin Github Copilot to VSCode to get this fixed.

I was messing around with MM0 when I tried to use this definition:
def wtru: wff = $ (A. x (cv x = cv x)) -> (A. x (cv x = cv x)) $;
This brought up the error "variables {x} missing from dependencies" which didn't make sense. I worked through this with the AI and it suggested this very small edit which appears to have made the error go away.

If the result of this is faulty or breaks some error checking in some way, apologies for the PR. Otherwise, I hope this helps.

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.

1 participant