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

Theorem fununiq 6590
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 6583 . 2 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧)))
2 fununiq.1 . . 3 𝐴 ∈ V
3 fununiq.2 . . 3 𝐵 ∈ V
4 fununiq.3 . . 3 𝐶 ∈ V
5 breq12 5116 . . . . . . 7 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥𝐹𝑦 ↔ 𝐴𝐹𝐵))
653adant3 1151 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑥𝐹𝑦 ↔ 𝐴𝐹𝐵))
7 breq12 5116 . . . . . . 7 ((𝑥 = 𝐴 ∧ 𝑧 = 𝐶) → (𝑥𝐹𝑧 ↔ 𝐴𝐹𝐶))
873adant2 1150 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑥𝐹𝑧 ↔ 𝐴𝐹𝐶))
96, 8anbi12d 644 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → ((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) ↔ (𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶)))
10 eqeq12 2786 . . . . . 6 ((𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑦 = 𝑧 ↔ 𝐵 = 𝐶))
11103adant1 1149 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (𝑦 = 𝑧 ↔ 𝐵 = 𝐶))
129, 11imbi12d 347 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵 ∧ 𝑧 = 𝐶) → (((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) ↔ ((𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶) → 𝐵 = 𝐶)))
1312spc3gv 3564 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝐶 ∈ V) → (∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → ((𝐴𝐹𝐵 ∧ 𝐴𝐹𝐶) → 𝐵 = 𝐶)))
142, 3, 4, 13mp3an 1493 . 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 1104  ∀wal 1570   = wceq 1572   ∈ wcel 2151  Vcvv 3456   class class class wbr 5111  Rel wrel 5666  Fun wfun 6567
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-fun 6575
This theorem is used by:  funbreq  36774  cocanss2  46266
  Copyright terms: Public domain W3C validator