| 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 2763 | . . 3 ⊢ (dist‘𝐺) = (dist‘𝐺) | |
| 3 | ishlg.i | . . 3 ⊢ 𝐼 = (Itv‘𝐺) | |
| 4 | hlln.1 | . . . 4 ⊢ (𝜑 → 𝐺 ∈ TarskiG) | |
| 5 | 4 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐺 ∈ TarskiG) |
| 6 | ishlg.c | . . . 4 ⊢ (𝜑 → 𝐶 ∈ 𝑃) | |
| 7 | 6 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐶 ∈ 𝑃) |
| 8 | hltr.d | . . . 4 ⊢ (𝜑 → 𝐷 ∈ 𝑃) | |
| 9 | 8 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ 𝑃) |
| 10 | ishlg.b | . . . 4 ⊢ (𝜑 → 𝐵 ∈ 𝑃) | |
| 11 | 10 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐵 ∈ 𝑃) |
| 12 | ishlg.a | . . . . 5 ⊢ (𝜑 → 𝐴 ∈ 𝑃) | |
| 13 | 12 | adantr 486 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ 𝑃) |
| 14 | btwnhl.1 | . . . . . . . 8 ⊢ (𝜑 → 𝐴(𝐾‘𝐷)𝐵) | |
| 15 | ishlg.k | . . . . . . . . 9 ⊢ 𝐾 = (hlG‘𝐺) | |
| 16 | 1, 3, 15, 12, 10, 8, 4 | ishlg 29125 | . . . . . . . 8 ⊢ (𝜑 → (𝐴(𝐾‘𝐷)𝐵 ↔ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴))))) |
| 17 | 14, 16 | mpbid 235 | . . . . . . 7 ⊢ (𝜑 → (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴)))) |
| 18 | 17 | simp1d 1160 | . . . . . 6 ⊢ (𝜑 → 𝐴 ≠ 𝐷) |
| 19 | 18 | necomd 3014 | . . . . 5 ⊢ (𝜑 → 𝐷 ≠ 𝐴) |
| 20 | 19 | adantr 486 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ≠ 𝐴) |
| 21 | btwnhl.3 | . . . . . 6 ⊢ (𝜑 → 𝐷 ∈ (𝐴𝐼𝐶)) | |
| 22 | 21 | adantr 486 | . . . . 5 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐴𝐼𝐶)) |
| 23 | 1, 2, 3, 5, 13, 9, 7, 22 | tgbtwncom 29008 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐴)) |
| 24 | simpr 490 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ (𝐷𝐼𝐵)) | |
| 25 | 1, 2, 3, 5, 7, 9, 13, 11, 20, 23, 24 | tgbtwnouttr 29017 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐵)) |
| 26 | 1, 2, 3, 5, 7, 9, 11, 25 | tgbtwncom 29008 | . 2 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐵𝐼𝐶)) |
| 27 | 4 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐺 ∈ TarskiG) |
| 28 | 12 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐴 ∈ 𝑃) |
| 29 | 10 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ 𝑃) |
| 30 | 8 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ 𝑃) |
| 31 | 6 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐶 ∈ 𝑃) |
| 32 | simpr 490 | . . . 4 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐷𝐼𝐴)) | |
| 33 | 1, 2, 3, 27, 30, 29, 28, 32 | tgbtwncom 29008 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐴𝐼𝐷)) |
| 34 | 21 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐴𝐼𝐶)) |
| 35 | 1, 2, 3, 27, 28, 29, 30, 31, 33, 34 | tgbtwnexch3 29014 | . 2 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐵𝐼𝐶)) |
| 36 | 17 | simp3d 1162 | . 2 ⊢ (𝜑 → (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴))) |
| 37 | 26, 35, 36 | mpjaodan 973 | 1 ⊢ (𝜑 → 𝐷 ∈ (𝐵𝐼𝐶)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 ∨ wo 861 ∧ w3a 1103 = wceq 1570 ∈ wcel 2147 ≠ wne 2959 class class class wbr 5108 ‘cfv 6566 (class class class)co 7451 Basecbs 17431 distcds 17481 TarskiGcstrkg 28946 Itvcitv 28952 hlGchlg 29120 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1945 ax-6 2002 ax-7 2043 ax-8 2149 ax-9 2157 ax-10 2180 ax-11 2197 ax-12 2216 ax-ext 2735 ax-rep 5238 ax-sep 5255 ax-nul 5266 ax-pow 5334 ax-pr 5398 ax-un 7783 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2102 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2839 df-nfc 2913 df-ne 2960 df-ral 3081 df-rex 3091 df-reu 3370 df-rab 3417 df-v 3456 df-sbc 3743 df-csb 3852 df-ss 3901 df-dif 4050 df-in 4094 df-un 4154 df-nul 4282 df-if 4486 df-pw 4562 df-sn 4589 df-pr 4591 df-op 4841 df-uni 4873 df-iun 4958 df-br 5109 df-opab 5174 df-mpt 5193 df-id 5553 df-xp 5664 df-rel 5665 df-cnv 5666 df-co 5667 df-dm 5668 df-rn 5669 df-res 5670 df-ima 5671 df-iota 6520 df-fun 6568 df-fn 6569 df-f 6570 df-f1 6571 df-fo 6572 df-f1o 6573 df-fv 6574 df-ov 7454 df-trkgc 28967 df-trkgb 28968 df-trkgcb 28969 df-trkg 28972 df-hlg 29121 |
| This theorem is used by: hlcgreulem 29140 opphllem5 29284 colhp 29305 cgrabtwn 29391 sacgr 29396 ragsupplcgra 29402 tgaaddcpbl 29409 inaghl 29421 |
| Copyright terms: Public domain | W3C validator |