Zulip Chat Archive

Stream: Is there code for X?

Topic: How to indicate two points are on different sides of a line


yulia wang (Sep 04 2025 at 14:55):

I want to prove some theorems about parallel and commit it to mathlib. But I don't know how to indicate that two points are on different sides of a straight line

theorem alternate_angles_eq_parallel {E F A C : P} (ℓ₁ ℓ₂ t : AffineSubspace k P)
  (hE : E  ℓ₁  t) (hF : F  ℓ₂  t) (hEA : E  A) (hFC : F  C)(hA₁ : A  ℓ₁) (hC₂ : C  ℓ₂)
  (hAng :  A E F =  C F E) : ℓ₁  ℓ₂ := by
  by_contra
  sorry

yulia wang (Sep 04 2025 at 14:57):

Just like alternate_angles_eq_parallel. How to describe C and A on both sides of t?

Aaron Liu (Sep 04 2025 at 14:57):

maybe use an oriented angle?

Aaron Liu (Sep 04 2025 at 14:59):

in more than two dimensions lines don't really have "sides"

yulia wang (Sep 04 2025 at 15:09):

Thank you very much . I will use oriented angle to finish it.

Joseph Myers (Sep 04 2025 at 22:59):

We have AffineSubspace.SOppSide as the predicate for two points being on opposite sides of an affine subspace.


Last updated: Dec 20 2025 at 21:32 UTC