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

Theorem relexpcnv 14061
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 11539 . . 3 (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0))
2 oveq2 6849 . . . . . . . 8 (𝑛 = 1 → (𝑅𝑟𝑛) = (𝑅𝑟1))
32cnveqd 5465 . . . . . . 7 (𝑛 = 1 → (𝑅𝑟𝑛) = (𝑅𝑟1))
4 oveq2 6849 . . . . . . 7 (𝑛 = 1 → (𝑅𝑟𝑛) = (𝑅𝑟1))
53, 4eqeq12d 2779 . . . . . 6 (𝑛 = 1 → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟1) = (𝑅𝑟1)))
65imbi2d 331 . . . . 5 (𝑛 = 1 → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟1) = (𝑅𝑟1))))
7 oveq2 6849 . . . . . . . 8 (𝑛 = 𝑚 → (𝑅𝑟𝑛) = (𝑅𝑟𝑚))
87cnveqd 5465 . . . . . . 7 (𝑛 = 𝑚(𝑅𝑟𝑛) = (𝑅𝑟𝑚))
9 oveq2 6849 . . . . . . 7 (𝑛 = 𝑚 → (𝑅𝑟𝑛) = (𝑅𝑟𝑚))
108, 9eqeq12d 2779 . . . . . 6 (𝑛 = 𝑚 → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟𝑚) = (𝑅𝑟𝑚)))
1110imbi2d 331 . . . . 5 (𝑛 = 𝑚 → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚))))
12 oveq2 6849 . . . . . . . 8 (𝑛 = (𝑚 + 1) → (𝑅𝑟𝑛) = (𝑅𝑟(𝑚 + 1)))
1312cnveqd 5465 . . . . . . 7 (𝑛 = (𝑚 + 1) → (𝑅𝑟𝑛) = (𝑅𝑟(𝑚 + 1)))
14 oveq2 6849 . . . . . . 7 (𝑛 = (𝑚 + 1) → (𝑅𝑟𝑛) = (𝑅𝑟(𝑚 + 1)))
1513, 14eqeq12d 2779 . . . . . 6 (𝑛 = (𝑚 + 1) → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1))))
1615imbi2d 331 . . . . 5 (𝑛 = (𝑚 + 1) → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))))
17 oveq2 6849 . . . . . . . 8 (𝑛 = 𝑁 → (𝑅𝑟𝑛) = (𝑅𝑟𝑁))
1817cnveqd 5465 . . . . . . 7 (𝑛 = 𝑁(𝑅𝑟𝑛) = (𝑅𝑟𝑁))
19 oveq2 6849 . . . . . . 7 (𝑛 = 𝑁 → (𝑅𝑟𝑛) = (𝑅𝑟𝑁))
2018, 19eqeq12d 2779 . . . . . 6 (𝑛 = 𝑁 → ((𝑅𝑟𝑛) = (𝑅𝑟𝑛) ↔ (𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
2120imbi2d 331 . . . . 5 (𝑛 = 𝑁 → ((𝑅𝑉(𝑅𝑟𝑛) = (𝑅𝑟𝑛)) ↔ (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁))))
22 relexp1g 14052 . . . . . . 7 (𝑅𝑉 → (𝑅𝑟1) = 𝑅)
2322cnveqd 5465 . . . . . 6 (𝑅𝑉(𝑅𝑟1) = 𝑅)
24 cnvexg 7309 . . . . . . 7 (𝑅𝑉𝑅 ∈ V)
25 relexp1g 14052 . . . . . . 7 (𝑅 ∈ V → (𝑅𝑟1) = 𝑅)
2624, 25syl 17 . . . . . 6 (𝑅𝑉 → (𝑅𝑟1) = 𝑅)
2723, 26eqtr4d 2801 . . . . 5 (𝑅𝑉(𝑅𝑟1) = (𝑅𝑟1))
28 cnvco 5475 . . . . . . . . 9 ((𝑅𝑟𝑚) ∘ 𝑅) = (𝑅(𝑅𝑟𝑚))
29 simp3 1168 . . . . . . . . . 10 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟𝑚) = (𝑅𝑟𝑚))
3029coeq2d 5452 . . . . . . . . 9 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅(𝑅𝑟𝑚)) = (𝑅 ∘ (𝑅𝑟𝑚)))
3128, 30syl5eq 2810 . . . . . . . 8 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → ((𝑅𝑟𝑚) ∘ 𝑅) = (𝑅 ∘ (𝑅𝑟𝑚)))
32 simp2 1167 . . . . . . . . . 10 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → 𝑅𝑉)
33 simp1 1166 . . . . . . . . . 10 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → 𝑚 ∈ ℕ)
34 relexpsucnnr 14051 . . . . . . . . . 10 ((𝑅𝑉𝑚 ∈ ℕ) → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅))
3532, 33, 34syl2anc 579 . . . . . . . . 9 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅))
3635cnveqd 5465 . . . . . . . 8 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = ((𝑅𝑟𝑚) ∘ 𝑅))
3732, 24syl 17 . . . . . . . . 9 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → 𝑅 ∈ V)
38 relexpsucnnl 14058 . . . . . . . . 9 ((𝑅 ∈ V ∧ 𝑚 ∈ ℕ) → (𝑅𝑟(𝑚 + 1)) = (𝑅 ∘ (𝑅𝑟𝑚)))
3937, 33, 38syl2anc 579 . . . . . . . 8 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = (𝑅 ∘ (𝑅𝑟𝑚)))
4031, 36, 393eqtr4d 2808 . . . . . . 7 ((𝑚 ∈ ℕ ∧ 𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))
41403exp 1148 . . . . . 6 (𝑚 ∈ ℕ → (𝑅𝑉 → ((𝑅𝑟𝑚) = (𝑅𝑟𝑚) → (𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))))
4241a2d 29 . . . . 5 (𝑚 ∈ ℕ → ((𝑅𝑉(𝑅𝑟𝑚) = (𝑅𝑟𝑚)) → (𝑅𝑉(𝑅𝑟(𝑚 + 1)) = (𝑅𝑟(𝑚 + 1)))))
436, 11, 16, 21, 27, 42nnind 11293 . . . 4 (𝑁 ∈ ℕ → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
44 cnvresid 6145 . . . . . . 7 ( I ↾ (dom 𝑅 ∪ ran 𝑅)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))
45 uncom 3918 . . . . . . . . 9 (dom 𝑅 ∪ ran 𝑅) = (ran 𝑅 ∪ dom 𝑅)
46 df-rn 5287 . . . . . . . . . 10 ran 𝑅 = dom 𝑅
47 dfdm4 5483 . . . . . . . . . 10 dom 𝑅 = ran 𝑅
4846, 47uneq12i 3926 . . . . . . . . 9 (ran 𝑅 ∪ dom 𝑅) = (dom 𝑅 ∪ ran 𝑅)
4945, 48eqtri 2786 . . . . . . . 8 (dom 𝑅 ∪ ran 𝑅) = (dom 𝑅 ∪ ran 𝑅)
5049reseq2i 5561 . . . . . . 7 ( I ↾ (dom 𝑅 ∪ ran 𝑅)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))
5144, 50eqtri 2786 . . . . . 6 ( I ↾ (dom 𝑅 ∪ ran 𝑅)) = ( I ↾ (dom 𝑅 ∪ ran 𝑅))
52 oveq2 6849 . . . . . . . 8 (𝑁 = 0 → (𝑅𝑟𝑁) = (𝑅𝑟0))
53 relexp0g 14048 . . . . . . . 8 (𝑅𝑉 → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
5452, 53sylan9eq 2818 . . . . . . 7 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
5554cnveqd 5465 . . . . . 6 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
56 oveq2 6849 . . . . . . . 8 (𝑁 = 0 → (𝑅𝑟𝑁) = (𝑅𝑟0))
5756adantr 472 . . . . . . 7 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = (𝑅𝑟0))
58 simpr 477 . . . . . . . 8 ((𝑁 = 0 ∧ 𝑅𝑉) → 𝑅𝑉)
59 relexp0g 14048 . . . . . . . 8 (𝑅 ∈ V → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
6058, 24, 593syl 18 . . . . . . 7 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟0) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
6157, 60eqtrd 2798 . . . . . 6 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = ( I ↾ (dom 𝑅 ∪ ran 𝑅)))
6251, 55, 613eqtr4a 2824 . . . . 5 ((𝑁 = 0 ∧ 𝑅𝑉) → (𝑅𝑟𝑁) = (𝑅𝑟𝑁))
6362ex 401 . . . 4 (𝑁 = 0 → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
6443, 63jaoi 883 . . 3 ((𝑁 ∈ ℕ ∨ 𝑁 = 0) → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
651, 64sylbi 208 . 2 (𝑁 ∈ ℕ0 → (𝑅𝑉(𝑅𝑟𝑁) = (𝑅𝑟𝑁)))
6665imp 395 1 ((𝑁 ∈ ℕ0𝑅𝑉) → (𝑅𝑟𝑁) = (𝑅𝑟𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  wo 873  w3a 1107   = wceq 1652  wcel 2155  Vcvv 3349  cun 3729   I cid 5183  ccnv 5275  dom cdm 5276  ran crn 5277  cres 5278  ccom 5280  (class class class)co 6841  0cc0 10188  1c1 10189   + caddc 10191  cn 11273  0cn0 11537  𝑟crelexp 14046
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2069  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2349  ax-ext 2742  ax-sep 4940  ax-nul 4948  ax-pow 5000  ax-pr 5061  ax-un 7146  ax-cnex 10244  ax-resscn 10245  ax-1cn 10246  ax-icn 10247  ax-addcl 10248  ax-addrcl 10249  ax-mulcl 10250  ax-mulrcl 10251  ax-mulcom 10252  ax-addass 10253  ax-mulass 10254  ax-distr 10255  ax-i2m1 10256  ax-1ne0 10257  ax-1rid 10258  ax-rnegex 10259  ax-rrecex 10260  ax-cnre 10261  ax-pre-lttri 10262  ax-pre-lttrn 10263  ax-pre-ltadd 10264  ax-pre-mulgt0 10265
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3or 1108  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2062  df-mo 2564  df-eu 2581  df-clab 2751  df-cleq 2757  df-clel 2760  df-nfc 2895  df-ne 2937  df-nel 3040  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3351  df-sbc 3596  df-csb 3691  df-dif 3734  df-un 3736  df-in 3738  df-ss 3745  df-pss 3747  df-nul 4079  df-if 4243  df-pw 4316  df-sn 4334  df-pr 4336  df-tp 4338  df-op 4340  df-uni 4594  df-iun 4677  df-br 4809  df-opab 4871  df-mpt 4888  df-tr 4911  df-id 5184  df-eprel 5189  df-po 5197  df-so 5198  df-fr 5235  df-we 5237  df-xp 5282  df-rel 5283  df-cnv 5284  df-co 5285  df-dm 5286  df-rn 5287  df-res 5288  df-ima 5289  df-pred 5864  df-ord 5910  df-on 5911  df-lim 5912  df-suc 5913  df-iota 6030  df-fun 6069  df-fn 6070  df-f 6071  df-f1 6072  df-fo 6073  df-f1o 6074  df-fv 6075  df-riota 6802  df-ov 6844  df-oprab 6845  df-mpt2 6846  df-om 7263  df-2nd 7366  df-wrecs 7609  df-recs 7671  df-rdg 7709  df-er 7946  df-en 8160  df-dom 8161  df-sdom 8162  df-pnf 10329  df-mnf 10330  df-xr 10331  df-ltxr 10332  df-le 10333  df-sub 10521  df-neg 10522  df-nn 11274  df-n0 11538  df-z 11624  df-uz 11886  df-seq 13008  df-relexp 14047
This theorem is referenced by:  relexpcnvd  14062  relexpnnrn  14071  relexpaddg  14079  relexpaddss  38617  cnvtrclfv  38623
  Copyright terms: Public domain W3C validator