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

Theorem ordtypelem7 8389
Description: Lemma for ordtype 8397. ran 𝑂 is an initial segment of 𝐴 under the well-order 𝑅. (Contributed by Mario Carneiro, 25-Jun-2015.)
Hypotheses
Ref Expression
ordtypelem.1 𝐹 = recs(𝐺)
ordtypelem.2 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
ordtypelem.3 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
ordtypelem.5 𝑇 = {𝑥 ∈ On ∣ ∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡}
ordtypelem.6 𝑂 = OrdIso(𝑅, 𝐴)
ordtypelem.7 (𝜑𝑅 We 𝐴)
ordtypelem.8 (𝜑𝑅 Se 𝐴)
Assertion
Ref Expression
ordtypelem7 (((𝜑𝑁𝐴) ∧ 𝑀 ∈ dom 𝑂) → ((𝑂𝑀)𝑅𝑁𝑁 ∈ ran 𝑂))
Distinct variable groups:   𝑣,𝑢,𝐶   ,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧,𝑀   𝑗,𝑁,𝑢,𝑤   𝑅,,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧   𝐴,,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧   𝑡,𝑂,𝑢,𝑣,𝑥   𝜑,𝑡,𝑥   ,𝐹,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧
Allowed substitution hints:   𝜑(𝑧,𝑤,𝑣,𝑢,,𝑗)   𝐶(𝑥,𝑧,𝑤,𝑡,,𝑗)   𝑇(𝑥,𝑧,𝑤,𝑣,𝑢,𝑡,,𝑗)   𝐺(𝑥,𝑧,𝑤,𝑣,𝑢,𝑡,,𝑗)   𝑁(𝑥,𝑧,𝑣,𝑡,)   𝑂(𝑧,𝑤,,𝑗)

