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

Theorem fpwwecbv 10068
Description: Lemma for fpwwe 10070. (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 485 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → 𝑥 = 𝑎)
32sseq1d 4000 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑥𝐴𝑎𝐴))
4 simpr 487 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → 𝑟 = 𝑠)
52sqxpeqd 5589 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑥 × 𝑥) = (𝑎 × 𝑎))
64, 5sseq12d 4002 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑟 ⊆ (𝑥 × 𝑥) ↔ 𝑠 ⊆ (𝑎 × 𝑎)))
73, 6anbi12d 632 . . . 4 ((𝑥 = 𝑎𝑟 = 𝑠) → ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ↔ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎))))
8 weeq2 5546 . . . . . 6 (𝑥 = 𝑎 → (𝑟 We 𝑥𝑟 We 𝑎))
9 weeq1 5545 . . . . . 6 (𝑟 = 𝑠 → (𝑟 We 𝑎𝑠 We 𝑎))
108, 9sylan9bb 512 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑟 We 𝑥𝑠 We 𝑎))
11 sneq 4579 . . . . . . . . . 10 (𝑦 = 𝑧 → {𝑦} = {𝑧})
1211imaeq2d 5931 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑟 “ {𝑦}) = (𝑟 “ {𝑧}))
1312fveq2d 6676 . . . . . . . 8 (𝑦 = 𝑧 → (𝐹‘(𝑟 “ {𝑦})) = (𝐹‘(𝑟 “ {𝑧})))
14 id 22 . . . . . . . 8 (𝑦 = 𝑧𝑦 = 𝑧)
1513, 14eqeq12d 2839 . . . . . . 7 (𝑦 = 𝑧 → ((𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ (𝐹‘(𝑟 “ {𝑧})) = 𝑧))
1615cbvralvw 3451 . . . . . 6 (∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ ∀𝑧𝑥 (𝐹‘(𝑟 “ {𝑧})) = 𝑧)
174cnveqd 5748 . . . . . . . . 9 ((𝑥 = 𝑎𝑟 = 𝑠) → 𝑟 = 𝑠)
1817imaeq1d 5930 . . . . . . . 8 ((𝑥 = 𝑎𝑟 = 𝑠) → (𝑟 “ {𝑧}) = (𝑠 “ {𝑧}))
1918fveqeq2d 6680 . . . . . . 7 ((𝑥 = 𝑎𝑟 = 𝑠) → ((𝐹‘(𝑟 “ {𝑧})) = 𝑧 ↔ (𝐹‘(𝑠 “ {𝑧})) = 𝑧))
202, 19raleqbidv 3403 . . . . . 6 ((𝑥 = 𝑎𝑟 = 𝑠) → (∀𝑧𝑥 (𝐹‘(𝑟 “ {𝑧})) = 𝑧 ↔ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))
2116, 20syl5bb 285 . . . . 5 ((𝑥 = 𝑎𝑟 = 𝑠) → (∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))
2210, 21anbi12d 632 . . . 4 ((𝑥 = 𝑎𝑟 = 𝑠) → ((𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦) ↔ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧)))
237, 22anbi12d 632 . . 3 ((𝑥 = 𝑎𝑟 = 𝑠) → (((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦)) ↔ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎)) ∧ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))))
2423cbvopabv 5140 . 2 {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))} = {⟨𝑎, 𝑠⟩ ∣ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎)) ∧ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))}
251, 24eqtri 2846 1 𝑊 = {⟨𝑎, 𝑠⟩ ∣ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎)) ∧ (𝑠 We 𝑎 ∧ ∀𝑧𝑎 (𝐹‘(𝑠 “ {𝑧})) = 𝑧))}
Colors of variables: wff setvar class
Syntax hints:  wa 398   = wceq 1537  wral 3140  wss 3938  {csn 4569  {copab 5130   We wwe 5515   × cxp 5555  ccnv 5556  cima 5560  cfv 6357
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 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-cnv 5565  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fv 6365
This theorem is referenced by:  canthnum  10073  canthp1  10078
  Copyright terms: Public domain W3C validator