Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: João Pereira <[email protected]>
  • Loading branch information
mlimbeck and jcp19 authored Nov 14, 2023
1 parent d1a45a2 commit dc6f540
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions verification/io/dataplane_abstract.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ type DataPlaneSpec adt {
}
}

// TopologySpec provides information about the entire network topology.
// TopologySpec describes the entire network topology.
// coreAS: IDs of the core Autonomous Systems
// links: representation of the network topology as a graph.
// links[(a1,x)] == (a2,y) means that AS a1 and AS a2 share an edge via interface x and y, respectively.
// `links[(a1,x)] == (a2,y)` means that the interface x of AS a1 is connected
// to the interface y of AS a2.
type TopologySpec adt {
TopologySpec_{
coreAS set[IO_as]
Expand Down
2 changes: 1 addition & 1 deletion verification/io/router.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pure func mac(fst IO_msgterm, snd IO_msgterm) IO_msgterm {
})
}

// helper func
// helper function, not defined in IO spec
ghost
decreases
pure func asidToKey(asid IO_as) IO_key{
Expand Down

0 comments on commit dc6f540

Please sign in to comment.