MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fununiq Structured version   Visualization version   GIF version

Theorem fununiq 6556
Description: Functions are single-valued. (Contributed by Scott Fenton, 18-Feb-2013.)
Hypotheses
Ref Expression
fununiq.1 𝐴 ∈ V
fununiq.2 𝐵 ∈ V
fununiq.3 𝐶 ∈ V
Assertion
Ref Expression
fununiq (Fun 𝐹 → ((𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶) → 𝐵 = 𝐶))

Proof of Theorem fununiq
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dffun2 6549 . 2 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧)))
2 fununiq.1 . . 3 𝐴 ∈ V
3 fununiq.2 . . 3 𝐵 ∈ V
4 fununiq.3 . . 3 𝐶 ∈ V
5 breq12 5107 . . . . . . 7 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥𝐹𝑦 ↔ 𝐴𝐹𝐵))
653adant3 1150 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑥𝐹𝑦 ↔ 𝐴𝐹𝐵))
7 breq12 5107 . . . . . . 7 ((𝑥 = 𝐴 ∧ 𝑧 = 𝐶) → (𝑥𝐹𝑧 ↔ 𝐴𝐹𝐶))
873adant2 1149 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑥𝐹𝑧 ↔ 𝐴𝐹𝐶))
96, 8anbi12d 644 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → ((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) ↔ (𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶)))
10 eqeq12 2777 . . . . . 6 ((𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑦 = 𝑧 ↔ 𝐵 = 𝐶))
11103adant1 1148 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑦 = 𝑧 ↔ 𝐵 = 𝐶))
129, 11imbi12d 347 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) ↔ ((𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶) → 𝐵 = 𝐶)))
1312spc3gv 3558 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝐶 ∈ V) → (∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → ((𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶) → 𝐵 = 𝐶)))
142, 3, 4, 13mp3an 1490 . 2 (∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → ((𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶) → 𝐵 = 𝐶))
151, 14simplbiim 514 1 (Fun 𝐹 → ((𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶) → 𝐵 = 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103  ∀wal 1567   = wceq 1569   ∈ wcel 2144  Vcvv 3450   class class class wbr 5102  Rel wrel 5655  Fun wfun 6533
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-fun 6541
This theorem is used by:  funbreq  36627  cocanss2  46016
  Copyright terms: Public domain W3C validator