Zulip Chat Archive

Stream: Is there code for X?

Topic: Another Sbtw transitivity theorem?


Chu Zheng (Sep 27 2025 at 16:20):

Hi, I couldn't find the following theorem in the library; do we already have it?

import Mathlib.LinearAlgebra.AffineSpace.Independent
import Mathlib.LinearAlgebra.AffineSpace.Simplex.Basic
import Mathlib.Geometry.Euclidean.Simplex

open Module Affine Simplex EuclideanGeometry Real

variable {V : Type*} {Pt : Type*} [NormedAddCommGroup V] [InnerProductSpace  V] [MetricSpace Pt]
  [NormedAddTorsor V Pt]

theorem Sbtw.extend {a b c d : Pt}
    (h₁ : Sbtw  a b c) (h₂ : Sbtw  b c d) :
    Sbtw  a b d := by
  sorry

It seems like the existing lemmas named Sbtw.trans_left Sbtw.trans_right Sbtw.trans_left_right Sbtw.trans_right_left(Mathlib.Analysis.Convex.Between). but none seemed to match this shape.

I tried to prove this using lineMap but got stuck on the final simplification step.

Yury G. Kudryashov (Sep 28 2025 at 10:31):

Some Sbtw transitivity theorems are definitely missing. Here is the complete list of lemmas with conclusion Sbtw _ _ _ _: @loogle |- Sbtw ..

loogle (Sep 28 2025 at 10:31):

:search: Sbtw.symm, Sbtw.const_vsub, and 24 more

Yury G. Kudryashov (Sep 28 2025 at 10:31):

A PR with the missing lemmas would be very welcome!


Last updated: Dec 20 2025 at 21:32 UTC