MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  relexpcnv Structured version   Visualization version   GIF version

Theorem relexpcnv 14674
Description: Commutation of converse and relation exponentiation. (Contributed by RP, 23-May-2020.)
Assertion
Ref Expression
relexpcnv ((𝑁 ∈ ℕ0𝑅𝑉) → (𝑅𝑟𝑁) = (𝑅𝑟𝑁))

Proof of Theorem relexpcnv
Dummy variables 𝑛 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elnn0 12165 . . 3 (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0))
2 oveq2 7263 . . . . . . . 8 (𝑛 = 1 → (𝑅𝑟𝑛) = (𝑅𝑟1))
32cnveqd 5773 . . . . . . 7 (𝑛 = 1 → (𝑅𝑟𝑛) = (𝑅𝑟1))
4 oveq2 7263 . . . . . . 7 (𝑛 = 1 → (𝑅𝑟𝑛) = (𝑅𝑟1))
53, 4eqeq12d 2754 . . . . . 6 (𝑛 = 1 → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟1) = (𝑅𝑟1)))
65imbi2d 340 . . . . 5 (𝑛 = 1 → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟1) = (𝑅𝑟1))))
7 oveq2 7263 . . . . . . . 8 (𝑛 = 𝑚 → (𝑅𝑟𝑛) = (𝑅𝑟𝑚))
87cnveqd 5773 . . . . . . 7 (𝑛 = 𝑚(𝑅𝑟𝑛) = (𝑅𝑟𝑚))
9 oveq2 7263 . . . . . . 7 (𝑛 = 𝑚 → (𝑅𝑟𝑛) = (𝑅𝑟𝑚))
108, 9eqeq12d 2754 . . . . . 6 (𝑛 = 𝑚 → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟𝑚) = (𝑅𝑟𝑚)))
1110imbi2d 340 . . . . 5 (𝑛 = 𝑚 → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚))))
12 oveq2 7263 . . . . . . . 8 (𝑛 = (𝑚 + 1) → (𝑅𝑟𝑛) = (𝑅𝑟(𝑚 + 1)))
1312cnveqd 5773 . . . . . . 7 (𝑛 = (𝑚 + 1) → (𝑅𝑟𝑛) = (𝑅𝑟(𝑚 + 1)))
14 oveq2 7263 . . . . . . 7 (𝑛 = (𝑚 + 1) → (𝑅𝑟𝑛) = (𝑅𝑟(𝑚 + 1)))
1513, 14eqeq12d 2754 . . . . . 6 (𝑛 = (𝑚 + 1) → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1))))
1615imbi2d 340 . . . . 5 (𝑛 = (𝑚 + 1) → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))))
17 oveq2 7263 . . . . . . . 8 (𝑛 = 𝑁 → (𝑅𝑟𝑛) = (𝑅𝑟𝑁))
1817cnveqd 5773 . . . . . . 7 (𝑛 = 𝑁(𝑅𝑟𝑛) = (𝑅𝑟𝑁))
19 oveq2 7263 . . . . . . 7 (𝑛 = 𝑁 → (𝑅𝑟𝑛) = (𝑅𝑟𝑁))
2018, 19eqeq12d 2754 . . . . . 6 (𝑛 = 𝑁 → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
2120imbi2d 340 . . . . 5 (𝑛 = 𝑁 → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁))))
22 relexp1g 14665 . . . . . . 7 (𝑅𝑉 → (𝑅𝑟1) = 𝑅)
2322cnveqd 5773 . . . . . 6 (𝑅𝑉(𝑅𝑟1) = 𝑅)
24 cnvexg 7745 . . . . . . 7 (𝑅𝑉𝑅 ∈ V)
25 relexp1g 14665 . . . . . . 7 (𝑅 ∈ V → (𝑅𝑟1) = 𝑅)
2624, 25syl 17 . . . . . 6 (𝑅𝑉 → (𝑅𝑟1) = 𝑅)
2723, 26eqtr4d 2781 . . . . 5 (𝑅𝑉(𝑅𝑟1) = (𝑅𝑟1))
28 cnvco 5783 . . . . . . . . 9 ((𝑅𝑟𝑚) ∘ 𝑅) = (𝑅(𝑅𝑟𝑚))
29 simp3 1136 . . . . . . . . . 10 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟𝑚) = (𝑅𝑟𝑚))
3029coeq2d 5760 . . . . . . . . 9 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅(𝑅𝑟𝑚)) = (𝑅 ∘ (𝑅𝑟𝑚)))
3128, 30eqtrid 2790 . . . . . . . 8 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → ((𝑅𝑟𝑚) ∘ 𝑅) = (𝑅 ∘ (𝑅𝑟𝑚)))
32 simp2 1135 . . . . . . . . . 10 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → 𝑅𝑉)
33 simp1 1134 . . . . . . . . . 10 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → 𝑚 ∈ ℕ)
34 relexpsucnnr 14664 . . . . . . . . . 10 ((𝑅𝑉𝑚 ∈ ℕ) → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅))
3532, 33, 34syl2anc 583 . . . . . . . . 9 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅))
3635cnveqd 5773 . . . . . . . 8 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅))
3732, 24syl 17 . . . . . . . . 9 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → 𝑅 ∈ V)
38 relexpsucnnl 14669 . . . . . . . . 9 ((𝑅 ∈ V ∧ 𝑚 ∈ ℕ) → (𝑅𝑟(𝑚 + 1)) = (𝑅 ∘ (𝑅𝑟𝑚)))
3937, 33, 38syl2anc 583 . . . . . . . 8 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = (𝑅 ∘ (𝑅𝑟𝑚)))
4031, 36, 393eqtr4d 2788 . . . . . . 7 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))
41403exp 1117 . . . . . 6 (𝑚 ∈ ℕ → (𝑅𝑉 → ((𝑅𝑟𝑚) = (𝑅𝑟𝑚) → (𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))))
4241a2d 29 . . . . 5 (𝑚 ∈ ℕ → ((𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑉(𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))))
436, 11, 16, 21, 27, 42nnind 11921 . . . 4 (𝑁 ∈ ℕ → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
44 cnvresid 6497 . . . . . . 7 ( I ↾ (dom 𝑅 ∪ ran 𝑅)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))
45 uncom 4083 . . . . . . . . 9 (dom 𝑅 ∪ ran 𝑅) = (ran 𝑅 ∪ dom 𝑅)
46 df-rn 5591 . . . . . . . . . 10 ran 𝑅 = dom 𝑅
47 dfdm4 5793 . . . . . . . . . 10 dom 𝑅 = ran 𝑅
4846, 47uneq12i 4091 . . . . . . . . 9 (ran 𝑅 ∪ dom 𝑅) = (dom 𝑅 ∪ ran 𝑅)
4945, 48eqtri 2766 . . . . . . . 8 (dom 𝑅 ∪ ran 𝑅) = (dom 𝑅 ∪ ran 𝑅)
5049reseq2i 5877 . . . . . . 7 ( I ↾ (dom 𝑅 ∪ ran 𝑅)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))
5144, 50eqtri 2766 . . . . . 6 ( I ↾ (dom 𝑅 ∪ ran 𝑅)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))
52 oveq2 7263 . . . . . . . 8 (𝑁 = 0 → (𝑅𝑟𝑁) = (𝑅𝑟0))
53 relexp0g 14661 . . . . . . . 8 (𝑅𝑉 → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
5452, 53sylan9eq 2799 . . . . . . 7 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
5554cnveqd 5773 . . . . . 6 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
56 oveq2 7263 . . . . . . . 8 (𝑁 = 0 → (𝑅𝑟𝑁) = (𝑅𝑟0))
5756adantr 480 . . . . . . 7 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = (𝑅𝑟0))
58 simpr 484 . . . . . . . 8 ((𝑁 = 0 ∧ 𝑅𝑉) → 𝑅𝑉)
59 relexp0g 14661 . . . . . . . 8 (𝑅 ∈ V → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
6058, 24, 593syl 18 . . . . . . 7 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
6157, 60eqtrd 2778 . . . . . 6 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
6251, 55, 613eqtr4a 2805 . . . . 5 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = (𝑅𝑟𝑁))
6362ex 412 . . . 4 (𝑁 = 0 → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
6443, 63jaoi 853 . . 3 ((𝑁 ∈ ℕ ∨ 𝑁 = 0) → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
651, 64sylbi 216 . 2 (𝑁 ∈ ℕ0 → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
6665imp 406 1 ((𝑁 ∈ ℕ0𝑅𝑉) → (𝑅𝑟𝑁) = (𝑅𝑟𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  Vcvv 3422  cun 3881   I cid 5479  ccnv 5579  dom cdm 5580  ran crn 5581  cres 5582  ccom 5584  (class class class)co 7255  0cc0 10802  1c1 10803   + caddc 10805  cn 11903  0cn0 12163  𝑟crelexp 14658
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-n0 12164  df-z 12250  df-uz 12512  df-seq 13650  df-relexp 14659
This theorem is referenced by:  relexpcnvd  14675  relexpnnrn  14684  relexpaddg  14692  relexpaddss  41215  cnvtrclfv  41221
  Copyright terms: Public domain W3C validator