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

Theorem ausgrusgrien 16015
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 15862 . . . . 5 (𝐻𝑊 → (Vtx‘𝐻) ∈ V)
2 edgvalg 15903 . . . . . 6 (𝐻𝑊 → (Edg‘𝐻) = ran (iEdg‘𝐻))
3 iedgex 15863 . . . . . . 7 (𝐻𝑊 → (iEdg‘𝐻) ∈ V)
4 rnexg 4995 . . . . . . 7 ((iEdg‘𝐻) ∈ V → ran (iEdg‘𝐻) ∈ V)
53, 4syl 14 . . . . . 6 (𝐻𝑊 → ran (iEdg‘𝐻) ∈ V)
62, 5eqeltrd 2306 . . . . 5 (𝐻𝑊 → (Edg‘𝐻) ∈ V)
7 ausgr.1 . . . . . 6 𝐺 = {⟨𝑣, 𝑒⟩ ∣ 𝑒 ⊆ {𝑥 ∈ 𝒫 𝑣𝑥 ≈ 2o}}
87isausgren 16011 . . . . 5 (((Vtx‘𝐻) ∈ V ∧ (Edg‘𝐻) ∈ V) → ((Vtx‘𝐻)𝐺(Edg‘𝐻) ↔ (Edg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
91, 6, 8syl2anc 411 . . . 4 (𝐻𝑊 → ((Vtx‘𝐻)𝐺(Edg‘𝐻) ↔ (Edg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
102sseq1d 3254 . . . . 5 (𝐻𝑊 → ((Edg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} ↔ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
11 ausgrusgri.1 . . . . . . . . . . 11 𝑂 = {𝑓𝑓:dom 𝑓1-1→ran 𝑓}
1211eleq2i 2296 . . . . . . . . . 10 ((iEdg‘𝐻) ∈ 𝑂 ↔ (iEdg‘𝐻) ∈ {𝑓𝑓:dom 𝑓1-1→ran 𝑓})
1312biimpi 120 . . . . . . . . 9 ((iEdg‘𝐻) ∈ 𝑂 → (iEdg‘𝐻) ∈ {𝑓𝑓:dom 𝑓1-1→ran 𝑓})
14 id 19 . . . . . . . . . . 11 (𝑓 = (iEdg‘𝐻) → 𝑓 = (iEdg‘𝐻))
15 dmeq 4929 . . . . . . . . . . 11 (𝑓 = (iEdg‘𝐻) → dom 𝑓 = dom (iEdg‘𝐻))
16 rneq 4957 . . . . . . . . . . 11 (𝑓 = (iEdg‘𝐻) → ran 𝑓 = ran (iEdg‘𝐻))
1714, 15, 16f1eq123d 5572 . . . . . . . . . 10 (𝑓 = (iEdg‘𝐻) → (𝑓:dom 𝑓1-1→ran 𝑓 ↔ (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→ran (iEdg‘𝐻)))
1817elabg 2950 . . . . . . . . 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 1044 . . . . . . 7 ((𝐻𝑊 ∧ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} ∧ (iEdg‘𝐻) ∈ 𝑂) → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→ran (iEdg‘𝐻))
21 simp2 1022 . . . . . . 7 ((𝐻𝑊 ∧ ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o} ∧ (iEdg‘𝐻) ∈ 𝑂) → ran (iEdg‘𝐻) ⊆ {𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})
22 f1ssr 5546 . . . . . . 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 1226 . . . . 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 1217 . 2 ((𝐻𝑊 ∧ (Vtx‘𝐻)𝐺(Edg‘𝐻) ∧ (iEdg‘𝐻) ∈ 𝑂) → (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o})
28 eqid 2229 . . . 4 (Vtx‘𝐻) = (Vtx‘𝐻)
29 eqid 2229 . . . 4 (iEdg‘𝐻) = (iEdg‘𝐻)
3028, 29isusgren 16002 . . 3 (𝐻𝑊 → (𝐻 ∈ USGraph ↔ (iEdg‘𝐻):dom (iEdg‘𝐻)–1-1→{𝑥 ∈ 𝒫 (Vtx‘𝐻) ∣ 𝑥 ≈ 2o}))
31303ad2ant1 1042 . 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 1002   = wceq 1395  wcel 2200  {cab 2215  {crab 2512  Vcvv 2800  wss 3198  𝒫 cpw 3650   class class class wbr 4086  {copab 4147  dom cdm 4723  ran crn 4724  1-1wf1 5321  cfv 5324  2oc2o 6571  cen 6902  Vtxcvtx 15856  iEdgciedg 15857  Edgcedg 15901  USGraphcusgr 15998
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 617  ax-in2 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-13 2202  ax-14 2203  ax-ext 2211  ax-sep 4205  ax-pow 4262  ax-pr 4297  ax-un 4528  ax-setind 4633  ax-cnex 8116  ax-resscn 8117  ax-1cn 8118  ax-1re 8119  ax-icn 8120  ax-addcl 8121  ax-addrcl 8122  ax-mulcl 8123  ax-addcom 8125  ax-mulcom 8126  ax-addass 8127  ax-mulass 8128  ax-distr 8129  ax-i2m1 8130  ax-1rid 8132  ax-0id 8133  ax-rnegex 8134  ax-cnre 8136
This theorem depends on definitions:  df-bi 117  df-3an 1004  df-tru 1398  df-fal 1401  df-nf 1507  df-sb 1809  df-eu 2080  df-mo 2081  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ne 2401  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2517  df-v 2802  df-sbc 3030  df-csb 3126  df-dif 3200  df-un 3202  df-in 3204  df-ss 3211  df-if 3604  df-pw 3652  df-sn 3673  df-pr 3674  df-op 3676  df-uni 3892  df-int 3927  df-br 4087  df-opab 4149  df-mpt 4150  df-id 4388  df-xp 4729  df-rel 4730  df-cnv 4731  df-co 4732  df-dm 4733  df-rn 4734  df-res 4735  df-iota 5284  df-fun 5326  df-fn 5327  df-f 5328  df-f1 5329  df-fo 5330  df-fv 5332  df-riota 5966  df-ov 6016  df-oprab 6017  df-mpo 6018  df-1st 6298  df-2nd 6299  df-sub 8345  df-inn 9137  df-2 9195  df-3 9196  df-4 9197  df-5 9198  df-6 9199  df-7 9200  df-8 9201  df-9 9202  df-n0 9396  df-dec 9605  df-ndx 13078  df-slot 13079  df-base 13081  df-edgf 15849  df-vtx 15858  df-iedg 15859  df-edg 15902  df-usgren 16000
This theorem is referenced by:  usgrausgrben  16016
  Copyright terms: Public domain W3C validator