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

primality constraint #882

Merged
merged 8 commits into from
Sep 30, 2020
Merged

primality constraint #882

merged 8 commits into from
Sep 30, 2020

Commits on Sep 29, 2020

  1. Configuration menu
    Copy the full SHA
    b5bdd0f View commit details
    Browse the repository at this point in the history
  2. Implement the Field operations on Z p in the concrete simulator

    and the What4 symbolic simulator.
    
    We use the EGCD algorithm to compute inverses for concrete values.
    For symbolic values, we posit a multiplicitive inverse via a defining
    equation.  To get this to work, we needed to fix a bug in the
    equation definition code for What4; it was asserting definitions
    with the wrong polarity for "prove" calls.
    robdockins committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    74cc36c View commit details
    Browse the repository at this point in the history
  3. Implement znRecip for SBV.

    This involves adding the ability to assert definitional
    relations, and porting the What4 method for modular inverse.
    robdockins committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    1a2a6bb View commit details
    Browse the repository at this point in the history
  4. Rely on integer-gmp primitives for primality tests and

    modular inverse computations instead of using the arithmoi and
    semiring packages.
    robdockins committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    a1cf62e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9822d5f View commit details
    Browse the repository at this point in the history
  6. Add regression test for the primality testing constraint

    and finite field inverse computations.
    robdockins committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    da2e2c5 View commit details
    Browse the repository at this point in the history
  7. Update tests

    robdockins committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    2d2e2b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. Fix book typos

    robdockins committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    6b9a9f1 View commit details
    Browse the repository at this point in the history