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 42751
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 6613 . . . . . . 7 (𝐹 Fn 𝐵𝐹:𝐵⟶ran 𝐹)
31, 2sylib 217 . . . . . 6 (𝜑𝐹:𝐵⟶ran 𝐹)
4 fsneqrn.a . . . . . . . 8 (𝜑𝐴𝑉)
5 snidg 4595 . . . . . . . 8 (𝐴𝑉𝐴 ∈ {𝐴})
64, 5syl 17 . . . . . . 7 (𝜑𝐴 ∈ {𝐴})
7 fsneqrn.b . . . . . . . . 9 𝐵 = {𝐴}
87a1i 11 . . . . . . . 8 (𝜑𝐵 = {𝐴})
98eqcomd 2744 . . . . . . 7 (𝜑 → {𝐴} = 𝐵)
106, 9eleqtrd 2841 . . . . . 6 (𝜑𝐴𝐵)
113, 10ffvelrnd 6962 . . . . 5 (𝜑 → (𝐹𝐴) ∈ ran 𝐹)
1211adantr 481 . . . 4 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐹)
13 simpr 485 . . . . 5 ((𝜑𝐹 = 𝐺) → 𝐹 = 𝐺)
1413rneqd 5847 . . . 4 ((𝜑𝐹 = 𝐺) → ran 𝐹 = ran 𝐺)
1512, 14eleqtrd 2841 . . 3 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
1615ex 413 . 2 (𝜑 → (𝐹 = 𝐺 → (𝐹𝐴) ∈ ran 𝐺))
17 simpr 485 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
18 fsneqrn.g . . . . . . . . . 10 (𝜑𝐺 Fn 𝐵)
19 dffn2 6602 . . . . . . . . . 10 (𝐺 Fn 𝐵𝐺:𝐵⟶V)
2018, 19sylib 217 . . . . . . . . 9 (𝜑𝐺:𝐵⟶V)
218feq2d 6586 . . . . . . . . 9 (𝜑 → (𝐺:𝐵⟶V ↔ 𝐺:{𝐴}⟶V))
2220, 21mpbid 231 . . . . . . . 8 (𝜑𝐺:{𝐴}⟶V)
234, 22rnsnf 42721 . . . . . . 7 (𝜑 → ran 𝐺 = {(𝐺𝐴)})
2423adantr 481 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → ran 𝐺 = {(𝐺𝐴)})
2517, 24eleqtrd 2841 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ {(𝐺𝐴)})
26 elsni 4578 . . . . 5 ((𝐹𝐴) ∈ {(𝐺𝐴)} → (𝐹𝐴) = (𝐺𝐴))
2725, 26syl 17 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) = (𝐺𝐴))
284adantr 481 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐴𝑉)
291adantr 481 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 Fn 𝐵)
3018adantr 481 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐺 Fn 𝐵)
3128, 7, 29, 30fsneq 42746 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹 = 𝐺 ↔ (𝐹𝐴) = (𝐺𝐴)))
3227, 31mpbird 256 . . 3 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 = 𝐺)
3332ex 413 . 2 (𝜑 → ((𝐹𝐴) ∈ ran 𝐺𝐹 = 𝐺))
3416, 33impbid 211 1 (𝜑 → (𝐹 = 𝐺 ↔ (𝐹𝐴) ∈ ran 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  Vcvv 3432  {csn 4561  ran crn 5590   Fn wfn 6428  wf 6429  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441
This theorem is referenced by:  ssmapsn  42756
  Copyright terms: Public domain W3C validator