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

Theorem fsnunf 7057
Description: Adjoining a point to a function gives a function. (Contributed by Stefan O'Rear, 28-Feb-2015.)
Assertion
Ref Expression
fsnunf ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → (𝐹 ∪ {⟨𝑋, 𝑌⟩}):(𝑆 ∪ {𝑋})⟶𝑇)

Proof of Theorem fsnunf
StepHypRef Expression
1 simp1 1135 . . 3 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → 𝐹:𝑆𝑇)
2 simp2l 1198 . . . . 5 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → 𝑋𝑉)
3 simp3 1137 . . . . 5 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → 𝑌𝑇)
4 f1osng 6757 . . . . 5 ((𝑋𝑉𝑌𝑇) → {⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌})
52, 3, 4syl2anc 584 . . . 4 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → {⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌})
6 f1of 6716 . . . 4 ({⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌} → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
75, 6syl 17 . . 3 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
8 simp2r 1199 . . . 4 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → ¬ 𝑋𝑆)
9 disjsn 4647 . . . 4 ((𝑆 ∩ {𝑋}) = ∅ ↔ ¬ 𝑋𝑆)
108, 9sylibr 233 . . 3 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → (𝑆 ∩ {𝑋}) = ∅)
11 fun 6636 . . 3 (((𝐹:𝑆𝑇 ∧ {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌}) ∧ (𝑆 ∩ {𝑋}) = ∅) → (𝐹 ∪ {⟨𝑋, 𝑌⟩}):(𝑆 ∪ {𝑋})⟶(𝑇 ∪ {𝑌}))
121, 7, 10, 11syl21anc 835 . 2 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → (𝐹 ∪ {⟨𝑋, 𝑌⟩}):(𝑆 ∪ {𝑋})⟶(𝑇 ∪ {𝑌}))
13 snssi 4741 . . . . 5 (𝑌𝑇 → {𝑌} ⊆ 𝑇)
14133ad2ant3 1134 . . . 4 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → {𝑌} ⊆ 𝑇)
15 ssequn2 4117 . . . 4 ({𝑌} ⊆ 𝑇 ↔ (𝑇 ∪ {𝑌}) = 𝑇)
1614, 15sylib 217 . . 3 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → (𝑇 ∪ {𝑌}) = 𝑇)
1716feq3d 6587 . 2 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → ((𝐹 ∪ {⟨𝑋, 𝑌⟩}):(𝑆 ∪ {𝑋})⟶(𝑇 ∪ {𝑌}) ↔ (𝐹 ∪ {⟨𝑋, 𝑌⟩}):(𝑆 ∪ {𝑋})⟶𝑇))
1812, 17mpbid 231 1 ((𝐹:𝑆𝑇 ∧ (𝑋𝑉 ∧ ¬ 𝑋𝑆) ∧ 𝑌𝑇) → (𝐹 ∪ {⟨𝑋, 𝑌⟩}):(𝑆 ∪ {𝑋})⟶𝑇)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  cun 3885  cin 3886  wss 3887  c0 4256  {csn 4561  cop 4567  wf 6429  1-1-ontowf1o 6432
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-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  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-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440
This theorem is referenced by:  fsnunf2  7058  fnchoice  42572  nnsum4primeseven  45252  nnsum4primesevenALTV  45253
  Copyright terms: Public domain W3C validator