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

Theorem fpwwe 9468
Description: Given any function 𝐹 from the powerset of 𝐴 to 𝐴, canth2 8113 gives that the function is not injective, but we can say rather more than that. There is a unique well-ordered subset 𝑋, (𝑊𝑋)⟩ which "agrees" with 𝐹 in the sense that each initial segment maps to its upper bound, and such that the entire set maps to an element of the set (so that it cannot be extended without losing the well-ordering). This theorem can be used to prove dfac8a 8853. Theorem 1.1 of [KanamoriPincus] p. 415. (Contributed by Mario Carneiro, 18-May-2015.)
Hypotheses
Ref Expression
fpwwe.1 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
fpwwe.2 (𝜑𝐴 ∈ V)
fpwwe.3 ((𝜑𝑥 ∈ (𝒫 𝐴 ∩ dom card)) → (𝐹𝑥) ∈ 𝐴)
fpwwe.4 𝑋 = dom 𝑊
Assertion
Ref Expression
fpwwe (𝜑 → ((𝑌𝑊𝑅 ∧ (𝐹𝑌) ∈ 𝑌) ↔ (𝑌 = 𝑋𝑅 = (𝑊𝑋))))
Distinct variable groups:   𝑥,𝑟,𝐴   𝑦,𝑟,𝐹,𝑥   𝜑,𝑟,𝑥,𝑦   𝑅,𝑟,𝑥,𝑦   𝑋,𝑟,𝑥,𝑦   𝑌,𝑟,𝑥,𝑦   𝑊,𝑟,𝑥,𝑦
Allowed substitution hint:   𝐴(𝑦)

