Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  relexpmulg Structured version   Visualization version   GIF version

Theorem relexpmulg 37522
Description: With ordered exponents, the composition of powers of a relation is the relation raised to the product of exponents. (Contributed by RP, 13-Jun-2020.)
Assertion
Ref Expression
relexpmulg (((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) ∧ (𝐽 ∈ ℕ0𝐾 ∈ ℕ0)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))

Proof of Theorem relexpmulg
StepHypRef Expression
1 elnn0 11254 . . . 4 (𝐽 ∈ ℕ0 ↔ (𝐽 ∈ ℕ ∨ 𝐽 = 0))
2 elnn0 11254 . . . . . 6 (𝐾 ∈ ℕ0 ↔ (𝐾 ∈ ℕ ∨ 𝐾 = 0))
3 relexpmulnn 37521 . . . . . . . . . 10 (((𝑅𝑉𝐼 = (𝐽 · 𝐾)) ∧ (𝐽 ∈ ℕ ∧ 𝐾 ∈ ℕ)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))
433adantl3 1217 . . . . . . . . 9 (((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) ∧ (𝐽 ∈ ℕ ∧ 𝐾 ∈ ℕ)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))
54expcom 451 . . . . . . . 8 ((𝐽 ∈ ℕ ∧ 𝐾 ∈ ℕ) → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼)))
65expcom 451 . . . . . . 7 (𝐾 ∈ ℕ → (𝐽 ∈ ℕ → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))))
7 simprr 795 . . . . . . . . . . . . 13 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐼 = (𝐽 · 𝐾))
8 simpll 789 . . . . . . . . . . . . . 14 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐾 = 0)
98oveq2d 6631 . . . . . . . . . . . . 13 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → (𝐽 · 𝐾) = (𝐽 · 0))
10 simplr 791 . . . . . . . . . . . . . . 15 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐽 ∈ ℕ)
1110nncnd 10996 . . . . . . . . . . . . . 14 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐽 ∈ ℂ)
1211mul01d 10195 . . . . . . . . . . . . 13 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → (𝐽 · 0) = 0)
137, 9, 123eqtrd 2659 . . . . . . . . . . . 12 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐼 = 0)
14 simpl 473 . . . . . . . . . . . . 13 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → (𝐾 = 0 ∧ 𝐽 ∈ ℕ))
15 nnnle0 11011 . . . . . . . . . . . . . . 15 (𝐽 ∈ ℕ → ¬ 𝐽 ≤ 0)
1615adantl 482 . . . . . . . . . . . . . 14 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → ¬ 𝐽 ≤ 0)
17 simpl 473 . . . . . . . . . . . . . . 15 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → 𝐾 = 0)
1817breq2d 4635 . . . . . . . . . . . . . 14 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → (𝐽𝐾𝐽 ≤ 0))
1916, 18mtbird 315 . . . . . . . . . . . . 13 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → ¬ 𝐽𝐾)
2014, 19syl 17 . . . . . . . . . . . 12 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → ¬ 𝐽𝐾)
21 mth8 158 . . . . . . . . . . . 12 (𝐼 = 0 → (¬ 𝐽𝐾 → ¬ (𝐼 = 0 → 𝐽𝐾)))
2213, 20, 21sylc 65 . . . . . . . . . . 11 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → ¬ (𝐼 = 0 → 𝐽𝐾))
2322pm2.21d 118 . . . . . . . . . 10 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → ((𝐼 = 0 → 𝐽𝐾) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼)))
2423exp32 630 . . . . . . . . 9 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → (𝑅𝑉 → (𝐼 = (𝐽 · 𝐾) → ((𝐼 = 0 → 𝐽𝐾) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼)))))
25243impd 1278 . . . . . . . 8 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼)))
2625ex 450 . . . . . . 7 (𝐾 = 0 → (𝐽 ∈ ℕ → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))))
276, 26jaoi 394 . . . . . 6 ((𝐾 ∈ ℕ ∨ 𝐾 = 0) → (𝐽 ∈ ℕ → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))))
282, 27sylbi 207 . . . . 5 (𝐾 ∈ ℕ0 → (𝐽 ∈ ℕ → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))))
29 simplr 791 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝐽 = 0)
3029oveq2d 6631 . . . . . . . . . 10 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (𝑅𝑟𝐽) = (𝑅𝑟0))
31 simpr1 1065 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝑅𝑉)
32 relexp0g 13712 . . . . . . . . . . 11 (𝑅𝑉 → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
3331, 32syl 17 . . . . . . . . . 10 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
3430, 33eqtrd 2655 . . . . . . . . 9 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (𝑅𝑟𝐽) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
3534oveq1d 6630 . . . . . . . 8 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (( I ↾ (dom 𝑅 ∪ ran 𝑅))↑𝑟𝐾))
36 dmexg 7059 . . . . . . . . . . 11 (𝑅𝑉 → dom 𝑅 ∈ V)
37 rnexg 7060 . . . . . . . . . . 11 (𝑅𝑉 → ran 𝑅 ∈ V)
38 unexg 6924 . . . . . . . . . . 11 ((dom 𝑅 ∈ V ∧ ran 𝑅 ∈ V) → (dom 𝑅 ∪ ran 𝑅) ∈ V)
3936, 37, 38syl2anc 692 . . . . . . . . . 10 (𝑅𝑉 → (dom 𝑅 ∪ ran 𝑅) ∈ V)
4031, 39syl 17 . . . . . . . . 9 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (dom 𝑅 ∪ ran 𝑅) ∈ V)
41 simpll 789 . . . . . . . . 9 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝐾 ∈ ℕ0)
42 relexpiidm 37516 . . . . . . . . 9 (((dom 𝑅 ∪ ran 𝑅) ∈ V ∧ 𝐾 ∈ ℕ0) → (( I ↾ (dom 𝑅 ∪ ran 𝑅))↑𝑟𝐾) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
4340, 41, 42syl2anc 692 . . . . . . . 8 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (( I ↾ (dom 𝑅 ∪ ran 𝑅))↑𝑟𝐾) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
44 simpr2 1066 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝐼 = (𝐽 · 𝐾))
4529oveq1d 6630 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (𝐽 · 𝐾) = (0 · 𝐾))
4641nn0cnd 11313 . . . . . . . . . . . 12 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝐾 ∈ ℂ)
4746mul02d 10194 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (0 · 𝐾) = 0)
4844, 45, 473eqtrd 2659 . . . . . . . . . 10 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝐼 = 0)
4948oveq2d 6631 . . . . . . . . 9 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (𝑅𝑟𝐼) = (𝑅𝑟0))
5049, 33eqtr2d 2656 . . . . . . . 8 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → ( I ↾ (dom 𝑅 ∪ ran 𝑅)) = (𝑅𝑟𝐼))
5135, 43, 503eqtrd 2659 . . . . . . 7 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))
5251ex 450 . . . . . 6 ((𝐾 ∈ ℕ0𝐽 = 0) → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼)))
5352ex 450 . . . . 5 (𝐾 ∈ ℕ0 → (𝐽 = 0 → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))))
5428, 53jaod 395 . . . 4 (𝐾 ∈ ℕ0 → ((𝐽 ∈ ℕ ∨ 𝐽 = 0) → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))))
551, 54syl5bi 232 . . 3 (𝐾 ∈ ℕ0 → (𝐽 ∈ ℕ0 → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))))
5655impcom 446 . 2 ((𝐽 ∈ ℕ0𝐾 ∈ ℕ0) → ((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼)))
5756impcom 446 1 (((𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾)) ∧ (𝐽 ∈ ℕ0𝐾 ∈ ℕ0)) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (𝑅𝑟𝐼))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wo 383  wa 384  w3a 1036   = wceq 1480  wcel 1987  Vcvv 3190  cun 3558   class class class wbr 4623   I cid 4994  dom cdm 5084  ran crn 5085  cres 5086  (class class class)co 6615  0cc0 9896   · cmul 9901  cle 10035  cn 10980  0cn0 11252  𝑟crelexp 13710
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914  ax-cnex 9952  ax-resscn 9953  ax-1cn 9954  ax-icn 9955  ax-addcl 9956  ax-addrcl 9957  ax-mulcl 9958  ax-mulrcl 9959  ax-mulcom 9960  ax-addass 9961  ax-mulass 9962  ax-distr 9963  ax-i2m1 9964  ax-1ne0 9965  ax-1rid 9966  ax-rnegex 9967  ax-rrecex 9968  ax-cnre 9969  ax-pre-lttri 9970  ax-pre-lttrn 9971  ax-pre-ltadd 9972  ax-pre-mulgt0 9973
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2913  df-rex 2914  df-reu 2915  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-iun 4494  df-br 4624  df-opab 4684  df-mpt 4685  df-tr 4723  df-eprel 4995  df-id 4999  df-po 5005  df-so 5006  df-fr 5043  df-we 5045  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-pred 5649  df-ord 5695  df-on 5696  df-lim 5697  df-suc 5698  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-f1 5862  df-fo 5863  df-f1o 5864  df-fv 5865  df-riota 6576  df-ov 6618  df-oprab 6619  df-mpt2 6620  df-om 7028  df-2nd 7129  df-wrecs 7367  df-recs 7428  df-rdg 7466  df-er 7702  df-en 7916  df-dom 7917  df-sdom 7918  df-pnf 10036  df-mnf 10037  df-xr 10038  df-ltxr 10039  df-le 10040  df-sub 10228  df-neg 10229  df-nn 10981  df-n0 11253  df-z 11338  df-uz 11648  df-seq 12758  df-relexp 13711
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator