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

Theorem frgrwopreglem5ALT 30982
Description: Alternate direct proof of frgrwopreglem5 30981, not using frgrwopreglem5a 30971. This proof would be even a little bit shorter than the proof of frgrwopreglem5 30981 without using frgrwopreglem5lem 30980. (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 30975 . . . . . . . . . . . . . . . . 17 (𝐺 ∈ FriendGraph → ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸)
9 preq1 4695 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑧 = 𝑎 → {𝑧, 𝑏} = {𝑎, 𝑏})
109eleq1d 2852 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑧 = 𝑎 → ({𝑧, 𝑏} ∈ 𝐸 ↔ {𝑎, 𝑏} ∈ 𝐸))
1110ralbidv 3192 . . . . . . . . . . . . . . . . . . . . . 22 (𝑧 = 𝑎 → (∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸))
1211cbvralvw 3244 . . . . . . . . . . . . . . . . . . . . 21 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸)
13 rsp2 3283 . . . . . . . . . . . . . . . . . . . . . . 23 (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑎, 𝑏} ∈ 𝐸))
1413com12 33 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1514ad2ant2r 760 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1612, 15biimtrid 245 . . . . . . . . . . . . . . . . . . . 20 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1716imp 412 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑎, 𝑏} ∈ 𝐸)
18 prcom 4694 . . . . . . . . . . . . . . . . . . . 20 {𝑏, 𝑥} = {𝑥, 𝑏}
19 preq1 4695 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑧 = 𝑥 → {𝑧, 𝑏} = {𝑥, 𝑏})
2019eleq1d 2852 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 = 𝑥 → ({𝑧, 𝑏} ∈ 𝐸 ↔ {𝑥, 𝑏} ∈ 𝐸))
2120ralbidv 3192 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 = 𝑥 → (∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸))
2221cbvralvw 3244 . . . . . . . . . . . . . . . . . . . . . . . 24 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑥 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸)
23 rsp2 3283 . . . . . . . . . . . . . . . . . . . . . . . 24 (∀𝑥 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸 → ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑥, 𝑏} ∈ 𝐸))
2422, 23sylbi 220 . . . . . . . . . . . . . . . . . . . . . . 23 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑥, 𝑏} ∈ 𝐸))
2524com12 33 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑏} ∈ 𝐸))
2625ad2ant2lr 761 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑏} ∈ 𝐸))
2726imp 412 . . . . . . . . . . . . . . . . . . . 20 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑥, 𝑏} ∈ 𝐸)
2818, 27eqeltrid 2871 . . . . . . . . . . . . . . . . . . 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 4696 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑏 = 𝑦 → {𝑥, 𝑏} = {𝑥, 𝑦})
3635eleq1d 2852 . . . . . . . . . . . . . . . . . . . . . 22 (𝑏 = 𝑦 → ({𝑥, 𝑏} ∈ 𝐸 ↔ {𝑥, 𝑦} ∈ 𝐸))
3720, 36rspc2v 3589 . . . . . . . . . . . . . . . . . . . . 21 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑦} ∈ 𝐸))
3837ad2ant2l 759 . . . . . . . . . . . . . . . . . . . 20 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑦} ∈ 𝐸))
3938impcom 413 . . . . . . . . . . . . . . . . . . 19 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑥, 𝑦} ∈ 𝐸)
40 prcom 4694 . . . . . . . . . . . . . . . . . . . 20 {𝑦, 𝑎} = {𝑎, 𝑦}
41 preq2 4696 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑏 = 𝑦 → {𝑎, 𝑏} = {𝑎, 𝑦})
4241eleq1d 2852 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑏 = 𝑦 → ({𝑎, 𝑏} ∈ 𝐸 ↔ {𝑎, 𝑦} ∈ 𝐸))
4310, 42rspc2v 3589 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑦} ∈ 𝐸))
4443ad2ant2rl 762 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑦} ∈ 𝐸))
4544impcom 413 . . . . . . . . . . . . . . . . . . . 20 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑎, 𝑦} ∈ 𝐸)
4640, 45eqeltrid 2871 . . . . . . . . . . . . . . . . . . 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 1147 . . . . . . . . . . . 12 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
5453ex 418 . . . . . . . . . . 11 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝑏 ≠ 𝑦 → ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5554reximdvva 3217 . . . . . . . . . 10 (((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5655exp31 425 . . . . . . . . 9 (𝐺 ∈ FriendGraph → (𝑎 ≠ 𝑥 → ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))))
5756com24 96 . . . . . . . 8 (𝐺 ∈ FriendGraph → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑎 ≠ 𝑥 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))))
5857imp31 423 . . . . . . 7 (((𝐺 ∈ FriendGraph ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (𝑎 ≠ 𝑥 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5958reximdvva 3217 . . . . . 6 ((𝐺 ∈ FriendGraph ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
6059ex 418 . . . . 5 (𝐺 ∈ FriendGraph → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))))
6160com13 89 . . . 4 (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → (𝐺 ∈ FriendGraph → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))))
6261imp 412 . . 3 ((∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) → (𝐺 ∈ FriendGraph → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
633, 4, 5, 6frgrwopreglem1 30972 . . . 4 (𝐴 ∈ V ∧ 𝐵 ∈ V)
64 hashgt12el 14607 . . . . . 6 ((𝐴 ∈ V ∧ 1 < (♯‘𝐴)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥)
6564ex 418 . . . . 5 (𝐴 ∈ V → (1 < (♯‘𝐴) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥))
66 hashgt12el 14607 . . . . . 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 1135 1 ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2150   ≠ wne 2962  ∀wral 3083  ∃wrex 3093  {crab 3415  Vcvv 3453   ∖ cdif 4047  {cpr 4589   class class class wbr 5107  ‘cfv 6565  1c1 11239   < clt 11381  ♯chash 14514  Vtxcvtx 29633  Edgcedg 29684  VtxDegcvtxdg 30105   FriendGraph cfrgr 30918
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-1o 8513  df-2o 8514  df-oadd 8517  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-fin 9014  df-dju 10018  df-card 10056  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-nn 12375  df-2 12444  df-n0 12646  df-xnn0 12719  df-z 12733  df-uz 13005  df-xadd 13281  df-fz 13679  df-hash 14515  df-edg 29685  df-uhgr 29695  df-ushgr 29696  df-upgr 29719  df-umgr 29720  df-uspgr 29790  df-usgr 29791  df-nbgr 29973  df-vtxdg 30106  df-frgr 30919
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator