Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >   Mathboxes  >  decidin GIF version

Theorem decidin 14171
Description: If A is a decidable subclass of B (meaning: it is a subclass of B and it is decidable in B), and B is decidable in C, then A is decidable in C. (Contributed by BJ, 19-Feb-2022.)
Hypotheses
Ref Expression
decidin.ss (𝜑𝐴𝐵)
decidin.a (𝜑𝐴 DECIDin 𝐵)
decidin.b (𝜑𝐵 DECIDin 𝐶)
Assertion
Ref Expression
decidin (𝜑𝐴 DECIDin 𝐶)

Proof of Theorem decidin
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 decidin.b . . . 4 (𝜑𝐵 DECIDin 𝐶)
2 decidi 14169 . . . 4 (𝐵 DECIDin 𝐶 → (𝑥𝐶 → (𝑥𝐵 ∨ ¬ 𝑥𝐵)))
31, 2syl 14 . . 3 (𝜑 → (𝑥𝐶 → (𝑥𝐵 ∨ ¬ 𝑥𝐵)))
4 decidin.a . . . . 5 (𝜑𝐴 DECIDin 𝐵)
5 decidi 14169 . . . . 5 (𝐴 DECIDin 𝐵 → (𝑥𝐵 → (𝑥𝐴 ∨ ¬ 𝑥𝐴)))
64, 5syl 14 . . . 4 (𝜑 → (𝑥𝐵 → (𝑥𝐴 ∨ ¬ 𝑥𝐴)))
7 decidin.ss . . . . . 6 (𝜑𝐴𝐵)
87ssneld 3157 . . . . 5 (𝜑 → (¬ 𝑥𝐵 → ¬ 𝑥𝐴))
9 olc 711 . . . . 5 𝑥𝐴 → (𝑥𝐴 ∨ ¬ 𝑥𝐴))
108, 9syl6 33 . . . 4 (𝜑 → (¬ 𝑥𝐵 → (𝑥𝐴 ∨ ¬ 𝑥𝐴)))
116, 10jaod 717 . . 3 (𝜑 → ((𝑥𝐵 ∨ ¬ 𝑥𝐵) → (𝑥𝐴 ∨ ¬ 𝑥𝐴)))
123, 11syld 45 . 2 (𝜑 → (𝑥𝐶 → (𝑥𝐴 ∨ ¬ 𝑥𝐴)))
1312decidr 14170 1 (𝜑𝐴 DECIDin 𝐶)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wo 708  wcel 2148  wss 3129   DECIDin wdcin 14167
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 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-ext 2159
This theorem depends on definitions:  df-bi 117  df-dc 835  df-tru 1356  df-nf 1461  df-sb 1763  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ral 2460  df-v 2739  df-in 3135  df-ss 3142  df-dcin 14168
This theorem is referenced by:  sumdc2  14173
  Copyright terms: Public domain W3C validator