Proof of Theorem ordtypelem7
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eldif 3570 . . . . . 6 (𝑁 ∈ (𝐴 ∖ ran 𝑂) ↔ (𝑁𝐴 ∧ ¬ 𝑁 ∈ ran 𝑂))
2 ordtypelem.1 . . . . . . . . . . . 12 𝐹 = recs(𝐺)
3 ordtypelem.2 . . . . . . . . . . . 12 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
4 ordtypelem.3 . . . . . . . . . . . 12 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
5 ordtypelem.5 . . . . . . . . . . . 12 𝑇 = {𝑥 ∈ On ∣ ∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡}
6 ordtypelem.6 . . . . . . . . . . . 12 𝑂 = OrdIso(𝑅, 𝐴)
7 ordtypelem.7 . . . . . . . . . . . 12 (𝜑𝑅 We 𝐴)
8 ordtypelem.8 . . . . . . . . . . . 12 (𝜑𝑅 Se 𝐴)
92, 3, 4, 5, 6, 7, 8ordtypelem4 8386 . . . . . . . . . . 11 (𝜑𝑂:(𝑇 ∩ dom 𝐹)⟶𝐴)
109adantr 481 . . . . . . . . . 10 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → 𝑂:(𝑇 ∩ dom 𝐹)⟶𝐴)
11 fdm 6018 . . . . . . . . . 10 (𝑂:(𝑇 ∩ dom 𝐹)⟶𝐴 → dom 𝑂 = (𝑇 ∩ dom 𝐹))
1210, 11syl 17 . . . . . . . . 9 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → dom 𝑂 = (𝑇 ∩ dom 𝐹))
13 inss1 3817 . . . . . . . . . 10 (𝑇 ∩ dom 𝐹) ⊆ 𝑇
142, 3, 4, 5, 6, 7, 8ordtypelem2 8384 . . . . . . . . . . . 12 (𝜑 → Ord 𝑇)
1514adantr 481 . . . . . . . . . . 11 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → Ord 𝑇)
16 ordsson 6951 . . . . . . . . . . 11 (Ord 𝑇𝑇 ⊆ On)
1715, 16syl 17 . . . . . . . . . 10 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → 𝑇 ⊆ On)
1813, 17syl5ss 3599 . . . . . . . . 9 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑇 ∩ dom 𝐹) ⊆ On)
1912, 18eqsstrd 3624 . . . . . . . 8 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → dom 𝑂 ⊆ On)
2019sseld 3587 . . . . . . 7 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑀 ∈ dom 𝑂𝑀 ∈ On))
21 eleq1 2686 . . . . . . . . . . 11 (𝑎 = 𝑏 → (𝑎 ∈ dom 𝑂𝑏 ∈ dom 𝑂))
22 fveq2 6158 . . . . . . . . . . . 12 (𝑎 = 𝑏 → (𝑂𝑎) = (𝑂𝑏))
2322breq1d 4633 . . . . . . . . . . 11 (𝑎 = 𝑏 → ((𝑂𝑎)𝑅𝑁 ↔ (𝑂𝑏)𝑅𝑁))
2421, 23imbi12d 334 . . . . . . . . . 10 (𝑎 = 𝑏 → ((𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁) ↔ (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁)))
2524imbi2d 330 . . . . . . . . 9 (𝑎 = 𝑏 → (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁)) ↔ ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁))))
26 eleq1 2686 . . . . . . . . . . 11 (𝑎 = 𝑀 → (𝑎 ∈ dom 𝑂𝑀 ∈ dom 𝑂))
27 fveq2 6158 . . . . . . . . . . . 12 (𝑎 = 𝑀 → (𝑂𝑎) = (𝑂𝑀))
2827breq1d 4633 . . . . . . . . . . 11 (𝑎 = 𝑀 → ((𝑂𝑎)𝑅𝑁 ↔ (𝑂𝑀)𝑅𝑁))
2926, 28imbi12d 334 . . . . . . . . . 10 (𝑎 = 𝑀 → ((𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁) ↔ (𝑀 ∈ dom 𝑂 → (𝑂𝑀)𝑅𝑁)))
3029imbi2d 330 . . . . . . . . 9 (𝑎 = 𝑀 → (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁)) ↔ ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑀 ∈ dom 𝑂 → (𝑂𝑀)𝑅𝑁))))
31 r19.21v 2956 . . . . . . . . . 10 (∀𝑏𝑎 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁)) ↔ ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → ∀𝑏𝑎 (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁)))
322tfr1a 7450 . . . . . . . . . . . . . . . . . . . . . . 23 (Fun 𝐹 ∧ Lim dom 𝐹)
3332simpri 478 . . . . . . . . . . . . . . . . . . . . . 22 Lim dom 𝐹
34 limord 5753 . . . . . . . . . . . . . . . . . . . . . 22 (Lim dom 𝐹 → Ord dom 𝐹)
3533, 34ax-mp 5 . . . . . . . . . . . . . . . . . . . . 21 Ord dom 𝐹
36 ordin 5722 . . . . . . . . . . . . . . . . . . . . 21 ((Ord 𝑇 ∧ Ord dom 𝐹) → Ord (𝑇 ∩ dom 𝐹))
3715, 35, 36sylancl 693 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → Ord (𝑇 ∩ dom 𝐹))
38 ordeq 5699 . . . . . . . . . . . . . . . . . . . . 21 (dom 𝑂 = (𝑇 ∩ dom 𝐹) → (Ord dom 𝑂 ↔ Ord (𝑇 ∩ dom 𝐹)))
3912, 38syl 17 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (Ord dom 𝑂 ↔ Ord (𝑇 ∩ dom 𝐹)))
4037, 39mpbird 247 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → Ord dom 𝑂)
41 ordelss 5708 . . . . . . . . . . . . . . . . . . 19 ((Ord dom 𝑂𝑎 ∈ dom 𝑂) → 𝑎 ⊆ dom 𝑂)
4240, 41sylan 488 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ 𝑎 ∈ dom 𝑂) → 𝑎 ⊆ dom 𝑂)
4342sselda 3588 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ 𝑎 ∈ dom 𝑂) ∧ 𝑏𝑎) → 𝑏 ∈ dom 𝑂)
44 pm5.5 351 . . . . . . . . . . . . . . . . 17 (𝑏 ∈ dom 𝑂 → ((𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁) ↔ (𝑂𝑏)𝑅𝑁))
4543, 44syl 17 . . . . . . . . . . . . . . . 16 ((((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ 𝑎 ∈ dom 𝑂) ∧ 𝑏𝑎) → ((𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁) ↔ (𝑂𝑏)𝑅𝑁))
4645ralbidva 2981 . . . . . . . . . . . . . . 15 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ 𝑎 ∈ dom 𝑂) → (∀𝑏𝑎 (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁) ↔ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁))
47 eldifn 3717 . . . . . . . . . . . . . . . . . . 19 (𝑁 ∈ (𝐴 ∖ ran 𝑂) → ¬ 𝑁 ∈ ran 𝑂)
4847ad2antlr 762 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ¬ 𝑁 ∈ ran 𝑂)
499ad2antrr 761 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑂:(𝑇 ∩ dom 𝐹)⟶𝐴)
50 ffn 6012 . . . . . . . . . . . . . . . . . . . . 21 (𝑂:(𝑇 ∩ dom 𝐹)⟶𝐴𝑂 Fn (𝑇 ∩ dom 𝐹))
5149, 50syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑂 Fn (𝑇 ∩ dom 𝐹))
52 simprl 793 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑎 ∈ dom 𝑂)
5349, 11syl 17 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → dom 𝑂 = (𝑇 ∩ dom 𝐹))
5452, 53eleqtrd 2700 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑎 ∈ (𝑇 ∩ dom 𝐹))
55 fnfvelrn 6322 . . . . . . . . . . . . . . . . . . . 20 ((𝑂 Fn (𝑇 ∩ dom 𝐹) ∧ 𝑎 ∈ (𝑇 ∩ dom 𝐹)) → (𝑂𝑎) ∈ ran 𝑂)
5651, 54, 55syl2anc 692 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (𝑂𝑎) ∈ ran 𝑂)
57 eleq1 2686 . . . . . . . . . . . . . . . . . . 19 ((𝑂𝑎) = 𝑁 → ((𝑂𝑎) ∈ ran 𝑂𝑁 ∈ ran 𝑂))
5856, 57syl5ibcom 235 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ((𝑂𝑎) = 𝑁𝑁 ∈ ran 𝑂))
5948, 58mtod 189 . . . . . . . . . . . . . . . . 17 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ¬ (𝑂𝑎) = 𝑁)
60 eldifi 3716 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ (𝐴 ∖ ran 𝑂) → 𝑁𝐴)
6160ad2antlr 762 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑁𝐴)
62 simprr 795 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)
632, 3, 4, 5, 6, 7, 8ordtypelem1 8383 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑𝑂 = (𝐹𝑇))
6463ad2antrr 761 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑂 = (𝐹𝑇))
6542adantrr 752 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑎 ⊆ dom 𝑂)
6665, 53sseqtrd 3626 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑎 ⊆ (𝑇 ∩ dom 𝐹))
6766, 13syl6ss 3600 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑎𝑇)
68 fveq1 6157 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑂 = (𝐹𝑇) → (𝑂𝑏) = ((𝐹𝑇)‘𝑏))
69 ssel2 3583 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑎𝑇𝑏𝑎) → 𝑏𝑇)
70 fvres 6174 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑏𝑇 → ((𝐹𝑇)‘𝑏) = (𝐹𝑏))
7169, 70syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑎𝑇𝑏𝑎) → ((𝐹𝑇)‘𝑏) = (𝐹𝑏))
7268, 71sylan9eq 2675 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑂 = (𝐹𝑇) ∧ (𝑎𝑇𝑏𝑎)) → (𝑂𝑏) = (𝐹𝑏))
7372anassrs 679 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑂 = (𝐹𝑇) ∧ 𝑎𝑇) ∧ 𝑏𝑎) → (𝑂𝑏) = (𝐹𝑏))
7473breq1d 4633 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑂 = (𝐹𝑇) ∧ 𝑎𝑇) ∧ 𝑏𝑎) → ((𝑂𝑏)𝑅𝑁 ↔ (𝐹𝑏)𝑅𝑁))
7574ralbidva 2981 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑂 = (𝐹𝑇) ∧ 𝑎𝑇) → (∀𝑏𝑎 (𝑂𝑏)𝑅𝑁 ↔ ∀𝑏𝑎 (𝐹𝑏)𝑅𝑁))
7664, 67, 75syl2anc 692 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (∀𝑏𝑎 (𝑂𝑏)𝑅𝑁 ↔ ∀𝑏𝑎 (𝐹𝑏)𝑅𝑁))
7762, 76mpbid 222 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ∀𝑏𝑎 (𝐹𝑏)𝑅𝑁)
7832simpli 474 . . . . . . . . . . . . . . . . . . . . . 22 Fun 𝐹
79 funfn 5887 . . . . . . . . . . . . . . . . . . . . . 22 (Fun 𝐹𝐹 Fn dom 𝐹)
8078, 79mpbi 220 . . . . . . . . . . . . . . . . . . . . 21 𝐹 Fn dom 𝐹
81 inss2 3818 . . . . . . . . . . . . . . . . . . . . . 22 (𝑇 ∩ dom 𝐹) ⊆ dom 𝐹
8266, 81syl6ss 3600 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑎 ⊆ dom 𝐹)
83 breq1 4626 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 = (𝐹𝑏) → (𝑗𝑅𝑁 ↔ (𝐹𝑏)𝑅𝑁))
8483ralima 6463 . . . . . . . . . . . . . . . . . . . . 21 ((𝐹 Fn dom 𝐹𝑎 ⊆ dom 𝐹) → (∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑁 ↔ ∀𝑏𝑎 (𝐹𝑏)𝑅𝑁))
8580, 82, 84sylancr 694 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑁 ↔ ∀𝑏𝑎 (𝐹𝑏)𝑅𝑁))
8677, 85mpbird 247 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑁)
87 breq2 4627 . . . . . . . . . . . . . . . . . . . . 21 (𝑤 = 𝑁 → (𝑗𝑅𝑤𝑗𝑅𝑁))
8887ralbidv 2982 . . . . . . . . . . . . . . . . . . . 20 (𝑤 = 𝑁 → (∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤 ↔ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑁))
8988elrab 3351 . . . . . . . . . . . . . . . . . . 19 (𝑁 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ↔ (𝑁𝐴 ∧ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑁))
9061, 86, 89sylanbrc 697 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑁 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤})
9164fveq1d 6160 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (𝑂𝑎) = ((𝐹𝑇)‘𝑎))
9213, 54sseldi 3586 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑎𝑇)
93 fvres 6174 . . . . . . . . . . . . . . . . . . . . . 22 (𝑎𝑇 → ((𝐹𝑇)‘𝑎) = (𝐹𝑎))
9492, 93syl 17 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ((𝐹𝑇)‘𝑎) = (𝐹𝑎))
9591, 94eqtrd 2655 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (𝑂𝑎) = (𝐹𝑎))
96 simpll 789 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝜑)
972, 3, 4, 5, 6, 7, 8ordtypelem3 8385 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑎 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑎) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
9896, 54, 97syl2anc 692 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (𝐹𝑎) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
9995, 98eqeltrd 2698 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (𝑂𝑎) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
100 breq2 4627 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑣 = (𝑂𝑎) → (𝑢𝑅𝑣𝑢𝑅(𝑂𝑎)))
101100notbid 308 . . . . . . . . . . . . . . . . . . . . . 22 (𝑣 = (𝑂𝑎) → (¬ 𝑢𝑅𝑣 ↔ ¬ 𝑢𝑅(𝑂𝑎)))
102101ralbidv 2982 . . . . . . . . . . . . . . . . . . . . 21 (𝑣 = (𝑂𝑎) → (∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣 ↔ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅(𝑂𝑎)))
103102elrab 3351 . . . . . . . . . . . . . . . . . . . 20 ((𝑂𝑎) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣} ↔ ((𝑂𝑎) ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ∧ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅(𝑂𝑎)))
104103simprbi 480 . . . . . . . . . . . . . . . . . . 19 ((𝑂𝑎) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣} → ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅(𝑂𝑎))
10599, 104syl 17 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅(𝑂𝑎))
106 breq1 4626 . . . . . . . . . . . . . . . . . . . 20 (𝑢 = 𝑁 → (𝑢𝑅(𝑂𝑎) ↔ 𝑁𝑅(𝑂𝑎)))
107106notbid 308 . . . . . . . . . . . . . . . . . . 19 (𝑢 = 𝑁 → (¬ 𝑢𝑅(𝑂𝑎) ↔ ¬ 𝑁𝑅(𝑂𝑎)))
108107rspcv 3295 . . . . . . . . . . . . . . . . . 18 (𝑁 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} → (∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑎)𝑗𝑅𝑤} ¬ 𝑢𝑅(𝑂𝑎) → ¬ 𝑁𝑅(𝑂𝑎)))
10990, 105, 108sylc 65 . . . . . . . . . . . . . . . . 17 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ¬ 𝑁𝑅(𝑂𝑎))
110 weso 5075 . . . . . . . . . . . . . . . . . . . . 21 (𝑅 We 𝐴𝑅 Or 𝐴)
1117, 110syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑𝑅 Or 𝐴)
112111ad2antrr 761 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → 𝑅 Or 𝐴)
11349, 54ffvelrnd 6326 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (𝑂𝑎) ∈ 𝐴)
114 sotric 5031 . . . . . . . . . . . . . . . . . . 19 ((𝑅 Or 𝐴 ∧ ((𝑂𝑎) ∈ 𝐴𝑁𝐴)) → ((𝑂𝑎)𝑅𝑁 ↔ ¬ ((𝑂𝑎) = 𝑁𝑁𝑅(𝑂𝑎))))
115112, 113, 61, 114syl12anc 1321 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ((𝑂𝑎)𝑅𝑁 ↔ ¬ ((𝑂𝑎) = 𝑁𝑁𝑅(𝑂𝑎))))
116 ioran 511 . . . . . . . . . . . . . . . . . 18 (¬ ((𝑂𝑎) = 𝑁𝑁𝑅(𝑂𝑎)) ↔ (¬ (𝑂𝑎) = 𝑁 ∧ ¬ 𝑁𝑅(𝑂𝑎)))
117115, 116syl6bb 276 . . . . . . . . . . . . . . . . 17 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → ((𝑂𝑎)𝑅𝑁 ↔ (¬ (𝑂𝑎) = 𝑁 ∧ ¬ 𝑁𝑅(𝑂𝑎))))
11859, 109, 117mpbir2and 956 . . . . . . . . . . . . . . . 16 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ (𝑎 ∈ dom 𝑂 ∧ ∀𝑏𝑎 (𝑂𝑏)𝑅𝑁)) → (𝑂𝑎)𝑅𝑁)
119118expr 642 . . . . . . . . . . . . . . 15 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ 𝑎 ∈ dom 𝑂) → (∀𝑏𝑎 (𝑂𝑏)𝑅𝑁 → (𝑂𝑎)𝑅𝑁))
12046, 119sylbid 230 . . . . . . . . . . . . . 14 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) ∧ 𝑎 ∈ dom 𝑂) → (∀𝑏𝑎 (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁) → (𝑂𝑎)𝑅𝑁))
121120ex 450 . . . . . . . . . . . . 13 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑎 ∈ dom 𝑂 → (∀𝑏𝑎 (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁) → (𝑂𝑎)𝑅𝑁)))
122121com23 86 . . . . . . . . . . . 12 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (∀𝑏𝑎 (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁) → (𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁)))
123122a2i 14 . . . . . . . . . . 11 (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → ∀𝑏𝑎 (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁)) → ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁)))
124123a1i 11 . . . . . . . . . 10 (𝑎 ∈ On → (((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → ∀𝑏𝑎 (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁)) → ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁))))
12531, 124syl5bi 232 . . . . . . . . 9 (𝑎 ∈ On → (∀𝑏𝑎 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑏 ∈ dom 𝑂 → (𝑂𝑏)𝑅𝑁)) → ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑎 ∈ dom 𝑂 → (𝑂𝑎)𝑅𝑁))))
12625, 30, 125tfis3 7019 . . . . . . . 8 (𝑀 ∈ On → ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑀 ∈ dom 𝑂 → (𝑂𝑀)𝑅𝑁)))
127126com3l 89 . . . . . . 7 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑀 ∈ dom 𝑂 → (𝑀 ∈ On → (𝑂𝑀)𝑅𝑁)))
12820, 127mpdd 43 . . . . . 6 ((𝜑𝑁 ∈ (𝐴 ∖ ran 𝑂)) → (𝑀 ∈ dom 𝑂 → (𝑂𝑀)𝑅𝑁))
1291, 128sylan2br 493 . . . . 5 ((𝜑 ∧ (𝑁𝐴 ∧ ¬ 𝑁 ∈ ran 𝑂)) → (𝑀 ∈ dom 𝑂 → (𝑂𝑀)𝑅𝑁))
130129anassrs 679 . . . 4 (((𝜑𝑁𝐴) ∧ ¬ 𝑁 ∈ ran 𝑂) → (𝑀 ∈ dom 𝑂 → (𝑂𝑀)𝑅𝑁))
131130impancom 456 . . 3 (((𝜑𝑁𝐴) ∧ 𝑀 ∈ dom 𝑂) → (¬ 𝑁 ∈ ran 𝑂 → (𝑂𝑀)𝑅𝑁))
132131orrd 393 . 2 (((𝜑𝑁𝐴) ∧ 𝑀 ∈ dom 𝑂) → (𝑁 ∈ ran 𝑂 ∨ (𝑂𝑀)𝑅𝑁))
133132orcomd 403 1 (((𝜑𝑁𝐴) ∧ 𝑀 ∈ dom 𝑂) → ((𝑂𝑀)𝑅𝑁𝑁 ∈ ran 𝑂))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384   = wceq 1480  wcel 1987  wral 2908  wrex 2909  {crab 2912  Vcvv 3190  cdif 3557  cin 3559  wss 3560   class class class wbr 4623  cmpt 4683   Or wor 5004   Se wse 5041   We wwe 5042  dom cdm 5084  ran crn 5085  cres 5086  cima 5087  Ord word 5691  Oncon0 5692  Lim wlim 5693  Fun wfun 5851   Fn wfn 5852  wf 5853  cfv 5857  crio 6575  recscrecs 7427  OrdIsocoi 8374
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2913  df-rex 2914  df-reu 2915  df-rmo 2916  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-iun 4494  df-br 4624  df-opab 4684  df-mpt 4685  df-tr 4723  df-eprel 4995  df-id 4999  df-po 5005  df-so 5006  df-fr 5043  df-se 5044  df-we 5045  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-pred 5649  df-ord 5695  df-on 5696  df-lim 5697  df-suc 5698  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-f1 5862  df-fo 5863  df-f1o 5864  df-fv 5865  df-riota 6576  df-wrecs 7367  df-recs 7428  df-oi 8375
This theorem is referenced by:  ordtypelem9  8391  ordtypelem10  8392  oiiniseg  8398
  Copyright terms: Public domain W3C validator