changeset 2718 | 460fd0f8d478 |
parent 2680 | 20fa49e610ca |
child 2891 | d8f254ad1ab9 |
2717:b29c45ef3d86 | 2718:460fd0f8d478 |
---|---|
665 |
665 |
666 fun negate(Some(x,i,rel,y,j)) = Some(x,i,"~"^rel,y,j) |
666 fun negate(Some(x,i,rel,y,j)) = Some(x,i,"~"^rel,y,j) |
667 | negate None = None; |
667 | negate None = None; |
668 |
668 |
669 fun decomp(_$(Const(rel,T)$lhs$rhs)) = decomp2(rel,T,lhs,rhs) |
669 fun decomp(_$(Const(rel,T)$lhs$rhs)) = decomp2(rel,T,lhs,rhs) |
670 | decomp(_$(Const("not",_)$(Const(rel,T)$lhs$rhs))) = |
670 | decomp(_$(Const("Not",_)$(Const(rel,T)$lhs$rhs))) = |
671 negate(decomp2(rel,T,lhs,rhs)) |
671 negate(decomp2(rel,T,lhs,rhs)) |
672 | decomp _ = None |
672 | decomp _ = None |
673 |
673 |
674 end; |
674 end; |
675 |
675 |