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

Proof-of-Concept: Structured I/O, Numeric Hierarchy with (Semi)Euclidean + (Semi)Integral, Optimized Constants, Map-of-Maps multivariate polynomials #177

Draft
wants to merge 56 commits into
base: main
Choose a base branch
from

Conversation

echatav
Copy link
Contributor

@echatav echatav commented Jul 12, 2024

Proof-of-Concept draft reference demonstrating:

  • Structured Circuit I/O
  • Numeric/Algebraic typeclass hierarchy with
    • (Semi)Euclidean & (Semi)Integral
    • optimizable scalar combine and evalMonomial methods
    • Mod int n parametrizable by a SemiIntegral int and a KnownNat n or Prime n.
  • Map-of-maps definition of multivariate Polynomials
  • Optimization of constant variables.

@vlasin
Copy link
Contributor

vlasin commented Jul 23, 2024

We've recently added a new type of constraints called range constraints to the Circuit type. An input or output variable can be constrained to an interval of the form [0, a]. I think it would make sense to consider it in this draft.

Additionally, we will have constraints of the form (x_1, ..., x_k) \in T sometime soon. Just a heads up.

@vlasin vlasin requested a review from TurtlePU July 23, 2024 15:15
@vlasin vlasin mentioned this pull request Jul 25, 2024
2 tasks
@echatav echatav changed the title Structured i/o Structured i/o - proof of concept Aug 9, 2024
@TurtlePU
Copy link
Contributor

TurtlePU commented Aug 14, 2024

I think we salvaged the ideas from this PoC in #154, #214 and in #217, so we can close this. @echatav, what do you think?

@echatav
Copy link
Contributor Author

echatav commented Aug 14, 2024

I just want to keep it open as a reference, not to merge. There are still lots of things here as proof of concepts that are relevant to proposals that I want to merge back in their own PRs. I will add a label if it helps.

@echatav echatav changed the title Structured i/o - proof of concept Proof-of-Concept: Structured I/O, Numeric Hierarchy with Semi(Euclidean) + Semi(Integral), Map-of-Maps multivariate polynomials Aug 23, 2024
@echatav echatav changed the title Proof-of-Concept: Structured I/O, Numeric Hierarchy with Semi(Euclidean) + Semi(Integral), Map-of-Maps multivariate polynomials Proof-of-Concept: Structured I/O, Numeric Hierarchy with (Semi)Euclidean + (Semi)Integral, Map-of-Maps multivariate polynomials Aug 23, 2024
@echatav echatav changed the title Proof-of-Concept: Structured I/O, Numeric Hierarchy with (Semi)Euclidean + (Semi)Integral, Map-of-Maps multivariate polynomials Proof-of-Concept: Structured I/O, Numeric Hierarchy with (Semi)Euclidean + (Semi)Integral, Optimized Constants, Map-of-Maps multivariate polynomials Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants