The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V22. Affine, Euclidean and convex geometry

Mathlib.Geometry.Euclidean.Similarity

4 declarations. Mathlib docs · Source

theorem EuclideanGeometry.similar_of_angle_angle E1 #

∀ {V₁ : Type u_1} {V₂ : Type u_2} {P₁ : Type u_3} {P₂ : Type u_4} [inst : NormedAddCommGroup V₁]
  [inst_1 : NormedAddCommGroup V₂] [inst_2 : InnerProductSpace ℝ V₁] [inst_3 : InnerProductSpace ℝ V₂]
  [inst_4 : MetricSpace P₁] [inst_5 : MetricSpace P₂] [inst_6 : NormedAddTorsor V₁ P₁] [inst_7 : NormedAddTorsor V₂ P₂]
  {a b c : P₁} {a' b' c' : P₂},
  ¬Collinear ℝ {a, b, c} →
    EuclideanGeometry.angle a b c = EuclideanGeometry.angle a' b' c' →
      EuclideanGeometry.angle b c a = EuclideanGeometry.angle b' c' a' → Similar ![a, b, c] ![a', b', c']

If two triangles have two pairs equal angles, then the triangles are similar.

theorem EuclideanGeometry.similar_of_side_angle_side E1 #

∀ {V₁ : Type u_1} {V₂ : Type u_2} {P₁ : Type u_3} {P₂ : Type u_4} [inst : NormedAddCommGroup V₁]
  [inst_1 : NormedAddCommGroup V₂] [inst_2 : InnerProductSpace ℝ V₁] [inst_3 : InnerProductSpace ℝ V₂]
  [inst_4 : MetricSpace P₁] [inst_5 : MetricSpace P₂] [inst_6 : NormedAddTorsor V₁ P₁] [inst_7 : NormedAddTorsor V₂ P₂]
  {a b c : P₁} {a' b' c' : P₂},
  ¬Collinear ℝ {a, b, c} →
    ¬Collinear ℝ {a', b', c'} →
      EuclideanGeometry.angle a b c = EuclideanGeometry.angle a' b' c' →
        dist a b * dist b' c' = dist b c * dist a' b' → Similar ![a, b, c] ![a', b', c']

If two triangles have proportional adjacent sides and an equal included angle, then the triangles are similar.

theorem Similar.angle_eq E0 #

∀ {V₁ : Type u_1} {V₂ : Type u_2} {P₁ : Type u_3} {P₂ : Type u_4} [inst : NormedAddCommGroup V₁]
  [inst_1 : NormedAddCommGroup V₂] [inst_2 : InnerProductSpace ℝ V₁] [inst_3 : InnerProductSpace ℝ V₂]
  [inst_4 : MetricSpace P₁] [inst_5 : MetricSpace P₂] [inst_6 : NormedAddTorsor V₁ P₁] [inst_7 : NormedAddTorsor V₂ P₂]
  {a b c : P₁} {a' b' c' : P₂},
  Similar ![a, b, c] ![a', b', c'] → EuclideanGeometry.angle a b c = EuclideanGeometry.angle a' b' c'

For two similar triangles, the corresponding angles are equal.

theorem Similar.angle_eq_all E1 #

∀ {V₁ : Type u_1} {V₂ : Type u_2} {P₁ : Type u_3} {P₂ : Type u_4} [inst : NormedAddCommGroup V₁]
  [inst_1 : NormedAddCommGroup V₂] [inst_2 : InnerProductSpace ℝ V₁] [inst_3 : InnerProductSpace ℝ V₂]
  [inst_4 : MetricSpace P₁] [inst_5 : MetricSpace P₂] [inst_6 : NormedAddTorsor V₁ P₁] [inst_7 : NormedAddTorsor V₂ P₂]
  {a b c : P₁} {a' b' c' : P₂},
  Similar ![a, b, c] ![a', b', c'] →
    EuclideanGeometry.angle a b c = EuclideanGeometry.angle a' b' c' ∧
      EuclideanGeometry.angle b c a = EuclideanGeometry.angle b' c' a' ∧
        EuclideanGeometry.angle c a b = EuclideanGeometry.angle c' a' b'

In two similar triangles, all three corresponding angles are equal.