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

Theorem findcard2d 6857
Description: Deduction version of findcard2 6855. If you also need 𝑦 ∈ Fin (which doesn't come for free due to ssfiexmid 6842), use findcard2sd 6858 instead. (Contributed by SO, 16-Jul-2018.)
Hypotheses
Ref Expression
findcard2d.ch (𝑥 = ∅ → (𝜓𝜒))
findcard2d.th (𝑥 = 𝑦 → (𝜓𝜃))
findcard2d.ta (𝑥 = (𝑦 ∪ {𝑧}) → (𝜓𝜏))
findcard2d.et (𝑥 = 𝐴 → (𝜓𝜂))
findcard2d.z (𝜑𝜒)
findcard2d.i ((𝜑 ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) → (𝜃𝜏))
findcard2d.a (𝜑𝐴 ∈ Fin)
Assertion
Ref Expression
findcard2d (𝜑𝜂)
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝜓,𝑦,𝑧   𝜒,𝑥   𝜃,𝑥   𝜏,𝑥   𝜂,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦,𝑧)   𝜃(𝑦,𝑧)   𝜏(𝑦,𝑧)   𝜂(𝑦,𝑧)

Proof of Theorem findcard2d
StepHypRef Expression
1 ssid 3162 . 2 𝐴𝐴
2 findcard2d.a . . . 4 (𝜑𝐴 ∈ Fin)
32adantr 274 . . 3 ((𝜑𝐴𝐴) → 𝐴 ∈ Fin)
4 sseq1 3165 . . . . . 6 (𝑥 = ∅ → (𝑥𝐴 ↔ ∅ ⊆ 𝐴))
54anbi2d 460 . . . . 5 (𝑥 = ∅ → ((𝜑𝑥𝐴) ↔ (𝜑 ∧ ∅ ⊆ 𝐴)))
6 findcard2d.ch . . . . 5 (𝑥 = ∅ → (𝜓𝜒))
75, 6imbi12d 233 . . . 4 (𝑥 = ∅ → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑 ∧ ∅ ⊆ 𝐴) → 𝜒)))
8 sseq1 3165 . . . . . 6 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
98anbi2d 460 . . . . 5 (𝑥 = 𝑦 → ((𝜑𝑥𝐴) ↔ (𝜑𝑦𝐴)))
10 findcard2d.th . . . . 5 (𝑥 = 𝑦 → (𝜓𝜃))
119, 10imbi12d 233 . . . 4 (𝑥 = 𝑦 → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑𝑦𝐴) → 𝜃)))
12 sseq1 3165 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑥𝐴 ↔ (𝑦 ∪ {𝑧}) ⊆ 𝐴))
1312anbi2d 460 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝜑𝑥𝐴) ↔ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)))
14 findcard2d.ta . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝜓𝜏))
1513, 14imbi12d 233 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → 𝜏)))
16 sseq1 3165 . . . . . 6 (𝑥 = 𝐴 → (𝑥𝐴𝐴𝐴))
1716anbi2d 460 . . . . 5 (𝑥 = 𝐴 → ((𝜑𝑥𝐴) ↔ (𝜑𝐴𝐴)))
18 findcard2d.et . . . . 5 (𝑥 = 𝐴 → (𝜓𝜂))
1917, 18imbi12d 233 . . . 4 (𝑥 = 𝐴 → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑𝐴𝐴) → 𝜂)))
20 findcard2d.z . . . . 5 (𝜑𝜒)
2120adantr 274 . . . 4 ((𝜑 ∧ ∅ ⊆ 𝐴) → 𝜒)
22 simprl 521 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝜑)
23 simprr 522 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝑦 ∪ {𝑧}) ⊆ 𝐴)
2423unssad 3299 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑦𝐴)
2522, 24jca 304 . . . . . . 7 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝜑𝑦𝐴))
26 id 19 . . . . . . . . . . 11 ((𝑦 ∪ {𝑧}) ⊆ 𝐴 → (𝑦 ∪ {𝑧}) ⊆ 𝐴)
27 vsnid 3608 . . . . . . . . . . . 12 𝑧 ∈ {𝑧}
28 elun2 3290 . . . . . . . . . . . 12 (𝑧 ∈ {𝑧} → 𝑧 ∈ (𝑦 ∪ {𝑧}))
2927, 28mp1i 10 . . . . . . . . . . 11 ((𝑦 ∪ {𝑧}) ⊆ 𝐴𝑧 ∈ (𝑦 ∪ {𝑧}))
3026, 29sseldd 3143 . . . . . . . . . 10 ((𝑦 ∪ {𝑧}) ⊆ 𝐴𝑧𝐴)
3130ad2antll 483 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑧𝐴)
32 simplr 520 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → ¬ 𝑧𝑦)
3331, 32eldifd 3126 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑧 ∈ (𝐴𝑦))
34 findcard2d.i . . . . . . . 8 ((𝜑 ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) → (𝜃𝜏))
3522, 24, 33, 34syl12anc 1226 . . . . . . 7 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝜃𝜏))
3625, 35embantd 56 . . . . . 6 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (((𝜑𝑦𝐴) → 𝜃) → 𝜏))
3736ex 114 . . . . 5 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → (((𝜑𝑦𝐴) → 𝜃) → 𝜏)))
3837com23 78 . . . 4 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → (((𝜑𝑦𝐴) → 𝜃) → ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → 𝜏)))
397, 11, 15, 19, 21, 38findcard2s 6856 . . 3 (𝐴 ∈ Fin → ((𝜑𝐴𝐴) → 𝜂))
403, 39mpcom 36 . 2 ((𝜑𝐴𝐴) → 𝜂)
411, 40mpan2 422 1 (𝜑𝜂)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1343  wcel 2136  cdif 3113  cun 3114  wss 3116  c0 3409  {csn 3576  Fincfn 6706
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-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  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-ne 2337  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-iom 4568  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-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-er 6501  df-en 6707  df-fin 6709
This theorem is referenced by:  iunfidisj  6911
  Copyright terms: Public domain W3C validator