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

Theorem ctiunctlemudc 13060
Description: Lemma for ctiunct 13063. (Contributed by Jim Kingdon, 28-Oct-2023.)
Hypotheses
Ref Expression
ctiunct.som (𝜑𝑆 ⊆ ω)
ctiunct.sdc (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)
ctiunct.f (𝜑𝐹:𝑆onto𝐴)
ctiunct.tom ((𝜑𝑥𝐴) → 𝑇 ⊆ ω)
ctiunct.tdc ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)
ctiunct.g ((𝜑𝑥𝐴) → 𝐺:𝑇onto𝐵)
ctiunct.j (𝜑𝐽:ω–1-1-onto→(ω × ω))
ctiunct.u 𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}
Assertion
Ref Expression
ctiunctlemudc (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑈)
Distinct variable groups:   𝑥,𝐴   𝑛,𝐹,𝑥   𝑧,𝐹,𝑥   𝑛,𝐽,𝑥   𝑧,𝐽   𝑆,𝑛   𝑧,𝑆   𝑇,𝑛   𝑧,𝑇   𝑈,𝑛   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑧,𝑛)   𝐴(𝑧,𝑛)   𝐵(𝑥,𝑧,𝑛)   𝑆(𝑥)   𝑇(𝑥)   𝑈(𝑥,𝑧)   𝐺(𝑥,𝑧,𝑛)

