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

And component #72

Merged
merged 46 commits into from
Mar 30, 2023
Merged

Conversation

ilitteri
Copy link
Collaborator

@ilitteri ilitteri commented Mar 23, 2023

Description

This PR adds the And component which performs the logic AND operation between felts.

The following components were implemented for this:

  • toBinaryConversion: converts a felt to its binary representation and generates constraints for it.
  • fromBinaryConversion: converts some binary representation into a felt and generates constraints for it.
  • add: generates constraints for adding two felts.
  • mul: generates constraints for multiplying two felts.

@ilitteri ilitteri self-assigned this Mar 23, 2023
@ilitteri ilitteri changed the base branch from main to assert_is_boolean_constraint March 23, 2023 20:10
Base automatically changed from assert_is_boolean_constraint to generate_constraints_in_black_box_functions March 27, 2023 19:39
@ilitteri ilitteri marked this pull request as ready for review March 28, 2023 16:52
@ilitteri ilitteri merged commit a100932 into generate_constraints_in_black_box_functions Mar 30, 2023
@ilitteri ilitteri deleted the and_component branch March 30, 2023 13:39
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.

2 participants