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

Theorem ltord1 10554
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 10553 . 2 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
8 eqeq1 2626 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥 = 𝐷𝐶 = 𝐷))
92eqeq1d 2624 . . . . . . . 8 (𝑥 = 𝐶 → (𝐴 = 𝑁𝑀 = 𝑁))
108, 9imbi12d 334 . . . . . . 7 (𝑥 = 𝐶 → ((𝑥 = 𝐷𝐴 = 𝑁) ↔ (𝐶 = 𝐷𝑀 = 𝑁)))
1110, 3vtoclg 3266 . . . . . 6 (𝐶𝑆 → (𝐶 = 𝐷𝑀 = 𝑁))
1211ad2antrl 764 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 = 𝐷𝑀 = 𝑁))
131, 3, 2, 4, 5, 6ltordlem 10553 . . . . . 6 ((𝜑 ∧ (𝐷𝑆𝐶𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1413ancom2s 844 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1512, 14orim12d 883 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → ((𝐶 = 𝐷𝐷 < 𝐶) → (𝑀 = 𝑁𝑁 < 𝑀)))
1615con3d 148 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (¬ (𝑀 = 𝑁𝑁 < 𝑀) → ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
175ralrimiva 2966 . . . . . 6 (𝜑 → ∀𝑥𝑆 𝐴 ∈ ℝ)
182eleq1d 2686 . . . . . . 7 (𝑥 = 𝐶 → (𝐴 ∈ ℝ ↔ 𝑀 ∈ ℝ))
1918rspccva 3308 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐶𝑆) → 𝑀 ∈ ℝ)
2017, 19sylan 488 . . . . 5 ((𝜑𝐶𝑆) → 𝑀 ∈ ℝ)
213eleq1d 2686 . . . . . . 7 (𝑥 = 𝐷 → (𝐴 ∈ ℝ ↔ 𝑁 ∈ ℝ))
2221rspccva 3308 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐷𝑆) → 𝑁 ∈ ℝ)
2317, 22sylan 488 . . . . 5 ((𝜑𝐷𝑆) → 𝑁 ∈ ℝ)
2420, 23anim12dan 882 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ))
25 axlttri 10109 . . . 4 ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
2624, 25syl 17 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
274sseli 3599 . . . . 5 (𝐶𝑆𝐶 ∈ ℝ)
284sseli 3599 . . . . 5 (𝐷𝑆𝐷 ∈ ℝ)
29 axlttri 10109 . . . . 5 ((𝐶 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3027, 28, 29syl2an 494 . . . 4 ((𝐶𝑆𝐷𝑆) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3130adantl 482 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3216, 26, 313imtr4d 283 . 2 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 < 𝑁𝐶 < 𝐷))
337, 32impbid 202 1 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384   = wceq 1483  wcel 1990  wral 2912  wss 3574   class class class wbr 4653  cr 9935   < clt 10074
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949  ax-resscn 9993  ax-pre-lttri 10010
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-nel 2898  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-er 7742  df-en 7956  df-dom 7957  df-sdom 7958  df-pnf 10076  df-mnf 10077  df-ltxr 10079
This theorem is referenced by:  leord1  10555  ltord2  10557  ltexp2  12914  eflt  14847  tanord1  24283  tanord  24284  monotuz  37506  monotoddzzfi  37507  rpexpmord  37513
  Copyright terms: Public domain W3C validator