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

Theorem fnse 7900
Description: Condition for the well-order in fnwe 7899 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 6904 . . . . . . 7 ((𝜑𝑧𝐴) → (𝐹𝑧) ∈ 𝐵)
4 seex 5513 . . . . . . 7 ((𝑅 Se 𝐵 ∧ (𝐹𝑧) ∈ 𝐵) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
51, 3, 4syl2an2r 685 . . . . . 6 ((𝜑𝑧𝐴) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
6 snex 5324 . . . . . 6 {(𝐹𝑧)} ∈ V
7 unexg 7534 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V ∧ {(𝐹𝑧)} ∈ V) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
85, 6, 7sylancl 589 . . . . 5 ((𝜑𝑧𝐴) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
9 imaeq2 5925 . . . . . . . . 9 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → (𝐹𝑤) = (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
109eleq1d 2822 . . . . . . . 8 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝐹𝑤) ∈ V ↔ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1110imbi2d 344 . . . . . . 7 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝜑 → (𝐹𝑤) ∈ V) ↔ (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)))
12 fnse.4 . . . . . . 7 (𝜑 → (𝐹𝑤) ∈ V)
1311, 12vtoclg 3481 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V → (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1413impcom 411 . . . . 5 ((𝜑 ∧ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
158, 14syldan 594 . . . 4 ((𝜑𝑧𝐴) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
16 inss2 4144 . . . . . 6 (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝑇 “ {𝑧})
17 vex 3412 . . . . . . . . . 10 𝑤 ∈ V
1817eliniseg 5962 . . . . . . . . 9 (𝑧 ∈ V → (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧))
1918elv 3414 . . . . . . . 8 (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧)
20 fveq2 6717 . . . . . . . . . . . 12 (𝑥 = 𝑤 → (𝐹𝑥) = (𝐹𝑤))
21 fveq2 6717 . . . . . . . . . . . 12 (𝑦 = 𝑧 → (𝐹𝑦) = (𝐹𝑧))
2220, 21breqan12d 5069 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥)𝑅(𝐹𝑦) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
2320, 21eqeqan12d 2751 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥) = (𝐹𝑦) ↔ (𝐹𝑤) = (𝐹𝑧)))
24 breq12 5058 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → (𝑥𝑆𝑦𝑤𝑆𝑧))
2523, 24anbi12d 634 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦) ↔ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)))
2622, 25orbi12d 919 . . . . . . . . . 10 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)) ↔ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
27 fnse.1 . . . . . . . . . 10 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐴) ∧ ((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)))}
2826, 27brab2a 5641 . . . . . . . . 9 (𝑤𝑇𝑧 ↔ ((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
292ffvelrnda 6904 . . . . . . . . . . . . . . . . 17 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝐵)
3029adantrr 717 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝐹𝑤) ∈ 𝐵)
31 breq1 5056 . . . . . . . . . . . . . . . . 17 (𝑢 = (𝐹𝑤) → (𝑢𝑅(𝐹𝑧) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3231elrab3 3603 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ 𝐵 → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3330, 32syl 17 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3433biimprd 251 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤)𝑅(𝐹𝑧) → (𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)}))
35 simpl 486 . . . . . . . . . . . . . . . 16 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) = (𝐹𝑧))
36 fvex 6730 . . . . . . . . . . . . . . . . 17 (𝐹𝑤) ∈ V
3736elsn 4556 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ {(𝐹𝑧)} ↔ (𝐹𝑤) = (𝐹𝑧))
3835, 37sylibr 237 . . . . . . . . . . . . . . 15 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)})
3938a1i 11 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)}))
4034, 39orim12d 965 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)})))
41 elun 4063 . . . . . . . . . . . . 13 ((𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ↔ ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)}))
4240, 41syl6ibr 255 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
43 simprl 771 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝑤𝐴)
4442, 43jctild 529 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
452ffnd 6546 . . . . . . . . . . . . 13 (𝜑𝐹 Fn 𝐴)
4645adantr 484 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝐹 Fn 𝐴)
47 elpreima 6878 . . . . . . . . . . . 12 (𝐹 Fn 𝐴 → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4846, 47syl 17 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4944, 48sylibrd 262 . . . . . . . . . 10 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5049expimpd 457 . . . . . . . . 9 (𝜑 → (((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5128, 50syl5bi 245 . . . . . . . 8 (𝜑 → (𝑤𝑇𝑧𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5219, 51syl5bi 245 . . . . . . 7 (𝜑 → (𝑤 ∈ (𝑇 “ {𝑧}) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5352ssrdv 3907 . . . . . 6 (𝜑 → (𝑇 “ {𝑧}) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5416, 53sstrid 3912 . . . . 5 (𝜑 → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5554adantr 484 . . . 4 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5615, 55ssexd 5217 . . 3 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5756ralrimiva 3105 . 2 (𝜑 → ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
58 dfse2 5968 . 2 (𝑇 Se 𝐴 ↔ ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5957, 58sylibr 237 1 (𝜑𝑇 Se 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 847   = wceq 1543  wcel 2110  wral 3061  {crab 3065  Vcvv 3408  cun 3864  cin 3865  wss 3866  {csn 4541   class class class wbr 5053  {copab 5115   Se wse 5507  ccnv 5550  cima 5554   Fn wfn 6375  wf 6376  cfv 6380
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-id 5455  df-se 5510  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-fv 6388
This theorem is referenced by:  r0weon  9626
  Copyright terms: Public domain W3C validator