Mathbox for Scott Fenton < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  nosupbnd1lem6 Structured version   Visualization version   GIF version

Theorem nosupbnd1lem6 31984
 Description: Lemma for nosupbnd1 31985. Establish a hard upper bound when there is no maximum. (Contributed by Scott Fenton, 6-Dec-2021.)
Hypothesis
Ref Expression
nosupbnd1.1 𝑆 = if(∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦, ((𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦) ∪ {⟨dom (𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦), 2𝑜⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
Assertion
Ref Expression
nosupbnd1lem6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → (𝑈 ↾ dom 𝑆) <s 𝑆)
Distinct variable groups:   𝐴,𝑔,𝑢,𝑣,𝑥,𝑦   𝑢,𝑈,𝑣   𝑥,𝑢,𝑦,𝑣
Allowed substitution hints:   𝑆(𝑥,𝑦,𝑣,𝑢,𝑔)   𝑈(𝑥,𝑦,𝑔)

Proof of Theorem nosupbnd1lem6
StepHypRef Expression
1 simp2l 1107 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → 𝐴 No )
2 simp3 1083 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → 𝑈𝐴)
31, 2sseldd 3637 . . . . 5 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → 𝑈 No )
4 nofv 31935 . . . . 5 (𝑈 No → ((𝑈‘dom 𝑆) = ∅ ∨ (𝑈‘dom 𝑆) = 1𝑜 ∨ (𝑈‘dom 𝑆) = 2𝑜))
53, 4syl 17 . . . 4 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → ((𝑈‘dom 𝑆) = ∅ ∨ (𝑈‘dom 𝑆) = 1𝑜 ∨ (𝑈‘dom 𝑆) = 2𝑜))
6 3oran 1077 . . . 4 (((𝑈‘dom 𝑆) = ∅ ∨ (𝑈‘dom 𝑆) = 1𝑜 ∨ (𝑈‘dom 𝑆) = 2𝑜) ↔ ¬ (¬ (𝑈‘dom 𝑆) = ∅ ∧ ¬ (𝑈‘dom 𝑆) = 1𝑜 ∧ ¬ (𝑈‘dom 𝑆) = 2𝑜))
75, 6sylib 208 . . 3 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → ¬ (¬ (𝑈‘dom 𝑆) = ∅ ∧ ¬ (𝑈‘dom 𝑆) = 1𝑜 ∧ ¬ (𝑈‘dom 𝑆) = 2𝑜))
8 simpl1 1084 . . . . . 6 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → ¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦)
9 simpl2 1085 . . . . . 6 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → (𝐴 No 𝐴 ∈ V))
10 simpl3 1086 . . . . . 6 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → 𝑈𝐴)
11 simpr 476 . . . . . 6 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → (𝑈 ↾ dom 𝑆) = 𝑆)
12 nosupbnd1.1 . . . . . . 7 𝑆 = if(∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦, ((𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦) ∪ {⟨dom (𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦), 2𝑜⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
1312nosupbnd1lem4 31982 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ (𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆)) → (𝑈‘dom 𝑆) ≠ ∅)
148, 9, 10, 11, 13syl112anc 1370 . . . . 5 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → (𝑈‘dom 𝑆) ≠ ∅)
1514neneqd 2828 . . . 4 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → ¬ (𝑈‘dom 𝑆) = ∅)
1612nosupbnd1lem5 31983 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ (𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆)) → (𝑈‘dom 𝑆) ≠ 1𝑜)
178, 9, 10, 11, 16syl112anc 1370 . . . . 5 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → (𝑈‘dom 𝑆) ≠ 1𝑜)
1817neneqd 2828 . . . 4 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → ¬ (𝑈‘dom 𝑆) = 1𝑜)
1912nosupbnd1lem3 31981 . . . . . 6 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ (𝑈𝐴 ∧ (𝑈 ↾ dom 𝑆) = 𝑆)) → (𝑈‘dom 𝑆) ≠ 2𝑜)
208, 9, 10, 11, 19syl112anc 1370 . . . . 5 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → (𝑈‘dom 𝑆) ≠ 2𝑜)
2120neneqd 2828 . . . 4 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → ¬ (𝑈‘dom 𝑆) = 2𝑜)
2215, 18, 213jca 1261 . . 3 (((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) ∧ (𝑈 ↾ dom 𝑆) = 𝑆) → (¬ (𝑈‘dom 𝑆) = ∅ ∧ ¬ (𝑈‘dom 𝑆) = 1𝑜 ∧ ¬ (𝑈‘dom 𝑆) = 2𝑜))
237, 22mtand 692 . 2 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → ¬ (𝑈 ↾ dom 𝑆) = 𝑆)
2412nosupbnd1lem1 31979 . 2 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → ¬ 𝑆 <s (𝑈 ↾ dom 𝑆))
2512nosupno 31974 . . . . . 6 ((𝐴 No 𝐴 ∈ V) → 𝑆 No )
26253ad2ant2 1103 . . . . 5 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → 𝑆 No )
27 nodmon 31928 . . . . 5 (𝑆 No → dom 𝑆 ∈ On)
2826, 27syl 17 . . . 4 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → dom 𝑆 ∈ On)
29 noreson 31938 . . . 4 ((𝑈 No ∧ dom 𝑆 ∈ On) → (𝑈 ↾ dom 𝑆) ∈ No )
303, 28, 29syl2anc 694 . . 3 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → (𝑈 ↾ dom 𝑆) ∈ No )
31 sltso 31952 . . . 4 <s Or No
32 solin 5087 . . . 4 (( <s Or No ∧ ((𝑈 ↾ dom 𝑆) ∈ No 𝑆 No )) → ((𝑈 ↾ dom 𝑆) <s 𝑆 ∨ (𝑈 ↾ dom 𝑆) = 𝑆𝑆 <s (𝑈 ↾ dom 𝑆)))
3331, 32mpan 706 . . 3 (((𝑈 ↾ dom 𝑆) ∈ No 𝑆 No ) → ((𝑈 ↾ dom 𝑆) <s 𝑆 ∨ (𝑈 ↾ dom 𝑆) = 𝑆𝑆 <s (𝑈 ↾ dom 𝑆)))
3430, 26, 33syl2anc 694 . 2 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → ((𝑈 ↾ dom 𝑆) <s 𝑆 ∨ (𝑈 ↾ dom 𝑆) = 𝑆𝑆 <s (𝑈 ↾ dom 𝑆)))
3523, 24, 34ecase23d 1476 1 ((¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 ∧ (𝐴 No 𝐴 ∈ V) ∧ 𝑈𝐴) → (𝑈 ↾ dom 𝑆) <s 𝑆)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 383   ∨ w3o 1053   ∧ w3a 1054   = wceq 1523   ∈ wcel 2030  {cab 2637   ≠ wne 2823  ∀wral 2941  ∃wrex 2942  Vcvv 3231   ∪ cun 3605   ⊆ wss 3607  ∅c0 3948  ifcif 4119  {csn 4210  ⟨cop 4216   class class class wbr 4685   ↦ cmpt 4762   Or wor 5063  dom cdm 5143   ↾ cres 5145  Oncon0 5761  suc csuc 5763  ℩cio 5887  ‘cfv 5926  ℩crio 6650  1𝑜c1o 7598  2𝑜c2o 7599   No csur 31918
 Copyright terms: Public domain W3C validator