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

Theorem frgrwopreglem5ALT 30923
Description: Alternate direct proof of frgrwopreglem5 30922, not using frgrwopreglem5a 30912. This proof would be even a little bit shorter than the proof of frgrwopreglem5 30922 without using frgrwopreglem5lem 30921. (Contributed by Alexander van der Vekens, 31-Dec-2017.) (Revised by AV, 3-Jan-2022.) (Proof shortened by AV, 5-Feb-2022.) (New usage is discouraged.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
frgrwopreg.v 𝑉 = (Vtx‘𝐺)
frgrwopreg.d 𝐷 = (VtxDeg‘𝐺)
frgrwopreg.a 𝐴 = {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾}
frgrwopreg.b 𝐵 = (𝑉 ∖ 𝐴)
frgrwopreg.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
frgrwopreglem5ALT ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
Distinct variable groups:   𝑥,𝑉   𝑥,𝐴   𝑥,𝐺   𝑥,𝐾   𝑥,𝐷   𝐴,𝑏   𝑥,𝐵   𝑦,𝐷   𝐺,𝑎,𝑏,𝑦,𝑥   𝑦,𝑉   𝐴,𝑎,𝑦   𝐵,𝑎,𝑏,𝑦   𝑥,𝐸,𝑎,𝑏
Allowed substitution hints:   𝐷(𝑎, 𝑏)   𝐸(𝑦)   𝐾(𝑦, 𝑎, 𝑏)   𝑉(𝑎, 𝑏)

Proof of Theorem frgrwopreglem5ALT
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 simpllr 788 . . . . . . . . . . . . . 14 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝑎 ≠ 𝑥)
21anim1i 627 . . . . . . . . . . . . 13 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦))
3 frgrwopreg.v . . . . . . . . . . . . . . . . . 18 𝑉 = (Vtx‘𝐺)
4 frgrwopreg.d . . . . . . . . . . . . . . . . . 18 𝐷 = (VtxDeg‘𝐺)
5 frgrwopreg.a . . . . . . . . . . . . . . . . . 18 𝐴 = {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾}
6 frgrwopreg.b . . . . . . . . . . . . . . . . . 18 𝐵 = (𝑉 ∖ 𝐴)
7 frgrwopreg.e . . . . . . . . . . . . . . . . . 18 𝐸 = (Edg‘𝐺)
83, 4, 5, 6, 7frgrwopreglem4 30916 . . . . . . . . . . . . . . . . 17 (𝐺 ∈ FriendGraph → ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸)
9 preq1 4693 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑧 = 𝑎 → {𝑧, 𝑏} = {𝑎, 𝑏})
109eleq1d 2845 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑧 = 𝑎 → ({𝑧, 𝑏} ∈ 𝐸 ↔ {𝑎, 𝑏} ∈ 𝐸))
1110ralbidv 3185 . . . . . . . . . . . . . . . . . . . . . 22 (𝑧 = 𝑎 → (∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸))
1211cbvralvw 3240 . . . . . . . . . . . . . . . . . . . . 21 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸)
13 rsp2 3279 . . . . . . . . . . . . . . . . . . . . . . 23 (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑎, 𝑏} ∈ 𝐸))
1413com12 33 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1514ad2ant2r 760 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1612, 15biimtrid 245 . . . . . . . . . . . . . . . . . . . 20 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1716imp 412 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑎, 𝑏} ∈ 𝐸)
18 prcom 4692 . . . . . . . . . . . . . . . . . . . 20 {𝑏, 𝑥} = {𝑥, 𝑏}
19 preq1 4693 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑧 = 𝑥 → {𝑧, 𝑏} = {𝑥, 𝑏})
2019eleq1d 2845 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 = 𝑥 → ({𝑧, 𝑏} ∈ 𝐸 ↔ {𝑥, 𝑏} ∈ 𝐸))
2120ralbidv 3185 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 = 𝑥 → (∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸))
2221cbvralvw 3240 . . . . . . . . . . . . . . . . . . . . . . . 24 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑥 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸)
23 rsp2 3279 . . . . . . . . . . . . . . . . . . . . . . . 24 (∀𝑥 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸 → ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑥, 𝑏} ∈ 𝐸))
2422, 23sylbi 220 . . . . . . . . . . . . . . . . . . . . . . 23 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑥, 𝑏} ∈ 𝐸))
2524com12 33 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑏} ∈ 𝐸))
2625ad2ant2lr 761 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑏} ∈ 𝐸))
2726imp 412 . . . . . . . . . . . . . . . . . . . 20 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑥, 𝑏} ∈ 𝐸)
2818, 27eqeltrid 2864 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑏, 𝑥} ∈ 𝐸)
2917, 28jca 521 . . . . . . . . . . . . . . . . . 18 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸))
3029expcom 419 . . . . . . . . . . . . . . . . 17 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸)))
318, 30syl 18 . . . . . . . . . . . . . . . 16 (𝐺 ∈ FriendGraph → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸)))
3231adantr 486 . . . . . . . . . . . . . . 15 ((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸)))
3332impl 461 . . . . . . . . . . . . . 14 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸))
3433adantr 486 . . . . . . . . . . . . 13 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸))
35 preq2 4694 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑏 = 𝑦 → {𝑥, 𝑏} = {𝑥, 𝑦})
3635eleq1d 2845 . . . . . . . . . . . . . . . . . . . . . 22 (𝑏 = 𝑦 → ({𝑥, 𝑏} ∈ 𝐸 ↔ {𝑥, 𝑦} ∈ 𝐸))
3720, 36rspc2v 3586 . . . . . . . . . . . . . . . . . . . . 21 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑦} ∈ 𝐸))
3837ad2ant2l 759 . . . . . . . . . . . . . . . . . . . 20 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑦} ∈ 𝐸))
3938impcom 413 . . . . . . . . . . . . . . . . . . 19 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑥, 𝑦} ∈ 𝐸)
40 prcom 4692 . . . . . . . . . . . . . . . . . . . 20 {𝑦, 𝑎} = {𝑎, 𝑦}
41 preq2 4694 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑏 = 𝑦 → {𝑎, 𝑏} = {𝑎, 𝑦})
4241eleq1d 2845 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑏 = 𝑦 → ({𝑎, 𝑏} ∈ 𝐸 ↔ {𝑎, 𝑦} ∈ 𝐸))
4310, 42rspc2v 3586 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑦} ∈ 𝐸))
4443ad2ant2rl 762 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑦} ∈ 𝐸))
4544impcom 413 . . . . . . . . . . . . . . . . . . . 20 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑎, 𝑦} ∈ 𝐸)
4640, 45eqeltrid 2864 . . . . . . . . . . . . . . . . . . 19 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑦, 𝑎} ∈ 𝐸)
4739, 46jca 521 . . . . . . . . . . . . . . . . . 18 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))
4847ex 418 . . . . . . . . . . . . . . . . 17 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
498, 48syl 18 . . . . . . . . . . . . . . . 16 (𝐺 ∈ FriendGraph → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
5049adantr 486 . . . . . . . . . . . . . . 15 ((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
5150impl 461 . . . . . . . . . . . . . 14 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))
5251adantr 486 . . . . . . . . . . . . 13 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))
532, 34, 523jca 1146 . . . . . . . . . . . 12 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
5453ex 418 . . . . . . . . . . 11 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝑏 ≠ 𝑦 → ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5554reximdvva 3210 . . . . . . . . . 10 (((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5655exp31 425 . . . . . . . . 9 (𝐺 ∈ FriendGraph → (𝑎 ≠ 𝑥 → ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))))
5756com24 96 . . . . . . . 8 (𝐺 ∈ FriendGraph → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑎 ≠ 𝑥 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))))
5857imp31 423 . . . . . . 7 (((𝐺 ∈ FriendGraph ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (𝑎 ≠ 𝑥 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5958reximdvva 3210 . . . . . 6 ((𝐺 ∈ FriendGraph ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
6059ex 418 . . . . 5 (𝐺 ∈ FriendGraph → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))))
6160com13 89 . . . 4 (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → (𝐺 ∈ FriendGraph → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))))
6261imp 412 . . 3 ((∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) → (𝐺 ∈ FriendGraph → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
633, 4, 5, 6frgrwopreglem1 30913 . . . 4 (𝐴 ∈ V ∧ 𝐵 ∈ V)
64 hashgt12el 14567 . . . . . 6 ((𝐴 ∈ V ∧ 1 < (♯‘𝐴)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥)
6564ex 418 . . . . 5 (𝐴 ∈ V → (1 < (♯‘𝐴) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥))
66 hashgt12el 14567 . . . . . 6 ((𝐵 ∈ V ∧ 1 < (♯‘𝐵)) → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦)
6766ex 418 . . . . 5 (𝐵 ∈ V → (1 < (♯‘𝐵) → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦))
6865, 67im2anan9 632 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦)))
6963, 68ax-mp 5 . . 3 ((1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦))
7062, 69syl11 34 . 2 (𝐺 ∈ FriendGraph → ((1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
71703impib 1134 1 ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  {crab 3412  Vcvv 3450   ∖ cdif 4045  {cpr 4585   class class class wbr 5102  ‘cfv 6538  1c1 11201   < clt 11343  ♯chash 14474  Vtxcvtx 29574  Edgcedg 29625  VtxDegcvtxdg 30046   FriendGraph cfrgr 30859
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-2o 8477  df-oadd 8480  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-dju 9982  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-nn 12336  df-2 12405  df-n0 12607  df-xnn0 12680  df-z 12694  df-uz 12966  df-xadd 13242  df-fz 13640  df-hash 14475  df-edg 29626  df-uhgr 29636  df-ushgr 29637  df-upgr 29660  df-umgr 29661  df-uspgr 29731  df-usgr 29732  df-nbgr 29914  df-vtxdg 30047  df-frgr 30860
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator