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 42640
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 6597 . . . . . . 7 (𝐹 Fn 𝐵𝐹:𝐵⟶ran 𝐹)
31, 2sylib 217 . . . . . 6 (𝜑𝐹:𝐵⟶ran 𝐹)
4 fsneqrn.a . . . . . . . 8 (𝜑𝐴𝑉)
5 snidg 4592 . . . . . . . 8 (𝐴𝑉𝐴 ∈ {𝐴})
64, 5syl 17 . . . . . . 7 (𝜑𝐴 ∈ {𝐴})
7 fsneqrn.b . . . . . . . . 9 𝐵 = {𝐴}
87a1i 11 . . . . . . . 8 (𝜑𝐵 = {𝐴})
98eqcomd 2744 . . . . . . 7 (𝜑 → {𝐴} = 𝐵)
106, 9eleqtrd 2841 . . . . . 6 (𝜑𝐴𝐵)
113, 10ffvelrnd 6944 . . . . 5 (𝜑 → (𝐹𝐴) ∈ ran 𝐹)
1211adantr 480 . . . 4 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐹)
13 simpr 484 . . . . 5 ((𝜑𝐹 = 𝐺) → 𝐹 = 𝐺)
1413rneqd 5836 . . . 4 ((𝜑𝐹 = 𝐺) → ran 𝐹 = ran 𝐺)
1512, 14eleqtrd 2841 . . 3 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
1615ex 412 . 2 (𝜑 → (𝐹 = 𝐺 → (𝐹𝐴) ∈ ran 𝐺))
17 simpr 484 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
18 fsneqrn.g . . . . . . . . . 10 (𝜑𝐺 Fn 𝐵)
19 dffn2 6586 . . . . . . . . . 10 (𝐺 Fn 𝐵𝐺:𝐵⟶V)
2018, 19sylib 217 . . . . . . . . 9 (𝜑𝐺:𝐵⟶V)
218feq2d 6570 . . . . . . . . 9 (𝜑 → (𝐺:𝐵⟶V ↔ 𝐺:{𝐴}⟶V))
2220, 21mpbid 231 . . . . . . . 8 (𝜑𝐺:{𝐴}⟶V)
234, 22rnsnf 42610 . . . . . . 7 (𝜑 → ran 𝐺 = {(𝐺𝐴)})
2423adantr 480 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → ran 𝐺 = {(𝐺𝐴)})
2517, 24eleqtrd 2841 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ {(𝐺𝐴)})
26 elsni 4575 . . . . 5 ((𝐹𝐴) ∈ {(𝐺𝐴)} → (𝐹𝐴) = (𝐺𝐴))
2725, 26syl 17 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) = (𝐺𝐴))
284adantr 480 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐴𝑉)
291adantr 480 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 Fn 𝐵)
3018adantr 480 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐺 Fn 𝐵)
3128, 7, 29, 30fsneq 42635 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹 = 𝐺 ↔ (𝐹𝐴) = (𝐺𝐴)))
3227, 31mpbird 256 . . 3 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 = 𝐺)
3332ex 412 . 2 (𝜑 → ((𝐹𝐴) ∈ ran 𝐺𝐹 = 𝐺))
3416, 33impbid 211 1 (𝜑 → (𝐹 = 𝐺 ↔ (𝐹𝐴) ∈ ran 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  {csn 4558  ran crn 5581   Fn wfn 6413  wf 6414  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  ssmapsn  42645
  Copyright terms: Public domain W3C validator