Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  reuxfrdf Structured version   Visualization version   GIF version

Theorem reuxfrdf 30255
Description: Transfer existential uniqueness from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. Cf. reuxfrd 3739 (Contributed by Thierry Arnoux, 7-Apr-2017.) (Revised by Thierry Arnoux, 8-Oct-2017.) (Revised by Thierry Arnoux, 30-Mar-2018.)
Hypotheses
Ref Expression
reuxfrdf.0 𝑦𝐵
reuxfrdf.1 ((𝜑𝑦𝐶) → 𝐴𝐵)
reuxfrdf.2 ((𝜑𝑥𝐵) → ∃*𝑦𝐶 𝑥 = 𝐴)
Assertion
Ref Expression
reuxfrdf (𝜑 → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝐶 𝜓))
Distinct variable groups:   𝑥,𝑦,𝜑   𝜓,𝑥   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶,𝑦
Allowed substitution hints:   𝜓(𝑦)   𝐴(𝑦)   𝐵(𝑦)

Proof of Theorem reuxfrdf
StepHypRef Expression
1 reuxfrdf.2 . . . . . . 7 ((𝜑𝑥𝐵) → ∃*𝑦𝐶 𝑥 = 𝐴)
2 rmoan 3730 . . . . . . 7 (∃*𝑦𝐶 𝑥 = 𝐴 → ∃*𝑦𝐶 (𝜓𝑥 = 𝐴))
31, 2syl 17 . . . . . 6 ((𝜑𝑥𝐵) → ∃*𝑦𝐶 (𝜓𝑥 = 𝐴))
4 ancom 463 . . . . . . 7 ((𝜓𝑥 = 𝐴) ↔ (𝑥 = 𝐴𝜓))
54rmobii 3396 . . . . . 6 (∃*𝑦𝐶 (𝜓𝑥 = 𝐴) ↔ ∃*𝑦𝐶 (𝑥 = 𝐴𝜓))
63, 5sylib 220 . . . . 5 ((𝜑𝑥𝐵) → ∃*𝑦𝐶 (𝑥 = 𝐴𝜓))
76ralrimiva 3182 . . . 4 (𝜑 → ∀𝑥𝐵 ∃*𝑦𝐶 (𝑥 = 𝐴𝜓))
8 df-rmo 3146 . . . . . 6 (∃*𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)))
98ralbii 3165 . . . . 5 (∀𝑥𝐵 ∃*𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)))
10 df-ral 3143 . . . . . . 7 (∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑥(𝑥𝐵 → ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
11 reuxfrdf.0 . . . . . . . . . 10 𝑦𝐵
1211nfcri 2971 . . . . . . . . 9 𝑦 𝑥𝐵
1312moanim 2705 . . . . . . . 8 (∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑥𝐵 → ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
1413albii 1820 . . . . . . 7 (∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ ∀𝑥(𝑥𝐵 → ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
1510, 14bitr4i 280 . . . . . 6 (∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
16 2euswapv 2715 . . . . . . 7 (∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑥𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) → ∃!𝑦𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)))))
17 df-reu 3145 . . . . . . . 8 (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑥(𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)))
1812r19.41 3348 . . . . . . . . . . . 12 (∃𝑦𝐶 ((𝑥 = 𝐴𝜓) ∧ 𝑥𝐵) ↔ (∃𝑦𝐶 (𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
19 ancom 463 . . . . . . . . . . . . 13 ((𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ((𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
2019rexbii 3247 . . . . . . . . . . . 12 (∃𝑦𝐶 (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑦𝐶 ((𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
21 ancom 463 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ (∃𝑦𝐶 (𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
2218, 20, 213bitr4i 305 . . . . . . . . . . 11 (∃𝑦𝐶 (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ (𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)))
23 df-rex 3144 . . . . . . . . . . 11 (∃𝑦𝐶 (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
2422, 23bitr3i 279 . . . . . . . . . 10 ((𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
25 an12 643 . . . . . . . . . . 11 ((𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2625exbii 1848 . . . . . . . . . 10 (∃𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ ∃𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2724, 26bitri 277 . . . . . . . . 9 ((𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2827eubii 2670 . . . . . . . 8 (∃!𝑥(𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑥𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2917, 28bitri 277 . . . . . . 7 (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑥𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
30 df-reu 3145 . . . . . . . 8 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦(𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)))
31 nfv 1915 . . . . . . . . . . . 12 𝑥 𝑦𝐶
3231r19.41 3348 . . . . . . . . . . 11 (∃𝑥𝐵 ((𝑥 = 𝐴𝜓) ∧ 𝑦𝐶) ↔ (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
33 ancom 463 . . . . . . . . . . . 12 ((𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ((𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
3433rexbii 3247 . . . . . . . . . . 11 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑥𝐵 ((𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
35 ancom 463 . . . . . . . . . . 11 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
3632, 34, 353bitr4i 305 . . . . . . . . . 10 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ (𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)))
37 df-rex 3144 . . . . . . . . . 10 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
3836, 37bitr3i 279 . . . . . . . . 9 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
3938eubii 2670 . . . . . . . 8 (∃!𝑦(𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑦𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
4030, 39bitri 277 . . . . . . 7 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
4116, 29, 403imtr4g 298 . . . . . 6 (∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
4215, 41sylbi 219 . . . . 5 (∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
439, 42sylbi 219 . . . 4 (∀𝑥𝐵 ∃*𝑦𝐶 (𝑥 = 𝐴𝜓) → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
447, 43syl 17 . . 3 (𝜑 → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
45 df-ral 3143 . . . . . 6 (∀𝑦𝐶 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑦(𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
46 moanimv 2704 . . . . . . 7 (∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
4746albii 1820 . . . . . 6 (∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ ∀𝑦(𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
4845, 47bitr4i 280 . . . . 5 (∀𝑦𝐶 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
49 2euswapv 2715 . . . . . 6 (∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑦𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) → ∃!𝑥𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))))
50 r19.42v 3350 . . . . . . . . . 10 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ (𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)))
5150, 37bitr3i 279 . . . . . . . . 9 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
52 an12 643 . . . . . . . . . 10 ((𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5352exbii 1848 . . . . . . . . 9 (∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ ∃𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5451, 53bitri 277 . . . . . . . 8 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5554eubii 2670 . . . . . . 7 (∃!𝑦(𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑦𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5630, 55bitri 277 . . . . . 6 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5724eubii 2670 . . . . . . 7 (∃!𝑥(𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑥𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5817, 57bitri 277 . . . . . 6 (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑥𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5949, 56, 583imtr4g 298 . . . . 5 (∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) → ∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓)))
6048, 59sylbi 219 . . . 4 (∀𝑦𝐶 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) → (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) → ∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓)))
61 moeq 3698 . . . . . . 7 ∃*𝑥 𝑥 = 𝐴
6261moani 2637 . . . . . 6 ∃*𝑥((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴)
63 ancom 463 . . . . . . . 8 (((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴) ↔ (𝑥 = 𝐴 ∧ (𝑥𝐵𝜓)))
64 an12 643 . . . . . . . 8 ((𝑥 = 𝐴 ∧ (𝑥𝐵𝜓)) ↔ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6563, 64bitri 277 . . . . . . 7 (((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴) ↔ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6665mobii 2631 . . . . . 6 (∃*𝑥((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴) ↔ ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6762, 66mpbi 232 . . . . 5 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))
6867a1i 11 . . . 4 (𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6960, 68mprg 3152 . . 3 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) → ∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓))
7044, 69impbid1 227 . 2 (𝜑 → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
71 reuxfrdf.1 . . . 4 ((𝜑𝑦𝐶) → 𝐴𝐵)
72 biidd 264 . . . . 5 (𝑥 = 𝐴 → (𝜓𝜓))
7372ceqsrexv 3649 . . . 4 (𝐴𝐵 → (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ 𝜓))
7471, 73syl 17 . . 3 ((𝜑𝑦𝐶) → (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ 𝜓))
7574reubidva 3388 . 2 (𝜑 → (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝐶 𝜓))
7670, 75bitrd 281 1 (𝜑 → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝐶 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535   = wceq 1537  wex 1780  wcel 2114  ∃*wmo 2620  ∃!weu 2653  wnfc 2961  wral 3138  wrex 3139  ∃!wreu 3140  ∃*wrmo 3141
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator