Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fsneqrn Structured version   Visualization version   GIF version

Theorem fsneqrn 38877
Description: Equality condition for two functions defined on a singleton. (Contributed by Glauco Siliprandi, 3-Mar-2021.)
Hypotheses
Ref Expression
fsneqrn.a (𝜑𝐴𝑉)
fsneqrn.b 𝐵 = {𝐴}
fsneqrn.f (𝜑𝐹 Fn 𝐵)
fsneqrn.g (𝜑𝐺 Fn 𝐵)
Assertion
Ref Expression
fsneqrn (𝜑 → (𝐹 = 𝐺 ↔ (𝐹𝐴) ∈ ran 𝐺))

Proof of Theorem fsneqrn
StepHypRef Expression
1 fsneqrn.f . . . . . . 7 (𝜑𝐹 Fn 𝐵)
2 dffn3 6011 . . . . . . 7 (𝐹 Fn 𝐵𝐹:𝐵⟶ran 𝐹)
31, 2sylib 208 . . . . . 6 (𝜑𝐹:𝐵⟶ran 𝐹)
4 fsneqrn.a . . . . . . . 8 (𝜑𝐴𝑉)
5 snidg 4177 . . . . . . . 8 (𝐴𝑉𝐴 ∈ {𝐴})
64, 5syl 17 . . . . . . 7 (𝜑𝐴 ∈ {𝐴})
7 fsneqrn.b . . . . . . . . 9 𝐵 = {𝐴}
87a1i 11 . . . . . . . 8 (𝜑𝐵 = {𝐴})
98eqcomd 2627 . . . . . . 7 (𝜑 → {𝐴} = 𝐵)
106, 9eleqtrd 2700 . . . . . 6 (𝜑𝐴𝐵)
113, 10ffvelrnd 6316 . . . . 5 (𝜑 → (𝐹𝐴) ∈ ran 𝐹)
1211adantr 481 . . . 4 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐹)
13 simpr 477 . . . . 5 ((𝜑𝐹 = 𝐺) → 𝐹 = 𝐺)
1413rneqd 5313 . . . 4 ((𝜑𝐹 = 𝐺) → ran 𝐹 = ran 𝐺)
1512, 14eleqtrd 2700 . . 3 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
1615ex 450 . 2 (𝜑 → (𝐹 = 𝐺 → (𝐹𝐴) ∈ ran 𝐺))
17 simpr 477 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
18 fsneqrn.g . . . . . . . . . 10 (𝜑𝐺 Fn 𝐵)
19 dffn2 6004 . . . . . . . . . 10 (𝐺 Fn 𝐵𝐺:𝐵⟶V)
2018, 19sylib 208 . . . . . . . . 9 (𝜑𝐺:𝐵⟶V)
218feq2d 5988 . . . . . . . . 9 (𝜑 → (𝐺:𝐵⟶V ↔ 𝐺:{𝐴}⟶V))
2220, 21mpbid 222 . . . . . . . 8 (𝜑𝐺:{𝐴}⟶V)
234, 22rnsnf 38844 . . . . . . 7 (𝜑 → ran 𝐺 = {(𝐺𝐴)})
2423adantr 481 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → ran 𝐺 = {(𝐺𝐴)})
2517, 24eleqtrd 2700 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ {(𝐺𝐴)})
26 elsni 4165 . . . . 5 ((𝐹𝐴) ∈ {(𝐺𝐴)} → (𝐹𝐴) = (𝐺𝐴))
2725, 26syl 17 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) = (𝐺𝐴))
284adantr 481 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐴𝑉)
291adantr 481 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 Fn 𝐵)
3018adantr 481 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐺 Fn 𝐵)
3128, 7, 29, 30fsneq 38872 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹 = 𝐺 ↔ (𝐹𝐴) = (𝐺𝐴)))
3227, 31mpbird 247 . . 3 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 = 𝐺)
3332ex 450 . 2 (𝜑 → ((𝐹𝐴) ∈ ran 𝐺𝐹 = 𝐺))
3416, 33impbid 202 1 (𝜑 → (𝐹 = 𝐺 ↔ (𝐹𝐴) ∈ ran 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  Vcvv 3186  {csn 4148  ran crn 5075   Fn wfn 5842  wf 5843  cfv 5847
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855
This theorem is referenced by:  ssmapsn  38882
  Copyright terms: Public domain W3C validator