Skip to content

343-NotExists.conclude_via_forall() update #344

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wdcraft01
Copy link
Collaborator

This updates the NotExists().conclude_via_forall() method and related code in the following ways:

  • Updates some import statements that had become obsolete;
  • Adds two theorems to the logic/booleans/quantification/existence sub-theory package in the form of variations of already-present theorems but now expressed in a slightly less general way by disincluding conditions from the NotExists() and Forall() objects, which in turn allows instantiations to proceed more smoothly in cases where such conditions do not exist;
  • Utilizes the old and new theorems in the updated conclude_via_forall() method, handling separately the cases with conditions vs cases without conditions;
  • Corrects some obsolete syntax in two ProofError() calls in logic/booleans/booleans.py.
    The updated code produces no errors during build_alt.py --essential.

Correct some ProofFailure() syntax in logic/booleans/booleans.py where only a string was being used as an argument instead of the now-standard three arguments consisting of an object, current assumptions or other context, and a message string.
Update imports in NotExists().conclude_via_forall() method, plus add two NotExists()-related theorems to help the conclude_via_forall() method work more smoothly by allowing cases where the NotExists() and Forall() objects use conditions vs. no conditions. Also correct an error in constructing a substitution for use in instantiation. Include some testing in the logic/booleans/quantification/existence demonstrations.ipynb notebook.
@wdcraft01 wdcraft01 requested a review from wwitzel August 3, 2025 02:18
@wdcraft01 wdcraft01 added the bug label Aug 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant