Mathbox for Alexander van der Vekens < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  issubgr Structured version   Visualization version   GIF version

Theorem issubgr 40495
 Description: The property of a set to be a subgraph of another set. (Contributed by AV, 16-Nov-2020.)
Hypotheses
Ref Expression
issubgr.v 𝑉 = (Vtx‘𝑆)
issubgr.a 𝐴 = (Vtx‘𝐺)
issubgr.i 𝐼 = (iEdg‘𝑆)
issubgr.b 𝐵 = (iEdg‘𝐺)
issubgr.e 𝐸 = (Edg‘𝑆)
Assertion
Ref Expression
issubgr ((𝐺𝑊𝑆𝑈) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ 𝐸 ⊆ 𝒫 𝑉)))

Proof of Theorem issubgr
Dummy variables 𝑠 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6103 . . . . . . 7 (𝑠 = 𝑆 → (Vtx‘𝑠) = (Vtx‘𝑆))
21adantr 480 . . . . . 6 ((𝑠 = 𝑆𝑔 = 𝐺) → (Vtx‘𝑠) = (Vtx‘𝑆))
3 fveq2 6103 . . . . . . 7 (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺))
43adantl 481 . . . . . 6 ((𝑠 = 𝑆𝑔 = 𝐺) → (Vtx‘𝑔) = (Vtx‘𝐺))
52, 4sseq12d 3597 . . . . 5 ((𝑠 = 𝑆𝑔 = 𝐺) → ((Vtx‘𝑠) ⊆ (Vtx‘𝑔) ↔ (Vtx‘𝑆) ⊆ (Vtx‘𝐺)))
6 fveq2 6103 . . . . . . 7 (𝑠 = 𝑆 → (iEdg‘𝑠) = (iEdg‘𝑆))
76adantr 480 . . . . . 6 ((𝑠 = 𝑆𝑔 = 𝐺) → (iEdg‘𝑠) = (iEdg‘𝑆))
8 fveq2 6103 . . . . . . . 8 (𝑔 = 𝐺 → (iEdg‘𝑔) = (iEdg‘𝐺))
98adantl 481 . . . . . . 7 ((𝑠 = 𝑆𝑔 = 𝐺) → (iEdg‘𝑔) = (iEdg‘𝐺))
106dmeqd 5248 . . . . . . . 8 (𝑠 = 𝑆 → dom (iEdg‘𝑠) = dom (iEdg‘𝑆))
1110adantr 480 . . . . . . 7 ((𝑠 = 𝑆𝑔 = 𝐺) → dom (iEdg‘𝑠) = dom (iEdg‘𝑆))
129, 11reseq12d 5318 . . . . . 6 ((𝑠 = 𝑆𝑔 = 𝐺) → ((iEdg‘𝑔) ↾ dom (iEdg‘𝑠)) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆)))
137, 12eqeq12d 2625 . . . . 5 ((𝑠 = 𝑆𝑔 = 𝐺) → ((iEdg‘𝑠) = ((iEdg‘𝑔) ↾ dom (iEdg‘𝑠)) ↔ (iEdg‘𝑆) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆))))
14 fveq2 6103 . . . . . . 7 (𝑠 = 𝑆 → (Edg‘𝑠) = (Edg‘𝑆))
151pweqd 4113 . . . . . . 7 (𝑠 = 𝑆 → 𝒫 (Vtx‘𝑠) = 𝒫 (Vtx‘𝑆))
1614, 15sseq12d 3597 . . . . . 6 (𝑠 = 𝑆 → ((Edg‘𝑠) ⊆ 𝒫 (Vtx‘𝑠) ↔ (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆)))
1716adantr 480 . . . . 5 ((𝑠 = 𝑆𝑔 = 𝐺) → ((Edg‘𝑠) ⊆ 𝒫 (Vtx‘𝑠) ↔ (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆)))
185, 13, 173anbi123d 1391 . . . 4 ((𝑠 = 𝑆𝑔 = 𝐺) → (((Vtx‘𝑠) ⊆ (Vtx‘𝑔) ∧ (iEdg‘𝑠) = ((iEdg‘𝑔) ↾ dom (iEdg‘𝑠)) ∧ (Edg‘𝑠) ⊆ 𝒫 (Vtx‘𝑠)) ↔ ((Vtx‘𝑆) ⊆ (Vtx‘𝐺) ∧ (iEdg‘𝑆) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆)) ∧ (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))))
19 df-subgr 40492 . . . 4 SubGraph = {⟨𝑠, 𝑔⟩ ∣ ((Vtx‘𝑠) ⊆ (Vtx‘𝑔) ∧ (iEdg‘𝑠) = ((iEdg‘𝑔) ↾ dom (iEdg‘𝑠)) ∧ (Edg‘𝑠) ⊆ 𝒫 (Vtx‘𝑠))}
2018, 19brabga 4914 . . 3 ((𝑆𝑈𝐺𝑊) → (𝑆 SubGraph 𝐺 ↔ ((Vtx‘𝑆) ⊆ (Vtx‘𝐺) ∧ (iEdg‘𝑆) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆)) ∧ (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))))
2120ancoms 468 . 2 ((𝐺𝑊𝑆𝑈) → (𝑆 SubGraph 𝐺 ↔ ((Vtx‘𝑆) ⊆ (Vtx‘𝐺) ∧ (iEdg‘𝑆) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆)) ∧ (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))))
22 issubgr.v . . . 4 𝑉 = (Vtx‘𝑆)
23 issubgr.a . . . 4 𝐴 = (Vtx‘𝐺)
2422, 23sseq12i 3594 . . 3 (𝑉𝐴 ↔ (Vtx‘𝑆) ⊆ (Vtx‘𝐺))
25 issubgr.i . . . 4 𝐼 = (iEdg‘𝑆)
26 issubgr.b . . . . 5 𝐵 = (iEdg‘𝐺)
2725dmeqi 5247 . . . . 5 dom 𝐼 = dom (iEdg‘𝑆)
2826, 27reseq12i 5315 . . . 4 (𝐵 ↾ dom 𝐼) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆))
2925, 28eqeq12i 2624 . . 3 (𝐼 = (𝐵 ↾ dom 𝐼) ↔ (iEdg‘𝑆) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆)))
30 issubgr.e . . . 4 𝐸 = (Edg‘𝑆)
3122pweqi 4112 . . . 4 𝒫 𝑉 = 𝒫 (Vtx‘𝑆)
3230, 31sseq12i 3594 . . 3 (𝐸 ⊆ 𝒫 𝑉 ↔ (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))
3324, 29, 323anbi123i 1244 . 2 ((𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ 𝐸 ⊆ 𝒫 𝑉) ↔ ((Vtx‘𝑆) ⊆ (Vtx‘𝐺) ∧ (iEdg‘𝑆) = ((iEdg‘𝐺) ↾ dom (iEdg‘𝑆)) ∧ (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆)))
3421, 33syl6bbr 277 1 ((𝐺𝑊𝑆𝑈) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ 𝐸 ⊆ 𝒫 𝑉)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977   ⊆ wss 3540  𝒫 cpw 4108   class class class wbr 4583  dom cdm 5038   ↾ cres 5040  ‘cfv 5804  Vtxcvtx 25673  iEdgciedg 25674  Edgcedga 25792   SubGraph csubgr 40491 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-xp 5044  df-dm 5048  df-res 5050  df-iota 5768  df-fv 5812  df-subgr 40492 This theorem is referenced by:  issubgr2  40496  subgrprop  40497  uhgrissubgr  40499  egrsubgr  40501  0grsubgr  40502  uhgrspan1  40527
 Copyright terms: Public domain W3C validator