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

Kwxm/spec/no flat for bls #5690

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Kwxm/spec/no flat for bls #5690

merged 2 commits into from
Dec 21, 2023

Conversation

kwxm
Copy link
Contributor

@kwxm kwxm commented Dec 19, 2023

This updates the specifcation to reflect the changes made in #5663, where we removed direct serialisation of the BLS12-31 G1 and G2 element types. The main changes are in Note 4 on pages 38-39 and Section C.3.4 on pages 55-56. There's a bit of repetition, but I thought that would probably make it more obvious what was going on. I'll follow this up shortly with a separate PR to add the concrete syntax for lists/pairs/data.

Rendered version: plutus-core-specification.pdf

@kwxm kwxm added Specification No Changelog Required Add this to skip the Changelog Check labels Dec 19, 2023
@kwxm kwxm requested review from mjaskelioff and zliu41 December 19, 2023 14:38
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added these changes for the list/pair/data issue but then decided to do that in a separate PR. They'll make more sense when I do that.

@@ -17,7 +17,7 @@ \subsection{Sets}
\item $\B^*$ is the set of all bytestrings.
\item $\Z = \{\ldots, -2, -1, 0, 1, 2, \ldots\}$.
\item $\mathbb{F}_q$ denotes a finite field with $q$ elements ($q$ a prime power).
\item $\mathbb{F}_q^*$ denotes the multiplicative group of nonzero elements of $\mathbb{F}_q$.
\item $\units{\mathbb{F}} = \mathbb{F}\setminus\{0\}$ denotes the multiplicative group of nonzero elements of a field $\mathbb{F}$.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is to avoid confusion with the X^* notation for sequences of elements of a set X. Both F^* and F^× are used in the mathematical literature.

@kwxm
Copy link
Contributor Author

kwxm commented Dec 21, 2023

I'll just merge this: it's not very complicated and the reviewers are on holiday.

@kwxm kwxm merged commit 091762f into master Dec 21, 2023
7 checks passed
@kwxm kwxm deleted the kwxm/spec/no-flat-for-bls branch December 21, 2023 18:13
Copy link
Contributor

@mjaskelioff mjaskelioff left a comment

Choose a reason for hiding this comment

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

LGTM

v0d1ch pushed a commit to v0d1ch/plutus that referenced this pull request Dec 6, 2024
* Change symbol for units of field to avoid confusion

* No flat serialisation for BLS12-381 elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Changelog Required Add this to skip the Changelog Check Specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants