Metamath Proof Explorer


Theorem s2mapd

Description: A doubleton word is a function on the doubleton ( 0 ..^ 2 ) (which is equal to { 0 , 1 } by fzo0to2pr ). See also s3rexrd . (Contributed by Thierry Arnoux, 10-Oct-2026)

Ref Expression
Hypotheses s2mapd.s ⊢ φ → S ∈ V
s2mapd.x ⊢ φ → X ∈ S
s2mapd.y ⊢ φ → Y ∈ S
Assertion s2mapd ⊢ φ → ⟨“ XY ”⟩ ∈ S 0 ..^ 2

Proof

Step Hyp Ref Expression
1 s2mapd.s ⊢ φ → S ∈ V
2 s2mapd.x ⊢ φ → X ∈ S
3 s2mapd.y ⊢ φ → Y ∈ S
4 ovexd ⊢ φ → 0 ..^ 2 ∈ V
5 s2len ⊢ ⟨“ XY ”⟩ = 2
6 5 a1i ⊢ φ → ⟨“ XY ”⟩ = 2
7 6 eqcomd ⊢ φ → 2 = ⟨“ XY ”⟩
8 2 3 s2cld ⊢ φ → ⟨“ XY ”⟩ ∈ Word S
9 7 8 wrdfd ⊢ φ → ⟨“ XY ”⟩ : 0 ..^ 2 ⟶ S
10 1 4 9 elmapdd ⊢ φ → ⟨“ XY ”⟩ ∈ S 0 ..^ 2