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 30740
Description: Transfer existential uniqueness from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. Cf. reuxfrd 3678 (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 3669 . . . . . . 7 (∃*𝑦𝐶 𝑥 = 𝐴 → ∃*𝑦𝐶 (𝜓𝑥 = 𝐴))
31, 2syl 17 . . . . . 6 ((𝜑𝑥𝐵) → ∃*𝑦𝐶 (𝜓𝑥 = 𝐴))
4 ancom 460 . . . . . . 7 ((𝜓𝑥 = 𝐴) ↔ (𝑥 = 𝐴𝜓))
54rmobii 3322 . . . . . 6 (∃*𝑦𝐶 (𝜓𝑥 = 𝐴) ↔ ∃*𝑦𝐶 (𝑥 = 𝐴𝜓))
63, 5sylib 217 . . . . 5 ((𝜑𝑥𝐵) → ∃*𝑦𝐶 (𝑥 = 𝐴𝜓))
76ralrimiva 3107 . . . 4 (𝜑 → ∀𝑥𝐵 ∃*𝑦𝐶 (𝑥 = 𝐴𝜓))
8 df-rmo 3071 . . . . . 6 (∃*𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)))
98ralbii 3090 . . . . 5 (∀𝑥𝐵 ∃*𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)))
10 df-ral 3068 . . . . . . 7 (∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑥(𝑥𝐵 → ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
11 reuxfrdf.0 . . . . . . . . . 10 𝑦𝐵
1211nfcri 2893 . . . . . . . . 9 𝑦 𝑥𝐵
1312moanim 2622 . . . . . . . 8 (∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑥𝐵 → ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
1413albii 1823 . . . . . . 7 (∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ ∀𝑥(𝑥𝐵 → ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
1510, 14bitr4i 277 . . . . . 6 (∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
16 2euswapv 2632 . . . . . . 7 (∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑥𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) → ∃!𝑦𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)))))
17 df-reu 3070 . . . . . . . 8 (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑥(𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)))
1812r19.41 3274 . . . . . . . . . . . 12 (∃𝑦𝐶 ((𝑥 = 𝐴𝜓) ∧ 𝑥𝐵) ↔ (∃𝑦𝐶 (𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
19 ancom 460 . . . . . . . . . . . . 13 ((𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ((𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
2019rexbii 3177 . . . . . . . . . . . 12 (∃𝑦𝐶 (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑦𝐶 ((𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
21 ancom 460 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ (∃𝑦𝐶 (𝑥 = 𝐴𝜓) ∧ 𝑥𝐵))
2218, 20, 213bitr4i 302 . . . . . . . . . . 11 (∃𝑦𝐶 (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ (𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)))
23 df-rex 3069 . . . . . . . . . . 11 (∃𝑦𝐶 (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
2422, 23bitr3i 276 . . . . . . . . . 10 ((𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
25 an12 641 . . . . . . . . . . 11 ((𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2625exbii 1851 . . . . . . . . . 10 (∃𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ ∃𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2724, 26bitri 274 . . . . . . . . 9 ((𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2827eubii 2585 . . . . . . . 8 (∃!𝑥(𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑥𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
2917, 28bitri 274 . . . . . . 7 (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑥𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
30 df-reu 3070 . . . . . . . 8 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦(𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)))
31 nfv 1918 . . . . . . . . . . . 12 𝑥 𝑦𝐶
3231r19.41 3274 . . . . . . . . . . 11 (∃𝑥𝐵 ((𝑥 = 𝐴𝜓) ∧ 𝑦𝐶) ↔ (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
33 ancom 460 . . . . . . . . . . . 12 ((𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ((𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
3433rexbii 3177 . . . . . . . . . . 11 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑥𝐵 ((𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
35 ancom 460 . . . . . . . . . . 11 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ∧ 𝑦𝐶))
3632, 34, 353bitr4i 302 . . . . . . . . . 10 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ (𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)))
37 df-rex 3069 . . . . . . . . . 10 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
3836, 37bitr3i 276 . . . . . . . . 9 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
3938eubii 2585 . . . . . . . 8 (∃!𝑦(𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑦𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
4030, 39bitri 274 . . . . . . 7 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
4116, 29, 403imtr4g 295 . . . . . 6 (∀𝑥∃*𝑦(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
4215, 41sylbi 216 . . . . 5 (∀𝑥𝐵 ∃*𝑦(𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
439, 42sylbi 216 . . . 4 (∀𝑥𝐵 ∃*𝑦𝐶 (𝑥 = 𝐴𝜓) → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
447, 43syl 17 . . 3 (𝜑 → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) → ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
45 df-ral 3068 . . . . . 6 (∀𝑦𝐶 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑦(𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
46 moanimv 2621 . . . . . . 7 (∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
4746albii 1823 . . . . . 6 (∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) ↔ ∀𝑦(𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
4845, 47bitr4i 277 . . . . 5 (∀𝑦𝐶 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) ↔ ∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
49 2euswapv 2632 . . . . . 6 (∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑦𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) → ∃!𝑥𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))))
50 r19.42v 3276 . . . . . . . . . 10 (∃𝑥𝐵 (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓)) ↔ (𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)))
5150, 37bitr3i 276 . . . . . . . . 9 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))))
52 an12 641 . . . . . . . . . 10 ((𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ (𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5352exbii 1851 . . . . . . . . 9 (∃𝑥(𝑥𝐵 ∧ (𝑦𝐶 ∧ (𝑥 = 𝐴𝜓))) ↔ ∃𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5451, 53bitri 274 . . . . . . . 8 ((𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5554eubii 2585 . . . . . . 7 (∃!𝑦(𝑦𝐶 ∧ ∃𝑥𝐵 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑦𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5630, 55bitri 274 . . . . . 6 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5724eubii 2585 . . . . . . 7 (∃!𝑥(𝑥𝐵 ∧ ∃𝑦𝐶 (𝑥 = 𝐴𝜓)) ↔ ∃!𝑥𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5817, 57bitri 274 . . . . . 6 (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑥𝑦(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))))
5949, 56, 583imtr4g 295 . . . . 5 (∀𝑦∃*𝑥(𝑦𝐶 ∧ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))) → (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) → ∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓)))
6048, 59sylbi 216 . . . 4 (∀𝑦𝐶 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)) → (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) → ∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓)))
61 moeq 3637 . . . . . . 7 ∃*𝑥 𝑥 = 𝐴
6261moani 2553 . . . . . 6 ∃*𝑥((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴)
63 ancom 460 . . . . . . . 8 (((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴) ↔ (𝑥 = 𝐴 ∧ (𝑥𝐵𝜓)))
64 an12 641 . . . . . . . 8 ((𝑥 = 𝐴 ∧ (𝑥𝐵𝜓)) ↔ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6563, 64bitri 274 . . . . . . 7 (((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴) ↔ (𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6665mobii 2548 . . . . . 6 (∃*𝑥((𝑥𝐵𝜓) ∧ 𝑥 = 𝐴) ↔ ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6762, 66mpbi 229 . . . . 5 ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓))
6867a1i 11 . . . 4 (𝑦𝐶 → ∃*𝑥(𝑥𝐵 ∧ (𝑥 = 𝐴𝜓)))
6960, 68mprg 3077 . . 3 (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) → ∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓))
7044, 69impbid1 224 . 2 (𝜑 → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓)))
71 reuxfrdf.1 . . . 4 ((𝜑𝑦𝐶) → 𝐴𝐵)
72 biidd 261 . . . . 5 (𝑥 = 𝐴 → (𝜓𝜓))
7372ceqsrexv 3578 . . . 4 (𝐴𝐵 → (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ 𝜓))
7471, 73syl 17 . . 3 ((𝜑𝑦𝐶) → (∃𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ 𝜓))
7574reubidva 3314 . 2 (𝜑 → (∃!𝑦𝐶𝑥𝐵 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝐶 𝜓))
7670, 75bitrd 278 1 (𝜑 → (∃!𝑥𝐵𝑦𝐶 (𝑥 = 𝐴𝜓) ↔ ∃!𝑦𝐶 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  ∃*wmo 2538  ∃!weu 2568  wnfc 2886  wral 3063  wrex 3064  ∃!wreu 3065  ∃*wrmo 3066
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
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  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-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator