Skip to content

Conversation

@mariari
Copy link
Member

@mariari mariari commented Nov 21, 2023

NOT REAL

agureev and others added 10 commits November 3, 2023 18:59
Previously a Lambda function taking natural number arguments `A1` to
`An` would be compiled to a circuit with arguments `x1` to `x(n+1)`
where argument `xi` in the circuit for i<(n+1) stands for argument
`A(n-i)` and `x(n+1)` stands as an unused variable.

Current channge omits the final variable and renames the rest, so
that the compiled circuit will have appropriate argument order and
type corresponding to the relevant STLC term.

Note that this changes how to input coproduct type circuit variables.

A
Removes typos introduced in fb8bf60. In particular, changes
`mod_n`, `combine_aux`, `n_th`, `mod_n` and `drop-ith` as VampIR functions.
Adds a `library` flag which can be included while using Geb as a
binary to print the standard library alongside the compiled STLC or
Geb term.
Adds documentation for the new standard library flag.
Introduces `--test` flag using `-t` for binary usage. When used with
`-p`, given a compiled VampIR function of form `def foo x1 ... xn =
{body};` produces a test equality `foo x1 ... xn = y;` printed after
the entry function.
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.

3 participants