Use fix-846 and implement hyper functions for abstracting over sensitivity#10
Draft
henriman wants to merge 11 commits intosif-io-specfrom
Draft
Use fix-846 and implement hyper functions for abstracting over sensitivity#10henriman wants to merge 11 commits intosif-io-specfrom
fix-846 and implement hyper functions for abstracting over sensitivity#10henriman wants to merge 11 commits intosif-io-specfrom
Conversation
Merged
Merged
Could implement `IsLow` for `Config` and `UDPConn`
I.e. remove some unnecessary triggers, and remove triggers in `hyper` (cf. Gobra issue #964)
This was referenced Aug 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At least at the moment, the
hyperfunctions that should be implemented in this PR/branch areIsLowinterface functions (and related functions such asAssertIsLow; "interface sensitivity"), as well as functions likeIsLowSlicethat abstract over the sensitivity of slices ("slice sensitivity").Due to Gobra issue #955, we can't yet use
fix-846(Gobra branch) to implementIsLowinterface functions. (ManyTODOcomments mentioningOnce Gobra issue #846 is resolvedare now actually dependent on issue 955.)Current status
private/topology/underlay)private/topologypkg/addrIsLowSlicefunction forHostIPv4. However, this is not possible yet, due to Gobra issue #963. Otherwise, this is doneprivate/underlay/connIsLowIP, a specializedIsLowSlicefunction, forUDPAddr. However, this is not possible yet, due to Gobra issue #963. Otherwise, this is doneUDPAddr(can't express lowness ofIP, see above)Conninterface (markhyper, implementIsLowfunctions)Config,UDPConn)pkg/slayers/path/emptypkg/slayers/pathpkg/slayers/path/onehoppkg/slayers/path/epicSuggestion:
IsLowfunctions that are already accompanied by aRevealIsLowand/orAssertIsLowfunction could be madeopaque.