from util import *



@apply
def apply(self):
    x = self.of(Floor)

    return Equal(self, -ceiling(-x))


@prove
def prove(Eq):
    from axiom import algebra
    x = Symbol(real=True)
    Eq << apply(floor(x))

    Eq << -Eq[0]

    Eq << Eq[-1].this.rhs.apply(algebra.ceiling.to.mul)

if __name__ == '__main__':
    run()

# created on 2018-10-22