Proof of Theorem ctiunctlemudc
Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 eleq1 2294 . . . . . . . . 9 (𝑛 = (1st ‘(𝐽𝑚)) → (𝑛𝑆 ↔ (1st ‘(𝐽𝑚)) ∈ 𝑆))
21dcbid 845 . . . . . . . 8 (𝑛 = (1st ‘(𝐽𝑚)) → (DECID 𝑛𝑆DECID (1st ‘(𝐽𝑚)) ∈ 𝑆))
3 ctiunct.sdc . . . . . . . . 9 (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)
43adantr 276 . . . . . . . 8 ((𝜑𝑚 ∈ ω) → ∀𝑛 ∈ ω DECID 𝑛𝑆)
5 ctiunct.j . . . . . . . . . . . 12 (𝜑𝐽:ω–1-1-onto→(ω × ω))
65adantr 276 . . . . . . . . . . 11 ((𝜑𝑚 ∈ ω) → 𝐽:ω–1-1-onto→(ω × ω))
7 f1of 5583 . . . . . . . . . . 11 (𝐽:ω–1-1-onto→(ω × ω) → 𝐽:ω⟶(ω × ω))
86, 7syl 14 . . . . . . . . . 10 ((𝜑𝑚 ∈ ω) → 𝐽:ω⟶(ω × ω))
9 simpr 110 . . . . . . . . . 10 ((𝜑𝑚 ∈ ω) → 𝑚 ∈ ω)
108, 9ffvelcdmd 5783 . . . . . . . . 9 ((𝜑𝑚 ∈ ω) → (𝐽𝑚) ∈ (ω × ω))
11 xp1st 6328 . . . . . . . . 9 ((𝐽𝑚) ∈ (ω × ω) → (1st ‘(𝐽𝑚)) ∈ ω)
1210, 11syl 14 . . . . . . . 8 ((𝜑𝑚 ∈ ω) → (1st ‘(𝐽𝑚)) ∈ ω)
132, 4, 12rspcdva 2915 . . . . . . 7 ((𝜑𝑚 ∈ ω) → DECID (1st ‘(𝐽𝑚)) ∈ 𝑆)
1413adantr 276 . . . . . 6 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → DECID (1st ‘(𝐽𝑚)) ∈ 𝑆)
15 eleq1 2294 . . . . . . . 8 (𝑛 = (2nd ‘(𝐽𝑚)) → (𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇 ↔ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
1615dcbid 845 . . . . . . 7 (𝑛 = (2nd ‘(𝐽𝑚)) → (DECID 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇DECID (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
17 ctiunct.f . . . . . . . . . . 11 (𝜑𝐹:𝑆onto𝐴)
18 fof 5559 . . . . . . . . . . 11 (𝐹:𝑆onto𝐴𝐹:𝑆𝐴)
1917, 18syl 14 . . . . . . . . . 10 (𝜑𝐹:𝑆𝐴)
2019ad2antrr 488 . . . . . . . . 9 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → 𝐹:𝑆𝐴)
21 simpr 110 . . . . . . . . 9 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → (1st ‘(𝐽𝑚)) ∈ 𝑆)
2220, 21ffvelcdmd 5783 . . . . . . . 8 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → (𝐹‘(1st ‘(𝐽𝑚))) ∈ 𝐴)
23 ctiunct.tdc . . . . . . . . . 10 ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)
2423ralrimiva 2605 . . . . . . . . 9 (𝜑 → ∀𝑥𝐴𝑛 ∈ ω DECID 𝑛𝑇)
2524ad2antrr 488 . . . . . . . 8 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → ∀𝑥𝐴𝑛 ∈ ω DECID 𝑛𝑇)
26 nfcv 2374 . . . . . . . . . 10 𝑥ω
27 nfcsb1v 3160 . . . . . . . . . . . 12 𝑥(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇
2827nfcri 2368 . . . . . . . . . . 11 𝑥 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇
2928nfdc 1707 . . . . . . . . . 10 𝑥DECID 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇
3026, 29nfralya 2572 . . . . . . . . 9 𝑥𝑛 ∈ ω DECID 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇
31 csbeq1a 3136 . . . . . . . . . . . 12 (𝑥 = (𝐹‘(1st ‘(𝐽𝑚))) → 𝑇 = (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)
3231eleq2d 2301 . . . . . . . . . . 11 (𝑥 = (𝐹‘(1st ‘(𝐽𝑚))) → (𝑛𝑇𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
3332dcbid 845 . . . . . . . . . 10 (𝑥 = (𝐹‘(1st ‘(𝐽𝑚))) → (DECID 𝑛𝑇DECID 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
3433ralbidv 2532 . . . . . . . . 9 (𝑥 = (𝐹‘(1st ‘(𝐽𝑚))) → (∀𝑛 ∈ ω DECID 𝑛𝑇 ↔ ∀𝑛 ∈ ω DECID 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
3530, 34rspc 2904 . . . . . . . 8 ((𝐹‘(1st ‘(𝐽𝑚))) ∈ 𝐴 → (∀𝑥𝐴𝑛 ∈ ω DECID 𝑛𝑇 → ∀𝑛 ∈ ω DECID 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
3622, 25, 35sylc 62 . . . . . . 7 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → ∀𝑛 ∈ ω DECID 𝑛(𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)
3710adantr 276 . . . . . . . 8 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → (𝐽𝑚) ∈ (ω × ω))
38 xp2nd 6329 . . . . . . . 8 ((𝐽𝑚) ∈ (ω × ω) → (2nd ‘(𝐽𝑚)) ∈ ω)
3937, 38syl 14 . . . . . . 7 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → (2nd ‘(𝐽𝑚)) ∈ ω)
4016, 36, 39rspcdva 2915 . . . . . 6 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → DECID (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)
41 dcan2 942 . . . . . 6 (DECID (1st ‘(𝐽𝑚)) ∈ 𝑆 → (DECID (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇DECID ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)))
4214, 40, 41sylc 62 . . . . 5 (((𝜑𝑚 ∈ ω) ∧ (1st ‘(𝐽𝑚)) ∈ 𝑆) → DECID ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
43 simpr 110 . . . . . . . 8 (((𝜑𝑚 ∈ ω) ∧ ¬ (1st ‘(𝐽𝑚)) ∈ 𝑆) → ¬ (1st ‘(𝐽𝑚)) ∈ 𝑆)
4443intnanrd 939 . . . . . . 7 (((𝜑𝑚 ∈ ω) ∧ ¬ (1st ‘(𝐽𝑚)) ∈ 𝑆) → ¬ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
4544olcd 741 . . . . . 6 (((𝜑𝑚 ∈ ω) ∧ ¬ (1st ‘(𝐽𝑚)) ∈ 𝑆) → (((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇) ∨ ¬ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)))
46 df-dc 842 . . . . . 6 (DECID ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇) ↔ (((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇) ∨ ¬ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)))
4745, 46sylibr 134 . . . . 5 (((𝜑𝑚 ∈ ω) ∧ ¬ (1st ‘(𝐽𝑚)) ∈ 𝑆) → DECID ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
48 exmiddc 843 . . . . . 6 (DECID (1st ‘(𝐽𝑚)) ∈ 𝑆 → ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∨ ¬ (1st ‘(𝐽𝑚)) ∈ 𝑆))
4913, 48syl 14 . . . . 5 ((𝜑𝑚 ∈ ω) → ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∨ ¬ (1st ‘(𝐽𝑚)) ∈ 𝑆))
5042, 47, 49mpjaodan 805 . . . 4 ((𝜑𝑚 ∈ ω) → DECID ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
51 2fveq3 5644 . . . . . . . . 9 (𝑧 = 𝑚 → (1st ‘(𝐽𝑧)) = (1st ‘(𝐽𝑚)))
5251eleq1d 2300 . . . . . . . 8 (𝑧 = 𝑚 → ((1st ‘(𝐽𝑧)) ∈ 𝑆 ↔ (1st ‘(𝐽𝑚)) ∈ 𝑆))
53 2fveq3 5644 . . . . . . . . 9 (𝑧 = 𝑚 → (2nd ‘(𝐽𝑧)) = (2nd ‘(𝐽𝑚)))
5451fveq2d 5643 . . . . . . . . . 10 (𝑧 = 𝑚 → (𝐹‘(1st ‘(𝐽𝑧))) = (𝐹‘(1st ‘(𝐽𝑚))))
5554csbeq1d 3134 . . . . . . . . 9 (𝑧 = 𝑚(𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇 = (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)
5653, 55eleq12d 2302 . . . . . . . 8 (𝑧 = 𝑚 → ((2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇 ↔ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))
5752, 56anbi12d 473 . . . . . . 7 (𝑧 = 𝑚 → (((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇) ↔ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)))
58 ctiunct.u . . . . . . 7 𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}
5957, 58elrab2 2965 . . . . . 6 (𝑚𝑈 ↔ (𝑚 ∈ ω ∧ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)))
60 ibar 301 . . . . . . 7 (𝑚 ∈ ω → (((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇) ↔ (𝑚 ∈ ω ∧ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))))
6160adantl 277 . . . . . 6 ((𝜑𝑚 ∈ ω) → (((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇) ↔ (𝑚 ∈ ω ∧ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇))))
6259, 61bitr4id 199 . . . . 5 ((𝜑𝑚 ∈ ω) → (𝑚𝑈 ↔ ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)))
6362dcbid 845 . . . 4 ((𝜑𝑚 ∈ ω) → (DECID 𝑚𝑈DECID ((1st ‘(𝐽𝑚)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑚)) ∈ (𝐹‘(1st ‘(𝐽𝑚))) / 𝑥𝑇)))
6450, 63mpbird 167 . . 3 ((𝜑𝑚 ∈ ω) → DECID 𝑚𝑈)
6564ralrimiva 2605 . 2 (𝜑 → ∀𝑚 ∈ ω DECID 𝑚𝑈)
66 eleq1 2294 . . . 4 (𝑚 = 𝑛 → (𝑚𝑈𝑛𝑈))
6766dcbid 845 . . 3 (𝑚 = 𝑛 → (DECID 𝑚𝑈DECID 𝑛𝑈))
6867cbvralv 2767 . 2 (∀𝑚 ∈ ω DECID 𝑚𝑈 ↔ ∀𝑛 ∈ ω DECID 𝑛𝑈)
6965, 68sylib 122 1 (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑈)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 715  DECID wdc 841   = wceq 1397  wcel 2202  wral 2510  {crab 2514  csb 3127  wss 3200  ωcom 4688   × cxp 4723  wf 5322  ontowfo 5324  1-1-ontowf1o 5325  cfv 5326  1st c1st 6301  2nd c2nd 6302
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-13 2204  ax-14 2205  ax-ext 2213  ax-sep 4207  ax-pow 4264  ax-pr 4299  ax-un 4530
This theorem depends on definitions:  df-bi 117  df-dc 842  df-3an 1006  df-tru 1400  df-fal 1403  df-nf 1509  df-sb 1811  df-eu 2082  df-mo 2083  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-ral 2515  df-rex 2516  df-rab 2519  df-v 2804  df-sbc 3032  df-csb 3128  df-un 3204  df-in 3206  df-ss 3213  df-pw 3654  df-sn 3675  df-pr 3676  df-op 3678  df-uni 3894  df-br 4089  df-opab 4151  df-mpt 4152  df-id 4390  df-xp 4731  df-rel 4732  df-cnv 4733  df-co 4734  df-dm 4735  df-rn 4736  df-iota 5286  df-fun 5328  df-fn 5329  df-f 5330  df-f1 5331  df-fo 5332  df-f1o 5333  df-fv 5334  df-1st 6303  df-2nd 6304
This theorem is referenced by:  ctiunct  13063
  Copyright terms: Public domain W3C validator