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

Theorem ltord1 11152
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 11151 . 2 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 < 𝐷𝑀 < 𝑁))
8 eqeq1 2825 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥 = 𝐷𝐶 = 𝐷))
92eqeq1d 2823 . . . . . . . 8 (𝑥 = 𝐶 → (𝐴 = 𝑁𝑀 = 𝑁))
108, 9imbi12d 347 . . . . . . 7 (𝑥 = 𝐶 → ((𝑥 = 𝐷𝐴 = 𝑁) ↔ (𝐶 = 𝐷𝑀 = 𝑁)))
1110, 3vtoclg 3559 . . . . . 6 (𝐶𝑆 → (𝐶 = 𝐷𝑀 = 𝑁))
1211ad2antrl 726 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐶 = 𝐷𝑀 = 𝑁))
131, 3, 2, 4, 5, 6ltordlem 11151 . . . . . 6 ((𝜑 ∧ (𝐷𝑆𝐶𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1413ancom2s 648 . . . . 5 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝐷 < 𝐶𝑁 < 𝑀))
1512, 14orim12d 961 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → ((𝐶 = 𝐷𝐷 < 𝐶) → (𝑀 = 𝑁𝑁 < 𝑀)))
1615con3d 155 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (¬ (𝑀 = 𝑁𝑁 < 𝑀) → ¬ (𝐶 = 𝐷𝐷 < 𝐶)))
175ralrimiva 3182 . . . . . 6 (𝜑 → ∀𝑥𝑆 𝐴 ∈ ℝ)
182eleq1d 2897 . . . . . . 7 (𝑥 = 𝐶 → (𝐴 ∈ ℝ ↔ 𝑀 ∈ ℝ))
1918rspccva 3614 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐶𝑆) → 𝑀 ∈ ℝ)
2017, 19sylan 582 . . . . 5 ((𝜑𝐶𝑆) → 𝑀 ∈ ℝ)
213eleq1d 2897 . . . . . . 7 (𝑥 = 𝐷 → (𝐴 ∈ ℝ ↔ 𝑁 ∈ ℝ))
2221rspccva 3614 . . . . . 6 ((∀𝑥𝑆 𝐴 ∈ ℝ ∧ 𝐷𝑆) → 𝑁 ∈ ℝ)
2317, 22sylan 582 . . . . 5 ((𝜑𝐷𝑆) → 𝑁 ∈ ℝ)
2420, 23anim12dan 620 . . . 4 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ))
25 axlttri 10698 . . . 4 ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
2624, 25syl 17 . . 3 ((𝜑 ∧ (𝐶𝑆𝐷𝑆)) → (𝑀 < 𝑁 ↔ ¬ (𝑀 = 𝑁𝑁 < 𝑀)))
274sseli 3951 . . . . 5 (𝐶𝑆𝐶 ∈ ℝ)
284sseli 3951 . . . . 5 (𝐷𝑆𝐷 ∈ ℝ)
29 axlttri 10698 . . . . 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 3138  wss 3924   class class class wbr 5052  cr 10522   < clt 10661
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 2793  ax-sep 5189  ax-nul 5196  ax-pow 5252  ax-pr 5316  ax-un 7447  ax-resscn 10580  ax-pre-lttri 10597
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 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3488  df-sbc 3764  df-csb 3872  df-dif 3927  df-un 3929  df-in 3931  df-ss 3940  df-nul 4280  df-if 4454  df-pw 4527  df-sn 4554  df-pr 4556  df-op 4560  df-uni 4825  df-br 5053  df-opab 5115  df-mpt 5133  df-id 5446  df-xp 5547  df-rel 5548  df-cnv 5549  df-co 5550  df-dm 5551  df-rn 5552  df-res 5553  df-ima 5554  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fo 6347  df-f1o 6348  df-fv 6349  df-er 8275  df-en 8496  df-dom 8497  df-sdom 8498  df-pnf 10663  df-mnf 10664  df-ltxr 10666
This theorem is referenced by:  leord1  11153  ltord2  11155  rpexpmord  13522  ltexp2  13524  eflt  15455  tanord1  25107  tanord  25108  monotuz  39630  monotoddzzfi  39631
  Copyright terms: Public domain W3C validator