Metamath Proof Explorer


Theorem prproropen

Description: The set of proper pairs and the set of ordered ordered pairs, i.e., ordered pairs in which the first component is less than the second component, are equinumerous. (Contributed by AV, 15-Mar-2023)

Ref Expression
Hypotheses prproropf1o.o 𝑂 = ( 𝑅 ∩ ( 𝑉 × 𝑉 ) )
prproropf1o.p 𝑃 = { 𝑝 ∈ 𝒫 𝑉 ∣ ( ♯ ‘ 𝑝 ) = 2 }
Assertion prproropen ( ( 𝑉𝑊𝑅 Or 𝑉 ) → 𝑂𝑃 )

Proof

Step Hyp Ref Expression
1 prproropf1o.o 𝑂 = ( 𝑅 ∩ ( 𝑉 × 𝑉 ) )
2 prproropf1o.p 𝑃 = { 𝑝 ∈ 𝒫 𝑉 ∣ ( ♯ ‘ 𝑝 ) = 2 }
3 pwexg ( 𝑉𝑊 → 𝒫 𝑉 ∈ V )
4 2 3 rabexd ( 𝑉𝑊𝑃 ∈ V )
5 4 adantr ( ( 𝑉𝑊𝑅 Or 𝑉 ) → 𝑃 ∈ V )
6 5 mptexd ( ( 𝑉𝑊𝑅 Or 𝑉 ) → ( 𝑝𝑃 ↦ ⟨ inf ( 𝑝 , 𝑉 , 𝑅 ) , sup ( 𝑝 , 𝑉 , 𝑅 ) ⟩ ) ∈ V )
7 eqid ( 𝑝𝑃 ↦ ⟨ inf ( 𝑝 , 𝑉 , 𝑅 ) , sup ( 𝑝 , 𝑉 , 𝑅 ) ⟩ ) = ( 𝑝𝑃 ↦ ⟨ inf ( 𝑝 , 𝑉 , 𝑅 ) , sup ( 𝑝 , 𝑉 , 𝑅 ) ⟩ )
8 1 2 7 prproropf1o ( 𝑅 Or 𝑉 → ( 𝑝𝑃 ↦ ⟨ inf ( 𝑝 , 𝑉 , 𝑅 ) , sup ( 𝑝 , 𝑉 , 𝑅 ) ⟩ ) : 𝑃1-1-onto𝑂 )
9 8 adantl ( ( 𝑉𝑊𝑅 Or 𝑉 ) → ( 𝑝𝑃 ↦ ⟨ inf ( 𝑝 , 𝑉 , 𝑅 ) , sup ( 𝑝 , 𝑉 , 𝑅 ) ⟩ ) : 𝑃1-1-onto𝑂 )
10 f1oeq1 ( 𝑓 = ( 𝑝𝑃 ↦ ⟨ inf ( 𝑝 , 𝑉 , 𝑅 ) , sup ( 𝑝 , 𝑉 , 𝑅 ) ⟩ ) → ( 𝑓 : 𝑃1-1-onto𝑂 ↔ ( 𝑝𝑃 ↦ ⟨ inf ( 𝑝 , 𝑉 , 𝑅 ) , sup ( 𝑝 , 𝑉 , 𝑅 ) ⟩ ) : 𝑃1-1-onto𝑂 ) )
11 6 9 10 spcedv ( ( 𝑉𝑊𝑅 Or 𝑉 ) → ∃ 𝑓 𝑓 : 𝑃1-1-onto𝑂 )
12 ensymb ( 𝑂𝑃𝑃𝑂 )
13 bren ( 𝑃𝑂 ↔ ∃ 𝑓 𝑓 : 𝑃1-1-onto𝑂 )
14 12 13 bitri ( 𝑂𝑃 ↔ ∃ 𝑓 𝑓 : 𝑃1-1-onto𝑂 )
15 11 14 sylibr ( ( 𝑉𝑊𝑅 Or 𝑉 ) → 𝑂𝑃 )