MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  pw2f1olem Structured version   Visualization version   GIF version

Theorem pw2f1olem 8816
Description: Lemma for pw2f1o 8817. (Contributed by Mario Carneiro, 6-Oct-2014.)
Hypotheses
Ref Expression
pw2f1o.1 (𝜑𝐴𝑉)
pw2f1o.2 (𝜑𝐵𝑊)
pw2f1o.3 (𝜑𝐶𝑊)
pw2f1o.4 (𝜑𝐵𝐶)
Assertion
Ref Expression
pw2f1olem (𝜑 → ((𝑆 ∈ 𝒫 𝐴𝐺 = (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵))) ↔ (𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑆 = (𝐺 “ {𝐶}))))
Distinct variable groups:   𝑧,𝐴   𝑧,𝐵   𝑧,𝐶   𝑧,𝑆
Allowed substitution hints:   𝜑(𝑧)   𝐺(𝑧)   𝑉(𝑧)   𝑊(𝑧)

Proof of Theorem pw2f1olem
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 pw2f1o.3 . . . . . . . . . 10 (𝜑𝐶𝑊)
2 prid2g 4694 . . . . . . . . . 10 (𝐶𝑊𝐶 ∈ {𝐵, 𝐶})
31, 2syl 17 . . . . . . . . 9 (𝜑𝐶 ∈ {𝐵, 𝐶})
4 pw2f1o.2 . . . . . . . . . 10 (𝜑𝐵𝑊)
5 prid1g 4693 . . . . . . . . . 10 (𝐵𝑊𝐵 ∈ {𝐵, 𝐶})
64, 5syl 17 . . . . . . . . 9 (𝜑𝐵 ∈ {𝐵, 𝐶})
73, 6ifcld 4502 . . . . . . . 8 (𝜑 → if(𝑦𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
87adantr 480 . . . . . . 7 ((𝜑𝑦𝐴) → if(𝑦𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
98fmpttd 6971 . . . . . 6 (𝜑 → (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)):𝐴⟶{𝐵, 𝐶})
109adantr 480 . . . . 5 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)):𝐴⟶{𝐵, 𝐶})
11 simprr 769 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
1211feq1d 6569 . . . . 5 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝐺:𝐴⟶{𝐵, 𝐶} ↔ (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)):𝐴⟶{𝐵, 𝐶}))
1310, 12mpbird 256 . . . 4 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝐺:𝐴⟶{𝐵, 𝐶})
14 iftrue 4462 . . . . . . . . 9 (𝑥𝑆 → if(𝑥𝑆, 𝐶, 𝐵) = 𝐶)
15 pw2f1o.4 . . . . . . . . . . . 12 (𝜑𝐵𝐶)
1615ad2antrr 722 . . . . . . . . . . 11 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → 𝐵𝐶)
17 iffalse 4465 . . . . . . . . . . . 12 𝑥𝑆 → if(𝑥𝑆, 𝐶, 𝐵) = 𝐵)
1817neeq1d 3002 . . . . . . . . . . 11 𝑥𝑆 → (if(𝑥𝑆, 𝐶, 𝐵) ≠ 𝐶𝐵𝐶))
1916, 18syl5ibrcom 246 . . . . . . . . . 10 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (¬ 𝑥𝑆 → if(𝑥𝑆, 𝐶, 𝐵) ≠ 𝐶))
2019necon4bd 2962 . . . . . . . . 9 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (if(𝑥𝑆, 𝐶, 𝐵) = 𝐶𝑥𝑆))
2114, 20impbid2 225 . . . . . . . 8 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝑥𝑆 ↔ if(𝑥𝑆, 𝐶, 𝐵) = 𝐶))
22 simplrr 774 . . . . . . . . . . 11 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
2322fveq1d 6758 . . . . . . . . . 10 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝐺𝑥) = ((𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))‘𝑥))
24 id 22 . . . . . . . . . . 11 (𝑥𝐴𝑥𝐴)
253, 6ifcld 4502 . . . . . . . . . . . 12 (𝜑 → if(𝑥𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
2625adantr 480 . . . . . . . . . . 11 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → if(𝑥𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
27 eleq1w 2821 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → (𝑦𝑆𝑥𝑆))
2827ifbid 4479 . . . . . . . . . . . 12 (𝑦 = 𝑥 → if(𝑦𝑆, 𝐶, 𝐵) = if(𝑥𝑆, 𝐶, 𝐵))
29 eqid 2738 . . . . . . . . . . . 12 (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))
3028, 29fvmptg 6855 . . . . . . . . . . 11 ((𝑥𝐴 ∧ if(𝑥𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶}) → ((𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))‘𝑥) = if(𝑥𝑆, 𝐶, 𝐵))
3124, 26, 30syl2anr 596 . . . . . . . . . 10 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → ((𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))‘𝑥) = if(𝑥𝑆, 𝐶, 𝐵))
3223, 31eqtrd 2778 . . . . . . . . 9 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝐺𝑥) = if(𝑥𝑆, 𝐶, 𝐵))
3332eqeq1d 2740 . . . . . . . 8 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → ((𝐺𝑥) = 𝐶 ↔ if(𝑥𝑆, 𝐶, 𝐵) = 𝐶))
3421, 33bitr4d 281 . . . . . . 7 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝑥𝑆 ↔ (𝐺𝑥) = 𝐶))
3534pm5.32da 578 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → ((𝑥𝐴𝑥𝑆) ↔ (𝑥𝐴 ∧ (𝐺𝑥) = 𝐶)))
36 simprl 767 . . . . . . . 8 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝑆𝐴)
3736sseld 3916 . . . . . . 7 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥𝑆𝑥𝐴))
3837pm4.71rd 562 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥𝑆 ↔ (𝑥𝐴𝑥𝑆)))
39 ffn 6584 . . . . . . . 8 (𝐺:𝐴⟶{𝐵, 𝐶} → 𝐺 Fn 𝐴)
4013, 39syl 17 . . . . . . 7 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝐺 Fn 𝐴)
41 fniniseg 6919 . . . . . . 7 (𝐺 Fn 𝐴 → (𝑥 ∈ (𝐺 “ {𝐶}) ↔ (𝑥𝐴 ∧ (𝐺𝑥) = 𝐶)))
4240, 41syl 17 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥 ∈ (𝐺 “ {𝐶}) ↔ (𝑥𝐴 ∧ (𝐺𝑥) = 𝐶)))
4335, 38, 423bitr4d 310 . . . . 5 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥𝑆𝑥 ∈ (𝐺 “ {𝐶})))
4443eqrdv 2736 . . . 4 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝑆 = (𝐺 “ {𝐶}))
4513, 44jca 511 . . 3 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶})))
46 simprr 769 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝑆 = (𝐺 “ {𝐶}))
47 cnvimass 5978 . . . . . 6 (𝐺 “ {𝐶}) ⊆ dom 𝐺
48 fdm 6593 . . . . . . 7 (𝐺:𝐴⟶{𝐵, 𝐶} → dom 𝐺 = 𝐴)
4948ad2antrl 724 . . . . . 6 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → dom 𝐺 = 𝐴)
5047, 49sseqtrid 3969 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝐺 “ {𝐶}) ⊆ 𝐴)
5146, 50eqsstrd 3955 . . . 4 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝑆𝐴)
5239ad2antrl 724 . . . . . 6 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺 Fn 𝐴)
53 dffn5 6810 . . . . . 6 (𝐺 Fn 𝐴𝐺 = (𝑦𝐴 ↦ (𝐺𝑦)))
5452, 53sylib 217 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺 = (𝑦𝐴 ↦ (𝐺𝑦)))
55 simplrr 774 . . . . . . . . . . 11 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → 𝑆 = (𝐺 “ {𝐶}))
5655eleq2d 2824 . . . . . . . . . 10 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝑦𝑆𝑦 ∈ (𝐺 “ {𝐶})))
57 fniniseg 6919 . . . . . . . . . . . 12 (𝐺 Fn 𝐴 → (𝑦 ∈ (𝐺 “ {𝐶}) ↔ (𝑦𝐴 ∧ (𝐺𝑦) = 𝐶)))
5852, 57syl 17 . . . . . . . . . . 11 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝑦 ∈ (𝐺 “ {𝐶}) ↔ (𝑦𝐴 ∧ (𝐺𝑦) = 𝐶)))
5958baibd 539 . . . . . . . . . 10 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝑦 ∈ (𝐺 “ {𝐶}) ↔ (𝐺𝑦) = 𝐶))
6056, 59bitrd 278 . . . . . . . . 9 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝑦𝑆 ↔ (𝐺𝑦) = 𝐶))
6160biimpa 476 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ 𝑦𝑆) → (𝐺𝑦) = 𝐶)
62 iftrue 4462 . . . . . . . . 9 (𝑦𝑆 → if(𝑦𝑆, 𝐶, 𝐵) = 𝐶)
6362adantl 481 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ 𝑦𝑆) → if(𝑦𝑆, 𝐶, 𝐵) = 𝐶)
6461, 63eqtr4d 2781 . . . . . . 7 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ 𝑦𝑆) → (𝐺𝑦) = if(𝑦𝑆, 𝐶, 𝐵))
65 simprl 767 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺:𝐴⟶{𝐵, 𝐶})
6665ffvelrnda 6943 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝐺𝑦) ∈ {𝐵, 𝐶})
67 fvex 6769 . . . . . . . . . . . . . 14 (𝐺𝑦) ∈ V
6867elpr 4581 . . . . . . . . . . . . 13 ((𝐺𝑦) ∈ {𝐵, 𝐶} ↔ ((𝐺𝑦) = 𝐵 ∨ (𝐺𝑦) = 𝐶))
6966, 68sylib 217 . . . . . . . . . . . 12 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → ((𝐺𝑦) = 𝐵 ∨ (𝐺𝑦) = 𝐶))
7069ord 860 . . . . . . . . . . 11 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (¬ (𝐺𝑦) = 𝐵 → (𝐺𝑦) = 𝐶))
7170, 60sylibrd 258 . . . . . . . . . 10 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (¬ (𝐺𝑦) = 𝐵𝑦𝑆))
7271con1d 145 . . . . . . . . 9 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (¬ 𝑦𝑆 → (𝐺𝑦) = 𝐵))
7372imp 406 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝑆) → (𝐺𝑦) = 𝐵)
74 iffalse 4465 . . . . . . . . 9 𝑦𝑆 → if(𝑦𝑆, 𝐶, 𝐵) = 𝐵)
7574adantl 481 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝑆) → if(𝑦𝑆, 𝐶, 𝐵) = 𝐵)
7673, 75eqtr4d 2781 . . . . . . 7 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝑆) → (𝐺𝑦) = if(𝑦𝑆, 𝐶, 𝐵))
7764, 76pm2.61dan 809 . . . . . 6 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝐺𝑦) = if(𝑦𝑆, 𝐶, 𝐵))
7877mpteq2dva 5170 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝑦𝐴 ↦ (𝐺𝑦)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
7954, 78eqtrd 2778 . . . 4 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
8051, 79jca 511 . . 3 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))))
8145, 80impbida 797 . 2 (𝜑 → ((𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))) ↔ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))))
82 pw2f1o.1 . . . 4 (𝜑𝐴𝑉)
83 elpw2g 5263 . . . 4 (𝐴𝑉 → (𝑆 ∈ 𝒫 𝐴𝑆𝐴))
8482, 83syl 17 . . 3 (𝜑 → (𝑆 ∈ 𝒫 𝐴𝑆𝐴))
85 eleq1w 2821 . . . . . . 7 (𝑧 = 𝑦 → (𝑧𝑆𝑦𝑆))
8685ifbid 4479 . . . . . 6 (𝑧 = 𝑦 → if(𝑧𝑆, 𝐶, 𝐵) = if(𝑦𝑆, 𝐶, 𝐵))
8786cbvmptv 5183 . . . . 5 (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))
8887a1i 11 . . . 4 (𝜑 → (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
8988eqeq2d 2749 . . 3 (𝜑 → (𝐺 = (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵)) ↔ 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))))
9084, 89anbi12d 630 . 2 (𝜑 → ((𝑆 ∈ 𝒫 𝐴𝐺 = (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵))) ↔ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))))
91 prex 5350 . . . 4 {𝐵, 𝐶} ∈ V
92 elmapg 8586 . . . 4 (({𝐵, 𝐶} ∈ V ∧ 𝐴𝑉) → (𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ↔ 𝐺:𝐴⟶{𝐵, 𝐶}))
9391, 82, 92sylancr 586 . . 3 (𝜑 → (𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ↔ 𝐺:𝐴⟶{𝐵, 𝐶}))
9493anbi1d 629 . 2 (𝜑 → ((𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑆 = (𝐺 “ {𝐶})) ↔ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))))
9581, 90, 943bitr4d 310 1 (𝜑 → ((𝑆 ∈ 𝒫 𝐴𝐺 = (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵))) ↔ (𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑆 = (𝐺 “ {𝐶}))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  wss 3883  ifcif 4456  𝒫 cpw 4530  {csn 4558  {cpr 4560  cmpt 5153  ccnv 5579  dom cdm 5580  cima 5583   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  m cmap 8573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-map 8575
This theorem is referenced by:  pw2f1o  8817  sqff1o  26236
  Copyright terms: Public domain W3C validator