Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  uniimafveqt Structured version   Visualization version   GIF version

Theorem uniimafveqt 48796
Description: The union of the image of a subset 𝑆 of the domain of a function with elements having the same function value is the function value at one of the elements of 𝑆. (Contributed by AV, 5-Mar-2024.)
Assertion
Ref Expression
uniimafveqt ((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) → (∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋) → ∪ (𝐹 “ 𝑆) = (𝐹‘𝑋)))
Distinct variable groups:   𝑥,𝐹   𝑥,𝑆   𝑥,𝑋
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem uniimafveqt
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 ffun 6741 . . . . . 6 (𝐹:𝐴⟶𝐵 → Fun 𝐹)
213ad2ant1 1152 . . . . 5 ((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) → Fun 𝐹)
32adantr 486 . . . 4 (((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) ∧ ∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋)) → Fun 𝐹)
4 funiunfv 7282 . . . 4 (Fun 𝐹 → ∪ 𝑦 ∈ 𝑆 (𝐹‘𝑦) = ∪ (𝐹 “ 𝑆))
53, 4syl 18 . . 3 (((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) ∧ ∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋)) → ∪ 𝑦 ∈ 𝑆 (𝐹‘𝑦) = ∪ (𝐹 “ 𝑆))
6 simp3 1157 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) → 𝑋 ∈ 𝑆)
7 fveqeq2 6924 . . . . . 6 (𝑥 = 𝑦 → ((𝐹‘𝑥) = (𝐹‘𝑋) ↔ (𝐹‘𝑦) = (𝐹‘𝑋)))
87cbvralvw 3244 . . . . 5 (∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋) ↔ ∀𝑦 ∈ 𝑆 (𝐹‘𝑦) = (𝐹‘𝑋))
98biimpi 219 . . . 4 (∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋) → ∀𝑦 ∈ 𝑆 (𝐹‘𝑦) = (𝐹‘𝑋))
10 fveq2 6915 . . . . 5 (𝑦 = 𝑋 → (𝐹‘𝑦) = (𝐹‘𝑋))
1110iuneqconst 4967 . . . 4 ((𝑋 ∈ 𝑆 ∧ ∀𝑦 ∈ 𝑆 (𝐹‘𝑦) = (𝐹‘𝑋)) → ∪ 𝑦 ∈ 𝑆 (𝐹‘𝑦) = (𝐹‘𝑋))
126, 9, 11syl2an 608 . . 3 (((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) ∧ ∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋)) → ∪ 𝑦 ∈ 𝑆 (𝐹‘𝑦) = (𝐹‘𝑋))
135, 12eqtr3d 2803 . 2 (((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) ∧ ∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋)) → ∪ (𝐹 “ 𝑆) = (𝐹‘𝑋))
1413ex 418 1 ((𝐹:𝐴⟶𝐵 ∧ 𝑆 ⊆ 𝐴 ∧ 𝑋 ∈ 𝑆) → (∀𝑥 ∈ 𝑆 (𝐹‘𝑥) = (𝐹‘𝑋) → ∪ (𝐹 “ 𝑆) = (𝐹‘𝑋)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2150  ∀wral 3083   ⊆ wss 3899  ∪ cuni 4871  ∪ ciun 4955   “ cima 5660  Fun wfun 6559  ⟶wf 6561  ‘cfv 6565
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-fv 6573
This theorem is used by:  uniimaprimaeqfv  48797
  Copyright terms: Public domain W3C validator