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

Theorem ltord1 11168
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 11167 . 2 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
8 eqeq1 2827 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥 = 𝐷𝐶 = 𝐷))
92eqeq1d 2825 . . . . . . . 8 (𝑥 = 𝐶 → (𝐴 = 𝑁𝑀 = 𝑁))
108, 9imbi12d 347 . . . . . . 7 (𝑥 = 𝐶 → ((𝑥 = 𝐷𝐴 = 𝑁) ↔ (𝐶 = 𝐷𝑀 = 𝑁)))
1110, 3vtoclg 3569 . . . . . 6 (𝐶𝑆 → (𝐶 = 𝐷𝑀 = 𝑁))
1211ad2antrl 726 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 = 𝐷𝑀 = 𝑁))
131, 3, 2, 4, 5, 6ltordlem 11167 . . . . . 6 ((𝜑 ∧ (𝐷𝑆𝐶𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1413ancom2s 648 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1512, 14orim12d 961 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → ((𝐶 = 𝐷𝐷 < 𝐶) → (𝑀 = 𝑁𝑁 < 𝑀)))
1615con3d 155 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (¬ (𝑀 = 𝑁𝑁 < 𝑀) → ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
175ralrimiva 3184 . . . . . 6 (𝜑 → ∀𝑥𝑆 𝐴 ∈ ℝ)
182eleq1d 2899 . . . . . . 7 (𝑥 = 𝐶 → (𝐴 ∈ ℝ ↔ 𝑀 ∈ ℝ))
1918rspccva 3624 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐶𝑆) → 𝑀 ∈ ℝ)
2017, 19sylan 582 . . . . 5 ((𝜑𝐶𝑆) → 𝑀 ∈ ℝ)
213eleq1d 2899 . . . . . . 7 (𝑥 = 𝐷 → (𝐴 ∈ ℝ ↔ 𝑁 ∈ ℝ))
2221rspccva 3624 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐷𝑆) → 𝑁 ∈ ℝ)
2317, 22sylan 582 . . . . 5 ((𝜑𝐷𝑆) → 𝑁 ∈ ℝ)
2420, 23anim12dan 620 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ))
25 axlttri 10714 . . . 4 ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
2624, 25syl 17 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
274sseli 3965 . . . . 5 (𝐶𝑆𝐶 ∈ ℝ)
284sseli 3965 . . . . 5 (𝐷𝑆𝐷 ∈ ℝ)
29 axlttri 10714 . . . . 5 ((𝐶 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3027, 28, 29syl2an 597 . . . 4 ((𝐶𝑆𝐷𝑆) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3130adantl 484 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷 ↔ ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
3216, 26, 313imtr4d 296 . 2 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 < 𝑁𝐶 < 𝐷))
337, 32impbid 214 1 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843   = wceq 1537  wcel 2114  wral 3140  wss 3938   class class class wbr 5068  cr 10538   < clt 10677
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-resscn 10596  ax-pre-lttri 10613
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-er 8291  df-en 8512  df-dom 8513  df-sdom 8514  df-pnf 10679  df-mnf 10680  df-ltxr 10682
This theorem is referenced by:  leord1  11169  ltord2  11171  rpexpmord  13535  ltexp2  13537  eflt  15472  tanord1  25123  tanord  25124  monotuz  39545  monotoddzzfi  39546
  Copyright terms: Public domain W3C validator