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

Theorem fimax2gtrilemstep 6866
Description: Lemma for fimax2gtri 6867. The induction step. (Contributed by Jim Kingdon, 5-Sep-2022.)
Hypotheses
Ref Expression
fimax2gtri.po (𝜑𝑅 Po 𝐴)
fimax2gtri.tri (𝜑 → ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦𝑥 = 𝑦𝑦𝑅𝑥))
fimax2gtri.fin (𝜑𝐴 ∈ Fin)
fimax2gtri.n0 (𝜑𝐴 ≠ ∅)
fimax2gtri.ufin (𝜑𝑈 ∈ Fin)
fimax2gtri.uss (𝜑𝑈𝐴)
fimax2gtri.za (𝜑𝑍𝐴)
fimax2gtri.va (𝜑𝑉𝐴)
fimax2gtri.vu (𝜑 → ¬ 𝑉𝑈)
fimax2gtri.zb (𝜑 → ∀𝑦𝑈 ¬ 𝑍𝑅𝑦)
Assertion
Ref Expression
fimax2gtrilemstep (𝜑 → ∃𝑥𝐴𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ 𝑥𝑅𝑦)
Distinct variable groups:   𝑥,𝑅,𝑦   𝑥,𝐴,𝑦   𝑥,𝑈,𝑦   𝑥,𝑉,𝑦   𝑥,𝑍,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem fimax2gtrilemstep
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 fimax2gtri.va . . 3 (𝜑𝑉𝐴)
2 fimax2gtri.za . . 3 (𝜑𝑍𝐴)
3 fimax2gtri.po . . . 4 (𝜑𝑅 Po 𝐴)
4 fimax2gtri.tri . . . 4 (𝜑 → ∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦𝑥 = 𝑦𝑦𝑅𝑥))
53, 4, 2, 1tridc 6865 . . 3 (𝜑DECID 𝑍𝑅𝑉)
61, 2, 5ifcldcd 3555 . 2 (𝜑 → if(𝑍𝑅𝑉, 𝑉, 𝑍) ∈ 𝐴)
7 simplr 520 . . . . . . . 8 ((((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) ∧ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤) → 𝑍𝑅𝑉)
8 simpr 109 . . . . . . . . . . . 12 ((𝜑𝑍𝑅𝑉) → 𝑍𝑅𝑉)
98iftrued 3527 . . . . . . . . . . 11 ((𝜑𝑍𝑅𝑉) → if(𝑍𝑅𝑉, 𝑉, 𝑍) = 𝑉)
109breq1d 3992 . . . . . . . . . 10 ((𝜑𝑍𝑅𝑉) → (if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤𝑉𝑅𝑤))
1110biimpa 294 . . . . . . . . 9 (((𝜑𝑍𝑅𝑉) ∧ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤) → 𝑉𝑅𝑤)
1211adantllr 473 . . . . . . . 8 ((((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) ∧ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤) → 𝑉𝑅𝑤)
133ad2antrr 480 . . . . . . . . . 10 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → 𝑅 Po 𝐴)
142ad2antrr 480 . . . . . . . . . 10 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → 𝑍𝐴)
151ad2antrr 480 . . . . . . . . . 10 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → 𝑉𝐴)
16 fimax2gtri.uss . . . . . . . . . . . 12 (𝜑𝑈𝐴)
1716ad2antrr 480 . . . . . . . . . . 11 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → 𝑈𝐴)
18 simplr 520 . . . . . . . . . . 11 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → 𝑤𝑈)
1917, 18sseldd 3143 . . . . . . . . . 10 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → 𝑤𝐴)
20 potr 4286 . . . . . . . . . 10 ((𝑅 Po 𝐴 ∧ (𝑍𝐴𝑉𝐴𝑤𝐴)) → ((𝑍𝑅𝑉𝑉𝑅𝑤) → 𝑍𝑅𝑤))
2113, 14, 15, 19, 20syl13anc 1230 . . . . . . . . 9 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → ((𝑍𝑅𝑉𝑉𝑅𝑤) → 𝑍𝑅𝑤))
2221adantr 274 . . . . . . . 8 ((((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) ∧ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤) → ((𝑍𝑅𝑉𝑉𝑅𝑤) → 𝑍𝑅𝑤))
237, 12, 22mp2and 430 . . . . . . 7 ((((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) ∧ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤) → 𝑍𝑅𝑤)
24 fimax2gtri.zb . . . . . . . . . 10 (𝜑 → ∀𝑦𝑈 ¬ 𝑍𝑅𝑦)
25 breq2 3986 . . . . . . . . . . . 12 (𝑦 = 𝑤 → (𝑍𝑅𝑦𝑍𝑅𝑤))
2625notbid 657 . . . . . . . . . . 11 (𝑦 = 𝑤 → (¬ 𝑍𝑅𝑦 ↔ ¬ 𝑍𝑅𝑤))
2726cbvralv 2692 . . . . . . . . . 10 (∀𝑦𝑈 ¬ 𝑍𝑅𝑦 ↔ ∀𝑤𝑈 ¬ 𝑍𝑅𝑤)
2824, 27sylib 121 . . . . . . . . 9 (𝜑 → ∀𝑤𝑈 ¬ 𝑍𝑅𝑤)
2928r19.21bi 2554 . . . . . . . 8 ((𝜑𝑤𝑈) → ¬ 𝑍𝑅𝑤)
3029ad2antrr 480 . . . . . . 7 ((((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) ∧ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤) → ¬ 𝑍𝑅𝑤)
3123, 30pm2.65da 651 . . . . . 6 (((𝜑𝑤𝑈) ∧ 𝑍𝑅𝑉) → ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤)
3229adantr 274 . . . . . . 7 (((𝜑𝑤𝑈) ∧ ¬ 𝑍𝑅𝑉) → ¬ 𝑍𝑅𝑤)
33 simpr 109 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝑍𝑅𝑉) → ¬ 𝑍𝑅𝑉)
3433iffalsed 3530 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝑍𝑅𝑉) → if(𝑍𝑅𝑉, 𝑉, 𝑍) = 𝑍)
3534breq1d 3992 . . . . . . . 8 ((𝜑 ∧ ¬ 𝑍𝑅𝑉) → (if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤𝑍𝑅𝑤))
3635adantlr 469 . . . . . . 7 (((𝜑𝑤𝑈) ∧ ¬ 𝑍𝑅𝑉) → (if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤𝑍𝑅𝑤))
3732, 36mtbird 663 . . . . . 6 (((𝜑𝑤𝑈) ∧ ¬ 𝑍𝑅𝑉) → ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤)
38 exmiddc 826 . . . . . . . 8 (DECID 𝑍𝑅𝑉 → (𝑍𝑅𝑉 ∨ ¬ 𝑍𝑅𝑉))
395, 38syl 14 . . . . . . 7 (𝜑 → (𝑍𝑅𝑉 ∨ ¬ 𝑍𝑅𝑉))
4039adantr 274 . . . . . 6 ((𝜑𝑤𝑈) → (𝑍𝑅𝑉 ∨ ¬ 𝑍𝑅𝑉))
4131, 37, 40mpjaodan 788 . . . . 5 ((𝜑𝑤𝑈) → ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤)
4241ralrimiva 2539 . . . 4 (𝜑 → ∀𝑤𝑈 ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤)
43 breq2 3986 . . . . . 6 (𝑤 = 𝑦 → (if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤 ↔ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦))
4443notbid 657 . . . . 5 (𝑤 = 𝑦 → (¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤 ↔ ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦))
4544cbvralv 2692 . . . 4 (∀𝑤𝑈 ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑤 ↔ ∀𝑦𝑈 ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦)
4642, 45sylib 121 . . 3 (𝜑 → ∀𝑦𝑈 ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦)
473adantr 274 . . . . . . 7 ((𝜑𝑍𝑅𝑉) → 𝑅 Po 𝐴)
481adantr 274 . . . . . . 7 ((𝜑𝑍𝑅𝑉) → 𝑉𝐴)
49 poirr 4285 . . . . . . 7 ((𝑅 Po 𝐴𝑉𝐴) → ¬ 𝑉𝑅𝑉)
5047, 48, 49syl2anc 409 . . . . . 6 ((𝜑𝑍𝑅𝑉) → ¬ 𝑉𝑅𝑉)
519breq1d 3992 . . . . . 6 ((𝜑𝑍𝑅𝑉) → (if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉𝑉𝑅𝑉))
5250, 51mtbird 663 . . . . 5 ((𝜑𝑍𝑅𝑉) → ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉)
5334breq1d 3992 . . . . . 6 ((𝜑 ∧ ¬ 𝑍𝑅𝑉) → (if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉𝑍𝑅𝑉))
5433, 53mtbird 663 . . . . 5 ((𝜑 ∧ ¬ 𝑍𝑅𝑉) → ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉)
5552, 54, 39mpjaodan 788 . . . 4 (𝜑 → ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉)
56 breq2 3986 . . . . . . 7 (𝑦 = 𝑉 → (if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦 ↔ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉))
5756notbid 657 . . . . . 6 (𝑦 = 𝑉 → (¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦 ↔ ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉))
5857ralsng 3616 . . . . 5 (𝑉𝐴 → (∀𝑦 ∈ {𝑉} ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦 ↔ ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉))
591, 58syl 14 . . . 4 (𝜑 → (∀𝑦 ∈ {𝑉} ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦 ↔ ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑉))
6055, 59mpbird 166 . . 3 (𝜑 → ∀𝑦 ∈ {𝑉} ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦)
61 ralun 3304 . . 3 ((∀𝑦𝑈 ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦 ∧ ∀𝑦 ∈ {𝑉} ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦) → ∀𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦)
6246, 60, 61syl2anc 409 . 2 (𝜑 → ∀𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦)
63 breq1 3985 . . . . 5 (𝑥 = if(𝑍𝑅𝑉, 𝑉, 𝑍) → (𝑥𝑅𝑦 ↔ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦))
6463notbid 657 . . . 4 (𝑥 = if(𝑍𝑅𝑉, 𝑉, 𝑍) → (¬ 𝑥𝑅𝑦 ↔ ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦))
6564ralbidv 2466 . . 3 (𝑥 = if(𝑍𝑅𝑉, 𝑉, 𝑍) → (∀𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ 𝑥𝑅𝑦 ↔ ∀𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦))
6665rspcev 2830 . 2 ((if(𝑍𝑅𝑉, 𝑉, 𝑍) ∈ 𝐴 ∧ ∀𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ if(𝑍𝑅𝑉, 𝑉, 𝑍)𝑅𝑦) → ∃𝑥𝐴𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ 𝑥𝑅𝑦)
676, 62, 66syl2anc 409 1 (𝜑 → ∃𝑥𝐴𝑦 ∈ (𝑈 ∪ {𝑉}) ¬ 𝑥𝑅𝑦)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  DECID wdc 824  w3o 967   = wceq 1343  wcel 2136  wne 2336  wral 2444  wrex 2445  cun 3114  wss 3116  c0 3409  ifcif 3520  {csn 3576   class class class wbr 3982   Po wpo 4272  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-ext 2147
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-if 3521  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-po 4274
This theorem is referenced by:  fimax2gtri  6867
  Copyright terms: Public domain W3C validator