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

Theorem fpwwe2 10330
Description: Given any function 𝐹 from well-orderings of subsets of 𝐴 to 𝐴, 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 9717. Theorem 1.1 of [KanamoriPincus] p. 415. (Contributed by Mario Carneiro, 18-May-2015.) (Revised by AV, 20-Jul-2024.)
Hypotheses
Ref Expression
fpwwe2.1 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢𝐹(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦))}
fpwwe2.2 (𝜑𝐴𝑉)
fpwwe2.3 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
fpwwe2.4 𝑋 = dom 𝑊
Assertion
Ref Expression
fpwwe2 (𝜑 → ((𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌) ↔ (𝑌 = 𝑋𝑅 = (𝑊𝑋))))
Distinct variable groups:   𝑦,𝑢,𝑟,𝑥,𝐹   𝑋,𝑟,𝑢,𝑥,𝑦   𝜑,𝑟,𝑢,𝑥,𝑦   𝐴,𝑟,𝑥   𝑅,𝑟,𝑢,𝑥,𝑦   𝑌,𝑟,𝑢,𝑥,𝑦   𝑊,𝑟,𝑢,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑦,𝑢)   𝑉(𝑥,𝑦,𝑢,𝑟)

Proof of Theorem fpwwe2
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fpwwe2.1 . . . . . . . . . . 11 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢𝐹(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦))}
2 fpwwe2.2 . . . . . . . . . . 11 (𝜑𝐴𝑉)
3 fpwwe2.3 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
4 fpwwe2.4 . . . . . . . . . . 11 𝑋 = dom 𝑊
51, 2, 3, 4fpwwe2lem10 10327 . . . . . . . . . 10 (𝜑𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋))
65ffund 6588 . . . . . . . . 9 (𝜑 → Fun 𝑊)
7 funbrfv2b 6809 . . . . . . . . 9 (Fun 𝑊 → (𝑌𝑊𝑅 ↔ (𝑌 ∈ dom 𝑊 ∧ (𝑊𝑌) = 𝑅)))
86, 7syl 17 . . . . . . . 8 (𝜑 → (𝑌𝑊𝑅 ↔ (𝑌 ∈ dom 𝑊 ∧ (𝑊𝑌) = 𝑅)))
98simprbda 498 . . . . . . 7 ((𝜑𝑌𝑊𝑅) → 𝑌 ∈ dom 𝑊)
109adantrr 713 . . . . . 6 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑌 ∈ dom 𝑊)
11 elssuni 4868 . . . . . . 7 (𝑌 ∈ dom 𝑊𝑌 dom 𝑊)
1211, 4sseqtrrdi 3968 . . . . . 6 (𝑌 ∈ dom 𝑊𝑌𝑋)
1310, 12syl 17 . . . . 5 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑌𝑋)
14 simpl 482 . . . . . . 7 ((𝑋𝑌 ∧ (𝑊𝑋) = (𝑅 ∩ (𝑌 × 𝑋))) → 𝑋𝑌)
1514a1i 11 . . . . . 6 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → ((𝑋𝑌 ∧ (𝑊𝑋) = (𝑅 ∩ (𝑌 × 𝑋))) → 𝑋𝑌))
16 simplrr 774 . . . . . . . . 9 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑌𝐹𝑅) ∈ 𝑌)
172adantr 480 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝐴𝑉)
1817adantr 480 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → 𝐴𝑉)
191, 2, 3, 4fpwwe2lem11 10328 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑋 ∈ dom 𝑊)
20 funfvbrb 6910 . . . . . . . . . . . . . . . . . . . 20 (Fun 𝑊 → (𝑋 ∈ dom 𝑊𝑋𝑊(𝑊𝑋)))
216, 20syl 17 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝑋 ∈ dom 𝑊𝑋𝑊(𝑊𝑋)))
2219, 21mpbid 231 . . . . . . . . . . . . . . . . . 18 (𝜑𝑋𝑊(𝑊𝑋))
231, 2fpwwe2lem2 10319 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝑋𝑊(𝑊𝑋) ↔ ((𝑋𝐴 ∧ (𝑊𝑋) ⊆ (𝑋 × 𝑋)) ∧ ((𝑊𝑋) We 𝑋 ∧ ∀𝑦𝑋 [((𝑊𝑋) “ {𝑦}) / 𝑢](𝑢𝐹((𝑊𝑋) ∩ (𝑢 × 𝑢))) = 𝑦))))
2422, 23mpbid 231 . . . . . . . . . . . . . . . . 17 (𝜑 → ((𝑋𝐴 ∧ (𝑊𝑋) ⊆ (𝑋 × 𝑋)) ∧ ((𝑊𝑋) We 𝑋 ∧ ∀𝑦𝑋 [((𝑊𝑋) “ {𝑦}) / 𝑢](𝑢𝐹((𝑊𝑋) ∩ (𝑢 × 𝑢))) = 𝑦)))
2524ad2antrr 722 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → ((𝑋𝐴 ∧ (𝑊𝑋) ⊆ (𝑋 × 𝑋)) ∧ ((𝑊𝑋) We 𝑋 ∧ ∀𝑦𝑋 [((𝑊𝑋) “ {𝑦}) / 𝑢](𝑢𝐹((𝑊𝑋) ∩ (𝑢 × 𝑢))) = 𝑦)))
2625simpld 494 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑋𝐴 ∧ (𝑊𝑋) ⊆ (𝑋 × 𝑋)))
2726simpld 494 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → 𝑋𝐴)
2818, 27ssexd 5243 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → 𝑋 ∈ V)
2928difexd 5248 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑋𝑌) ∈ V)
3025simprd 495 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → ((𝑊𝑋) We 𝑋 ∧ ∀𝑦𝑋 [((𝑊𝑋) “ {𝑦}) / 𝑢](𝑢𝐹((𝑊𝑋) ∩ (𝑢 × 𝑢))) = 𝑦))
3130simpld 494 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑊𝑋) We 𝑋)
32 wefr 5570 . . . . . . . . . . . . 13 ((𝑊𝑋) We 𝑋 → (𝑊𝑋) Fr 𝑋)
3331, 32syl 17 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑊𝑋) Fr 𝑋)
34 difssd 4063 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑋𝑌) ⊆ 𝑋)
35 fri 5540 . . . . . . . . . . . . 13 ((((𝑋𝑌) ∈ V ∧ (𝑊𝑋) Fr 𝑋) ∧ ((𝑋𝑌) ⊆ 𝑋 ∧ (𝑋𝑌) ≠ ∅)) → ∃𝑧 ∈ (𝑋𝑌)∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧)
3635expr 456 . . . . . . . . . . . 12 ((((𝑋𝑌) ∈ V ∧ (𝑊𝑋) Fr 𝑋) ∧ (𝑋𝑌) ⊆ 𝑋) → ((𝑋𝑌) ≠ ∅ → ∃𝑧 ∈ (𝑋𝑌)∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧))
3729, 33, 34, 36syl21anc 834 . . . . . . . . . . 11 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → ((𝑋𝑌) ≠ ∅ → ∃𝑧 ∈ (𝑋𝑌)∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧))
38 ssdif0 4294 . . . . . . . . . . . . . . 15 ((𝑋 ∩ ((𝑊𝑋) “ {𝑧})) ⊆ 𝑌 ↔ ((𝑋 ∩ ((𝑊𝑋) “ {𝑧})) ∖ 𝑌) = ∅)
39 indif1 4202 . . . . . . . . . . . . . . . 16 ((𝑋𝑌) ∩ ((𝑊𝑋) “ {𝑧})) = ((𝑋 ∩ ((𝑊𝑋) “ {𝑧})) ∖ 𝑌)
4039eqeq1i 2743 . . . . . . . . . . . . . . 15 (((𝑋𝑌) ∩ ((𝑊𝑋) “ {𝑧})) = ∅ ↔ ((𝑋 ∩ ((𝑊𝑋) “ {𝑧})) ∖ 𝑌) = ∅)
41 disj 4378 . . . . . . . . . . . . . . . 16 (((𝑋𝑌) ∩ ((𝑊𝑋) “ {𝑧})) = ∅ ↔ ∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤 ∈ ((𝑊𝑋) “ {𝑧}))
42 vex 3426 . . . . . . . . . . . . . . . . . . . 20 𝑤 ∈ V
4342eliniseg 5991 . . . . . . . . . . . . . . . . . . 19 (𝑧 ∈ V → (𝑤 ∈ ((𝑊𝑋) “ {𝑧}) ↔ 𝑤(𝑊𝑋)𝑧))
4443elv 3428 . . . . . . . . . . . . . . . . . 18 (𝑤 ∈ ((𝑊𝑋) “ {𝑧}) ↔ 𝑤(𝑊𝑋)𝑧)
4544notbii 319 . . . . . . . . . . . . . . . . 17 𝑤 ∈ ((𝑊𝑋) “ {𝑧}) ↔ ¬ 𝑤(𝑊𝑋)𝑧)
4645ralbii 3090 . . . . . . . . . . . . . . . 16 (∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤 ∈ ((𝑊𝑋) “ {𝑧}) ↔ ∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧)
4741, 46bitri 274 . . . . . . . . . . . . . . 15 (((𝑋𝑌) ∩ ((𝑊𝑋) “ {𝑧})) = ∅ ↔ ∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧)
4838, 40, 473bitr2i 298 . . . . . . . . . . . . . 14 ((𝑋 ∩ ((𝑊𝑋) “ {𝑧})) ⊆ 𝑌 ↔ ∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧)
49 cnvimass 5978 . . . . . . . . . . . . . . . . 17 ((𝑊𝑋) “ {𝑧}) ⊆ dom (𝑊𝑋)
5026simprd 495 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑊𝑋) ⊆ (𝑋 × 𝑋))
51 dmss 5800 . . . . . . . . . . . . . . . . . . 19 ((𝑊𝑋) ⊆ (𝑋 × 𝑋) → dom (𝑊𝑋) ⊆ dom (𝑋 × 𝑋))
5250, 51syl 17 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → dom (𝑊𝑋) ⊆ dom (𝑋 × 𝑋))
53 dmxpid 5828 . . . . . . . . . . . . . . . . . 18 dom (𝑋 × 𝑋) = 𝑋
5452, 53sseqtrdi 3967 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → dom (𝑊𝑋) ⊆ 𝑋)
5549, 54sstrid 3928 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → ((𝑊𝑋) “ {𝑧}) ⊆ 𝑋)
56 sseqin2 4146 . . . . . . . . . . . . . . . 16 (((𝑊𝑋) “ {𝑧}) ⊆ 𝑋 ↔ (𝑋 ∩ ((𝑊𝑋) “ {𝑧})) = ((𝑊𝑋) “ {𝑧}))
5755, 56sylib 217 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑋 ∩ ((𝑊𝑋) “ {𝑧})) = ((𝑊𝑋) “ {𝑧}))
5857sseq1d 3948 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → ((𝑋 ∩ ((𝑊𝑋) “ {𝑧})) ⊆ 𝑌 ↔ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌))
5948, 58bitr3id 284 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧 ↔ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌))
6059rexbidv 3225 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (∃𝑧 ∈ (𝑋𝑌)∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧 ↔ ∃𝑧 ∈ (𝑋𝑌)((𝑊𝑋) “ {𝑧}) ⊆ 𝑌))
61 eldifn 4058 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 ∈ (𝑋𝑌) → ¬ 𝑧𝑌)
6261ad2antrl 724 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → ¬ 𝑧𝑌)
63 eleq1w 2821 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑤 = 𝑧 → (𝑤𝑌𝑧𝑌))
6463notbid 317 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑤 = 𝑧 → (¬ 𝑤𝑌 ↔ ¬ 𝑧𝑌))
6562, 64syl5ibrcom 246 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑤 = 𝑧 → ¬ 𝑤𝑌))
6665con2d 134 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑤𝑌 → ¬ 𝑤 = 𝑧))
6766imp 406 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → ¬ 𝑤 = 𝑧)
6862adantr 480 . . . . . . . . . . . . . . . . . . . . . 22 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → ¬ 𝑧𝑌)
69 simprr 769 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → 𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))
7069ad2antrr 722 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))
7170breqd 5081 . . . . . . . . . . . . . . . . . . . . . . . 24 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑧𝑅𝑤𝑧((𝑊𝑋) ∩ (𝑋 × 𝑌))𝑤))
72 eldifi 4057 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑧 ∈ (𝑋𝑌) → 𝑧𝑋)
7372ad2antrl 724 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑧𝑋)
7473adantr 480 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑧𝑋)
75 simpr 484 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑤𝑌)
76 brxp 5627 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧(𝑋 × 𝑌)𝑤 ↔ (𝑧𝑋𝑤𝑌))
7774, 75, 76sylanbrc 582 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑧(𝑋 × 𝑌)𝑤)
78 brin 5122 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧((𝑊𝑋) ∩ (𝑋 × 𝑌))𝑤 ↔ (𝑧(𝑊𝑋)𝑤𝑧(𝑋 × 𝑌)𝑤))
7978rbaib 538 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧(𝑋 × 𝑌)𝑤 → (𝑧((𝑊𝑋) ∩ (𝑋 × 𝑌))𝑤𝑧(𝑊𝑋)𝑤))
8077, 79syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑧((𝑊𝑋) ∩ (𝑋 × 𝑌))𝑤𝑧(𝑊𝑋)𝑤))
8171, 80bitrd 278 . . . . . . . . . . . . . . . . . . . . . . 23 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑧𝑅𝑤𝑧(𝑊𝑋)𝑤))
821, 2fpwwe2lem2 10319 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝜑 → (𝑌𝑊𝑅 ↔ ((𝑌𝐴𝑅 ⊆ (𝑌 × 𝑌)) ∧ (𝑅 We 𝑌 ∧ ∀𝑦𝑌 [(𝑅 “ {𝑦}) / 𝑢](𝑢𝐹(𝑅 ∩ (𝑢 × 𝑢))) = 𝑦))))
8382biimpa 476 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((𝜑𝑌𝑊𝑅) → ((𝑌𝐴𝑅 ⊆ (𝑌 × 𝑌)) ∧ (𝑅 We 𝑌 ∧ ∀𝑦𝑌 [(𝑅 “ {𝑦}) / 𝑢](𝑢𝐹(𝑅 ∩ (𝑢 × 𝑢))) = 𝑦)))
8483adantrr 713 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → ((𝑌𝐴𝑅 ⊆ (𝑌 × 𝑌)) ∧ (𝑅 We 𝑌 ∧ ∀𝑦𝑌 [(𝑅 “ {𝑦}) / 𝑢](𝑢𝐹(𝑅 ∩ (𝑢 × 𝑢))) = 𝑦)))
8584simpld 494 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → (𝑌𝐴𝑅 ⊆ (𝑌 × 𝑌)))
8685simprd 495 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑅 ⊆ (𝑌 × 𝑌))
8786ad5ant12 752 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑅 ⊆ (𝑌 × 𝑌))
8887ssbrd 5113 . . . . . . . . . . . . . . . . . . . . . . . 24 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑧𝑅𝑤𝑧(𝑌 × 𝑌)𝑤))
89 brxp 5627 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧(𝑌 × 𝑌)𝑤 ↔ (𝑧𝑌𝑤𝑌))
9089simplbi 497 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑧(𝑌 × 𝑌)𝑤𝑧𝑌)
9188, 90syl6 35 . . . . . . . . . . . . . . . . . . . . . . 23 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑧𝑅𝑤𝑧𝑌))
9281, 91sylbird 259 . . . . . . . . . . . . . . . . . . . . . 22 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑧(𝑊𝑋)𝑤𝑧𝑌))
9368, 92mtod 197 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → ¬ 𝑧(𝑊𝑋)𝑤)
9431ad2antrr 722 . . . . . . . . . . . . . . . . . . . . . . 23 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑊𝑋) We 𝑋)
95 weso 5571 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑊𝑋) We 𝑋 → (𝑊𝑋) Or 𝑋)
9694, 95syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑊𝑋) Or 𝑋)
9713ad2antrr 722 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑌𝑋)
9897sselda 3917 . . . . . . . . . . . . . . . . . . . . . 22 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑤𝑋)
99 sotric 5522 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑊𝑋) Or 𝑋 ∧ (𝑤𝑋𝑧𝑋)) → (𝑤(𝑊𝑋)𝑧 ↔ ¬ (𝑤 = 𝑧𝑧(𝑊𝑋)𝑤)))
100 ioran 980 . . . . . . . . . . . . . . . . . . . . . . 23 (¬ (𝑤 = 𝑧𝑧(𝑊𝑋)𝑤) ↔ (¬ 𝑤 = 𝑧 ∧ ¬ 𝑧(𝑊𝑋)𝑤))
10199, 100bitrdi 286 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑊𝑋) Or 𝑋 ∧ (𝑤𝑋𝑧𝑋)) → (𝑤(𝑊𝑋)𝑧 ↔ (¬ 𝑤 = 𝑧 ∧ ¬ 𝑧(𝑊𝑋)𝑤)))
10296, 98, 74, 101syl12anc 833 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → (𝑤(𝑊𝑋)𝑧 ↔ (¬ 𝑤 = 𝑧 ∧ ¬ 𝑧(𝑊𝑋)𝑤)))
10367, 93, 102mpbir2and 709 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑤(𝑊𝑋)𝑧)
104103, 44sylibr 233 . . . . . . . . . . . . . . . . . . 19 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑤𝑌) → 𝑤 ∈ ((𝑊𝑋) “ {𝑧}))
105104ex 412 . . . . . . . . . . . . . . . . . 18 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑤𝑌𝑤 ∈ ((𝑊𝑋) “ {𝑧})))
106105ssrdv 3923 . . . . . . . . . . . . . . . . 17 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑌 ⊆ ((𝑊𝑋) “ {𝑧}))
107 simprr 769 . . . . . . . . . . . . . . . . 17 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)
108106, 107eqssd 3934 . . . . . . . . . . . . . . . 16 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑌 = ((𝑊𝑋) “ {𝑧}))
109 in32 4152 . . . . . . . . . . . . . . . . . 18 (((𝑊𝑋) ∩ (𝑋 × 𝑌)) ∩ (𝑌 × 𝑌)) = (((𝑊𝑋) ∩ (𝑌 × 𝑌)) ∩ (𝑋 × 𝑌))
110 simplrr 774 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))
111110ineq1d 4142 . . . . . . . . . . . . . . . . . . 19 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑅 ∩ (𝑌 × 𝑌)) = (((𝑊𝑋) ∩ (𝑋 × 𝑌)) ∩ (𝑌 × 𝑌)))
11286ad2antrr 722 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑅 ⊆ (𝑌 × 𝑌))
113 df-ss 3900 . . . . . . . . . . . . . . . . . . . 20 (𝑅 ⊆ (𝑌 × 𝑌) ↔ (𝑅 ∩ (𝑌 × 𝑌)) = 𝑅)
114112, 113sylib 217 . . . . . . . . . . . . . . . . . . 19 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑅 ∩ (𝑌 × 𝑌)) = 𝑅)
115111, 114eqtr3d 2780 . . . . . . . . . . . . . . . . . 18 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (((𝑊𝑋) ∩ (𝑋 × 𝑌)) ∩ (𝑌 × 𝑌)) = 𝑅)
116 inss2 4160 . . . . . . . . . . . . . . . . . . . 20 ((𝑊𝑋) ∩ (𝑌 × 𝑌)) ⊆ (𝑌 × 𝑌)
117 xpss1 5599 . . . . . . . . . . . . . . . . . . . . 21 (𝑌𝑋 → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑌))
11897, 117syl 17 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑌))
119116, 118sstrid 3928 . . . . . . . . . . . . . . . . . . 19 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → ((𝑊𝑋) ∩ (𝑌 × 𝑌)) ⊆ (𝑋 × 𝑌))
120 df-ss 3900 . . . . . . . . . . . . . . . . . . 19 (((𝑊𝑋) ∩ (𝑌 × 𝑌)) ⊆ (𝑋 × 𝑌) ↔ (((𝑊𝑋) ∩ (𝑌 × 𝑌)) ∩ (𝑋 × 𝑌)) = ((𝑊𝑋) ∩ (𝑌 × 𝑌)))
121119, 120sylib 217 . . . . . . . . . . . . . . . . . 18 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (((𝑊𝑋) ∩ (𝑌 × 𝑌)) ∩ (𝑋 × 𝑌)) = ((𝑊𝑋) ∩ (𝑌 × 𝑌)))
122109, 115, 1213eqtr3a 2803 . . . . . . . . . . . . . . . . 17 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑅 = ((𝑊𝑋) ∩ (𝑌 × 𝑌)))
123108sqxpeqd 5612 . . . . . . . . . . . . . . . . . 18 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑌 × 𝑌) = (((𝑊𝑋) “ {𝑧}) × ((𝑊𝑋) “ {𝑧})))
124123ineq2d 4143 . . . . . . . . . . . . . . . . 17 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → ((𝑊𝑋) ∩ (𝑌 × 𝑌)) = ((𝑊𝑋) ∩ (((𝑊𝑋) “ {𝑧}) × ((𝑊𝑋) “ {𝑧}))))
125122, 124eqtrd 2778 . . . . . . . . . . . . . . . 16 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑅 = ((𝑊𝑋) ∩ (((𝑊𝑋) “ {𝑧}) × ((𝑊𝑋) “ {𝑧}))))
126108, 125oveq12d 7273 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑌𝐹𝑅) = (((𝑊𝑋) “ {𝑧})𝐹((𝑊𝑋) ∩ (((𝑊𝑋) “ {𝑧}) × ((𝑊𝑋) “ {𝑧})))))
12718adantr 480 . . . . . . . . . . . . . . . . 17 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝐴𝑉)
12822adantr 480 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑋𝑊(𝑊𝑋))
129128ad2antrr 722 . . . . . . . . . . . . . . . . 17 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → 𝑋𝑊(𝑊𝑋))
1301, 127, 129fpwwe2lem3 10320 . . . . . . . . . . . . . . . 16 (((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) ∧ 𝑧𝑋) → (((𝑊𝑋) “ {𝑧})𝐹((𝑊𝑋) ∩ (((𝑊𝑋) “ {𝑧}) × ((𝑊𝑋) “ {𝑧})))) = 𝑧)
13173, 130mpdan 683 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (((𝑊𝑋) “ {𝑧})𝐹((𝑊𝑋) ∩ (((𝑊𝑋) “ {𝑧}) × ((𝑊𝑋) “ {𝑧})))) = 𝑧)
132126, 131eqtrd 2778 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → (𝑌𝐹𝑅) = 𝑧)
133132, 62eqneltrd 2858 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) ∧ (𝑧 ∈ (𝑋𝑌) ∧ ((𝑊𝑋) “ {𝑧}) ⊆ 𝑌)) → ¬ (𝑌𝐹𝑅) ∈ 𝑌)
134133rexlimdvaa 3213 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (∃𝑧 ∈ (𝑋𝑌)((𝑊𝑋) “ {𝑧}) ⊆ 𝑌 → ¬ (𝑌𝐹𝑅) ∈ 𝑌))
13560, 134sylbid 239 . . . . . . . . . . 11 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (∃𝑧 ∈ (𝑋𝑌)∀𝑤 ∈ (𝑋𝑌) ¬ 𝑤(𝑊𝑋)𝑧 → ¬ (𝑌𝐹𝑅) ∈ 𝑌))
13637, 135syld 47 . . . . . . . . . 10 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → ((𝑋𝑌) ≠ ∅ → ¬ (𝑌𝐹𝑅) ∈ 𝑌))
137136necon4ad 2961 . . . . . . . . 9 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → ((𝑌𝐹𝑅) ∈ 𝑌 → (𝑋𝑌) = ∅))
13816, 137mpd 15 . . . . . . . 8 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → (𝑋𝑌) = ∅)
139 ssdif0 4294 . . . . . . . 8 (𝑋𝑌 ↔ (𝑋𝑌) = ∅)
140138, 139sylibr 233 . . . . . . 7 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))) → 𝑋𝑌)
141140ex 412 . . . . . 6 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → ((𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌))) → 𝑋𝑌))
1423adantlr 711 . . . . . . 7 (((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
143 simprl 767 . . . . . . 7 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑌𝑊𝑅)
1441, 17, 142, 128, 143fpwwe2lem9 10326 . . . . . 6 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → ((𝑋𝑌 ∧ (𝑊𝑋) = (𝑅 ∩ (𝑌 × 𝑋))) ∨ (𝑌𝑋𝑅 = ((𝑊𝑋) ∩ (𝑋 × 𝑌)))))
14515, 141, 144mpjaod 856 . . . . 5 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑋𝑌)
14613, 145eqssd 3934 . . . 4 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑌 = 𝑋)
1476adantr 480 . . . . . 6 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → Fun 𝑊)
148146, 143eqbrtrrd 5094 . . . . . 6 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑋𝑊𝑅)
149 funbrfv 6802 . . . . . 6 (Fun 𝑊 → (𝑋𝑊𝑅 → (𝑊𝑋) = 𝑅))
150147, 148, 149sylc 65 . . . . 5 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → (𝑊𝑋) = 𝑅)
151150eqcomd 2744 . . . 4 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → 𝑅 = (𝑊𝑋))
152146, 151jca 511 . . 3 ((𝜑 ∧ (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)) → (𝑌 = 𝑋𝑅 = (𝑊𝑋)))
153152ex 412 . 2 (𝜑 → ((𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌) → (𝑌 = 𝑋𝑅 = (𝑊𝑋))))
1541, 2, 3, 4fpwwe2lem12 10329 . . . 4 (𝜑 → (𝑋𝐹(𝑊𝑋)) ∈ 𝑋)
15522, 154jca 511 . . 3 (𝜑 → (𝑋𝑊(𝑊𝑋) ∧ (𝑋𝐹(𝑊𝑋)) ∈ 𝑋))
156 breq12 5075 . . . 4 ((𝑌 = 𝑋𝑅 = (𝑊𝑋)) → (𝑌𝑊𝑅𝑋𝑊(𝑊𝑋)))
157 oveq12 7264 . . . . 5 ((𝑌 = 𝑋𝑅 = (𝑊𝑋)) → (𝑌𝐹𝑅) = (𝑋𝐹(𝑊𝑋)))
158 simpl 482 . . . . 5 ((𝑌 = 𝑋𝑅 = (𝑊𝑋)) → 𝑌 = 𝑋)
159157, 158eleq12d 2833 . . . 4 ((𝑌 = 𝑋𝑅 = (𝑊𝑋)) → ((𝑌𝐹𝑅) ∈ 𝑌 ↔ (𝑋𝐹(𝑊𝑋)) ∈ 𝑋))
160156, 159anbi12d 630 . . 3 ((𝑌 = 𝑋𝑅 = (𝑊𝑋)) → ((𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌) ↔ (𝑋𝑊(𝑊𝑋) ∧ (𝑋𝐹(𝑊𝑋)) ∈ 𝑋)))
161155, 160syl5ibrcom 246 . 2 (𝜑 → ((𝑌 = 𝑋𝑅 = (𝑊𝑋)) → (𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌)))
162153, 161impbid 211 1 (𝜑 → ((𝑌𝑊𝑅 ∧ (𝑌𝐹𝑅) ∈ 𝑌) ↔ (𝑌 = 𝑋𝑅 = (𝑊𝑋))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wral 3063  wrex 3064  Vcvv 3422  [wsbc 3711  cdif 3880  cin 3882  wss 3883  c0 4253  𝒫 cpw 4530  {csn 4558   cuni 4836   class class class wbr 5070  {copab 5132   Or wor 5493   Fr wfr 5532   We wwe 5534   × cxp 5578  ccnv 5579  dom cdm 5580  cima 5583  Fun wfun 6412  cfv 6418  (class class class)co 7255
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-rep 5205  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-3or 1086  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-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  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-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-oi 9199
This theorem is referenced by:  fpwwe  10333  canthwelem  10337  pwfseqlem4  10349
  Copyright terms: Public domain W3C validator