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

[FEATURE] Short Truth Table Free Variable Direct Rule #677

Open
charlestian23 opened this issue Oct 31, 2023 · 0 comments
Open

[FEATURE] Short Truth Table Free Variable Direct Rule #677

charlestian23 opened this issue Oct 31, 2023 · 0 comments
Labels
new feature Request for a new feature short truth table

Comments

@charlestian23
Copy link
Collaborator

Describe the current behavior of what you're trying to improve. If your enhancement request related to a problem, please also describe the problem.

Suppose we had the following statements in LEGUP:

A ^ B (^ is true)
C

Currently in LEGUP, in order to solve this puzzle, you can prove A and B are true using And Elimination. However, if you leave the puzzle as is, it counts as not solved. In order to solve the puzzle, you have to use the True or False Case Rule on C. Only then will the puzzle be marked as solved.

Describe the improvement you'd like

We should create a new Direct Rule called "Free Variable Direct Rule". This rule would check if the variable in question is a free variable. If it is, it would denote that it is a free variable using a new color (say yellow). So in our example above, the entire first statement would be green (since A, ^, and B are true) and C would be yellow. This would also mean students can avoid having to create multiple branches using case rules if there are multiple free variables involved in a puzzle file.

Describe alternatives you've considered

We could leave the current functionality as is, but I thought this feature might be useful, especially now that we have allowed people to create their own puzzle files and users may intentionally want to include multiple free variables. Our provided Short Truth Table puzzle files, to my knowledge, don't have any free variables.

Additional Context

No response

@charlestian23 charlestian23 added enhancement Improvement to existing feature short truth table new feature Request for a new feature and removed enhancement Improvement to existing feature labels Oct 31, 2023
@charlestian23 charlestian23 changed the title [ENHANCEMENT] Short Truth Table Free Variable Direct Rule [FEATURE] Short Truth Table Free Variable Direct Rule Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Request for a new feature short truth table
Projects
None yet
Development

No branches or pull requests

1 participant