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

Theorem fpwwecbv 9345
Description: Lemma for fpwwe 9347. (Contributed by Mario Carneiro, 15-May-2015.)
Hypothesis
Ref Expression
fpwwe.1 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
Assertion
Ref Expression
fpwwecbv 𝑊 = {⟨𝑎, 𝑠⟩ ∣ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎)) ∧ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))}
Distinct variable groups:   𝑟,𝑎,𝑠,𝑥,𝐴   𝑦,𝑎,𝑧,𝐹,𝑟,𝑠,𝑥
Allowed substitution hints:   𝐴(𝑦,𝑧)   𝑊(𝑥,𝑦,𝑧,𝑠,𝑟,𝑎)

Proof of Theorem fpwwecbv
StepHypRef Expression
1 fpwwe.1 . 2 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
2 simpl 472 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → 𝑥 = 𝑎)
32sseq1d 3595 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑥𝐴𝑎𝐴))
4 simpr 476 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → 𝑟 = 𝑠)
52sqxpeqd 5065 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑥 × 𝑥) = (𝑎 × 𝑎))
64, 5sseq12d 3597 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑟 ⊆ (𝑥 × 𝑥) ↔ 𝑠 ⊆ (𝑎 × 𝑎)))
73, 6anbi12d 743 . . . 4 ((𝑥 = 𝑎𝑟 = 𝑠) → ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ↔ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎))))
8 weeq2 5027 . . . . . 6 (𝑥 = 𝑎 → (𝑟 We 𝑥𝑟 We 𝑎))
9 weeq1 5026 . . . . . 6 (𝑟 = 𝑠 → (𝑟 We 𝑎𝑠 We 𝑎))
108, 9sylan9bb 732 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑟 We 𝑥𝑠 We 𝑎))
11 sneq 4135 . . . . . . . . . 10 (𝑦 = 𝑧 → {𝑦} = {𝑧})
1211imaeq2d 5385 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑟 “ {𝑦}) = (𝑟 “ {𝑧}))
1312fveq2d 6107 . . . . . . . 8 (𝑦 = 𝑧 → (𝐹‘(𝑟 “ {𝑦})) = (𝐹‘(𝑟 “ {𝑧})))
14 id 22 . . . . . . . 8 (𝑦 = 𝑧𝑦 = 𝑧)
1513, 14eqeq12d 2625 . . . . . . 7 (𝑦 = 𝑧 → ((𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ (𝐹‘(𝑟 “ {𝑧})) = 𝑧))
1615cbvralv 3147 . . . . . 6 (∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ ∀𝑧𝑥 (𝐹‘(𝑟 “ {𝑧})) = 𝑧)
174cnveqd 5220 . . . . . . . . . 10 ((𝑥 = 𝑎𝑟 = 𝑠) → 𝑟 = 𝑠)
1817imaeq1d 5384 . . . . . . . . 9 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑟 “ {𝑧}) = (𝑠 “ {𝑧}))
1918fveq2d 6107 . . . . . . . 8 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝐹‘(𝑟 “ {𝑧})) = (𝐹‘(𝑠 “ {𝑧})))
2019eqeq1d 2612 . . . . . . 7 ((𝑥 = 𝑎𝑟 = 𝑠) → ((𝐹‘(𝑟 “ {𝑧})) = 𝑧 ↔ (𝐹‘(𝑠 “ {𝑧})) = 𝑧))
212, 20raleqbidv 3129 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → (∀𝑧𝑥 (𝐹‘(𝑟 “ {𝑧})) = 𝑧 ↔ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))
2216, 21syl5bb 271 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))
2310, 22anbi12d 743 . . . 4 ((𝑥 = 𝑎𝑟 = 𝑠) → ((𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦) ↔ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧)))
247, 23anbi12d 743 . . 3 ((𝑥 = 𝑎𝑟 = 𝑠) → (((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦)) ↔ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎)) ∧ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))))
2524cbvopabv 4654 . 2 {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))} = {⟨𝑎, 𝑠⟩ ∣ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎)) ∧ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))}
261, 25eqtri 2632 1 𝑊 = {⟨𝑎, 𝑠⟩ ∣ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎)) ∧ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))}
Colors of variables: wff setvar class
Syntax hints:  wa 383   = wceq 1475  wral 2896  wss 3540  {csn 4125  {copab 4642   We wwe 4996   × cxp 5036  ccnv 5037  cima 5041  cfv 5804
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-cnv 5046  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fv 5812
This theorem is referenced by:  canthnum  9350  canthp1  9355
  Copyright terms: Public domain W3C validator