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

Theorem fundif 6581
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 5793 . . 3 (Rel 𝐹 → Rel (𝐹 ∖ 𝐴))
2 brdif 5158 . . . . . . 7 (𝑥(𝐹 ∖ 𝐴)𝑦 ↔ (𝑥𝐹𝑦 ∧ ¬ 𝑥𝐴𝑦))
3 brdif 5158 . . . . . . 7 (𝑥(𝐹 ∖ 𝐴)𝑧 ↔ (𝑥𝐹𝑧 ∧ ¬ 𝑥𝐴𝑧))
4 pm2.27 43 . . . . . . . 8 ((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → (((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
54ad2ant2r 760 . . . . . . 7 (((𝑥𝐹𝑦 ∧ ¬ 𝑥𝐴𝑦) ∧ (𝑥𝐹𝑧 ∧ ¬ 𝑥𝐴𝑧)) → (((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
62, 3, 5syl2anb 610 . . . . . 6 ((𝑥(𝐹 ∖ 𝐴)𝑦 ∧ 𝑥(𝐹 ∖ 𝐴)𝑧) → (((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → 𝑦 = 𝑧))
76com12 33 . . . . 5 (((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → ((𝑥(𝐹 ∖ 𝐴)𝑦 ∧ 𝑥(𝐹 ∖ 𝐴)𝑧) → 𝑦 = 𝑧))
87alimi 1844 . . . 4 (∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → ∀𝑧((𝑥(𝐹 ∖ 𝐴)𝑦 ∧ 𝑥(𝐹 ∖ 𝐴)𝑧) → 𝑦 = 𝑧))
982alimi 1845 . . 3 (∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧) → ∀𝑥∀𝑦∀𝑧((𝑥(𝐹 ∖ 𝐴)𝑦 ∧ 𝑥(𝐹 ∖ 𝐴)𝑧) → 𝑦 = 𝑧))
101, 9anim12i 625 . 2 ((Rel 𝐹 ∧ ∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧)) → (Rel (𝐹 ∖ 𝐴) ∧ ∀𝑥∀𝑦∀𝑧((𝑥(𝐹 ∖ 𝐴)𝑦 ∧ 𝑥(𝐹 ∖ 𝐴)𝑧) → 𝑦 = 𝑧)))
11 dffun2 6541 . 2 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∀𝑦∀𝑧((𝑥𝐹𝑦 ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧)))
12 dffun2 6541 . 2 (Fun (𝐹 ∖ 𝐴) ↔ (Rel (𝐹 ∖ 𝐴) ∧ ∀𝑥∀𝑦∀𝑧((𝑥(𝐹 ∖ 𝐴)𝑦 ∧ 𝑥(𝐹 ∖ 𝐴)𝑧) → 𝑦 = 𝑧)))
1310, 11, 123imtr4i 295 1 (Fun 𝐹 → Fun (𝐹 ∖ 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1568   ∖ cdif 3896   class class class wbr 5103  Rel wrel 5656  Fun wfun 6525
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-fun 6533
This theorem is used by:  fundmge2nop  14628  fun2dmnop  14630
  Copyright terms: Public domain W3C validator