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

Theorem comptiunov2i 38697
Description: The composition two indexed unions is sometimes a similar indexed union. (Contributed by RP, 10-Jun-2020.)
Hypotheses
Ref Expression
comptiunov2.x 𝑋 = (𝑎 ∈ V ↦ 𝑖𝐼 (𝑎 𝑖))
comptiunov2.y 𝑌 = (𝑏 ∈ V ↦ 𝑗𝐽 (𝑏 𝑗))
comptiunov2.z 𝑍 = (𝑐 ∈ V ↦ 𝑘𝐾 (𝑐 𝑘))
comptiunov2.i 𝐼 ∈ V
comptiunov2.j 𝐽 ∈ V
comptiunov2.k 𝐾 = (𝐼𝐽)
comptiunov2.1 𝑘𝐼 (𝑑 𝑘) ⊆ 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
comptiunov2.2 𝑘𝐽 (𝑑 𝑘) ⊆ 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
comptiunov2.3 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) ⊆ 𝑘 ∈ (𝐼𝐽)(𝑑 𝑘)
Assertion
Ref Expression
comptiunov2i (𝑋𝑌) = 𝑍
Distinct variable groups:   𝑖,𝑎,   ,𝑏   ,𝑐   𝐼,𝑎,𝑖   𝑘,𝐼   𝑗,𝑎,𝐽,𝑖   𝐽,𝑏   𝑘,𝐽   𝑘,𝑐,𝐾   𝑋,𝑑   𝑌,𝑑   𝑍,𝑑   𝑎,𝑑,𝑖,𝑗   𝑏,𝑑,𝑗   𝑐,𝑑,𝑘
Allowed substitution hints:   (𝑗,𝑘,𝑑)   𝐼(𝑗,𝑏,𝑐,𝑑)   𝐽(𝑐,𝑑)   𝐾(𝑖,𝑗,𝑎,𝑏,𝑑)   𝑋(𝑖,𝑗,𝑘,𝑎,𝑏,𝑐)   𝑌(𝑖,𝑗,𝑘,𝑎,𝑏,𝑐)   𝑍(𝑖,𝑗,𝑘,𝑎,𝑏,𝑐)

