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

Theorem fnse 8001
Description: Condition for the well-order in fnwe 8000 to be set-like. (Contributed by Mario Carneiro, 25-Jun-2015.)
Hypotheses
Ref Expression
fnse.1 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐴) ∧ ((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)))}
fnse.2 (𝜑𝐹:𝐴𝐵)
fnse.3 (𝜑𝑅 Se 𝐵)
fnse.4 (𝜑 → (𝐹𝑤) ∈ V)
Assertion
Ref Expression
fnse (𝜑𝑇 Se 𝐴)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑤,𝐵   𝑥,𝑤,𝑦,𝐹   𝜑,𝑤   𝑤,𝑅,𝑥,𝑦   𝑥,𝑆,𝑦   𝑤,𝑇
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑤)   𝐵(𝑥,𝑦)   𝑆(𝑤)   𝑇(𝑥,𝑦)

Proof of Theorem fnse
Dummy variables 𝑧 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fnse.3 . . . . . . 7 (𝜑𝑅 Se 𝐵)
2 fnse.2 . . . . . . . 8 (𝜑𝐹:𝐴𝐵)
32ffvelcdmda 6989 . . . . . . 7 ((𝜑𝑧𝐴) → (𝐹𝑧) ∈ 𝐵)
4 seex 5558 . . . . . . 7 ((𝑅 Se 𝐵 ∧ (𝐹𝑧) ∈ 𝐵) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
51, 3, 4syl2an2r 683 . . . . . 6 ((𝜑𝑧𝐴) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
6 snex 5363 . . . . . 6 {(𝐹𝑧)} ∈ V
7 unexg 7627 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V ∧ {(𝐹𝑧)} ∈ V) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
85, 6, 7sylancl 587 . . . . 5 ((𝜑𝑧𝐴) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
9 imaeq2 5971 . . . . . . . . 9 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → (𝐹𝑤) = (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
109eleq1d 2821 . . . . . . . 8 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝐹𝑤) ∈ V ↔ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1110imbi2d 342 . . . . . . 7 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝜑 → (𝐹𝑤) ∈ V) ↔ (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)))
12 fnse.4 . . . . . . 7 (𝜑 → (𝐹𝑤) ∈ V)
1311, 12vtoclg 3510 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V → (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1413impcom 409 . . . . 5 ((𝜑 ∧ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
158, 14syldan 592 . . . 4 ((𝜑𝑧𝐴) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
16 inss2 4169 . . . . . 6 (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝑇 “ {𝑧})
17 vex 3441 . . . . . . . . . 10 𝑤 ∈ V
1817eliniseg 6008 . . . . . . . . 9 (𝑧 ∈ V → (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧))
1918elv 3443 . . . . . . . 8 (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧)
20 fveq2 6800 . . . . . . . . . . . 12 (𝑥 = 𝑤 → (𝐹𝑥) = (𝐹𝑤))
21 fveq2 6800 . . . . . . . . . . . 12 (𝑦 = 𝑧 → (𝐹𝑦) = (𝐹𝑧))
2220, 21breqan12d 5097 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥)𝑅(𝐹𝑦) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
2320, 21eqeqan12d 2750 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥) = (𝐹𝑦) ↔ (𝐹𝑤) = (𝐹𝑧)))
24 breq12 5086 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → (𝑥𝑆𝑦𝑤𝑆𝑧))
2523, 24anbi12d 632 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦) ↔ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)))
2622, 25orbi12d 917 . . . . . . . . . 10 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)) ↔ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
27 fnse.1 . . . . . . . . . 10 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐴) ∧ ((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)))}
2826, 27brab2a 5687 . . . . . . . . 9 (𝑤𝑇𝑧 ↔ ((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
292ffvelcdmda 6989 . . . . . . . . . . . . . . . . 17 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝐵)
3029adantrr 715 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝐹𝑤) ∈ 𝐵)
31 breq1 5084 . . . . . . . . . . . . . . . . 17 (𝑢 = (𝐹𝑤) → (𝑢𝑅(𝐹𝑧) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3231elrab3 3630 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ 𝐵 → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3330, 32syl 17 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3433biimprd 249 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤)𝑅(𝐹𝑧) → (𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)}))
35 simpl 484 . . . . . . . . . . . . . . . 16 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) = (𝐹𝑧))
36 fvex 6813 . . . . . . . . . . . . . . . . 17 (𝐹𝑤) ∈ V
3736elsn 4580 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ {(𝐹𝑧)} ↔ (𝐹𝑤) = (𝐹𝑧))
3835, 37sylibr 234 . . . . . . . . . . . . . . 15 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)})
3938a1i 11 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)}))
4034, 39orim12d 963 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)})))
41 elun 4089 . . . . . . . . . . . . 13 ((𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ↔ ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)}))
4240, 41syl6ibr 253 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
43 simprl 769 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝑤𝐴)
4442, 43jctild 527 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
452ffnd 6627 . . . . . . . . . . . . 13 (𝜑𝐹 Fn 𝐴)
4645adantr 482 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝐹 Fn 𝐴)
47 elpreima 6963 . . . . . . . . . . . 12 (𝐹 Fn 𝐴 → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4846, 47syl 17 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4944, 48sylibrd 260 . . . . . . . . . 10 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5049expimpd 455 . . . . . . . . 9 (𝜑 → (((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5128, 50biimtrid 242 . . . . . . . 8 (𝜑 → (𝑤𝑇𝑧𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5219, 51biimtrid 242 . . . . . . 7 (𝜑 → (𝑤 ∈ (𝑇 “ {𝑧}) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5352ssrdv 3932 . . . . . 6 (𝜑 → (𝑇 “ {𝑧}) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5416, 53sstrid 3937 . . . . 5 (𝜑 → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5554adantr 482 . . . 4 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5615, 55ssexd 5257 . . 3 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5756ralrimiva 3140 . 2 (𝜑 → ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
58 dfse2 6014 . 2 (𝑇 Se 𝐴 ↔ ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5957, 58sylibr 234 1 (𝜑𝑇 Se 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397  wo 845   = wceq 1539  wcel 2104  wral 3062  {crab 3284  Vcvv 3437  cun 3890  cin 3891  wss 3892  {csn 4565   class class class wbr 5081  {copab 5143   Se wse 5549  ccnv 5595  cima 5599   Fn wfn 6449  wf 6450  cfv 6454
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pr 5361  ax-un 7616
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3287  df-v 3439  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-br 5082  df-opab 5144  df-id 5496  df-se 5552  df-xp 5602  df-rel 5603  df-cnv 5604  df-co 5605  df-dm 5606  df-rn 5607  df-res 5608  df-ima 5609  df-iota 6406  df-fun 6456  df-fn 6457  df-f 6458  df-fv 6462
This theorem is referenced by:  r0weon  9810
  Copyright terms: Public domain W3C validator