| 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 2760 | . . 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 29075 | . . . . . . . 8 ⊢ (𝜑 → (𝐴(𝐾‘𝐷)𝐵 ↔ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴))))) |
| 17 | 14, 16 | mpbid 235 | . . . . . . 7 ⊢ (𝜑 → (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴)))) |
| 18 | 17 | simp1d 1160 | . . . . . 6 ⊢ (𝜑 → 𝐴 ≠ 𝐷) |
| 19 | 18 | necomd 3010 | . . . . 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 28958 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐴)) |
| 24 | simpr 490 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ (𝐷𝐼𝐵)) | |
| 25 | 1, 2, 3, 5, 7, 9, 13, 11, 20, 23, 24 | tgbtwnouttr 28967 | . . 3 ⊢ ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐵)) |
| 26 | 1, 2, 3, 5, 7, 9, 11, 25 | tgbtwncom 28958 | . 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 28958 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐴𝐼𝐷)) |
| 34 | 21 | adantr 486 | . . 3 ⊢ ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐴𝐼𝐶)) |
| 35 | 1, 2, 3, 27, 28, 29, 30, 31, 33, 34 | tgbtwnexch3 28964 | . 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 1569 ∈ wcel 2144 ≠ wne 2955 class class class wbr 5102 ‘cfv 6541 (class class class)co 7422 Basecbs 17394 distcds 17444 TarskiGcstrkg 28896 Itvcitv 28902 hlGchlg 29070 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1827 ax-4 1841 ax-5 1942 ax-6 1999 ax-7 2040 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2212 ax-ext 2732 ax-rep 5231 ax-sep 5248 ax-nul 5259 ax-pow 5326 ax-pr 5390 ax-un 7753 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1572 df-fal 1582 df-ex 1812 df-nf 1816 df-sb 2099 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-ral 3077 df-rex 3087 df-reu 3366 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3848 df-ss 3897 df-dif 4046 df-in 4090 df-un 4150 df-nul 4278 df-if 4482 df-pw 4558 df-sn 4585 df-pr 4587 df-op 4835 df-uni 4867 df-iun 4952 df-br 5103 df-opab 5167 df-mpt 5186 df-id 5545 df-xp 5656 df-rel 5657 df-cnv 5658 df-co 5659 df-dm 5660 df-rn 5661 df-res 5662 df-ima 5663 df-iota 6496 df-fun 6543 df-fn 6544 df-f 6545 df-f1 6546 df-fo 6547 df-f1o 6548 df-fv 6549 df-ov 7425 df-trkgc 28917 df-trkgb 28918 df-trkgcb 28919 df-trkg 28922 df-hlg 29071 |
| This theorem is used by: hlcgreulem 29090 opphllem5 29234 colhp 29255 cgrabtwn 29341 sacgr 29346 ragsupplcgra 29352 tgaaddcpbl 29359 inaghl 29371 |
| Copyright terms: Public domain | W3C validator |