Metamath Proof Explorer


Theorem relexpnul

Description: If the domain and range of powers of a relation are disjoint then the relation raised to the sum of those exponents is empty. (Contributed by RP, 1-Jun-2020)

Ref Expression
Assertion relexpnul R V Rel R N 0 M 0 dom R r N ran R r M = R r N + M =

Proof

Step Hyp Ref Expression
1 coeq0 R r N R r M = dom R r N ran R r M =
2 simprl R V Rel R N 0 M 0 N 0
3 simprr R V Rel R N 0 M 0 M 0
4 simpll R V Rel R N 0 M 0 R V
5 simplr R V Rel R N 0 M 0 Rel R
6 5 a1d R V Rel R N 0 M 0 N + M = 1 Rel R
7 relexpaddg N 0 M 0 R V N + M = 1 Rel R R r N R r M = R r N + M
8 2 3 4 6 7 syl13anc R V Rel R N 0 M 0 R r N R r M = R r N + M
9 8 eqeq1d R V Rel R N 0 M 0 R r N R r M = R r N + M =
10 1 9 bitr3id R V Rel R N 0 M 0 dom R r N ran R r M = R r N + M =