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

Theorem cusgrfilem2 27398
Description: Lemma 2 for cusgrfi 27400. (Contributed by Alexander van der Vekens, 13-Jan-2018.) (Revised by AV, 11-Nov-2020.)
Hypotheses
Ref Expression
cusgrfi.v 𝑉 = (Vtx‘𝐺)
cusgrfi.p 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})}
cusgrfi.f 𝐹 = (𝑥 ∈ (𝑉 ∖ {𝑁}) ↦ {𝑥, 𝑁})
Assertion
Ref Expression
cusgrfilem2 (𝑁𝑉𝐹:(𝑉 ∖ {𝑁})–1-1-onto𝑃)
Distinct variable groups:   𝑥,𝐺   𝑁,𝑎,𝑥   𝑉,𝑎,𝑥   𝑥,𝑃
Allowed substitution hints:   𝑃(𝑎)   𝐹(𝑥,𝑎)   𝐺(𝑎)

Proof of Theorem cusgrfilem2
Dummy variables 𝑒 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eldifi 4017 . . . . 5 (𝑥 ∈ (𝑉 ∖ {𝑁}) → 𝑥𝑉)
2 id 22 . . . . 5 (𝑁𝑉𝑁𝑉)
3 prelpwi 5306 . . . . 5 ((𝑥𝑉𝑁𝑉) → {𝑥, 𝑁} ∈ 𝒫 𝑉)
41, 2, 3syl2anr 600 . . . 4 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → {𝑥, 𝑁} ∈ 𝒫 𝑉)
51adantl 485 . . . . 5 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → 𝑥𝑉)
6 eldifsni 4678 . . . . . . 7 (𝑥 ∈ (𝑉 ∖ {𝑁}) → 𝑥𝑁)
76adantl 485 . . . . . 6 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → 𝑥𝑁)
8 eqidd 2739 . . . . . 6 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → {𝑥, 𝑁} = {𝑥, 𝑁})
97, 8jca 515 . . . . 5 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁}))
10 id 22 . . . . . 6 (𝑥𝑉𝑥𝑉)
11 neeq1 2996 . . . . . . . 8 (𝑎 = 𝑥 → (𝑎𝑁𝑥𝑁))
12 preq1 4624 . . . . . . . . 9 (𝑎 = 𝑥 → {𝑎, 𝑁} = {𝑥, 𝑁})
1312eqeq2d 2749 . . . . . . . 8 (𝑎 = 𝑥 → ({𝑥, 𝑁} = {𝑎, 𝑁} ↔ {𝑥, 𝑁} = {𝑥, 𝑁}))
1411, 13anbi12d 634 . . . . . . 7 (𝑎 = 𝑥 → ((𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁}) ↔ (𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁})))
1514adantl 485 . . . . . 6 ((𝑥𝑉𝑎 = 𝑥) → ((𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁}) ↔ (𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁})))
1610, 15rspcedv 3519 . . . . 5 (𝑥𝑉 → ((𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁}) → ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
175, 9, 16sylc 65 . . . 4 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁}))
18 cusgrfi.p . . . . . 6 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})}
1918eleq2i 2824 . . . . 5 ({𝑥, 𝑁} ∈ 𝑃 ↔ {𝑥, 𝑁} ∈ {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})})
20 eqeq1 2742 . . . . . . . 8 (𝑣 = {𝑥, 𝑁} → (𝑣 = {𝑎, 𝑁} ↔ {𝑥, 𝑁} = {𝑎, 𝑁}))
2120anbi2d 632 . . . . . . 7 (𝑣 = {𝑥, 𝑁} → ((𝑎𝑁𝑣 = {𝑎, 𝑁}) ↔ (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
2221rexbidv 3207 . . . . . 6 (𝑣 = {𝑥, 𝑁} → (∃𝑎𝑉 (𝑎𝑁𝑣 = {𝑎, 𝑁}) ↔ ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
23 eqeq1 2742 . . . . . . . . 9 (𝑥 = 𝑣 → (𝑥 = {𝑎, 𝑁} ↔ 𝑣 = {𝑎, 𝑁}))
2423anbi2d 632 . . . . . . . 8 (𝑥 = 𝑣 → ((𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ (𝑎𝑁𝑣 = {𝑎, 𝑁})))
2524rexbidv 3207 . . . . . . 7 (𝑥 = 𝑣 → (∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ ∃𝑎𝑉 (𝑎𝑁𝑣 = {𝑎, 𝑁})))
2625cbvrabv 3393 . . . . . 6 {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})} = {𝑣 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑣 = {𝑎, 𝑁})}
2722, 26elrab2 3591 . . . . 5 ({𝑥, 𝑁} ∈ {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})} ↔ ({𝑥, 𝑁} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
2819, 27bitri 278 . . . 4 ({𝑥, 𝑁} ∈ 𝑃 ↔ ({𝑥, 𝑁} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
294, 17, 28sylanbrc 586 . . 3 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → {𝑥, 𝑁} ∈ 𝑃)
3029ralrimiva 3096 . 2 (𝑁𝑉 → ∀𝑥 ∈ (𝑉 ∖ {𝑁}){𝑥, 𝑁} ∈ 𝑃)
31 simpl 486 . . . . . . . . . . 11 ((𝑎𝑁𝑒 = {𝑎, 𝑁}) → 𝑎𝑁)
3231anim2i 620 . . . . . . . . . 10 ((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) → (𝑎𝑉𝑎𝑁))
3332adantl 485 . . . . . . . . 9 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → (𝑎𝑉𝑎𝑁))
34 eldifsn 4675 . . . . . . . . 9 (𝑎 ∈ (𝑉 ∖ {𝑁}) ↔ (𝑎𝑉𝑎𝑁))
3533, 34sylibr 237 . . . . . . . 8 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → 𝑎 ∈ (𝑉 ∖ {𝑁}))
36 eqeq1 2742 . . . . . . . . . . . . . 14 (𝑒 = {𝑎, 𝑁} → (𝑒 = {𝑥, 𝑁} ↔ {𝑎, 𝑁} = {𝑥, 𝑁}))
3736adantl 485 . . . . . . . . . . . . 13 ((𝑎𝑁𝑒 = {𝑎, 𝑁}) → (𝑒 = {𝑥, 𝑁} ↔ {𝑎, 𝑁} = {𝑥, 𝑁}))
3837ad2antlr 727 . . . . . . . . . . . 12 (((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} ↔ {𝑎, 𝑁} = {𝑥, 𝑁}))
39 vex 3402 . . . . . . . . . . . . . 14 𝑎 ∈ V
40 vex 3402 . . . . . . . . . . . . . 14 𝑥 ∈ V
4139, 40preqr1 4734 . . . . . . . . . . . . 13 ({𝑎, 𝑁} = {𝑥, 𝑁} → 𝑎 = 𝑥)
4241equcomd 2031 . . . . . . . . . . . 12 ({𝑎, 𝑁} = {𝑥, 𝑁} → 𝑥 = 𝑎)
4338, 42syl6bi 256 . . . . . . . . . . 11 (((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} → 𝑥 = 𝑎))
4443adantll 714 . . . . . . . . . 10 ((((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} → 𝑥 = 𝑎))
4512equcoms 2032 . . . . . . . . . . . . . . 15 (𝑥 = 𝑎 → {𝑎, 𝑁} = {𝑥, 𝑁})
4645eqeq2d 2749 . . . . . . . . . . . . . 14 (𝑥 = 𝑎 → (𝑒 = {𝑎, 𝑁} ↔ 𝑒 = {𝑥, 𝑁}))
4746biimpcd 252 . . . . . . . . . . . . 13 (𝑒 = {𝑎, 𝑁} → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
4847adantl 485 . . . . . . . . . . . 12 ((𝑎𝑁𝑒 = {𝑎, 𝑁}) → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
4948adantl 485 . . . . . . . . . . 11 ((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
5049ad2antlr 727 . . . . . . . . . 10 ((((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
5144, 50impbid 215 . . . . . . . . 9 ((((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))
5251ralrimiva 3096 . . . . . . . 8 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → ∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))
5335, 52jca 515 . . . . . . 7 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → (𝑎 ∈ (𝑉 ∖ {𝑁}) ∧ ∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎)))
5453ex 416 . . . . . 6 ((𝑁𝑉𝑒 ∈ 𝒫 𝑉) → ((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) → (𝑎 ∈ (𝑉 ∖ {𝑁}) ∧ ∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))))
5554reximdv2 3181 . . . . 5 ((𝑁𝑉𝑒 ∈ 𝒫 𝑉) → (∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁}) → ∃𝑎 ∈ (𝑉 ∖ {𝑁})∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎)))
5655expimpd 457 . . . 4 (𝑁𝑉 → ((𝑒 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁})) → ∃𝑎 ∈ (𝑉 ∖ {𝑁})∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎)))
57 eqeq1 2742 . . . . . . 7 (𝑥 = 𝑒 → (𝑥 = {𝑎, 𝑁} ↔ 𝑒 = {𝑎, 𝑁}))
5857anbi2d 632 . . . . . 6 (𝑥 = 𝑒 → ((𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ (𝑎𝑁𝑒 = {𝑎, 𝑁})))
5958rexbidv 3207 . . . . 5 (𝑥 = 𝑒 → (∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ ∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁})))
6059, 18elrab2 3591 . . . 4 (𝑒𝑃 ↔ (𝑒 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁})))
61 reu6 3625 . . . 4 (∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁} ↔ ∃𝑎 ∈ (𝑉 ∖ {𝑁})∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))
6256, 60, 613imtr4g 299 . . 3 (𝑁𝑉 → (𝑒𝑃 → ∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁}))
6362ralrimiv 3095 . 2 (𝑁𝑉 → ∀𝑒𝑃 ∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁})
64 cusgrfi.f . . 3 𝐹 = (𝑥 ∈ (𝑉 ∖ {𝑁}) ↦ {𝑥, 𝑁})
6564f1ompt 6885 . 2 (𝐹:(𝑉 ∖ {𝑁})–1-1-onto𝑃 ↔ (∀𝑥 ∈ (𝑉 ∖ {𝑁}){𝑥, 𝑁} ∈ 𝑃 ∧ ∀𝑒𝑃 ∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁}))
6630, 63, 65sylanbrc 586 1 (𝑁𝑉𝐹:(𝑉 ∖ {𝑁})–1-1-onto𝑃)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  wcel 2114  wne 2934  wral 3053  wrex 3054  ∃!wreu 3055  {crab 3057  cdif 3840  𝒫 cpw 4488  {csn 4516  {cpr 4518  cmpt 5110  1-1-ontowf1o 6338  cfv 6339  Vtxcvtx 26941
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-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-reu 3060  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-br 5031  df-opab 5093  df-mpt 5111  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346
This theorem is referenced by:  cusgrfilem3  27399
  Copyright terms: Public domain W3C validator