Skip to content

Conversation

@MirandaWood
Copy link
Contributor

(WIP)

This branch is only low priority (no bug fixes or big logic changes) including:

  • New comments/documentation
  • Rearranging code
  • Removing unnecessary relations (which are easy to reason about)
  • Renaming variables/relations

Applies to AVM-72 and AVM-81.

Comment on lines -78 to -84
// Needs to be commited since we'll use it in the ecc add lookup for doubling
pol commit not_end;
// not_end = sel & !end
not_end - sel * (1 - end) = 0;

// Double check: sel = not_end | end
end + not_end - sel = 0;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed end + not_end - sel = 0; as I think this is ensured by the definition of sel_not_end and SELECTOR_ON_START_OR_END

Comment on lines +166 to 169
// TODO Hack for bb-pilcom to see shifted temp columns // TODO required?
temp_x' - temp_x' = 0;
temp_y' - temp_y' = 0;
temp_inf' - temp_inf' = 0;
Copy link
Contributor Author

@MirandaWood MirandaWood Jan 17, 2026

Choose a reason for hiding this comment

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

Is this hack still needed? Removing it does indeed mean bb-pilcom ignores the shifted temp columns but I'm wondering if we can use a more permanent fix

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