MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nosupbnd1lem2 Structured version   Visualization version   GIF version

Theorem nosupbnd1lem2 27073
Description: Lemma for nosupbnd1 27078. When there is no maximum, if any member of 𝐴 is a prolongment of 𝑆, then so are all elements of 𝐴 above it. (Contributed by Scott Fenton, 5-Dec-2021.)
Hypothesis
Ref Expression
nosupbnd1.1 𝑆 = if(∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦, ((𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦) ∪ {⟨dom (𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦), 2o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
Assertion
Ref Expression
nosupbnd1lem2 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → (𝑊 ↾ dom 𝑆) = 𝑆)
Distinct variable groups:   𝐴,𝑔,𝑢,𝑣,𝑥,𝑦   𝑣,𝑊   𝑥,𝑦
Allowed substitution hints:   𝑆(𝑥,𝑦,𝑣,𝑢,𝑔)   𝑈(𝑥,𝑦,𝑣,𝑢,𝑔)   𝑊(𝑥,𝑦,𝑢,𝑔)

Proof of Theorem nosupbnd1lem2
StepHypRef Expression
1 simp3rr 1248 . . . 4 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → ¬ 𝑊 <s 𝑈)
2 simp2l 1200 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → 𝐴 No )
3 simp3rl 1247 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → 𝑊𝐴)
42, 3sseldd 3946 . . . . 5 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → 𝑊 No )
5 simp3ll 1245 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → 𝑈𝐴)
62, 5sseldd 3946 . . . . 5 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → 𝑈 No )
7 nosupbnd1.1 . . . . . . . 8 𝑆 = if(∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦, ((𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦) ∪ {⟨dom (𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦), 2o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
87nosupno 27067 . . . . . . 7 ((𝐴 No 𝐴 ∈ V) → 𝑆 No )
983ad2ant2 1135 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → 𝑆 No )
10 nodmon 27014 . . . . . 6 (𝑆 No → dom 𝑆 ∈ On)
119, 10syl 17 . . . . 5 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → dom 𝑆 ∈ On)
12 sltres 27026 . . . . 5 ((𝑊 No 𝑈 No ∧ dom 𝑆 ∈ On) → ((𝑊 ↾ dom 𝑆) <s (𝑈 ↾ dom 𝑆) → 𝑊 <s 𝑈))
134, 6, 11, 12syl3anc 1372 . . . 4 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → ((𝑊 ↾ dom 𝑆) <s (𝑈 ↾ dom 𝑆) → 𝑊 <s 𝑈))
141, 13mtod 197 . . 3 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → ¬ (𝑊 ↾ dom 𝑆) <s (𝑈 ↾ dom 𝑆))
15 simp3lr 1246 . . . 4 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → (𝑈 ↾ dom 𝑆) = 𝑆)
1615breq2d 5118 . . 3 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → ((𝑊 ↾ dom 𝑆) <s (𝑈 ↾ dom 𝑆) ↔ (𝑊 ↾ dom 𝑆) <s 𝑆))
1714, 16mtbid 324 . 2 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → ¬ (𝑊 ↾ dom 𝑆) <s 𝑆)
187nosupbnd1lem1 27072 . . 3 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑊𝐴) → ¬ 𝑆 <s (𝑊 ↾ dom 𝑆))
193, 18syld3an3 1410 . 2 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → ¬ 𝑆 <s (𝑊 ↾ dom 𝑆))
20 noreson 27024 . . . 4 ((𝑊 No ∧ dom 𝑆 ∈ On) → (𝑊 ↾ dom 𝑆) ∈ No )
214, 11, 20syl2anc 585 . . 3 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → (𝑊 ↾ dom 𝑆) ∈ No )
22 sltso 27040 . . . 4 <s Or No
23 sotrieq2 5576 . . . 4 (( <s Or No ∧ ((𝑊 ↾ dom 𝑆) ∈ No 𝑆 No )) → ((𝑊 ↾ dom 𝑆) = 𝑆 ↔ (¬ (𝑊 ↾ dom 𝑆) <s 𝑆 ∧ ¬ 𝑆 <s (𝑊 ↾ dom 𝑆))))
2422, 23mpan 689 . . 3 (((𝑊 ↾ dom 𝑆) ∈ No 𝑆 No ) → ((𝑊 ↾ dom 𝑆) = 𝑆 ↔ (¬ (𝑊 ↾ dom 𝑆) <s 𝑆 ∧ ¬ 𝑆 <s (𝑊 ↾ dom 𝑆))))
2521, 9, 24syl2anc 585 . 2 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → ((𝑊 ↾ dom 𝑆) = 𝑆 ↔ (¬ (𝑊 ↾ dom 𝑆) <s 𝑆 ∧ ¬ 𝑆 <s (𝑊 ↾ dom 𝑆))))
2617, 19, 25mpbir2and 712 1 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ ((𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆) ∧ (𝑊𝐴 ∧ ¬ 𝑊 <s 𝑈))) → (𝑊 ↾ dom 𝑆) = 𝑆)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 397  w3a 1088   = wceq 1542  wcel 2107  {cab 2710  wral 3061  wrex 3070  Vcvv 3444  cun 3909  wss 3911  ifcif 4487  {csn 4587  cop 4593   class class class wbr 5106  cmpt 5189   Or wor 5545  dom cdm 5634  cres 5636  Oncon0 6318  suc csuc 6320  cio 6447  cfv 6497  crio 7313  2oc2o 8407   No csur 27004   <s cslt 27005
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5243  ax-sep 5257  ax-nul 5264  ax-pr 5385  ax-un 7673
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2941  df-ral 3062  df-rex 3071  df-rmo 3352  df-reu 3353  df-rab 3407  df-v 3446  df-sbc 3741  df-csb 3857  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-pss 3930  df-nul 4284  df-if 4488  df-pw 4563  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4594  df-uni 4867  df-int 4909  df-iun 4957  df-br 5107  df-opab 5169  df-mpt 5190  df-tr 5224  df-id 5532  df-eprel 5538  df-po 5546  df-so 5547  df-fr 5589  df-we 5591  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-ord 6321  df-on 6322  df-suc 6324  df-iota 6449  df-fun 6499  df-fn 6500  df-f 6501  df-f1 6502  df-fo 6503  df-f1o 6504  df-fv 6505  df-riota 7314  df-1o 8413  df-2o 8414  df-no 27007  df-slt 27008  df-bday 27009
This theorem is referenced by:  nosupbnd1lem3  27074  nosupbnd1lem4  27075  nosupbnd1lem5  27076
  Copyright terms: Public domain W3C validator