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

Theorem fundif 6405
Description: A function with removed elements is still a function. (Contributed by AV, 7-Jun-2021.)
Assertion
Ref Expression
fundif (Fun 𝐹 → Fun (𝐹𝐴))

Proof of Theorem fundif
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 reldif 5690 . . 3 (Rel 𝐹 → Rel (𝐹𝐴))
2 brdif 5121 . . . . . . 7 (𝑥(𝐹𝐴)𝑦 ↔ (𝑥𝐹𝑦 ∧ ¬ 𝑥𝐴𝑦))
3 brdif 5121 . . . . . . 7 (𝑥(𝐹𝐴)𝑧 ↔ (𝑥𝐹𝑧 ∧ ¬ 𝑥𝐴𝑧))
4 pm2.27 42 . . . . . . . 8 ((𝑥𝐹𝑦𝑥𝐹𝑧) → (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
54ad2ant2r 745 . . . . . . 7 (((𝑥𝐹𝑦 ∧ ¬ 𝑥𝐴𝑦) ∧ (𝑥𝐹𝑧 ∧ ¬ 𝑥𝐴𝑧)) → (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
62, 3, 5syl2anb 599 . . . . . 6 ((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
76com12 32 . . . . 5 (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → ((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧))
87alimi 1812 . . . 4 (∀𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → ∀𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧))
982alimi 1813 . . 3 (∀𝑥𝑦𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → ∀𝑥𝑦𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧))
101, 9anim12i 614 . 2 ((Rel 𝐹 ∧ ∀𝑥𝑦𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧)) → (Rel (𝐹𝐴) ∧ ∀𝑥𝑦𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧)))
11 dffun2 6367 . 2 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥𝑦𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧)))
12 dffun2 6367 . 2 (Fun (𝐹𝐴) ↔ (Rel (𝐹𝐴) ∧ ∀𝑥𝑦𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧)))
1310, 11, 123imtr4i 294 1 (Fun 𝐹 → Fun (𝐹𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  wal 1535  cdif 3935   class class class wbr 5068  Rel wrel 5562  Fun wfun 6351
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069  df-opab 5131  df-id 5462  df-rel 5564  df-cnv 5565  df-co 5566  df-fun 6359
This theorem is referenced by:  fundmge2nop  13854  fun2dmnop  13856
  Copyright terms: Public domain W3C validator