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

Theorem fundif 6373
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 5652 . . 3 (Rel 𝐹 → Rel (𝐹𝐴))
2 brdif 5083 . . . . . . 7 (𝑥(𝐹𝐴)𝑦 ↔ (𝑥𝐹𝑦 ∧ ¬ 𝑥𝐴𝑦))
3 brdif 5083 . . . . . . 7 (𝑥(𝐹𝐴)𝑧 ↔ (𝑥𝐹𝑧 ∧ ¬ 𝑥𝐴𝑧))
4 pm2.27 42 . . . . . . . 8 ((𝑥𝐹𝑦𝑥𝐹𝑧) → (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
54ad2ant2r 746 . . . . . . 7 (((𝑥𝐹𝑦 ∧ ¬ 𝑥𝐴𝑦) ∧ (𝑥𝐹𝑧 ∧ ¬ 𝑥𝐴𝑧)) → (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
62, 3, 5syl2anb 600 . . . . . 6 ((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
76com12 32 . . . . 5 (((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → ((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧))
87alimi 1813 . . . 4 (∀𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → ∀𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧))
982alimi 1814 . . 3 (∀𝑥𝑦𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧) → ∀𝑥𝑦𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧))
101, 9anim12i 615 . 2 ((Rel 𝐹 ∧ ∀𝑥𝑦𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧)) → (Rel (𝐹𝐴) ∧ ∀𝑥𝑦𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧)))
11 dffun2 6334 . 2 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥𝑦𝑧((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧)))
12 dffun2 6334 . 2 (Fun (𝐹𝐴) ↔ (Rel (𝐹𝐴) ∧ ∀𝑥𝑦𝑧((𝑥(𝐹𝐴)𝑦𝑥(𝐹𝐴)𝑧) → 𝑦 = 𝑧)))
1310, 11, 123imtr4i 295 1 (Fun 𝐹 → Fun (𝐹𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wal 1536  cdif 3878   class class class wbr 5030  Rel wrel 5524  Fun wfun 6318
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-id 5425  df-rel 5526  df-cnv 5527  df-co 5528  df-fun 6326
This theorem is referenced by:  fundmge2nop  13847  fun2dmnop  13849
  Copyright terms: Public domain W3C validator