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

Theorem findcard2d 6869
Description: Deduction version of findcard2 6867. If you also need 𝑦 ∈ Fin (which doesn't come for free due to ssfiexmid 6854), use findcard2sd 6870 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 3167 . 2 𝐴𝐴
2 findcard2d.a . . . 4 (𝜑𝐴 ∈ Fin)
32adantr 274 . . 3 ((𝜑𝐴𝐴) → 𝐴 ∈ Fin)
4 sseq1 3170 . . . . . 6 (𝑥 = ∅ → (𝑥𝐴 ↔ ∅ ⊆ 𝐴))
54anbi2d 461 . . . . 5 (𝑥 = ∅ → ((𝜑𝑥𝐴) ↔ (𝜑 ∧ ∅ ⊆ 𝐴)))
6 findcard2d.ch . . . . 5 (𝑥 = ∅ → (𝜓𝜒))
75, 6imbi12d 233 . . . 4 (𝑥 = ∅ → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑 ∧ ∅ ⊆ 𝐴) → 𝜒)))
8 sseq1 3170 . . . . . 6 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
98anbi2d 461 . . . . 5 (𝑥 = 𝑦 → ((𝜑𝑥𝐴) ↔ (𝜑𝑦𝐴)))
10 findcard2d.th . . . . 5 (𝑥 = 𝑦 → (𝜓𝜃))
119, 10imbi12d 233 . . . 4 (𝑥 = 𝑦 → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑𝑦𝐴) → 𝜃)))
12 sseq1 3170 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑥𝐴 ↔ (𝑦 ∪ {𝑧}) ⊆ 𝐴))
1312anbi2d 461 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝜑𝑥𝐴) ↔ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)))
14 findcard2d.ta . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝜓𝜏))
1513, 14imbi12d 233 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → 𝜏)))
16 sseq1 3170 . . . . . 6 (𝑥 = 𝐴 → (𝑥𝐴𝐴𝐴))
1716anbi2d 461 . . . . 5 (𝑥 = 𝐴 → ((𝜑𝑥𝐴) ↔ (𝜑𝐴𝐴)))
18 findcard2d.et . . . . 5 (𝑥 = 𝐴 → (𝜓𝜂))
1917, 18imbi12d 233 . . . 4 (𝑥 = 𝐴 → (((𝜑𝑥𝐴) → 𝜓) ↔ ((𝜑𝐴𝐴) → 𝜂)))
20 findcard2d.z . . . . 5 (𝜑𝜒)
2120adantr 274 . . . 4 ((𝜑 ∧ ∅ ⊆ 𝐴) → 𝜒)
22 simprl 526 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝜑)
23 simprr 527 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝑦 ∪ {𝑧}) ⊆ 𝐴)
2423unssad 3304 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑦𝐴)
2522, 24jca 304 . . . . . . 7 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝜑𝑦𝐴))
26 id 19 . . . . . . . . . . 11 ((𝑦 ∪ {𝑧}) ⊆ 𝐴 → (𝑦 ∪ {𝑧}) ⊆ 𝐴)
27 vsnid 3615 . . . . . . . . . . . 12 𝑧 ∈ {𝑧}
28 elun2 3295 . . . . . . . . . . . 12 (𝑧 ∈ {𝑧} → 𝑧 ∈ (𝑦 ∪ {𝑧}))
2927, 28mp1i 10 . . . . . . . . . . 11 ((𝑦 ∪ {𝑧}) ⊆ 𝐴𝑧 ∈ (𝑦 ∪ {𝑧}))
3026, 29sseldd 3148 . . . . . . . . . 10 ((𝑦 ∪ {𝑧}) ⊆ 𝐴𝑧𝐴)
3130ad2antll 488 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑧𝐴)
32 simplr 525 . . . . . . . . 9 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → ¬ 𝑧𝑦)
3331, 32eldifd 3131 . . . . . . . 8 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → 𝑧 ∈ (𝐴𝑦))
34 findcard2d.i . . . . . . . 8 ((𝜑 ∧ (𝑦𝐴𝑧 ∈ (𝐴𝑦))) → (𝜃𝜏))
3522, 24, 33, 34syl12anc 1231 . . . . . . 7 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (𝜃𝜏))
3625, 35embantd 56 . . . . . 6 (((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) ∧ (𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴)) → (((𝜑𝑦𝐴) → 𝜃) → 𝜏))
3736ex 114 . . . . 5 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → (((𝜑𝑦𝐴) → 𝜃) → 𝜏)))
3837com23 78 . . . 4 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → (((𝜑𝑦𝐴) → 𝜃) → ((𝜑 ∧ (𝑦 ∪ {𝑧}) ⊆ 𝐴) → 𝜏)))
397, 11, 15, 19, 21, 38findcard2s 6868 . . 3 (𝐴 ∈ Fin → ((𝜑𝐴𝐴) → 𝜂))
403, 39mpcom 36 . 2 ((𝜑𝐴𝐴) → 𝜂)
411, 40mpan2 423 1 (𝜑𝜂)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104   = wceq 1348  wcel 2141  cdif 3118  cun 3119  wss 3121  c0 3414  {csn 3583  Fincfn 6718
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-er 6513  df-en 6719  df-fin 6721
This theorem is referenced by:  iunfidisj  6923
  Copyright terms: Public domain W3C validator