Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  funcnv5mpt Structured version   Visualization version   GIF version

Theorem funcnv5mpt 31005
Description: Two ways to say that a function in maps-to notation is single-rooted. (Contributed by Thierry Arnoux, 1-Mar-2017.)
Hypotheses
Ref Expression
funcnvmpt.0 𝑥𝜑
funcnvmpt.1 𝑥𝐴
funcnvmpt.2 𝑥𝐹
funcnvmpt.3 𝐹 = (𝑥𝐴𝐵)
funcnvmpt.4 ((𝜑𝑥𝐴) → 𝐵𝑉)
funcnv5mpt.1 (𝑥 = 𝑧𝐵 = 𝐶)
Assertion
Ref Expression
funcnv5mpt (𝜑 → (Fun 𝐹 ↔ ∀𝑥𝐴𝑧𝐴 (𝑥 = 𝑧𝐵𝐶)))
Distinct variable groups:   𝑥,𝑧   𝜑,𝑧   𝑧,𝐴   𝑧,𝐵   𝑥,𝐶
Allowed substitution hints:   𝜑(𝑥)   𝐴(𝑥)   𝐵(𝑥)   𝐶(𝑧)   𝐹(𝑥,𝑧)   𝑉(𝑥,𝑧)

Proof of Theorem funcnv5mpt
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 funcnvmpt.0 . . 3 𝑥𝜑
2 funcnvmpt.1 . . 3 𝑥𝐴
3 funcnvmpt.2 . . 3 𝑥𝐹
4 funcnvmpt.3 . . 3 𝐹 = (𝑥𝐴𝐵)
5 funcnvmpt.4 . . 3 ((𝜑𝑥𝐴) → 𝐵𝑉)
61, 2, 3, 4, 5funcnvmpt 31004 . 2 (𝜑 → (Fun 𝐹 ↔ ∀𝑦∃*𝑥𝐴 𝑦 = 𝐵))
7 nne 2947 . . . . . . . . 9 𝐵𝐶𝐵 = 𝐶)
8 eqvincg 3578 . . . . . . . . . 10 (𝐵𝑉 → (𝐵 = 𝐶 ↔ ∃𝑦(𝑦 = 𝐵𝑦 = 𝐶)))
95, 8syl 17 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐵 = 𝐶 ↔ ∃𝑦(𝑦 = 𝐵𝑦 = 𝐶)))
107, 9syl5bb 283 . . . . . . . 8 ((𝜑𝑥𝐴) → (¬ 𝐵𝐶 ↔ ∃𝑦(𝑦 = 𝐵𝑦 = 𝐶)))
1110imbi1d 342 . . . . . . 7 ((𝜑𝑥𝐴) → ((¬ 𝐵𝐶𝑥 = 𝑧) ↔ (∃𝑦(𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧)))
12 orcom 867 . . . . . . . 8 ((𝑥 = 𝑧𝐵𝐶) ↔ (𝐵𝐶𝑥 = 𝑧))
13 df-or 845 . . . . . . . 8 ((𝐵𝐶𝑥 = 𝑧) ↔ (¬ 𝐵𝐶𝑥 = 𝑧))
1412, 13bitri 274 . . . . . . 7 ((𝑥 = 𝑧𝐵𝐶) ↔ (¬ 𝐵𝐶𝑥 = 𝑧))
15 19.23v 1945 . . . . . . 7 (∀𝑦((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧) ↔ (∃𝑦(𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧))
1611, 14, 153bitr4g 314 . . . . . 6 ((𝜑𝑥𝐴) → ((𝑥 = 𝑧𝐵𝐶) ↔ ∀𝑦((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧)))
1716ralbidv 3112 . . . . 5 ((𝜑𝑥𝐴) → (∀𝑧𝐴 (𝑥 = 𝑧𝐵𝐶) ↔ ∀𝑧𝐴𝑦((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧)))
18 ralcom4 3164 . . . . 5 (∀𝑧𝐴𝑦((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧) ↔ ∀𝑦𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧))
1917, 18bitrdi 287 . . . 4 ((𝜑𝑥𝐴) → (∀𝑧𝐴 (𝑥 = 𝑧𝐵𝐶) ↔ ∀𝑦𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧)))
201, 19ralbida 3159 . . 3 (𝜑 → (∀𝑥𝐴𝑧𝐴 (𝑥 = 𝑧𝐵𝐶) ↔ ∀𝑥𝐴𝑦𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧)))
21 nfcv 2907 . . . . . 6 𝑧𝐴
22 nfv 1917 . . . . . 6 𝑥 𝑦 = 𝐶
23 funcnv5mpt.1 . . . . . . 7 (𝑥 = 𝑧𝐵 = 𝐶)
2423eqeq2d 2749 . . . . . 6 (𝑥 = 𝑧 → (𝑦 = 𝐵𝑦 = 𝐶))
252, 21, 22, 24rmo4f 3670 . . . . 5 (∃*𝑥𝐴 𝑦 = 𝐵 ↔ ∀𝑥𝐴𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧))
2625albii 1822 . . . 4 (∀𝑦∃*𝑥𝐴 𝑦 = 𝐵 ↔ ∀𝑦𝑥𝐴𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧))
27 ralcom4 3164 . . . 4 (∀𝑥𝐴𝑦𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧) ↔ ∀𝑦𝑥𝐴𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧))
2826, 27bitr4i 277 . . 3 (∀𝑦∃*𝑥𝐴 𝑦 = 𝐵 ↔ ∀𝑥𝐴𝑦𝑧𝐴 ((𝑦 = 𝐵𝑦 = 𝐶) → 𝑥 = 𝑧))
2920, 28bitr4di 289 . 2 (𝜑 → (∀𝑥𝐴𝑧𝐴 (𝑥 = 𝑧𝐵𝐶) ↔ ∀𝑦∃*𝑥𝐴 𝑦 = 𝐵))
306, 29bitr4d 281 1 (𝜑 → (Fun 𝐹 ↔ ∀𝑥𝐴𝑧𝐴 (𝑥 = 𝑧𝐵𝐶)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  wal 1537   = wceq 1539  wex 1782  wnf 1786  wcel 2106  wnfc 2887  wne 2943  wral 3064  ∃*wrmo 3067  cmpt 5157  ccnv 5588  Fun wfun 6427
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-rmo 3071  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-fv 6441
This theorem is referenced by:  funcnv4mpt  31006
  Copyright terms: Public domain W3C validator