Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fcnvgreu Structured version   Visualization version   GIF version

Theorem fcnvgreu 28855
Description: If the converse of a relation 𝐴 is a function, exactly one point of its graph has a given second element (that is, function value). (Contributed by Thierry Arnoux, 1-Apr-2018.)
Assertion
Ref Expression
fcnvgreu (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑌 ∈ ran 𝐴) → ∃!𝑝𝐴 𝑌 = (2nd𝑝))
Distinct variable groups:   𝐴,𝑝   𝑌,𝑝

Proof of Theorem fcnvgreu
Dummy variables 𝑞 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-rn 5049 . . . 4 ran 𝐴 = dom 𝐴
21eleq2i 2680 . . 3 (𝑌 ∈ ran 𝐴𝑌 ∈ dom 𝐴)
3 fgreu 28854 . . . 4 ((Fun 𝐴𝑌 ∈ dom 𝐴) → ∃!𝑞 𝐴𝑌 = (1st𝑞))
43adantll 746 . . 3 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑌 ∈ dom 𝐴) → ∃!𝑞 𝐴𝑌 = (1st𝑞))
52, 4sylan2b 491 . 2 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑌 ∈ ran 𝐴) → ∃!𝑞 𝐴𝑌 = (1st𝑞))
6 cnvcnvss 5507 . . . . . 6 𝐴𝐴
7 cnvssrndm 5574 . . . . . . . . . . 11 𝐴 ⊆ (ran 𝐴 × dom 𝐴)
87sseli 3564 . . . . . . . . . 10 (𝑞𝐴𝑞 ∈ (ran 𝐴 × dom 𝐴))
9 dfdm4 5238 . . . . . . . . . . 11 dom 𝐴 = ran 𝐴
101, 9xpeq12i 5061 . . . . . . . . . 10 (ran 𝐴 × dom 𝐴) = (dom 𝐴 × ran 𝐴)
118, 10syl6eleq 2698 . . . . . . . . 9 (𝑞𝐴𝑞 ∈ (dom 𝐴 × ran 𝐴))
12 2nd1st 7104 . . . . . . . . 9 (𝑞 ∈ (dom 𝐴 × ran 𝐴) → {𝑞} = ⟨(2nd𝑞), (1st𝑞)⟩)
1311, 12syl 17 . . . . . . . 8 (𝑞𝐴 {𝑞} = ⟨(2nd𝑞), (1st𝑞)⟩)
1413eqcomd 2616 . . . . . . 7 (𝑞𝐴 → ⟨(2nd𝑞), (1st𝑞)⟩ = {𝑞})
15 relcnv 5422 . . . . . . . 8 Rel 𝐴
16 cnvf1olem 7162 . . . . . . . . 9 ((Rel 𝐴 ∧ (𝑞𝐴 ∧ ⟨(2nd𝑞), (1st𝑞)⟩ = {𝑞})) → (⟨(2nd𝑞), (1st𝑞)⟩ ∈ 𝐴𝑞 = {⟨(2nd𝑞), (1st𝑞)⟩}))
1716simpld 474 . . . . . . . 8 ((Rel 𝐴 ∧ (𝑞𝐴 ∧ ⟨(2nd𝑞), (1st𝑞)⟩ = {𝑞})) → ⟨(2nd𝑞), (1st𝑞)⟩ ∈ 𝐴)
1815, 17mpan 702 . . . . . . 7 ((𝑞𝐴 ∧ ⟨(2nd𝑞), (1st𝑞)⟩ = {𝑞}) → ⟨(2nd𝑞), (1st𝑞)⟩ ∈ 𝐴)
1914, 18mpdan 699 . . . . . 6 (𝑞𝐴 → ⟨(2nd𝑞), (1st𝑞)⟩ ∈ 𝐴)
206, 19sseldi 3566 . . . . 5 (𝑞𝐴 → ⟨(2nd𝑞), (1st𝑞)⟩ ∈ 𝐴)
2120adantl 481 . . . 4 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑞𝐴) → ⟨(2nd𝑞), (1st𝑞)⟩ ∈ 𝐴)
22 simpll 786 . . . . . . 7 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → Rel 𝐴)
23 simpr 476 . . . . . . 7 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → 𝑝𝐴)
24 relssdmrn 5573 . . . . . . . . . . 11 (Rel 𝐴𝐴 ⊆ (dom 𝐴 × ran 𝐴))
2524adantr 480 . . . . . . . . . 10 ((Rel 𝐴 ∧ Fun 𝐴) → 𝐴 ⊆ (dom 𝐴 × ran 𝐴))
2625sselda 3568 . . . . . . . . 9 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → 𝑝 ∈ (dom 𝐴 × ran 𝐴))
27 2nd1st 7104 . . . . . . . . 9 (𝑝 ∈ (dom 𝐴 × ran 𝐴) → {𝑝} = ⟨(2nd𝑝), (1st𝑝)⟩)
2826, 27syl 17 . . . . . . . 8 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → {𝑝} = ⟨(2nd𝑝), (1st𝑝)⟩)
2928eqcomd 2616 . . . . . . 7 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → ⟨(2nd𝑝), (1st𝑝)⟩ = {𝑝})
30 cnvf1olem 7162 . . . . . . . 8 ((Rel 𝐴 ∧ (𝑝𝐴 ∧ ⟨(2nd𝑝), (1st𝑝)⟩ = {𝑝})) → (⟨(2nd𝑝), (1st𝑝)⟩ ∈ 𝐴𝑝 = {⟨(2nd𝑝), (1st𝑝)⟩}))
3130simpld 474 . . . . . . 7 ((Rel 𝐴 ∧ (𝑝𝐴 ∧ ⟨(2nd𝑝), (1st𝑝)⟩ = {𝑝})) → ⟨(2nd𝑝), (1st𝑝)⟩ ∈ 𝐴)
3222, 23, 29, 31syl12anc 1316 . . . . . 6 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → ⟨(2nd𝑝), (1st𝑝)⟩ ∈ 𝐴)
3315a1i 11 . . . . . . . . . 10 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → Rel 𝐴)
34 simplr 788 . . . . . . . . . 10 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → 𝑞𝐴)
3514ad2antlr 759 . . . . . . . . . 10 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → ⟨(2nd𝑞), (1st𝑞)⟩ = {𝑞})
3616simprd 478 . . . . . . . . . 10 ((Rel 𝐴 ∧ (𝑞𝐴 ∧ ⟨(2nd𝑞), (1st𝑞)⟩ = {𝑞})) → 𝑞 = {⟨(2nd𝑞), (1st𝑞)⟩})
3733, 34, 35, 36syl12anc 1316 . . . . . . . . 9 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → 𝑞 = {⟨(2nd𝑞), (1st𝑞)⟩})
38 simpr 476 . . . . . . . . . . . 12 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩)
3938sneqd 4137 . . . . . . . . . . 11 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → {𝑝} = {⟨(2nd𝑞), (1st𝑞)⟩})
4039cnveqd 5220 . . . . . . . . . 10 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → {𝑝} = {⟨(2nd𝑞), (1st𝑞)⟩})
4140unieqd 4382 . . . . . . . . 9 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → {𝑝} = {⟨(2nd𝑞), (1st𝑞)⟩})
4228ad2antrr 758 . . . . . . . . 9 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → {𝑝} = ⟨(2nd𝑝), (1st𝑝)⟩)
4337, 41, 423eqtr2d 2650 . . . . . . . 8 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩)
4430simprd 478 . . . . . . . . . . 11 ((Rel 𝐴 ∧ (𝑝𝐴 ∧ ⟨(2nd𝑝), (1st𝑝)⟩ = {𝑝})) → 𝑝 = {⟨(2nd𝑝), (1st𝑝)⟩})
4522, 23, 29, 44syl12anc 1316 . . . . . . . . . 10 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → 𝑝 = {⟨(2nd𝑝), (1st𝑝)⟩})
4645ad2antrr 758 . . . . . . . . 9 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩) → 𝑝 = {⟨(2nd𝑝), (1st𝑝)⟩})
47 simpr 476 . . . . . . . . . . . 12 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩) → 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩)
4847sneqd 4137 . . . . . . . . . . 11 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩) → {𝑞} = {⟨(2nd𝑝), (1st𝑝)⟩})
4948cnveqd 5220 . . . . . . . . . 10 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩) → {𝑞} = {⟨(2nd𝑝), (1st𝑝)⟩})
5049unieqd 4382 . . . . . . . . 9 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩) → {𝑞} = {⟨(2nd𝑝), (1st𝑝)⟩})
5113ad2antlr 759 . . . . . . . . 9 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩) → {𝑞} = ⟨(2nd𝑞), (1st𝑞)⟩)
5246, 50, 513eqtr2d 2650 . . . . . . . 8 (((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) ∧ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩) → 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩)
5343, 52impbida 873 . . . . . . 7 ((((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) ∧ 𝑞𝐴) → (𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩))
5453ralrimiva 2949 . . . . . 6 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → ∀𝑞 𝐴(𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩))
55 eqeq2 2621 . . . . . . . . 9 (𝑟 = ⟨(2nd𝑝), (1st𝑝)⟩ → (𝑞 = 𝑟𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩))
5655bibi2d 331 . . . . . . . 8 (𝑟 = ⟨(2nd𝑝), (1st𝑝)⟩ → ((𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = 𝑟) ↔ (𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩)))
5756ralbidv 2969 . . . . . . 7 (𝑟 = ⟨(2nd𝑝), (1st𝑝)⟩ → (∀𝑞 𝐴(𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = 𝑟) ↔ ∀𝑞 𝐴(𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩)))
5857rspcev 3282 . . . . . 6 ((⟨(2nd𝑝), (1st𝑝)⟩ ∈ 𝐴 ∧ ∀𝑞 𝐴(𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = ⟨(2nd𝑝), (1st𝑝)⟩)) → ∃𝑟 𝐴𝑞 𝐴(𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = 𝑟))
5932, 54, 58syl2anc 691 . . . . 5 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → ∃𝑟 𝐴𝑞 𝐴(𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = 𝑟))
60 reu6 3362 . . . . 5 (∃!𝑞 𝐴𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ ∃𝑟 𝐴𝑞 𝐴(𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ ↔ 𝑞 = 𝑟))
6159, 60sylibr 223 . . . 4 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝𝐴) → ∃!𝑞 𝐴𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩)
62 fvex 6113 . . . . . . 7 (2nd𝑞) ∈ V
63 fvex 6113 . . . . . . 7 (1st𝑞) ∈ V
6462, 63op2ndd 7070 . . . . . 6 (𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ → (2nd𝑝) = (1st𝑞))
6564eqeq2d 2620 . . . . 5 (𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩ → (𝑌 = (2nd𝑝) ↔ 𝑌 = (1st𝑞)))
6665adantl 481 . . . 4 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑝 = ⟨(2nd𝑞), (1st𝑞)⟩) → (𝑌 = (2nd𝑝) ↔ 𝑌 = (1st𝑞)))
6721, 61, 66reuxfr4d 28714 . . 3 ((Rel 𝐴 ∧ Fun 𝐴) → (∃!𝑝𝐴 𝑌 = (2nd𝑝) ↔ ∃!𝑞 𝐴𝑌 = (1st𝑞)))
6867adantr 480 . 2 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑌 ∈ ran 𝐴) → (∃!𝑝𝐴 𝑌 = (2nd𝑝) ↔ ∃!𝑞 𝐴𝑌 = (1st𝑞)))
695, 68mpbird 246 1 (((Rel 𝐴 ∧ Fun 𝐴) ∧ 𝑌 ∈ ran 𝐴) → ∃!𝑝𝐴 𝑌 = (2nd𝑝))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897  ∃!wreu 2898  wss 3540  {csn 4125  cop 4131   cuni 4372   × cxp 5036  ccnv 5037  dom cdm 5038  ran crn 5039  Rel wrel 5043  Fun wfun 5798  cfv 5804  1st c1st 7057  2nd c2nd 7058
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-8 1979  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-pow 4769  ax-pr 4833  ax-un 6847
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-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-iota 5768  df-fun 5806  df-fn 5807  df-fv 5812  df-1st 7059  df-2nd 7060
This theorem is referenced by:  gsummpt2co  29111
  Copyright terms: Public domain W3C validator