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

Theorem pw2f1olem 8863
Description: Lemma for pw2f1o 8864. (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 4697 . . . . . . . . . 10 (𝐶𝑊𝐶 ∈ {𝐵, 𝐶})
31, 2syl 17 . . . . . . . . 9 (𝜑𝐶 ∈ {𝐵, 𝐶})
4 pw2f1o.2 . . . . . . . . . 10 (𝜑𝐵𝑊)
5 prid1g 4696 . . . . . . . . . 10 (𝐵𝑊𝐵 ∈ {𝐵, 𝐶})
64, 5syl 17 . . . . . . . . 9 (𝜑𝐵 ∈ {𝐵, 𝐶})
73, 6ifcld 4505 . . . . . . . 8 (𝜑 → if(𝑦𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
87adantr 481 . . . . . . 7 ((𝜑𝑦𝐴) → if(𝑦𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
98fmpttd 6989 . . . . . 6 (𝜑 → (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)):𝐴⟶{𝐵, 𝐶})
109adantr 481 . . . . 5 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)):𝐴⟶{𝐵, 𝐶})
11 simprr 770 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
1211feq1d 6585 . . . . 5 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝐺:𝐴⟶{𝐵, 𝐶} ↔ (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)):𝐴⟶{𝐵, 𝐶}))
1310, 12mpbird 256 . . . 4 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝐺:𝐴⟶{𝐵, 𝐶})
14 iftrue 4465 . . . . . . . . 9 (𝑥𝑆 → if(𝑥𝑆, 𝐶, 𝐵) = 𝐶)
15 pw2f1o.4 . . . . . . . . . . . 12 (𝜑𝐵𝐶)
1615ad2antrr 723 . . . . . . . . . . 11 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → 𝐵𝐶)
17 iffalse 4468 . . . . . . . . . . . 12 𝑥𝑆 → if(𝑥𝑆, 𝐶, 𝐵) = 𝐵)
1817neeq1d 3003 . . . . . . . . . . 11 𝑥𝑆 → (if(𝑥𝑆, 𝐶, 𝐵) ≠ 𝐶𝐵𝐶))
1916, 18syl5ibrcom 246 . . . . . . . . . 10 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (¬ 𝑥𝑆 → if(𝑥𝑆, 𝐶, 𝐵) ≠ 𝐶))
2019necon4bd 2963 . . . . . . . . 9 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (if(𝑥𝑆, 𝐶, 𝐵) = 𝐶𝑥𝑆))
2114, 20impbid2 225 . . . . . . . 8 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝑥𝑆 ↔ if(𝑥𝑆, 𝐶, 𝐵) = 𝐶))
22 simplrr 775 . . . . . . . . . . 11 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
2322fveq1d 6776 . . . . . . . . . 10 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝐺𝑥) = ((𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))‘𝑥))
24 id 22 . . . . . . . . . . 11 (𝑥𝐴𝑥𝐴)
253, 6ifcld 4505 . . . . . . . . . . . 12 (𝜑 → if(𝑥𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
2625adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → if(𝑥𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶})
27 eleq1w 2821 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → (𝑦𝑆𝑥𝑆))
2827ifbid 4482 . . . . . . . . . . . 12 (𝑦 = 𝑥 → if(𝑦𝑆, 𝐶, 𝐵) = if(𝑥𝑆, 𝐶, 𝐵))
29 eqid 2738 . . . . . . . . . . . 12 (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))
3028, 29fvmptg 6873 . . . . . . . . . . 11 ((𝑥𝐴 ∧ if(𝑥𝑆, 𝐶, 𝐵) ∈ {𝐵, 𝐶}) → ((𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))‘𝑥) = if(𝑥𝑆, 𝐶, 𝐵))
3124, 26, 30syl2anr 597 . . . . . . . . . 10 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → ((𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))‘𝑥) = if(𝑥𝑆, 𝐶, 𝐵))
3223, 31eqtrd 2778 . . . . . . . . 9 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝐺𝑥) = if(𝑥𝑆, 𝐶, 𝐵))
3332eqeq1d 2740 . . . . . . . 8 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → ((𝐺𝑥) = 𝐶 ↔ if(𝑥𝑆, 𝐶, 𝐵) = 𝐶))
3421, 33bitr4d 281 . . . . . . 7 (((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) ∧ 𝑥𝐴) → (𝑥𝑆 ↔ (𝐺𝑥) = 𝐶))
3534pm5.32da 579 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → ((𝑥𝐴𝑥𝑆) ↔ (𝑥𝐴 ∧ (𝐺𝑥) = 𝐶)))
36 simprl 768 . . . . . . . 8 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝑆𝐴)
3736sseld 3920 . . . . . . 7 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥𝑆𝑥𝐴))
3837pm4.71rd 563 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥𝑆 ↔ (𝑥𝐴𝑥𝑆)))
39 ffn 6600 . . . . . . . 8 (𝐺:𝐴⟶{𝐵, 𝐶} → 𝐺 Fn 𝐴)
4013, 39syl 17 . . . . . . 7 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝐺 Fn 𝐴)
41 fniniseg 6937 . . . . . . 7 (𝐺 Fn 𝐴 → (𝑥 ∈ (𝐺 “ {𝐶}) ↔ (𝑥𝐴 ∧ (𝐺𝑥) = 𝐶)))
4240, 41syl 17 . . . . . 6 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥 ∈ (𝐺 “ {𝐶}) ↔ (𝑥𝐴 ∧ (𝐺𝑥) = 𝐶)))
4335, 38, 423bitr4d 311 . . . . 5 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝑥𝑆𝑥 ∈ (𝐺 “ {𝐶})))
4443eqrdv 2736 . . . 4 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → 𝑆 = (𝐺 “ {𝐶}))
4513, 44jca 512 . . 3 ((𝜑 ∧ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))) → (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶})))
46 simprr 770 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝑆 = (𝐺 “ {𝐶}))
47 cnvimass 5989 . . . . . 6 (𝐺 “ {𝐶}) ⊆ dom 𝐺
48 fdm 6609 . . . . . . 7 (𝐺:𝐴⟶{𝐵, 𝐶} → dom 𝐺 = 𝐴)
4948ad2antrl 725 . . . . . 6 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → dom 𝐺 = 𝐴)
5047, 49sseqtrid 3973 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝐺 “ {𝐶}) ⊆ 𝐴)
5146, 50eqsstrd 3959 . . . 4 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝑆𝐴)
5239ad2antrl 725 . . . . . 6 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺 Fn 𝐴)
53 dffn5 6828 . . . . . 6 (𝐺 Fn 𝐴𝐺 = (𝑦𝐴 ↦ (𝐺𝑦)))
5452, 53sylib 217 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺 = (𝑦𝐴 ↦ (𝐺𝑦)))
55 simplrr 775 . . . . . . . . . . 11 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → 𝑆 = (𝐺 “ {𝐶}))
5655eleq2d 2824 . . . . . . . . . 10 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝑦𝑆𝑦 ∈ (𝐺 “ {𝐶})))
57 fniniseg 6937 . . . . . . . . . . . 12 (𝐺 Fn 𝐴 → (𝑦 ∈ (𝐺 “ {𝐶}) ↔ (𝑦𝐴 ∧ (𝐺𝑦) = 𝐶)))
5852, 57syl 17 . . . . . . . . . . 11 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝑦 ∈ (𝐺 “ {𝐶}) ↔ (𝑦𝐴 ∧ (𝐺𝑦) = 𝐶)))
5958baibd 540 . . . . . . . . . 10 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝑦 ∈ (𝐺 “ {𝐶}) ↔ (𝐺𝑦) = 𝐶))
6056, 59bitrd 278 . . . . . . . . 9 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝑦𝑆 ↔ (𝐺𝑦) = 𝐶))
6160biimpa 477 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ 𝑦𝑆) → (𝐺𝑦) = 𝐶)
62 iftrue 4465 . . . . . . . . 9 (𝑦𝑆 → if(𝑦𝑆, 𝐶, 𝐵) = 𝐶)
6362adantl 482 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ 𝑦𝑆) → if(𝑦𝑆, 𝐶, 𝐵) = 𝐶)
6461, 63eqtr4d 2781 . . . . . . 7 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ 𝑦𝑆) → (𝐺𝑦) = if(𝑦𝑆, 𝐶, 𝐵))
65 simprl 768 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺:𝐴⟶{𝐵, 𝐶})
6665ffvelrnda 6961 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝐺𝑦) ∈ {𝐵, 𝐶})
67 fvex 6787 . . . . . . . . . . . . . 14 (𝐺𝑦) ∈ V
6867elpr 4584 . . . . . . . . . . . . 13 ((𝐺𝑦) ∈ {𝐵, 𝐶} ↔ ((𝐺𝑦) = 𝐵 ∨ (𝐺𝑦) = 𝐶))
6966, 68sylib 217 . . . . . . . . . . . 12 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → ((𝐺𝑦) = 𝐵 ∨ (𝐺𝑦) = 𝐶))
7069ord 861 . . . . . . . . . . 11 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (¬ (𝐺𝑦) = 𝐵 → (𝐺𝑦) = 𝐶))
7170, 60sylibrd 258 . . . . . . . . . 10 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (¬ (𝐺𝑦) = 𝐵𝑦𝑆))
7271con1d 145 . . . . . . . . 9 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (¬ 𝑦𝑆 → (𝐺𝑦) = 𝐵))
7372imp 407 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝑆) → (𝐺𝑦) = 𝐵)
74 iffalse 4468 . . . . . . . . 9 𝑦𝑆 → if(𝑦𝑆, 𝐶, 𝐵) = 𝐵)
7574adantl 482 . . . . . . . 8 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝑆) → if(𝑦𝑆, 𝐶, 𝐵) = 𝐵)
7673, 75eqtr4d 2781 . . . . . . 7 ((((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝑆) → (𝐺𝑦) = if(𝑦𝑆, 𝐶, 𝐵))
7764, 76pm2.61dan 810 . . . . . 6 (((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) ∧ 𝑦𝐴) → (𝐺𝑦) = if(𝑦𝑆, 𝐶, 𝐵))
7877mpteq2dva 5174 . . . . 5 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝑦𝐴 ↦ (𝐺𝑦)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
7954, 78eqtrd 2778 . . . 4 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
8051, 79jca 512 . . 3 ((𝜑 ∧ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))) → (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))))
8145, 80impbida 798 . 2 (𝜑 → ((𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))) ↔ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))))
82 pw2f1o.1 . . . 4 (𝜑𝐴𝑉)
83 elpw2g 5268 . . . 4 (𝐴𝑉 → (𝑆 ∈ 𝒫 𝐴𝑆𝐴))
8482, 83syl 17 . . 3 (𝜑 → (𝑆 ∈ 𝒫 𝐴𝑆𝐴))
85 eleq1w 2821 . . . . . . 7 (𝑧 = 𝑦 → (𝑧𝑆𝑦𝑆))
8685ifbid 4482 . . . . . 6 (𝑧 = 𝑦 → if(𝑧𝑆, 𝐶, 𝐵) = if(𝑦𝑆, 𝐶, 𝐵))
8786cbvmptv 5187 . . . . 5 (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))
8887a1i 11 . . . 4 (𝜑 → (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵)) = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))
8988eqeq2d 2749 . . 3 (𝜑 → (𝐺 = (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵)) ↔ 𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵))))
9084, 89anbi12d 631 . 2 (𝜑 → ((𝑆 ∈ 𝒫 𝐴𝐺 = (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵))) ↔ (𝑆𝐴𝐺 = (𝑦𝐴 ↦ if(𝑦𝑆, 𝐶, 𝐵)))))
91 prex 5355 . . . 4 {𝐵, 𝐶} ∈ V
92 elmapg 8628 . . . 4 (({𝐵, 𝐶} ∈ V ∧ 𝐴𝑉) → (𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ↔ 𝐺:𝐴⟶{𝐵, 𝐶}))
9391, 82, 92sylancr 587 . . 3 (𝜑 → (𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ↔ 𝐺:𝐴⟶{𝐵, 𝐶}))
9493anbi1d 630 . 2 (𝜑 → ((𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑆 = (𝐺 “ {𝐶})) ↔ (𝐺:𝐴⟶{𝐵, 𝐶} ∧ 𝑆 = (𝐺 “ {𝐶}))))
9581, 90, 943bitr4d 311 1 (𝜑 → ((𝑆 ∈ 𝒫 𝐴𝐺 = (𝑧𝐴 ↦ if(𝑧𝑆, 𝐶, 𝐵))) ↔ (𝐺 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑆 = (𝐺 “ {𝐶}))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wne 2943  Vcvv 3432  wss 3887  ifcif 4459  𝒫 cpw 4533  {csn 4561  {cpr 4563  cmpt 5157  ccnv 5588  dom cdm 5589  cima 5592   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275  m cmap 8615
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-map 8617
This theorem is referenced by:  pw2f1o  8864  sqff1o  26331
  Copyright terms: Public domain W3C validator