Metamath Proof Explorer


Theorem blcomps

Description: Commute the arguments to the ball function. (Contributed by Mario Carneiro, 22-Jan-2014) (Revised by Thierry Arnoux, 11-Mar-2018)

Ref Expression
Assertion blcomps
|- ( ( ( D e. ( PsMet ` X ) /\ R e. RR* ) /\ ( P e. X /\ A e. X ) ) -> ( A e. ( P ( ball ` D ) R ) <-> P e. ( A ( ball ` D ) R ) ) )

Proof

Step Hyp Ref Expression
1 elbl2ps
 |-  ( ( ( D e. ( PsMet ` X ) /\ R e. RR* ) /\ ( P e. X /\ A e. X ) ) -> ( A e. ( P ( ball ` D ) R ) <-> ( P D A ) < R ) )
2 elbl3ps
 |-  ( ( ( D e. ( PsMet ` X ) /\ R e. RR* ) /\ ( A e. X /\ P e. X ) ) -> ( P e. ( A ( ball ` D ) R ) <-> ( P D A ) < R ) )
3 2 ancom2s
 |-  ( ( ( D e. ( PsMet ` X ) /\ R e. RR* ) /\ ( P e. X /\ A e. X ) ) -> ( P e. ( A ( ball ` D ) R ) <-> ( P D A ) < R ) )
4 1 3 bitr4d
 |-  ( ( ( D e. ( PsMet ` X ) /\ R e. RR* ) /\ ( P e. X /\ A e. X ) ) -> ( A e. ( P ( ball ` D ) R ) <-> P e. ( A ( ball ` D ) R ) ) )