from util import *


@apply
def apply(less_than, greater_than):
    a, b = greater_than.of(GreaterEqual)
    _a, _b = less_than.of(LessEqual)
    assert a == _a
    assert b == _b

    return Equal(a, b)


@prove
def prove(Eq):
    a, b = Symbol(real=True)

    Eq << apply(a <= b, a >= b)

    Eq <<= Eq[0] & Eq[1]


if __name__ == '__main__':
    run()
# created on 2019-03-30
