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 42330
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 6528 . . . . . . 7 (𝐹 Fn 𝐵𝐹:𝐵⟶ran 𝐹)
31, 2sylib 221 . . . . . 6 (𝜑𝐹:𝐵⟶ran 𝐹)
4 fsneqrn.a . . . . . . . 8 (𝜑𝐴𝑉)
5 snidg 4560 . . . . . . . 8 (𝐴𝑉𝐴 ∈ {𝐴})
64, 5syl 17 . . . . . . 7 (𝜑𝐴 ∈ {𝐴})
7 fsneqrn.b . . . . . . . . 9 𝐵 = {𝐴}
87a1i 11 . . . . . . . 8 (𝜑𝐵 = {𝐴})
98eqcomd 2745 . . . . . . 7 (𝜑 → {𝐴} = 𝐵)
106, 9eleqtrd 2836 . . . . . 6 (𝜑𝐴𝐵)
113, 10ffvelrnd 6875 . . . . 5 (𝜑 → (𝐹𝐴) ∈ ran 𝐹)
1211adantr 484 . . . 4 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐹)
13 simpr 488 . . . . 5 ((𝜑𝐹 = 𝐺) → 𝐹 = 𝐺)
1413rneqd 5791 . . . 4 ((𝜑𝐹 = 𝐺) → ran 𝐹 = ran 𝐺)
1512, 14eleqtrd 2836 . . 3 ((𝜑𝐹 = 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
1615ex 416 . 2 (𝜑 → (𝐹 = 𝐺 → (𝐹𝐴) ∈ ran 𝐺))
17 simpr 488 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ ran 𝐺)
18 fsneqrn.g . . . . . . . . . 10 (𝜑𝐺 Fn 𝐵)
19 dffn2 6517 . . . . . . . . . 10 (𝐺 Fn 𝐵𝐺:𝐵⟶V)
2018, 19sylib 221 . . . . . . . . 9 (𝜑𝐺:𝐵⟶V)
218feq2d 6501 . . . . . . . . 9 (𝜑 → (𝐺:𝐵⟶V ↔ 𝐺:{𝐴}⟶V))
2220, 21mpbid 235 . . . . . . . 8 (𝜑𝐺:{𝐴}⟶V)
234, 22rnsnf 42300 . . . . . . 7 (𝜑 → ran 𝐺 = {(𝐺𝐴)})
2423adantr 484 . . . . . 6 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → ran 𝐺 = {(𝐺𝐴)})
2517, 24eleqtrd 2836 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) ∈ {(𝐺𝐴)})
26 elsni 4543 . . . . 5 ((𝐹𝐴) ∈ {(𝐺𝐴)} → (𝐹𝐴) = (𝐺𝐴))
2725, 26syl 17 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹𝐴) = (𝐺𝐴))
284adantr 484 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐴𝑉)
291adantr 484 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 Fn 𝐵)
3018adantr 484 . . . . 5 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐺 Fn 𝐵)
3128, 7, 29, 30fsneq 42325 . . . 4 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → (𝐹 = 𝐺 ↔ (𝐹𝐴) = (𝐺𝐴)))
3227, 31mpbird 260 . . 3 ((𝜑 ∧ (𝐹𝐴) ∈ ran 𝐺) → 𝐹 = 𝐺)
3332ex 416 . 2 (𝜑 → ((𝐹𝐴) ∈ ran 𝐺𝐹 = 𝐺))
3416, 33impbid 215 1 (𝜑 → (𝐹 = 𝐺 ↔ (𝐹𝐴) ∈ ran 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  wcel 2114  Vcvv 3400  {csn 4526  ran crn 5536   Fn wfn 6345  wf 6346  cfv 6350
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711  ax-sep 5177  ax-nul 5184  ax-pr 5306
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-eu 2571  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3402  df-sbc 3686  df-csb 3801  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4222  df-if 4425  df-sn 4527  df-pr 4529  df-op 4533  df-uni 4807  df-br 5041  df-opab 5103  df-mpt 5121  df-id 5439  df-xp 5541  df-rel 5542  df-cnv 5543  df-co 5544  df-dm 5545  df-rn 5546  df-res 5547  df-ima 5548  df-iota 6308  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358
This theorem is referenced by:  ssmapsn  42335
  Copyright terms: Public domain W3C validator