Proof of Theorem comptiunov2i
StepHypRef Expression
1 comptiunov2.x . . . 4 𝑋 = (𝑎 ∈ V ↦ 𝑖𝐼 (𝑎 𝑖))
21funmpt2 6109 . . 3 Fun 𝑋
3 comptiunov2.y . . . 4 𝑌 = (𝑏 ∈ V ↦ 𝑗𝐽 (𝑏 𝑗))
43funmpt2 6109 . . 3 Fun 𝑌
5 funco 6110 . . 3 ((Fun 𝑋 ∧ Fun 𝑌) → Fun (𝑋𝑌))
62, 4, 5mp2an 683 . 2 Fun (𝑋𝑌)
7 comptiunov2.z . . 3 𝑍 = (𝑐 ∈ V ↦ 𝑘𝐾 (𝑐 𝑘))
87funmpt2 6109 . 2 Fun 𝑍
9 ssv 3787 . . . . . . 7 ran 𝑌 ⊆ V
10 comptiunov2.i . . . . . . . . 9 𝐼 ∈ V
11 ovex 6878 . . . . . . . . 9 (𝑎 𝑖) ∈ V
1210, 11iunex 7349 . . . . . . . 8 𝑖𝐼 (𝑎 𝑖) ∈ V
1312, 1dmmpti 6203 . . . . . . 7 dom 𝑋 = V
149, 13sseqtr4i 3800 . . . . . 6 ran 𝑌 ⊆ dom 𝑋
15 dmcosseq 5558 . . . . . 6 (ran 𝑌 ⊆ dom 𝑋 → dom (𝑋𝑌) = dom 𝑌)
1614, 15ax-mp 5 . . . . 5 dom (𝑋𝑌) = dom 𝑌
17 comptiunov2.j . . . . . . 7 𝐽 ∈ V
18 ovex 6878 . . . . . . 7 (𝑏 𝑗) ∈ V
1917, 18iunex 7349 . . . . . 6 𝑗𝐽 (𝑏 𝑗) ∈ V
2019, 3dmmpti 6203 . . . . 5 dom 𝑌 = V
2116, 20eqtri 2787 . . . 4 dom (𝑋𝑌) = V
22 comptiunov2.k . . . . . . 7 𝐾 = (𝐼𝐽)
2310, 17unex 7158 . . . . . . 7 (𝐼𝐽) ∈ V
2422, 23eqeltri 2840 . . . . . 6 𝐾 ∈ V
25 ovex 6878 . . . . . 6 (𝑐 𝑘) ∈ V
2624, 25iunex 7349 . . . . 5 𝑘𝐾 (𝑐 𝑘) ∈ V
2726, 7dmmpti 6203 . . . 4 dom 𝑍 = V
2821, 27eqtr4i 2790 . . 3 dom (𝑋𝑌) = dom 𝑍
29 vex 3353 . . . . . . . . 9 𝑑 ∈ V
3029, 20eleqtrri 2843 . . . . . . . 8 𝑑 ∈ dom 𝑌
31 fvco 6467 . . . . . . . 8 ((Fun 𝑌𝑑 ∈ dom 𝑌) → ((𝑋𝑌)‘𝑑) = (𝑋‘(𝑌𝑑)))
324, 30, 31mp2an 683 . . . . . . 7 ((𝑋𝑌)‘𝑑) = (𝑋‘(𝑌𝑑))
33 oveq1 6853 . . . . . . . . . . 11 (𝑏 = 𝑑 → (𝑏 𝑗) = (𝑑 𝑗))
3433iuneq2d 4705 . . . . . . . . . 10 (𝑏 = 𝑑 𝑗𝐽 (𝑏 𝑗) = 𝑗𝐽 (𝑑 𝑗))
35 ovex 6878 . . . . . . . . . . 11 (𝑑 𝑗) ∈ V
3617, 35iunex 7349 . . . . . . . . . 10 𝑗𝐽 (𝑑 𝑗) ∈ V
3734, 3, 36fvmpt 6475 . . . . . . . . 9 (𝑑 ∈ V → (𝑌𝑑) = 𝑗𝐽 (𝑑 𝑗))
3829, 37ax-mp 5 . . . . . . . 8 (𝑌𝑑) = 𝑗𝐽 (𝑑 𝑗)
3938fveq2i 6382 . . . . . . 7 (𝑋‘(𝑌𝑑)) = (𝑋 𝑗𝐽 (𝑑 𝑗))
40 oveq1 6853 . . . . . . . . . 10 (𝑎 = 𝑗𝐽 (𝑑 𝑗) → (𝑎 𝑖) = ( 𝑗𝐽 (𝑑 𝑗) 𝑖))
4140iuneq2d 4705 . . . . . . . . 9 (𝑎 = 𝑗𝐽 (𝑑 𝑗) → 𝑖𝐼 (𝑎 𝑖) = 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖))
42 ovex 6878 . . . . . . . . . 10 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) ∈ V
4310, 42iunex 7349 . . . . . . . . 9 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) ∈ V
4441, 1, 43fvmpt 6475 . . . . . . . 8 ( 𝑗𝐽 (𝑑 𝑗) ∈ V → (𝑋 𝑗𝐽 (𝑑 𝑗)) = 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖))
4536, 44ax-mp 5 . . . . . . 7 (𝑋 𝑗𝐽 (𝑑 𝑗)) = 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
4632, 39, 453eqtri 2791 . . . . . 6 ((𝑋𝑌)‘𝑑) = 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
47 oveq1 6853 . . . . . . . . 9 (𝑐 = 𝑑 → (𝑐 𝑘) = (𝑑 𝑘))
4847iuneq2d 4705 . . . . . . . 8 (𝑐 = 𝑑 𝑘𝐾 (𝑐 𝑘) = 𝑘𝐾 (𝑑 𝑘))
49 ovex 6878 . . . . . . . . 9 (𝑑 𝑘) ∈ V
5024, 49iunex 7349 . . . . . . . 8 𝑘𝐾 (𝑑 𝑘) ∈ V
5148, 7, 50fvmpt 6475 . . . . . . 7 (𝑑 ∈ V → (𝑍𝑑) = 𝑘𝐾 (𝑑 𝑘))
5229, 51ax-mp 5 . . . . . 6 (𝑍𝑑) = 𝑘𝐾 (𝑑 𝑘)
5346, 52eqeq12i 2779 . . . . 5 (((𝑋𝑌)‘𝑑) = (𝑍𝑑) ↔ 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) = 𝑘𝐾 (𝑑 𝑘))
5421, 53raleqbii 3137 . . . 4 (∀𝑑 ∈ dom (𝑋𝑌)((𝑋𝑌)‘𝑑) = (𝑍𝑑) ↔ ∀𝑑 ∈ V 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) = 𝑘𝐾 (𝑑 𝑘))
55 comptiunov2.3 . . . . . . 7 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) ⊆ 𝑘 ∈ (𝐼𝐽)(𝑑 𝑘)
56 iunxun 4764 . . . . . . . 8 𝑘 ∈ (𝐼𝐽)(𝑑 𝑘) = ( 𝑘𝐼 (𝑑 𝑘) ∪ 𝑘𝐽 (𝑑 𝑘))
57 comptiunov2.1 . . . . . . . . 9 𝑘𝐼 (𝑑 𝑘) ⊆ 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
58 comptiunov2.2 . . . . . . . . 9 𝑘𝐽 (𝑑 𝑘) ⊆ 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
5957, 58unssi 3952 . . . . . . . 8 ( 𝑘𝐼 (𝑑 𝑘) ∪ 𝑘𝐽 (𝑑 𝑘)) ⊆ 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
6056, 59eqsstri 3797 . . . . . . 7 𝑘 ∈ (𝐼𝐽)(𝑑 𝑘) ⊆ 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖)
6155, 60eqssi 3779 . . . . . 6 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) = 𝑘 ∈ (𝐼𝐽)(𝑑 𝑘)
62 iuneq1 4692 . . . . . . 7 (𝐾 = (𝐼𝐽) → 𝑘𝐾 (𝑑 𝑘) = 𝑘 ∈ (𝐼𝐽)(𝑑 𝑘))
6322, 62ax-mp 5 . . . . . 6 𝑘𝐾 (𝑑 𝑘) = 𝑘 ∈ (𝐼𝐽)(𝑑 𝑘)
6461, 63eqtr4i 2790 . . . . 5 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) = 𝑘𝐾 (𝑑 𝑘)
6564a1i 11 . . . 4 (𝑑 ∈ V → 𝑖𝐼 ( 𝑗𝐽 (𝑑 𝑗) 𝑖) = 𝑘𝐾 (𝑑 𝑘))
6654, 65mprgbir 3074 . . 3 𝑑 ∈ dom (𝑋𝑌)((𝑋𝑌)‘𝑑) = (𝑍𝑑)
67 eqfunfv 6510 . . . 4 ((Fun (𝑋𝑌) ∧ Fun 𝑍) → ((𝑋𝑌) = 𝑍 ↔ (dom (𝑋𝑌) = dom 𝑍 ∧ ∀𝑑 ∈ dom (𝑋𝑌)((𝑋𝑌)‘𝑑) = (𝑍𝑑))))
6867biimprd 239 . . 3 ((Fun (𝑋𝑌) ∧ Fun 𝑍) → ((dom (𝑋𝑌) = dom 𝑍 ∧ ∀𝑑 ∈ dom (𝑋𝑌)((𝑋𝑌)‘𝑑) = (𝑍𝑑)) → (𝑋𝑌) = 𝑍))
6928, 66, 68mp2ani 689 . 2 ((Fun (𝑋𝑌) ∧ Fun 𝑍) → (𝑋𝑌) = 𝑍)
706, 8, 69mp2an 683 1 (𝑋𝑌) = 𝑍
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1652  wcel 2155  wral 3055  Vcvv 3350  cun 3732  wss 3734   ciun 4678  cmpt 4890  dom cdm 5279  ran crn 5280  ccom 5283  Fun wfun 6064  cfv 6070  (class class class)co 6846
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 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-rep 4932  ax-sep 4943  ax-nul 4951  ax-pow 5003  ax-pr 5064  ax-un 7151
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-ral 3060  df-rex 3061  df-reu 3062  df-rab 3064  df-v 3352  df-sbc 3599  df-csb 3694  df-dif 3737  df-un 3739  df-in 3741  df-ss 3748  df-nul 4082  df-if 4246  df-sn 4337  df-pr 4339  df-op 4343  df-uni 4597  df-iun 4680  df-br 4812  df-opab 4874  df-mpt 4891  df-id 5187  df-xp 5285  df-rel 5286  df-cnv 5287  df-co 5288  df-dm 5289  df-rn 5290  df-res 5291  df-ima 5292  df-iota 6033  df-fun 6072  df-fn 6073  df-f 6074  df-f1 6075  df-fo 6076  df-f1o 6077  df-fv 6078  df-ov 6849
This theorem is referenced by:  corclrcl  38698  cotrcltrcl  38716  corcltrcl  38730  cotrclrcl  38733
  Copyright terms: Public domain W3C validator