Skip to content

Verify private/topology#2

Merged
henriman merged 24 commits into
sif-io-specfrom
sif-private-topology
Sep 19, 2025
Merged

Verify private/topology#2
henriman merged 24 commits into
sif-io-specfrom
sif-private-topology

Conversation

@henriman

@henriman henriman commented Apr 14, 2025

Copy link
Copy Markdown
Owner

Issue #13 has been opened to keep track of the assumption still present here.

As for private/topology/underlay, I have added these to make the
contracts more precise, as I anticipate I will need this for further
verification

Note that at the moment, we still need a lot of `assume` statements due
to Gobra issues #831 and #832. Also, `LinkType.String` doesn't have an
appropriate postcondition yet, as I couldn't assert (nor assume) low(err.Error()) for
a low `err`.
Together with the assumptions, I also moved `LowBytes` to a dedicated
folder: `verification/util/sif`
@henriman
henriman marked this pull request as ready for review June 27, 2025 08:49
henriman added 2 commits July 2, 2025 13:21
Due to the change in the contract of serrors, the workaround is not
necessary anymore
@henriman
henriman requested a review from jcp19 July 18, 2025 08:54
Comment thread private/topology/linktype.go Outdated
Comment thread private/topology/linktype.go Outdated
Comment thread private/topology/linktype.go Outdated
@henriman

Copy link
Copy Markdown
Owner Author

@jcp19: besides addressing your feedback, I have added && low(i) ==> in quantified assertions where appropriate, and adapted the beginning of (*LinkType).UnmarshalText to not require using BeforeUnfold:/old[BeforeUnfold](... (to make it cleaner, IMO)

@henriman
henriman requested a review from jcp19 August 12, 2025 15:19
Comment thread private/topology/linktype.go Outdated
@jcp19

jcp19 commented Aug 14, 2025

Copy link
Copy Markdown
Collaborator

LGTM. Please address my comment and then you can merge this

Issue 831 is fixed by PR 961
@jcp19

jcp19 commented Sep 17, 2025

Copy link
Copy Markdown
Collaborator

Is there any issue blocking the merging of this or the other PRs?

@henriman
henriman changed the base branch from sif-private-topology-underlay to sif-io-spec September 19, 2025 08:16
@henriman
henriman merged commit 7f5f579 into sif-io-spec Sep 19, 2025
@henriman
henriman deleted the sif-private-topology branch October 7, 2025 09:37
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