Metamath Proof Explorer


Theorem chfnrn

Description: The range of a choice function (a function that chooses an element from each member of its domain) is included in the union of its domain. (Contributed by NM, 31-Aug-1999)

Ref Expression
Assertion chfnrn ( ( 𝐹 Fn 𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹𝑥 ) ∈ 𝑥 ) → ran 𝐹 𝐴 )

Proof

Step Hyp Ref Expression
1 fvelrnb ( 𝐹 Fn 𝐴 → ( 𝑦 ∈ ran 𝐹 ↔ ∃ 𝑥𝐴 ( 𝐹𝑥 ) = 𝑦 ) )
2 1 biimpd ( 𝐹 Fn 𝐴 → ( 𝑦 ∈ ran 𝐹 → ∃ 𝑥𝐴 ( 𝐹𝑥 ) = 𝑦 ) )
3 eleq1 ( ( 𝐹𝑥 ) = 𝑦 → ( ( 𝐹𝑥 ) ∈ 𝑥𝑦𝑥 ) )
4 3 biimpcd ( ( 𝐹𝑥 ) ∈ 𝑥 → ( ( 𝐹𝑥 ) = 𝑦𝑦𝑥 ) )
5 4 ralimi ( ∀ 𝑥𝐴 ( 𝐹𝑥 ) ∈ 𝑥 → ∀ 𝑥𝐴 ( ( 𝐹𝑥 ) = 𝑦𝑦𝑥 ) )
6 rexim ( ∀ 𝑥𝐴 ( ( 𝐹𝑥 ) = 𝑦𝑦𝑥 ) → ( ∃ 𝑥𝐴 ( 𝐹𝑥 ) = 𝑦 → ∃ 𝑥𝐴 𝑦𝑥 ) )
7 5 6 syl ( ∀ 𝑥𝐴 ( 𝐹𝑥 ) ∈ 𝑥 → ( ∃ 𝑥𝐴 ( 𝐹𝑥 ) = 𝑦 → ∃ 𝑥𝐴 𝑦𝑥 ) )
8 2 7 sylan9 ( ( 𝐹 Fn 𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹𝑥 ) ∈ 𝑥 ) → ( 𝑦 ∈ ran 𝐹 → ∃ 𝑥𝐴 𝑦𝑥 ) )
9 eluni2 ( 𝑦 𝐴 ↔ ∃ 𝑥𝐴 𝑦𝑥 )
10 8 9 syl6ibr ( ( 𝐹 Fn 𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹𝑥 ) ∈ 𝑥 ) → ( 𝑦 ∈ ran 𝐹𝑦 𝐴 ) )
11 10 ssrdv ( ( 𝐹 Fn 𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹𝑥 ) ∈ 𝑥 ) → ran 𝐹 𝐴 )