Metamath Proof Explorer


Theorem eqlelt

Description: Equality in terms of 'less than or equal to', 'less than'. (Contributed by NM, 7-Apr-2001)

Ref Expression
Assertion eqlelt ABA=BAB¬A<B

Proof

Step Hyp Ref Expression
1 letri3 ABA=BABBA
2 lenlt BABA¬A<B
3 2 ancoms ABBA¬A<B
4 3 anbi2d ABABBAAB¬A<B
5 1 4 bitrd ABA=BAB¬A<B