Metamath Proof Explorer


Theorem fvelsetpreimafv

Description: There is an element in a preimage S of function values so that S is the preimage of the function value at this element. (Contributed by AV, 8-Mar-2024)

Ref Expression
Hypothesis setpreimafvex.p 𝑃 = { 𝑧 ∣ ∃ 𝑥𝐴 𝑧 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) }
Assertion fvelsetpreimafv ( ( 𝐹 Fn 𝐴𝑆𝑃 ) → ∃ 𝑥𝑆 𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) )

Proof

Step Hyp Ref Expression
1 setpreimafvex.p 𝑃 = { 𝑧 ∣ ∃ 𝑥𝐴 𝑧 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) }
2 preimafvsnel ( ( 𝐹 Fn 𝐴𝑥𝐴 ) → 𝑥 ∈ ( 𝐹 “ { ( 𝐹𝑥 ) } ) )
3 2 adantrr ( ( 𝐹 Fn 𝐴 ∧ ( 𝑥𝐴𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) ) → 𝑥 ∈ ( 𝐹 “ { ( 𝐹𝑥 ) } ) )
4 eleq2 ( 𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) → ( 𝑥𝑆𝑥 ∈ ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) )
5 4 ad2antll ( ( 𝐹 Fn 𝐴 ∧ ( 𝑥𝐴𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) ) → ( 𝑥𝑆𝑥 ∈ ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) )
6 3 5 mpbird ( ( 𝐹 Fn 𝐴 ∧ ( 𝑥𝐴𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) ) → 𝑥𝑆 )
7 simprr ( ( 𝐹 Fn 𝐴 ∧ ( 𝑥𝐴𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) ) → 𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) )
8 6 7 jca ( ( 𝐹 Fn 𝐴 ∧ ( 𝑥𝐴𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) ) → ( 𝑥𝑆𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) )
9 8 ex ( 𝐹 Fn 𝐴 → ( ( 𝑥𝐴𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) → ( 𝑥𝑆𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) ) )
10 9 reximdv2 ( 𝐹 Fn 𝐴 → ( ∃ 𝑥𝐴 𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) → ∃ 𝑥𝑆 𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) ) )
11 1 elsetpreimafv ( 𝑆𝑃 → ∃ 𝑥𝐴 𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) )
12 10 11 impel ( ( 𝐹 Fn 𝐴𝑆𝑃 ) → ∃ 𝑥𝑆 𝑆 = ( 𝐹 “ { ( 𝐹𝑥 ) } ) )