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

Theorem fnse 7962
Description: Condition for the well-order in fnwe 7961 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 (𝜑𝐹:𝐴𝐵)
32ffvelrnda 6954 . . . . . . 7 ((𝜑𝑧𝐴) → (𝐹𝑧) ∈ 𝐵)
4 seex 5547 . . . . . . 7 ((𝑅 Se 𝐵 ∧ (𝐹𝑧) ∈ 𝐵) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
51, 3, 4syl2an2r 682 . . . . . 6 ((𝜑𝑧𝐴) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
6 snex 5353 . . . . . 6 {(𝐹𝑧)} ∈ V
7 unexg 7590 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V ∧ {(𝐹𝑧)} ∈ V) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
85, 6, 7sylancl 586 . . . . 5 ((𝜑𝑧𝐴) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
9 imaeq2 5959 . . . . . . . . 9 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → (𝐹𝑤) = (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
109eleq1d 2823 . . . . . . . 8 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝐹𝑤) ∈ V ↔ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1110imbi2d 341 . . . . . . 7 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝜑 → (𝐹𝑤) ∈ V) ↔ (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)))
12 fnse.4 . . . . . . 7 (𝜑 → (𝐹𝑤) ∈ V)
1311, 12vtoclg 3503 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V → (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1413impcom 408 . . . . 5 ((𝜑 ∧ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
158, 14syldan 591 . . . 4 ((𝜑𝑧𝐴) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
16 inss2 4164 . . . . . 6 (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝑇 “ {𝑧})
17 vex 3434 . . . . . . . . . 10 𝑤 ∈ V
1817eliniseg 5996 . . . . . . . . 9 (𝑧 ∈ V → (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧))
1918elv 3436 . . . . . . . 8 (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧)
20 fveq2 6767 . . . . . . . . . . . 12 (𝑥 = 𝑤 → (𝐹𝑥) = (𝐹𝑤))
21 fveq2 6767 . . . . . . . . . . . 12 (𝑦 = 𝑧 → (𝐹𝑦) = (𝐹𝑧))
2220, 21breqan12d 5090 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥)𝑅(𝐹𝑦) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
2320, 21eqeqan12d 2752 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥) = (𝐹𝑦) ↔ (𝐹𝑤) = (𝐹𝑧)))
24 breq12 5079 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → (𝑥𝑆𝑦𝑤𝑆𝑧))
2523, 24anbi12d 631 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦) ↔ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)))
2622, 25orbi12d 916 . . . . . . . . . 10 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)) ↔ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
27 fnse.1 . . . . . . . . . 10 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐴) ∧ ((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)))}
2826, 27brab2a 5675 . . . . . . . . 9 (𝑤𝑇𝑧 ↔ ((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
292ffvelrnda 6954 . . . . . . . . . . . . . . . . 17 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝐵)
3029adantrr 714 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝐹𝑤) ∈ 𝐵)
31 breq1 5077 . . . . . . . . . . . . . . . . 17 (𝑢 = (𝐹𝑤) → (𝑢𝑅(𝐹𝑧) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3231elrab3 3625 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ 𝐵 → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3330, 32syl 17 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3433biimprd 247 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤)𝑅(𝐹𝑧) → (𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)}))
35 simpl 483 . . . . . . . . . . . . . . . 16 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) = (𝐹𝑧))
36 fvex 6780 . . . . . . . . . . . . . . . . 17 (𝐹𝑤) ∈ V
3736elsn 4577 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ {(𝐹𝑧)} ↔ (𝐹𝑤) = (𝐹𝑧))
3835, 37sylibr 233 . . . . . . . . . . . . . . 15 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)})
3938a1i 11 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)}))
4034, 39orim12d 962 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)})))
41 elun 4083 . . . . . . . . . . . . 13 ((𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ↔ ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)}))
4240, 41syl6ibr 251 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
43 simprl 768 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝑤𝐴)
4442, 43jctild 526 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
452ffnd 6594 . . . . . . . . . . . . 13 (𝜑𝐹 Fn 𝐴)
4645adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝐹 Fn 𝐴)
47 elpreima 6928 . . . . . . . . . . . 12 (𝐹 Fn 𝐴 → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4846, 47syl 17 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4944, 48sylibrd 258 . . . . . . . . . 10 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5049expimpd 454 . . . . . . . . 9 (𝜑 → (((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5128, 50syl5bi 241 . . . . . . . 8 (𝜑 → (𝑤𝑇𝑧𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5219, 51syl5bi 241 . . . . . . 7 (𝜑 → (𝑤 ∈ (𝑇 “ {𝑧}) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5352ssrdv 3927 . . . . . 6 (𝜑 → (𝑇 “ {𝑧}) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5416, 53sstrid 3932 . . . . 5 (𝜑 → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5554adantr 481 . . . 4 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5615, 55ssexd 5247 . . 3 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5756ralrimiva 3113 . 2 (𝜑 → ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
58 dfse2 6002 . 2 (𝑇 Se 𝐴 ↔ ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5957, 58sylibr 233 1 (𝜑𝑇 Se 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wral 3064  {crab 3068  Vcvv 3430  cun 3885  cin 3886  wss 3887  {csn 4562   class class class wbr 5074  {copab 5136   Se wse 5538  ccnv 5584  cima 5588   Fn wfn 6422  wf 6423  cfv 6427
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5222  ax-nul 5229  ax-pr 5351  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3432  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4258  df-if 4461  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-br 5075  df-opab 5137  df-id 5485  df-se 5541  df-xp 5591  df-rel 5592  df-cnv 5593  df-co 5594  df-dm 5595  df-rn 5596  df-res 5597  df-ima 5598  df-iota 6385  df-fun 6429  df-fn 6430  df-f 6431  df-fv 6435
This theorem is referenced by:  r0weon  9756
  Copyright terms: Public domain W3C validator