Define.S
val diff : D.state -> D.left array -> D.right array -> patch
diff state l r computes the optimal patch between l and r, using the initial state state.
diff state l r
l
r
state