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

Theorem ltord1 11323
Description: Infer an ordering relation from a proof in only one direction. (Contributed by Mario Carneiro, 14-Jun-2014.)
Hypotheses
Ref Expression
ltord.1 (𝑥 = 𝑦𝐴 = 𝐵)
ltord.2 (𝑥 = 𝐶𝐴 = 𝑀)
ltord.3 (𝑥 = 𝐷𝐴 = 𝑁)
ltord.4 𝑆 ⊆ ℝ
ltord.5 ((𝜑𝑥𝑆) → 𝐴 ∈ ℝ)
ltord.6 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 < 𝑦𝐴 < 𝐵))
Assertion
Ref Expression
ltord1 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑦,𝐶   𝑥,𝐷,𝑦   𝑥,𝑀,𝑦   𝑥,𝑁,𝑦   𝜑,𝑥,𝑦   𝑥,𝑆,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑦)

Proof of Theorem ltord1
StepHypRef Expression
1 ltord.1 . . 3 (𝑥 = 𝑦𝐴 = 𝐵)
2 ltord.2 . . 3 (𝑥 = 𝐶𝐴 = 𝑀)
3 ltord.3 . . 3 (𝑥 = 𝐷𝐴 = 𝑁)
4 ltord.4 . . 3 𝑆 ⊆ ℝ
5 ltord.5 . . 3 ((𝜑𝑥𝑆) → 𝐴 ∈ ℝ)
6 ltord.6 . . 3 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 < 𝑦𝐴 < 𝐵))
71, 2, 3, 4, 5, 6ltordlem 11322 . 2 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
8 eqeq1 2740 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥 = 𝐷𝐶 = 𝐷))
92eqeq1d 2738 . . . . . . . 8 (𝑥 = 𝐶 → (𝐴 = 𝑁𝑀 = 𝑁))
108, 9imbi12d 348 . . . . . . 7 (𝑥 = 𝐶 → ((𝑥 = 𝐷𝐴 = 𝑁) ↔ (𝐶 = 𝐷𝑀 = 𝑁)))
1110, 3vtoclg 3471 . . . . . 6 (𝐶𝑆 → (𝐶 = 𝐷𝑀 = 𝑁))
1211ad2antrl 728 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 = 𝐷𝑀 = 𝑁))
131, 3, 2, 4, 5, 6ltordlem 11322 . . . . . 6 ((𝜑 ∧ (𝐷𝑆𝐶𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1413ancom2s 650 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1512, 14orim12d 965 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → ((𝐶 = 𝐷𝐷 < 𝐶) → (𝑀 = 𝑁𝑁 < 𝑀)))
1615con3d 155 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (¬ (𝑀 = 𝑁𝑁 < 𝑀) → ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
175ralrimiva 3095 . . . . . 6 (𝜑 → ∀𝑥𝑆 𝐴 ∈ ℝ)
182eleq1d 2815 . . . . . . 7 (𝑥 = 𝐶 → (𝐴 ∈ ℝ ↔ 𝑀 ∈ ℝ))
1918rspccva 3526 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐶𝑆) → 𝑀 ∈ ℝ)
2017, 19sylan 583 . . . . 5 ((𝜑𝐶𝑆) → 𝑀 ∈ ℝ)
213eleq1d 2815 . . . . . . 7 (𝑥 = 𝐷 → (𝐴 ∈ ℝ ↔ 𝑁 ∈ ℝ))
2221rspccva 3526 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐷𝑆) → 𝑁 ∈ ℝ)
2317, 22sylan 583 . . . . 5 ((𝜑𝐷𝑆) → 𝑁 ∈ ℝ)
2420, 23anim12dan 622 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ))
25 axlttri 10869 . . . 4 ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
2624, 25syl 17 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
274sseli 3883 . . . . 5 (𝐶𝑆𝐶 ∈ ℝ)
284sseli 3883 . . . . 5 (𝐷𝑆𝐷 ∈ ℝ)
29 axlttri 10869 . . . . 5 ((𝐶 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3027, 28, 29syl2an 599 . . . 4 ((𝐶𝑆𝐷𝑆) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3130adantl 485 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3216, 26, 313imtr4d 297 . 2 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 < 𝑁𝐶 < 𝐷))
337, 32impbid 215 1 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847   = wceq 1543  wcel 2112  wral 3051  wss 3853   class class class wbr 5039  cr 10693   < clt 10832
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pow 5243  ax-pr 5307  ax-un 7501  ax-resscn 10751  ax-pre-lttri 10768
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-nel 3037  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-pw 4501  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-er 8369  df-en 8605  df-dom 8606  df-sdom 8607  df-pnf 10834  df-mnf 10835  df-ltxr 10837
This theorem is referenced by:  leord1  11324  ltord2  11326  rpexpmord  13703  ltexp2  13705  eflt  15641  tanord1  25380  tanord  25381  monotuz  40407  monotoddzzfi  40408
  Copyright terms: Public domain W3C validator