ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ausgrusgrien GIF version

Theorem ausgrusgrien 16025
Description: The equivalence of the definitions of a simple graph, expressed with the set of vertices and the set of edges. (Contributed by AV, 15-Oct-2020.)
Hypotheses
Ref Expression
ausgr.1 𝐺 = {⟨𝑣, 𝑒⟩ ∣ 𝑒 ⊆ {𝑥 ∈ 𝒫 𝑣𝑥 ≈ 2o}}
ausgrusgri.1 𝑂 = {𝑓𝑓:dom 𝑓1-1→ran 𝑓}
Assertion
Ref Expression
ausgrusgrien ((𝐻𝑊 ∧ (Vtx‘𝐻)𝐺(Edg‘𝐻) ∧ (iEdg‘𝐻) ∈ 𝑂) → 𝐻 ∈ USGraph)
Distinct variable groups:   𝑣,𝑒,𝑥,𝐻   𝑓,𝐻   𝑥,𝑊
Allowed substitution hints:   𝐺(𝑥,𝑣,𝑒,𝑓)   𝑂(𝑥,𝑣,𝑒,𝑓)   𝑊(𝑣,𝑒,𝑓)

Proof of Theorem ausgrusgrien
StepHypRef Expression
1 vtxex 15872 . . . . 5 (𝐻𝑊 → (Vtx‘𝐻) ∈ V)
2 edgvalg 15913 . . . . . 6 (𝐻𝑊 → (Edg‘𝐻) = ran (iEdg‘𝐻))
3 iedgex 15873 . . . . . . 7 (𝐻𝑊 → (iEdg‘𝐻) ∈ V)
4 rnexg 4997 . . . . . . 7 ((iEdg‘𝐻) ∈ V → ran (iEdg‘𝐻) ∈ V)
53, 4syl 14 . . . . . 6 (𝐻𝑊 → ran (iEdg‘𝐻) ∈ V)
62, 5eqeltrd 2308 . . . . 5 (𝐻𝑊 → (Edg‘𝐻) ∈ V)
7 ausgr.1 . . . . . 6 𝐺 = {⟨𝑣, 𝑒⟩ ∣ 𝑒 ⊆ {𝑥 ∈ 𝒫 𝑣𝑥 ≈ 2o}}
87isausgren 16021 . . . . 5 (((Vtx‘𝐻) ∈ V ∧ (Edg‘𝐻) ∈ V) → ((Vtx‘𝐻)𝐺(Edg‘𝐻) ↔ (Edg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
91, 6, 8syl2anc 411 . . . 4 (𝐻𝑊 → ((Vtx‘𝐻)𝐺(Edg‘𝐻) ↔ (Edg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
102sseq1d 3256 . . . . 5 (𝐻𝑊 → ((Edg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} ↔ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
11 ausgrusgri.1 . . . . . . . . . . 11 𝑂 = {𝑓𝑓:dom 𝑓1-1→ran 𝑓}
1211eleq2i 2298 . . . . . . . . . 10 ((iEdg‘𝐻) ∈ 𝑂 ↔ (iEdg‘𝐻) ∈ {𝑓𝑓:dom 𝑓1-1→ran 𝑓})
1312biimpi 120 . . . . . . . . 9 ((iEdg‘𝐻) ∈ 𝑂 → (iEdg‘𝐻) ∈ {𝑓𝑓:dom 𝑓1-1→ran 𝑓})
14 id 19 . . . . . . . . . . 11 (𝑓 = (iEdg‘𝐻) → 𝑓 = (iEdg‘𝐻))
15 dmeq 4931 . . . . . . . . . . 11 (𝑓 = (iEdg‘𝐻) → dom 𝑓 = dom (iEdg‘𝐻))
16 rneq 4959 . . . . . . . . . . 11 (𝑓 = (iEdg‘𝐻) → ran 𝑓 = ran (iEdg‘𝐻))
1714, 15, 16f1eq123d 5575 . . . . . . . . . 10 (𝑓 = (iEdg‘𝐻) → (𝑓:dom 𝑓1-1→ran 𝑓 ↔ (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→ran (iEdg‘𝐻)))
1817elabg 2952 . . . . . . . . 9 ((iEdg‘𝐻) ∈ 𝑂 → ((iEdg‘𝐻) ∈ {𝑓𝑓:dom 𝑓1-1→ran 𝑓} ↔ (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→ran (iEdg‘𝐻)))
1913, 18mpbid 147 . . . . . . . 8 ((iEdg‘𝐻) ∈ 𝑂 → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→ran (iEdg‘𝐻))
20193ad2ant3 1046 . . . . . . 7 ((𝐻𝑊 ∧ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} ∧ (iEdg‘𝐻) ∈ 𝑂) → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→ran (iEdg‘𝐻))
21 simp2 1024 . . . . . . 7 ((𝐻𝑊 ∧ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} ∧ (iEdg‘𝐻) ∈ 𝑂) → ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})
22 f1ssr 5549 . . . . . . 7 (((iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→ran (iEdg‘𝐻) ∧ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}) → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})
2320, 21, 22syl2anc 411 . . . . . 6 ((𝐻𝑊 ∧ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} ∧ (iEdg‘𝐻) ∈ 𝑂) → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})
24233exp 1228 . . . . 5 (𝐻𝑊 → (ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} → ((iEdg‘𝐻) ∈ 𝑂 → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})))
2510, 24sylbid 150 . . . 4 (𝐻𝑊 → ((Edg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} → ((iEdg‘𝐻) ∈ 𝑂 → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})))
269, 25sylbid 150 . . 3 (𝐻𝑊 → ((Vtx‘𝐻)𝐺(Edg‘𝐻) → ((iEdg‘𝐻) ∈ 𝑂 → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})))
27263imp 1219 . 2 ((𝐻𝑊 ∧ (Vtx‘𝐻)𝐺(Edg‘𝐻) ∧ (iEdg‘𝐻) ∈ 𝑂) → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})
28 eqid 2231 . . . 4 (Vtx‘𝐻) = (Vtx‘𝐻)
29 eqid 2231 . . . 4 (iEdg‘𝐻) = (iEdg‘𝐻)
3028, 29isusgren 16012 . . 3 (𝐻𝑊 → (𝐻 ∈ USGraph ↔ (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
31303ad2ant1 1044 . 2 ((𝐻𝑊 ∧ (Vtx‘𝐻)𝐺(Edg‘𝐻) ∧ (iEdg‘𝐻) ∈ 𝑂) → (𝐻 ∈ USGraph ↔ (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
3227, 31mpbird 167 1 ((𝐻𝑊 ∧ (Vtx‘𝐻)𝐺(Edg‘𝐻) ∧ (iEdg‘𝐻) ∈ 𝑂) → 𝐻 ∈ USGraph)
Colors of variables: wff set class
Syntax hints:  wi 4  wb 105  w3a 1004   = wceq 1397  wcel 2202  {cab 2217  {crab 2514  Vcvv 2802  wss 3200  𝒫 cpw 3652   class class class wbr 4088  {copab 4149  dom cdm 4725  ran crn 4726  1-1wf1 5323  cfv 5326  2oc2o 6576  cen 6907  Vtxcvtx 15866  iEdgciedg 15867  Edgcedg 15911  USGraphcusgr 16008
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-13 2204  ax-14 2205  ax-ext 2213  ax-sep 4207  ax-pow 4264  ax-pr 4299  ax-un 4530  ax-setind 4635  ax-cnex 8123  ax-resscn 8124  ax-1cn 8125  ax-1re 8126  ax-icn 8127  ax-addcl 8128  ax-addrcl 8129  ax-mulcl 8130  ax-addcom 8132  ax-mulcom 8133  ax-addass 8134  ax-mulass 8135  ax-distr 8136  ax-i2m1 8137  ax-1rid 8139  ax-0id 8140  ax-rnegex 8141  ax-cnre 8143
This theorem depends on definitions:  df-bi 117  df-3an 1006  df-tru 1400  df-fal 1403  df-nf 1509  df-sb 1811  df-eu 2082  df-mo 2083  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-ne 2403  df-ral 2515  df-rex 2516  df-reu 2517  df-rab 2519  df-v 2804  df-sbc 3032  df-csb 3128  df-dif 3202  df-un 3204  df-in 3206  df-ss 3213  df-if 3606  df-pw 3654  df-sn 3675  df-pr 3676  df-op 3678  df-uni 3894  df-int 3929  df-br 4089  df-opab 4151  df-mpt 4152  df-id 4390  df-xp 4731  df-rel 4732  df-cnv 4733  df-co 4734  df-dm 4735  df-rn 4736  df-res 4737  df-iota 5286  df-fun 5328  df-fn 5329  df-f 5330  df-f1 5331  df-fo 5332  df-fv 5334  df-riota 5971  df-ov 6021  df-oprab 6022  df-mpo 6023  df-1st 6303  df-2nd 6304  df-sub 8352  df-inn 9144  df-2 9202  df-3 9203  df-4 9204  df-5 9205  df-6 9206  df-7 9207  df-8 9208  df-9 9209  df-n0 9403  df-dec 9612  df-ndx 13087  df-slot 13088  df-base 13090  df-edgf 15859  df-vtx 15868  df-iedg 15869  df-edg 15912  df-usgren 16010
This theorem is referenced by:  usgrausgrben  16026
  Copyright terms: Public domain W3C validator