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

Generalize over field variable type #861

Merged
merged 14 commits into from
Jan 8, 2025
Merged

Conversation

mrmr1993
Copy link
Member

@mrmr1993 mrmr1993 commented Jan 7, 2025

This PR relaxes the constraint that field_var = field Cvar.t, allowing the backend to select an appropriate variable kind according to its needs. Importantly, this also lets us use a type defined in the rust FFI, allowing us to plug into a shared backend with o1rs.

@@ -298,9 +298,9 @@ end
module type Field_var_intf = sig
type field

(** The type that stores booleans as R1CS variables. *)
Copy link
Member

@dannywillems dannywillems Jan 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait. You're reading the documentation now? 😮

@dannywillems dannywillems merged commit 8d9ac43 into master Jan 8, 2025
3 checks passed
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