Proof of Theorem fpwwe
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 df-ov 6653 . . . . . 6 (𝑌(𝐹 ∘ 1st )𝑅) = ((𝐹 ∘ 1st )‘⟨𝑌, 𝑅⟩)
2 fo1st 7188 . . . . . . . 8 1st :V–onto→V
3 fofn 6117 . . . . . . . 8 (1st :V–onto→V → 1st Fn V)
42, 3ax-mp 5 . . . . . . 7 1st Fn V
5 opex 4932 . . . . . . 7 𝑌, 𝑅⟩ ∈ V
6 fvco2 6273 . . . . . . 7 ((1st Fn V ∧ ⟨𝑌, 𝑅⟩ ∈ V) → ((𝐹 ∘ 1st )‘⟨𝑌, 𝑅⟩) = (𝐹‘(1st ‘⟨𝑌, 𝑅⟩)))
74, 5, 6mp2an 708 . . . . . 6 ((𝐹 ∘ 1st )‘⟨𝑌, 𝑅⟩) = (𝐹‘(1st ‘⟨𝑌, 𝑅⟩))
81, 7eqtri 2644 . . . . 5 (𝑌(𝐹 ∘ 1st )𝑅) = (𝐹‘(1st ‘⟨𝑌, 𝑅⟩))
9 fpwwe.1 . . . . . . . 8 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
109bropaex12 5192 . . . . . . 7 (𝑌𝑊𝑅 → (𝑌 ∈ V ∧ 𝑅 ∈ V))
11 op1stg 7180 . . . . . . 7 ((𝑌 ∈ V ∧ 𝑅 ∈ V) → (1st ‘⟨𝑌, 𝑅⟩) = 𝑌)
1210, 11syl 17 . . . . . 6 (𝑌𝑊𝑅 → (1st ‘⟨𝑌, 𝑅⟩) = 𝑌)
1312fveq2d 6195 . . . . 5 (𝑌𝑊𝑅 → (𝐹‘(1st ‘⟨𝑌, 𝑅⟩)) = (𝐹𝑌))
148, 13syl5eq 2668 . . . 4 (𝑌𝑊𝑅 → (𝑌(𝐹 ∘ 1st )𝑅) = (𝐹𝑌))
1514eleq1d 2686 . . 3 (𝑌𝑊𝑅 → ((𝑌(𝐹 ∘ 1st )𝑅) ∈ 𝑌 ↔ (𝐹𝑌) ∈ 𝑌))
1615pm5.32i 669 . 2 ((𝑌𝑊𝑅 ∧ (𝑌(𝐹 ∘ 1st )𝑅) ∈ 𝑌) ↔ (𝑌𝑊𝑅 ∧ (𝐹𝑌) ∈ 𝑌))
17 vex 3203 . . . . . . . . . . 11 𝑟 ∈ V
1817cnvex 7113 . . . . . . . . . 10 𝑟 ∈ V
1918imaex 7104 . . . . . . . . 9 (𝑟 “ {𝑦}) ∈ V
20 vex 3203 . . . . . . . . . . . 12 𝑢 ∈ V
2117inex1 4799 . . . . . . . . . . . 12 (𝑟 ∩ (𝑢 × 𝑢)) ∈ V
2220, 21algrflem 7286 . . . . . . . . . . 11 (𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = (𝐹𝑢)
23 fveq2 6191 . . . . . . . . . . 11 (𝑢 = (𝑟 “ {𝑦}) → (𝐹𝑢) = (𝐹‘(𝑟 “ {𝑦})))
2422, 23syl5eq 2668 . . . . . . . . . 10 (𝑢 = (𝑟 “ {𝑦}) → (𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = (𝐹‘(𝑟 “ {𝑦})))
2524eqeq1d 2624 . . . . . . . . 9 (𝑢 = (𝑟 “ {𝑦}) → ((𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦 ↔ (𝐹‘(𝑟 “ {𝑦})) = 𝑦))
2619, 25sbcie 3470 . . . . . . . 8 ([(𝑟 “ {𝑦}) / 𝑢](𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦 ↔ (𝐹‘(𝑟 “ {𝑦})) = 𝑦)
2726ralbii 2980 . . . . . . 7 (∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦 ↔ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦)
2827anbi2i 730 . . . . . 6 ((𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦) ↔ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))
2928anbi2i 730 . . . . 5 (((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦)) ↔ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦)))
3029opabbii 4717 . . . 4 {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦))} = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
319, 30eqtr4i 2647 . . 3 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢(𝐹 ∘ 1st )(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦))}
32 fpwwe.2 . . 3 (𝜑𝐴 ∈ V)
33 vex 3203 . . . . 5 𝑥 ∈ V
3433, 17algrflem 7286 . . . 4 (𝑥(𝐹 ∘ 1st )𝑟) = (𝐹𝑥)
35 simp1 1061 . . . . . . 7 ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) → 𝑥𝐴)
36 selpw 4165 . . . . . . 7 (𝑥 ∈ 𝒫 𝐴𝑥𝐴)
3735, 36sylibr 224 . . . . . 6 ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) → 𝑥 ∈ 𝒫 𝐴)
38 19.8a 2052 . . . . . . . 8 (𝑟 We 𝑥 → ∃𝑟 𝑟 We 𝑥)
39383ad2ant3 1084 . . . . . . 7 ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) → ∃𝑟 𝑟 We 𝑥)
40 ween 8858 . . . . . . 7 (𝑥 ∈ dom card ↔ ∃𝑟 𝑟 We 𝑥)
4139, 40sylibr 224 . . . . . 6 ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) → 𝑥 ∈ dom card)
4237, 41elind 3798 . . . . 5 ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) → 𝑥 ∈ (𝒫 𝐴 ∩ dom card))
43 fpwwe.3 . . . . 5 ((𝜑𝑥 ∈ (𝒫 𝐴 ∩ dom card)) → (𝐹𝑥) ∈ 𝐴)
4442, 43sylan2 491 . . . 4 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝐹𝑥) ∈ 𝐴)
4534, 44syl5eqel 2705 . . 3 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥(𝐹 ∘ 1st )𝑟) ∈ 𝐴)
46 fpwwe.4 . . 3 𝑋 = dom 𝑊
4731, 32, 45, 46fpwwe2 9465 . 2 (𝜑 → ((𝑌𝑊𝑅 ∧ (𝑌(𝐹 ∘ 1st )𝑅) ∈ 𝑌) ↔ (𝑌 = 𝑋𝑅 = (𝑊𝑋))))
4816, 47syl5bbr 274 1 (𝜑 → ((𝑌𝑊𝑅 ∧ (𝐹𝑌) ∈ 𝑌) ↔ (𝑌 = 𝑋𝑅 = (𝑊𝑋))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1037   = wceq 1483  wex 1704  wcel 1990  wral 2912  Vcvv 3200  [wsbc 3435  cin 3573  wss 3574  𝒫 cpw 4158  {csn 4177  cop 4183   cuni 4436   class class class wbr 4653  {copab 4712   We wwe 5072   × cxp 5112  ccnv 5113  dom cdm 5114  cima 5117  ccom 5118   Fn wfn 5883  ontowfo 5886  cfv 5888  (class class class)co 6650  1st c1st 7166  cardccrd 8761
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-pss 3590  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-tp 4182  df-op 4184  df-uni 4437  df-int 4476  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-tr 4753  df-id 5024  df-eprel 5029  df-po 5035  df-so 5036  df-fr 5073  df-se 5074  df-we 5075  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-pred 5680  df-ord 5726  df-on 5727  df-lim 5728  df-suc 5729  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-isom 5897  df-riota 6611  df-ov 6653  df-1st 7168  df-wrecs 7407  df-recs 7468  df-en 7956  df-oi 8415  df-card 8765
This theorem is referenced by:  canth4  9469  canthnumlem  9470  canthp1lem2  9475
  Copyright terms: Public domain W3C validator