Metamath Proof Explorer


Theorem rnmposs

Description: The range of an operation given by the maps-to notation as a subset. (Contributed by Thierry Arnoux, 23-May-2017)

Ref Expression
Hypothesis rnmposs.1 𝐹 = ( 𝑥𝐴 , 𝑦𝐵𝐶 )
Assertion rnmposs ( ∀ 𝑥𝐴𝑦𝐵 𝐶𝐷 → ran 𝐹𝐷 )

Proof

Step Hyp Ref Expression
1 rnmposs.1 𝐹 = ( 𝑥𝐴 , 𝑦𝐵𝐶 )
2 1 rnmpo ran 𝐹 = { 𝑧 ∣ ∃ 𝑥𝐴𝑦𝐵 𝑧 = 𝐶 }
3 2 abeq2i ( 𝑧 ∈ ran 𝐹 ↔ ∃ 𝑥𝐴𝑦𝐵 𝑧 = 𝐶 )
4 2r19.29 ( ( ∀ 𝑥𝐴𝑦𝐵 𝐶𝐷 ∧ ∃ 𝑥𝐴𝑦𝐵 𝑧 = 𝐶 ) → ∃ 𝑥𝐴𝑦𝐵 ( 𝐶𝐷𝑧 = 𝐶 ) )
5 eleq1 ( 𝑧 = 𝐶 → ( 𝑧𝐷𝐶𝐷 ) )
6 5 biimparc ( ( 𝐶𝐷𝑧 = 𝐶 ) → 𝑧𝐷 )
7 6 a1i ( ( 𝑥𝐴𝑦𝐵 ) → ( ( 𝐶𝐷𝑧 = 𝐶 ) → 𝑧𝐷 ) )
8 7 rexlimivv ( ∃ 𝑥𝐴𝑦𝐵 ( 𝐶𝐷𝑧 = 𝐶 ) → 𝑧𝐷 )
9 4 8 syl ( ( ∀ 𝑥𝐴𝑦𝐵 𝐶𝐷 ∧ ∃ 𝑥𝐴𝑦𝐵 𝑧 = 𝐶 ) → 𝑧𝐷 )
10 9 ex ( ∀ 𝑥𝐴𝑦𝐵 𝐶𝐷 → ( ∃ 𝑥𝐴𝑦𝐵 𝑧 = 𝐶𝑧𝐷 ) )
11 3 10 syl5bi ( ∀ 𝑥𝐴𝑦𝐵 𝐶𝐷 → ( 𝑧 ∈ ran 𝐹𝑧𝐷 ) )
12 11 ssrdv ( ∀ 𝑥𝐴𝑦𝐵 𝐶𝐷 → ran 𝐹𝐷 )