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

epic: Program Component #122

Open
6 of 10 tasks
zmalatrax opened this issue Dec 11, 2024 · 0 comments
Open
6 of 10 tasks

epic: Program Component #122

zmalatrax opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
epic Macro task - Usually a collection of sub-issues

Comments

@zmalatrax
Copy link
Collaborator

zmalatrax commented Dec 11, 2024

In order to prove that the Instruction table is effectively a sublist (ordered subset) of the program (ProgramMemory) that was run by the brainfuck_vm, we actually need a component representing the program itself (to use the LogUp protocol).

No need to add local constraints to the Program component, simply on the logUp column shared with the Instruction component.
As there is no local constraints, no need to flatten two consecutives rows (i.e. entries) into a single row as in the Instruction component.

Note: Should we enforce a sorting on ip, and add constraints that ip increases by one, starting at 0? Adding a constraint that ip must always be increased by one allows for the uniqueness of ip (unless it's a dummy row)

Trace

ip ci ni d

Trace

Preview Give feedback
  1. zmalatrax
  2. zmalatrax
  3. zmalatrax
  4. zmalatrax

Interaction Trace

Preview Give feedback
  1. zmalatrax
  2. zmalatrax
  3. zmalatrax

Component

Preview Give feedback
  1. zmalatrax
  2. zmalatrax
  3. zmalatrax
@zmalatrax zmalatrax moved this from Backlog to Todo in Stwo-brainfuck Dec 11, 2024
@zmalatrax zmalatrax self-assigned this Dec 11, 2024
@zmalatrax zmalatrax changed the title feat: Program Component epic: Program Component Dec 18, 2024
@zmalatrax zmalatrax added this to the Complete Brainfuck ZK-VM milestone Dec 18, 2024
@zmalatrax zmalatrax added the epic Macro task - Usually a collection of sub-issues label Dec 18, 2024
@zmalatrax zmalatrax moved this from Todo to In progress in Stwo-brainfuck Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Macro task - Usually a collection of sub-issues
Projects
Status: In progress
Development

No branches or pull requests

1 participant