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 37480
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 11238 . . . 4 (𝐽 ∈ ℕ0 ↔ (𝐽 ∈ ℕ ∨ 𝐽 = 0))
2 elnn0 11238 . . . . . 6 (𝐾 ∈ ℕ0 ↔ (𝐾 ∈ ℕ ∨ 𝐾 = 0))
3 relexpmulnn 37479 . . . . . . . . . 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 6620 . . . . . . . . . . . . 13 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → (𝐽 · 𝐾) = (𝐽 · 0))
10 simplr 791 . . . . . . . . . . . . . . 15 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐽 ∈ ℕ)
1110nncnd 10980 . . . . . . . . . . . . . 14 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐽 ∈ ℂ)
1211mul01d 10179 . . . . . . . . . . . . 13 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → (𝐽 · 0) = 0)
137, 9, 123eqtrd 2659 . . . . . . . . . . . 12 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → 𝐼 = 0)
14 simpl 473 . . . . . . . . . . . . 13 (((𝐾 = 0 ∧ 𝐽 ∈ ℕ) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾))) → (𝐾 = 0 ∧ 𝐽 ∈ ℕ))
15 nnnle0 10995 . . . . . . . . . . . . . . 15 (𝐽 ∈ ℕ → ¬ 𝐽 ≤ 0)
1615adantl 482 . . . . . . . . . . . . . 14 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → ¬ 𝐽 ≤ 0)
17 simpl 473 . . . . . . . . . . . . . . 15 ((𝐾 = 0 ∧ 𝐽 ∈ ℕ) → 𝐾 = 0)
1817breq2d 4625 . . . . . . . . . . . . . 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 6620 . . . . . . . . . 10 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (𝑅𝑟𝐽) = (𝑅𝑟0))
31 simpr1 1065 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝑅𝑉)
32 relexp0g 13696 . . . . . . . . . . 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 6619 . . . . . . . 8 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → ((𝑅𝑟𝐽)↑𝑟𝐾) = (( I ↾ (dom 𝑅 ∪ ran 𝑅))↑𝑟𝐾))
36 dmexg 7044 . . . . . . . . . . 11 (𝑅𝑉 → dom 𝑅 ∈ V)
37 rnexg 7045 . . . . . . . . . . 11 (𝑅𝑉 → ran 𝑅 ∈ V)
38 unexg 6912 . . . . . . . . . . 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 37474 . . . . . . . . 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 6619 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (𝐽 · 𝐾) = (0 · 𝐾))
4641nn0cnd 11297 . . . . . . . . . . . 12 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝐾 ∈ ℂ)
4746mul02d 10178 . . . . . . . . . . 11 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → (0 · 𝐾) = 0)
4844, 45, 473eqtrd 2659 . . . . . . . . . 10 (((𝐾 ∈ ℕ0𝐽 = 0) ∧ (𝑅𝑉𝐼 = (𝐽 · 𝐾) ∧ (𝐼 = 0 → 𝐽𝐾))) → 𝐼 = 0)
4948oveq2d 6620 . . . . . . . . 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 3186  cun 3553   class class class wbr 4613   I cid 4984  dom cdm 5074  ran crn 5075  cres 5076  (class class class)co 6604  0cc0 9880   · cmul 9885  cle 10019  cn 10964  0cn0 11236  𝑟crelexp 13694
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 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-cnex 9936  ax-resscn 9937  ax-1cn 9938  ax-icn 9939  ax-addcl 9940  ax-addrcl 9941  ax-mulcl 9942  ax-mulrcl 9943  ax-mulcom 9944  ax-addass 9945  ax-mulass 9946  ax-distr 9947  ax-i2m1 9948  ax-1ne0 9949  ax-1rid 9950  ax-rnegex 9951  ax-rrecex 9952  ax-cnre 9953  ax-pre-lttri 9954  ax-pre-lttrn 9955  ax-pre-ltadd 9956  ax-pre-mulgt0 9957
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 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-2nd 7114  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-er 7687  df-en 7900  df-dom 7901  df-sdom 7902  df-pnf 10020  df-mnf 10021  df-xr 10022  df-ltxr 10023  df-le 10024  df-sub 10212  df-neg 10213  df-nn 10965  df-n0 11237  df-z 11322  df-uz 11632  df-seq 12742  df-relexp 13695
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator