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

Theorem dcfi 7315
Description: Decidability of a family of propositions indexed by a finite set. (Contributed by Jim Kingdon, 30-Sep-2024.)
Assertion
Ref Expression
dcfi ((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) → DECID𝑥𝐴 𝜑)
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem dcfi
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 raleq 2749 . . 3 (𝑤 = ∅ → (∀𝑥𝑤 𝜑 ↔ ∀𝑥 ∈ ∅ 𝜑))
21dcbid 850 . 2 (𝑤 = ∅ → (DECID𝑥𝑤 𝜑DECID𝑥 ∈ ∅ 𝜑))
3 raleq 2749 . . 3 (𝑤 = 𝑦 → (∀𝑥𝑤 𝜑 ↔ ∀𝑥𝑦 𝜑))
43dcbid 850 . 2 (𝑤 = 𝑦 → (DECID𝑥𝑤 𝜑DECID𝑥𝑦 𝜑))
5 raleq 2749 . . 3 (𝑤 = (𝑦 ∪ {𝑧}) → (∀𝑥𝑤 𝜑 ↔ ∀𝑥 ∈ (𝑦 ∪ {𝑧})𝜑))
65dcbid 850 . 2 (𝑤 = (𝑦 ∪ {𝑧}) → (DECID𝑥𝑤 𝜑DECID𝑥 ∈ (𝑦 ∪ {𝑧})𝜑))
7 raleq 2749 . . 3 (𝑤 = 𝐴 → (∀𝑥𝑤 𝜑 ↔ ∀𝑥𝐴 𝜑))
87dcbid 850 . 2 (𝑤 = 𝐴 → (DECID𝑥𝑤 𝜑DECID𝑥𝐴 𝜑))
9 ral0 3629 . . . . 5 𝑥 ∈ ∅ 𝜑
109orci 743 . . . 4 (∀𝑥 ∈ ∅ 𝜑 ∨ ¬ ∀𝑥 ∈ ∅ 𝜑)
11 df-dc 847 . . . 4 (DECID𝑥 ∈ ∅ 𝜑 ↔ (∀𝑥 ∈ ∅ 𝜑 ∨ ¬ ∀𝑥 ∈ ∅ 𝜑))
1210, 11mpbir 146 . . 3 DECID𝑥 ∈ ∅ 𝜑
1312a1i 9 . 2 ((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) → DECID𝑥 ∈ ∅ 𝜑)
14 simpr 110 . . . . 5 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → DECID𝑥𝑦 𝜑)
15 simplrr 542 . . . . . . . 8 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → 𝑧 ∈ (𝐴𝑦))
1615eldifad 3231 . . . . . . 7 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → 𝑧𝐴)
17 simp-4r 548 . . . . . . 7 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → ∀𝑥𝐴 DECID 𝜑)
18 nfsbc1v 3070 . . . . . . . . 9 𝑥[𝑧 / 𝑥]𝜑
1918nfdc 1711 . . . . . . . 8 𝑥DECID [𝑧 / 𝑥]𝜑
20 sbceq1a 3061 . . . . . . . . 9 (𝑥 = 𝑧 → (𝜑[𝑧 / 𝑥]𝜑))
2120dcbid 850 . . . . . . . 8 (𝑥 = 𝑧 → (DECID 𝜑DECID [𝑧 / 𝑥]𝜑))
2219, 21rspc 2923 . . . . . . 7 (𝑧𝐴 → (∀𝑥𝐴 DECID 𝜑DECID [𝑧 / 𝑥]𝜑))
2316, 17, 22sylc 62 . . . . . 6 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → DECID [𝑧 / 𝑥]𝜑)
24 ralsns 3747 . . . . . . . 8 (𝑧 ∈ V → (∀𝑥 ∈ {𝑧}𝜑[𝑧 / 𝑥]𝜑))
2524elv 2825 . . . . . . 7 (∀𝑥 ∈ {𝑧}𝜑[𝑧 / 𝑥]𝜑)
2625dcbii 852 . . . . . 6 (DECID𝑥 ∈ {𝑧}𝜑DECID [𝑧 / 𝑥]𝜑)
2723, 26sylibr 134 . . . . 5 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → DECID𝑥 ∈ {𝑧}𝜑)
2814, 27dcand 945 . . . 4 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → DECID (∀𝑥𝑦 𝜑 ∧ ∀𝑥 ∈ {𝑧}𝜑))
29 ralunb 3410 . . . . 5 (∀𝑥 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ (∀𝑥𝑦 𝜑 ∧ ∀𝑥 ∈ {𝑧}𝜑))
3029dcbii 852 . . . 4 (DECID𝑥 ∈ (𝑦 ∪ {𝑧})𝜑DECID (∀𝑥𝑦 𝜑 ∧ ∀𝑥 ∈ {𝑧}𝜑))
3128, 30sylibr 134 . . 3 (((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) ∧ DECID𝑥𝑦 𝜑) → DECID𝑥 ∈ (𝑦 ∪ {𝑧})𝜑)
3231ex 115 . 2 ((((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) ∧ 𝑦 ∈ Fin) ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) → (DECID𝑥𝑦 𝜑DECID𝑥 ∈ (𝑦 ∪ {𝑧})𝜑))
33 simpl 109 . 2 ((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) → 𝐴 ∈ Fin)
342, 4, 6, 8, 13, 32, 33findcard2sd 7196 1 ((𝐴 ∈ Fin ∧ ∀𝑥𝐴 DECID 𝜑) → DECID𝑥𝐴 𝜑)
Colors of variables:    wff set class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wa 104  wb 105  wo 720  DECID wdc 846   = wceq 1402  wcel 2209  wral 2528  Vcvv 2821  [wsbc 3051  cdif 3217  cun 3218  wss 3220  c0 3520  {csn 3709  Fincfn 7022
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4246  ax-sep 4249  ax-nul 4259  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-iinf 4735
This proof depends on definitions:  df-bi 117  df-dc 847  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-if 3639  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4131  df-opab 4193  df-mpt 4194  df-tr 4230  df-id 4438  df-iord 4511  df-on 4513  df-suc 4516  df-iom 4738  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-er 6807  df-en 7023  df-fin 7025
This theorem is used by:  fdcf1  7316  prmdc  12908  ballotfilemefi  13237  psr1clfi  15079
  Copyright terms: Public domain W3C validator