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

Theorem fpwwelem 10145
Description: Lemma for fpwwe 10146. (Contributed by Mario Carneiro, 15-May-2015.) (Revised by AV, 20-Jul-2024.)
Hypotheses
Ref Expression
fpwwe.1 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
fpwwe.2 (𝜑𝐴𝑉)
Assertion
Ref Expression
fpwwelem (𝜑 → (𝑋𝑊𝑅 ↔ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))))
Distinct variable groups:   𝑥,𝑟,𝐴   𝑦,𝑟,𝐹,𝑥   𝜑,𝑟,𝑥,𝑦   𝑅,𝑟,𝑥,𝑦   𝑋,𝑟,𝑥,𝑦   𝑊,𝑟,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑦)   𝑉(𝑥,𝑦,𝑟)

Proof of Theorem fpwwelem
StepHypRef Expression
1 fpwwe.1 . . . . 5 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
21relopabiv 5664 . . . 4 Rel 𝑊
32a1i 11 . . 3 (𝜑 → Rel 𝑊)
4 brrelex12 5575 . . 3 ((Rel 𝑊𝑋𝑊𝑅) → (𝑋 ∈ V ∧ 𝑅 ∈ V))
53, 4sylan 583 . 2 ((𝜑𝑋𝑊𝑅) → (𝑋 ∈ V ∧ 𝑅 ∈ V))
6 fpwwe.2 . . . . 5 (𝜑𝐴𝑉)
76adantr 484 . . . 4 ((𝜑 ∧ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))) → 𝐴𝑉)
8 simprll 779 . . . 4 ((𝜑 ∧ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))) → 𝑋𝐴)
97, 8ssexd 5192 . . 3 ((𝜑 ∧ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))) → 𝑋 ∈ V)
109, 9xpexd 7492 . . . 4 ((𝜑 ∧ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))) → (𝑋 × 𝑋) ∈ V)
11 simprlr 780 . . . 4 ((𝜑 ∧ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))) → 𝑅 ⊆ (𝑋 × 𝑋))
1210, 11ssexd 5192 . . 3 ((𝜑 ∧ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))) → 𝑅 ∈ V)
139, 12jca 515 . 2 ((𝜑 ∧ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))) → (𝑋 ∈ V ∧ 𝑅 ∈ V))
14 simpl 486 . . . . . 6 ((𝑥 = 𝑋𝑟 = 𝑅) → 𝑥 = 𝑋)
1514sseq1d 3908 . . . . 5 ((𝑥 = 𝑋𝑟 = 𝑅) → (𝑥𝐴𝑋𝐴))
16 simpr 488 . . . . . 6 ((𝑥 = 𝑋𝑟 = 𝑅) → 𝑟 = 𝑅)
1714sqxpeqd 5557 . . . . . 6 ((𝑥 = 𝑋𝑟 = 𝑅) → (𝑥 × 𝑥) = (𝑋 × 𝑋))
1816, 17sseq12d 3910 . . . . 5 ((𝑥 = 𝑋𝑟 = 𝑅) → (𝑟 ⊆ (𝑥 × 𝑥) ↔ 𝑅 ⊆ (𝑋 × 𝑋)))
1915, 18anbi12d 634 . . . 4 ((𝑥 = 𝑋𝑟 = 𝑅) → ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ↔ (𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋))))
20 weeq2 5514 . . . . . 6 (𝑥 = 𝑋 → (𝑟 We 𝑥𝑟 We 𝑋))
21 weeq1 5513 . . . . . 6 (𝑟 = 𝑅 → (𝑟 We 𝑋𝑅 We 𝑋))
2220, 21sylan9bb 513 . . . . 5 ((𝑥 = 𝑋𝑟 = 𝑅) → (𝑟 We 𝑥𝑅 We 𝑋))
2316cnveqd 5718 . . . . . . . 8 ((𝑥 = 𝑋𝑟 = 𝑅) → 𝑟 = 𝑅)
2423imaeq1d 5902 . . . . . . 7 ((𝑥 = 𝑋𝑟 = 𝑅) → (𝑟 “ {𝑦}) = (𝑅 “ {𝑦}))
2524fveqeq2d 6682 . . . . . 6 ((𝑥 = 𝑋𝑟 = 𝑅) → ((𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ (𝐹‘(𝑅 “ {𝑦})) = 𝑦))
2614, 25raleqbidv 3304 . . . . 5 ((𝑥 = 𝑋𝑟 = 𝑅) → (∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦 ↔ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))
2722, 26anbi12d 634 . . . 4 ((𝑥 = 𝑋𝑟 = 𝑅) → ((𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦) ↔ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦)))
2819, 27anbi12d 634 . . 3 ((𝑥 = 𝑋𝑟 = 𝑅) → (((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦)) ↔ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))))
2928, 1brabga 5389 . 2 ((𝑋 ∈ V ∧ 𝑅 ∈ V) → (𝑋𝑊𝑅 ↔ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))))
305, 13, 29pm5.21nd 802 1 (𝜑 → (𝑋𝑊𝑅 ↔ ((𝑋𝐴𝑅 ⊆ (𝑋 × 𝑋)) ∧ (𝑅 We 𝑋 ∧ ∀𝑦𝑋 (𝐹‘(𝑅 “ {𝑦})) = 𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  wcel 2114  wral 3053  Vcvv 3398  wss 3843  {csn 4516   class class class wbr 5030  {copab 5092   We wwe 5482   × cxp 5523  ccnv 5524  cima 5528  Rel wrel 5530  cfv 6339
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-sb 2075  df-clab 2717  df-cleq 2730  df-clel 2811  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-br 5031  df-opab 5093  df-po 5442  df-so 5443  df-fr 5483  df-we 5485  df-xp 5531  df-rel 5532  df-cnv 5533  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-iota 6297  df-fv 6347
This theorem is referenced by:  canth4  10147  canthnumlem  10148  canthp1lem2  10153
  Copyright terms: Public domain W3C validator