| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > btwnhl | Structured version Visualization version GIF version | ||
| Description: Swap betweenness for a half-line. (Contributed by Thierry Arnoux, 2-Mar-2020.) |
| Ref | Expression |
|---|---|
| ishlg.p | ⊢ 𝑃 = (Base‘𝐺) |
| ishlg.i | ⊢ 𝐼 = (Itv‘𝐺) |
| ishlg.k | ⊢ 𝐾 = (hlG‘𝐺) |
| ishlg.a | ⊢ (𝜑 → 𝐴 ∈ 𝑃) |
| ishlg.b | ⊢ (𝜑 → 𝐵 ∈ 𝑃) |
| ishlg.c | ⊢ (𝜑 → 𝐶 ∈ 𝑃) |
| hlln.1 | ⊢ (𝜑 → 𝐺 ∈ TarskiG) |
| hltr.d | ⊢ (𝜑 → 𝐷 ∈ 𝑃) |
| btwnhl.1 | ⊢ (𝜑 → 𝐴(𝐾‘𝐷)𝐵) |
| btwnhl.3 | ⊢ (𝜑 → 𝐷 ∈ (𝐴𝐼𝐶)) |
| Ref | Expression |
|---|---|
| btwnhl | ⊢ (𝜑 → 𝐷 ∈ (𝐵𝐼𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ishlg.p | . . 3 ⊢ 𝑃 = (Base‘𝐺) | |
| 2 | eqid 2739 | . . 3 ⊢ (dist‘𝐺) = (dist‘𝐺) | |
| 3 | ishlg.i | . . 3 ⊢ 𝐼 = (Itv‘𝐺) | |
| 4 | hlln.1 | . . . 4 ⊢ (𝜑 → 𝐺 ∈ TarskiG) | |
| 5 | 4 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐺 ∈ TarskiG) |
| 6 | ishlg.c | . . . 4 ⊢ (𝜑 → 𝐶 ∈ 𝑃) | |
| 7 | 6 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐶 ∈ 𝑃) |
| 8 | hltr.d | . . . 4 ⊢ (𝜑 → 𝐷 ∈ 𝑃) | |
| 9 | 8 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ 𝑃) |
| 10 | ishlg.b | . . . 4 ⊢ (𝜑 → 𝐵 ∈ 𝑃) | |
| 11 | 10 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐵 ∈ 𝑃) |
| 12 | ishlg.a | . . . . 5 ⊢ (𝜑 → 𝐴 ∈ 𝑃) | |
| 13 | 12 | adantr 481 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ 𝑃) |
| 14 | btwnhl.1 | . . . . . . . 8 ⊢ (𝜑 → 𝐴(𝐾‘𝐷)𝐵) | |
| 15 | ishlg.k | . . . . . . . . 9 ⊢ 𝐾 = (hlG‘𝐺) | |
| 16 | 1, 3, 15, 12, 10, 8, 4 | ishlg 28688 | . . . . . . . 8 ⊢ (𝜑 → (𝐴(𝐾‘𝐷)𝐵 ↔ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴))))) |
| 17 | 14, 16 | mpbid 233 | . . . . . . 7 ⊢ (𝜑 → (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴)))) |
| 18 | 17 | simp1d 1148 | . . . . . 6 ⊢ (𝜑 → 𝐴 ≠ 𝐷) |
| 19 | 18 | necomd 2989 | . . . . 5 ⊢ (𝜑 → 𝐷 ≠ 𝐴) |
| 20 | 19 | adantr 481 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ≠ 𝐴) |
| 21 | btwnhl.3 | . . . . . 6 ⊢ (𝜑 → 𝐷 ∈ (𝐴𝐼𝐶)) | |
| 22 | 21 | adantr 481 | . . . . 5 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐴𝐼𝐶)) |
| 23 | 1, 2, 3, 5, 13, 9, 7, 22 | tgbtwncom 28574 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐴)) |
| 24 | simpr 485 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ (𝐷𝐼𝐵)) | |
| 25 | 1, 2, 3, 5, 7, 9, 13, 11, 20, 23, 24 | tgbtwnouttr 28583 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐵)) |
| 26 | 1, 2, 3, 5, 7, 9, 11, 25 | tgbtwncom 28574 | . 2 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐵𝐼𝐶)) |
| 27 | 4 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐺 ∈ TarskiG) |
| 28 | 12 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐴 ∈ 𝑃) |
| 29 | 10 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ 𝑃) |
| 30 | 8 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ 𝑃) |
| 31 | 6 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐶 ∈ 𝑃) |
| 32 | simpr 485 | . . . 4 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐷𝐼𝐴)) | |
| 33 | 1, 2, 3, 27, 30, 29, 28, 32 | tgbtwncom 28574 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐴𝐼𝐷)) |
| 34 | 21 | adantr 481 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐴𝐼𝐶)) |
| 35 | 1, 2, 3, 27, 28, 29, 30, 31, 33, 34 | tgbtwnexch3 28580 | . 2 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐵𝐼𝐶)) |
| 36 | 17 | simp3d 1150 | . 2 ⊢ (𝜑 → (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴))) |
| 37 | 26, 35, 36 | mpjaodan 966 | 1 ⊢ (𝜑 → 𝐷 ∈ (𝐵𝐼𝐶)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 396 ∨ wo 853 ∧ w3a 1092 = wceq 1547 ∈ wcel 2119 ≠ wne 2934 class class class wbr 5072 ‘cfv 6485 (class class class)co 7356 Basecbs 17170 distcds 17220 TarskiGcstrkg 28513 Itvcitv 28519 hlGchlg 28686 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-10 2152 ax-11 2168 ax-12 2189 ax-ext 2711 ax-rep 5199 ax-sep 5218 ax-nul 5228 ax-pow 5294 ax-pr 5362 ax-un 7678 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2718 df-cleq 2731 df-clel 2814 df-nfc 2888 df-ne 2935 df-ral 3054 df-rex 3064 df-reu 3345 df-rab 3392 df-v 3433 df-sbc 3724 df-csb 3832 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4262 df-if 4455 df-pw 4531 df-sn 4556 df-pr 4558 df-op 4562 df-uni 4839 df-iun 4923 df-br 5073 df-opab 5135 df-mpt 5154 df-id 5513 df-xp 5624 df-rel 5625 df-cnv 5626 df-co 5627 df-dm 5628 df-rn 5629 df-res 5630 df-ima 5631 df-iota 6441 df-fun 6487 df-fn 6488 df-f 6489 df-f1 6490 df-fo 6491 df-f1o 6492 df-fv 6493 df-ov 7359 df-trkgc 28534 df-trkgb 28535 df-trkgcb 28536 df-trkg 28539 df-hlg 28687 |
| This theorem is referenced by: hlcgreulem 28703 opphllem5 28837 colhp 28856 cgrabtwn 28912 sacgr 28917 inaghl 28931 |
| Copyright terms: Public domain | W3C validator |