Skip to content

Conversation

@loutr
Copy link
Contributor

@loutr loutr commented May 7, 2025

The theory SplitRO.SplitCodom from the standard library needlessly requires a bijection between the two spaces of interest, where only a left (or right, depending on your viewpoint) inverse is needed.

I admit willingly that the modifications are not very elegant, so I might be missing out on two ways to do it more cleanly:

  • Is there a way to insert an alias statement at the end of a program?
  • Is it possible to transform the goal more simply than with transitivity (as conseq cannot work here)? (This transformation is necessary as it allows rndsem* to only keep the right variables, which ultimately gives the same support on both sides).

@loutr loutr marked this pull request as draft May 7, 2025 13:28
Removed instantiation from the ChaChaPoly example (the lemma is a
priori still needed there, so it was not removed, but just moved where
appropriate)
@loutr loutr marked this pull request as ready for review May 7, 2025 13:43
@loutr
Copy link
Contributor Author

loutr commented May 7, 2025

Had to make minor adjustments for the ChaCha example as well, which depends on this.

@fdupress
Copy link
Member

fdupress commented May 7, 2025

@Cameron-Low , could we have a codepos for "after the last line"? I assume that "before the last line + 1" would already work here?

@strub strub merged commit 10ebb3a into EasyCrypt:main May 19, 2025
15 checks passed
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