Open anshumanmohan opened 1 year ago
Bit of progress on this, still in slow_odgi
for now.
I have done up paths_logically_le
. I take a path-forward approach and assert, in the relevant commands (just chop
and inject
for now) that the graph we pass is "less than or equal to" the graph we get back. That is, every path that I used to have in the input graph still exists, with the same name and sequence, in the new graph.
This issue talks about logical equality, but I've come up with this logical <=
approach because I think there's some value there. We can state ==
using <=
and antisymmetry.
Originally posted by @sampsyo in https://github.com/cucapra/pollen/pull/84#pullrequestreview-1417108141
I love this idea!
I'd love to be able to state and prove, for example:
where
flip a b
is a relation, in this case a function, that says thatb
is the flipped version ofa
. i.e, all the good stuff stated here.meaning x
is some beautiful encapsulation of the semantics of a graphx
, rising above all the kludge of segment-splits and names.