ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fidcenumlemrks GIF version

Theorem fidcenumlemrks 6918
Description: Lemma for fidcenum 6921. Induction step for fidcenumlemrk 6919. (Contributed by Jim Kingdon, 20-Oct-2022.)
Hypotheses
Ref Expression
fidcenumlemr.dc (𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
fidcenumlemr.f (𝜑𝐹:𝑁onto𝐴)
fidcenumlemrks.j (𝜑𝐽 ∈ ω)
fidcenumlemrks.jn (𝜑 → suc 𝐽𝑁)
fidcenumlemrks.h (𝜑 → (𝑋 ∈ (𝐹𝐽) ∨ ¬ 𝑋 ∈ (𝐹𝐽)))
fidcenumlemrks.x (𝜑𝑋𝐴)
Assertion
Ref Expression
fidcenumlemrks (𝜑 → (𝑋 ∈ (𝐹 “ suc 𝐽) ∨ ¬ 𝑋 ∈ (𝐹 “ suc 𝐽)))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑦,𝐹   𝑦,𝐽   𝑥,𝑋,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐹(𝑥)   𝐽(𝑥)   𝑁(𝑥,𝑦)

Proof of Theorem fidcenumlemrks
StepHypRef Expression
1 simpr 109 . . . . 5 ((𝜑𝑋 ∈ (𝐹𝐽)) → 𝑋 ∈ (𝐹𝐽))
2 elun1 3289 . . . . 5 (𝑋 ∈ (𝐹𝐽) → 𝑋 ∈ ((𝐹𝐽) ∪ (𝐹 “ {𝐽})))
31, 2syl 14 . . . 4 ((𝜑𝑋 ∈ (𝐹𝐽)) → 𝑋 ∈ ((𝐹𝐽) ∪ (𝐹 “ {𝐽})))
4 df-suc 4349 . . . . . . 7 suc 𝐽 = (𝐽 ∪ {𝐽})
54imaeq2i 4944 . . . . . 6 (𝐹 “ suc 𝐽) = (𝐹 “ (𝐽 ∪ {𝐽}))
6 imaundi 5016 . . . . . 6 (𝐹 “ (𝐽 ∪ {𝐽})) = ((𝐹𝐽) ∪ (𝐹 “ {𝐽}))
75, 6eqtri 2186 . . . . 5 (𝐹 “ suc 𝐽) = ((𝐹𝐽) ∪ (𝐹 “ {𝐽}))
87eleq2i 2233 . . . 4 (𝑋 ∈ (𝐹 “ suc 𝐽) ↔ 𝑋 ∈ ((𝐹𝐽) ∪ (𝐹 “ {𝐽})))
93, 8sylibr 133 . . 3 ((𝜑𝑋 ∈ (𝐹𝐽)) → 𝑋 ∈ (𝐹 “ suc 𝐽))
109orcd 723 . 2 ((𝜑𝑋 ∈ (𝐹𝐽)) → (𝑋 ∈ (𝐹 “ suc 𝐽) ∨ ¬ 𝑋 ∈ (𝐹 “ suc 𝐽)))
11 simpr 109 . . . . . . 7 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ 𝑋 = (𝐹𝐽)) → 𝑋 = (𝐹𝐽))
12 fidcenumlemrks.x . . . . . . . . . 10 (𝜑𝑋𝐴)
13 elsng 3591 . . . . . . . . . 10 (𝑋𝐴 → (𝑋 ∈ {(𝐹𝐽)} ↔ 𝑋 = (𝐹𝐽)))
1412, 13syl 14 . . . . . . . . 9 (𝜑 → (𝑋 ∈ {(𝐹𝐽)} ↔ 𝑋 = (𝐹𝐽)))
15 fidcenumlemr.f . . . . . . . . . . . 12 (𝜑𝐹:𝑁onto𝐴)
16 fofn 5412 . . . . . . . . . . . 12 (𝐹:𝑁onto𝐴𝐹 Fn 𝑁)
1715, 16syl 14 . . . . . . . . . . 11 (𝜑𝐹 Fn 𝑁)
18 fidcenumlemrks.jn . . . . . . . . . . . 12 (𝜑 → suc 𝐽𝑁)
19 fidcenumlemrks.j . . . . . . . . . . . . 13 (𝜑𝐽 ∈ ω)
20 sucidg 4394 . . . . . . . . . . . . 13 (𝐽 ∈ ω → 𝐽 ∈ suc 𝐽)
2119, 20syl 14 . . . . . . . . . . . 12 (𝜑𝐽 ∈ suc 𝐽)
2218, 21sseldd 3143 . . . . . . . . . . 11 (𝜑𝐽𝑁)
23 fnsnfv 5545 . . . . . . . . . . 11 ((𝐹 Fn 𝑁𝐽𝑁) → {(𝐹𝐽)} = (𝐹 “ {𝐽}))
2417, 22, 23syl2anc 409 . . . . . . . . . 10 (𝜑 → {(𝐹𝐽)} = (𝐹 “ {𝐽}))
2524eleq2d 2236 . . . . . . . . 9 (𝜑 → (𝑋 ∈ {(𝐹𝐽)} ↔ 𝑋 ∈ (𝐹 “ {𝐽})))
2614, 25bitr3d 189 . . . . . . . 8 (𝜑 → (𝑋 = (𝐹𝐽) ↔ 𝑋 ∈ (𝐹 “ {𝐽})))
2726ad2antrr 480 . . . . . . 7 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ 𝑋 = (𝐹𝐽)) → (𝑋 = (𝐹𝐽) ↔ 𝑋 ∈ (𝐹 “ {𝐽})))
2811, 27mpbid 146 . . . . . 6 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ 𝑋 = (𝐹𝐽)) → 𝑋 ∈ (𝐹 “ {𝐽}))
29 elun2 3290 . . . . . 6 (𝑋 ∈ (𝐹 “ {𝐽}) → 𝑋 ∈ ((𝐹𝐽) ∪ (𝐹 “ {𝐽})))
3028, 29syl 14 . . . . 5 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ 𝑋 = (𝐹𝐽)) → 𝑋 ∈ ((𝐹𝐽) ∪ (𝐹 “ {𝐽})))
3130, 8sylibr 133 . . . 4 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ 𝑋 = (𝐹𝐽)) → 𝑋 ∈ (𝐹 “ suc 𝐽))
3231orcd 723 . . 3 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ 𝑋 = (𝐹𝐽)) → (𝑋 ∈ (𝐹 “ suc 𝐽) ∨ ¬ 𝑋 ∈ (𝐹 “ suc 𝐽)))
33 simplr 520 . . . . . . 7 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → ¬ 𝑋 ∈ (𝐹𝐽))
34 simpr 109 . . . . . . . 8 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → ¬ 𝑋 = (𝐹𝐽))
3526ad2antrr 480 . . . . . . . 8 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → (𝑋 = (𝐹𝐽) ↔ 𝑋 ∈ (𝐹 “ {𝐽})))
3634, 35mtbid 662 . . . . . . 7 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → ¬ 𝑋 ∈ (𝐹 “ {𝐽}))
37 ioran 742 . . . . . . 7 (¬ (𝑋 ∈ (𝐹𝐽) ∨ 𝑋 ∈ (𝐹 “ {𝐽})) ↔ (¬ 𝑋 ∈ (𝐹𝐽) ∧ ¬ 𝑋 ∈ (𝐹 “ {𝐽})))
3833, 36, 37sylanbrc 414 . . . . . 6 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → ¬ (𝑋 ∈ (𝐹𝐽) ∨ 𝑋 ∈ (𝐹 “ {𝐽})))
39 elun 3263 . . . . . 6 (𝑋 ∈ ((𝐹𝐽) ∪ (𝐹 “ {𝐽})) ↔ (𝑋 ∈ (𝐹𝐽) ∨ 𝑋 ∈ (𝐹 “ {𝐽})))
4038, 39sylnibr 667 . . . . 5 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → ¬ 𝑋 ∈ ((𝐹𝐽) ∪ (𝐹 “ {𝐽})))
4140, 8sylnibr 667 . . . 4 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → ¬ 𝑋 ∈ (𝐹 “ suc 𝐽))
4241olcd 724 . . 3 (((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) ∧ ¬ 𝑋 = (𝐹𝐽)) → (𝑋 ∈ (𝐹 “ suc 𝐽) ∨ ¬ 𝑋 ∈ (𝐹 “ suc 𝐽)))
43 fof 5410 . . . . . . . 8 (𝐹:𝑁onto𝐴𝐹:𝑁𝐴)
4415, 43syl 14 . . . . . . 7 (𝜑𝐹:𝑁𝐴)
4544, 22ffvelrnd 5621 . . . . . 6 (𝜑 → (𝐹𝐽) ∈ 𝐴)
46 fidcenumlemr.dc . . . . . 6 (𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)
47 eqeq1 2172 . . . . . . . 8 (𝑥 = 𝑋 → (𝑥 = 𝑦𝑋 = 𝑦))
4847dcbid 828 . . . . . . 7 (𝑥 = 𝑋 → (DECID 𝑥 = 𝑦DECID 𝑋 = 𝑦))
49 eqeq2 2175 . . . . . . . 8 (𝑦 = (𝐹𝐽) → (𝑋 = 𝑦𝑋 = (𝐹𝐽)))
5049dcbid 828 . . . . . . 7 (𝑦 = (𝐹𝐽) → (DECID 𝑋 = 𝑦DECID 𝑋 = (𝐹𝐽)))
5148, 50rspc2va 2844 . . . . . 6 (((𝑋𝐴 ∧ (𝐹𝐽) ∈ 𝐴) ∧ ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦) → DECID 𝑋 = (𝐹𝐽))
5212, 45, 46, 51syl21anc 1227 . . . . 5 (𝜑DECID 𝑋 = (𝐹𝐽))
53 exmiddc 826 . . . . 5 (DECID 𝑋 = (𝐹𝐽) → (𝑋 = (𝐹𝐽) ∨ ¬ 𝑋 = (𝐹𝐽)))
5452, 53syl 14 . . . 4 (𝜑 → (𝑋 = (𝐹𝐽) ∨ ¬ 𝑋 = (𝐹𝐽)))
5554adantr 274 . . 3 ((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) → (𝑋 = (𝐹𝐽) ∨ ¬ 𝑋 = (𝐹𝐽)))
5632, 42, 55mpjaodan 788 . 2 ((𝜑 ∧ ¬ 𝑋 ∈ (𝐹𝐽)) → (𝑋 ∈ (𝐹 “ suc 𝐽) ∨ ¬ 𝑋 ∈ (𝐹 “ suc 𝐽)))
57 fidcenumlemrks.h . 2 (𝜑 → (𝑋 ∈ (𝐹𝐽) ∨ ¬ 𝑋 ∈ (𝐹𝐽)))
5810, 56, 57mpjaodan 788 1 (𝜑 → (𝑋 ∈ (𝐹 “ suc 𝐽) ∨ ¬ 𝑋 ∈ (𝐹 “ suc 𝐽)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  DECID wdc 824   = wceq 1343  wcel 2136  wral 2444  cun 3114  wss 3116  {csn 3576  suc csuc 4343  ωcom 4567  cima 4607   Fn wfn 5183  wf 5184  ontowfo 5186  cfv 5188
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-id 4271  df-suc 4349  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-fo 5194  df-fv 5196
This theorem is referenced by:  fidcenumlemrk  6919
  Copyright terms: Public domain W3C validator