Skip to content

[Certora] improve onlyXXXCanChange specs#490

Merged
QGarchery merged 9 commits into
mainfrom
verif/onlyAuthorizedCanDecreaseSharesExceptTake
Mar 12, 2026
Merged

[Certora] improve onlyXXXCanChange specs#490
QGarchery merged 9 commits into
mainfrom
verif/onlyAuthorizedCanDecreaseSharesExceptTake

Conversation

@MathisGD

Copy link
Copy Markdown
Collaborator

No description provided.

@MathisGD MathisGD self-assigned this Mar 10, 2026
@MathisGD MathisGD requested a review from QGarchery March 10, 2026 09:41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e23e3613b0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread certora/specs/OnlyAuthorizedCanDecreaseShares.spec Outdated
@QGarchery QGarchery assigned QGarchery and unassigned MathisGD Mar 10, 2026
@QGarchery QGarchery marked this pull request as draft March 10, 2026 10:32
@QGarchery QGarchery changed the title verif: better spec onlyAuthorizedCanDecreaseSharesExceptTake [Certora] improve only decrease specs Mar 10, 2026
Comment thread certora/specs/OnlyAuthorizedCanDecreaseShares.spec Outdated
Comment thread certora/specs/OnlyAuthorizedCanChange.spec
Comment thread certora/specs/OnlyAuthorizedCanChange.spec
Comment thread certora/specs/OnlyAuthorizedCanChange.spec Outdated
Comment thread certora/specs/OnlyAuthorizedCanChange.spec
@QGarchery QGarchery changed the title [Certora] improve only decrease specs [Certora] improve onlyXXXCanChange specs Mar 10, 2026
@QGarchery QGarchery marked this pull request as ready for review March 10, 2026 13:52
Comment thread certora/specs/OnlyAuthorizedCanChange.spec
Comment thread certora/specs/OnlyAuthorizedCanChange.spec

@MathisGD MathisGD left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

LGTM

@QGarchery QGarchery requested review from bhargavbh, jhoenicke and lilCertora and removed request for QGarchery March 11, 2026 13:14
Comment thread certora/specs/OnlyAuthorizedCanChange.spec Outdated

@lilCertora lilCertora left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM , it is very clean this way

2 ideas :

  • having a rule like takeCannotChangeBothSharesAndDebt may be a nice addition ? prover link
  • this spec could be extended to collateralOf in the future now as it has been renamed

QGarchery and others added 2 commits March 11, 2026 16:46
Co-authored-by: lilCertora <lilian@certora.com>
Signed-off-by: Quentin Garchery <garchery.quentin@gmail.com>

@jhoenicke jhoenicke left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good

Comment thread certora/specs/OnlyAuthorizedCanChange.spec Outdated
Co-authored-by: Jochen Hoenicke <hoenicke@gmail.com>
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
@QGarchery QGarchery merged commit 547da9e into main Mar 12, 2026
12 checks passed
@QGarchery QGarchery deleted the verif/onlyAuthorizedCanDecreaseSharesExceptTake branch March 12, 2026 08:25
@QGarchery QGarchery mentioned this pull request Apr 30, 2026
73 tasks
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.

4 participants