Skip to content

Commit

Permalink
feat: port Geometry.Euclidean.Angle.Unoriented.Conformal (#4397)
Browse files Browse the repository at this point in the history
  • Loading branch information
Parcly-Taxel committed May 26, 2023
1 parent c9d630c commit 6cba052
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions Mathlib.lean
Expand Up @@ -1493,6 +1493,7 @@ import Mathlib.FieldTheory.SeparableDegree
import Mathlib.FieldTheory.Subfield
import Mathlib.FieldTheory.Tower
import Mathlib.Geometry.Euclidean.Angle.Unoriented.Basic
import Mathlib.Geometry.Euclidean.Angle.Unoriented.Conformal
import Mathlib.Geometry.Euclidean.Inversion
import Mathlib.Geometry.Manifold.ChartedSpace
import Mathlib.Geometry.Manifold.ConformalGroupoid
Expand Down
44 changes: 44 additions & 0 deletions Mathlib/Geometry/Euclidean/Angle/Unoriented/Conformal.lean
@@ -0,0 +1,44 @@
/-
Copyright (c) 2021 Yourong Zang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yourong Zang
! This file was ported from Lean 3 source module geometry.euclidean.angle.unoriented.conformal
! leanprover-community/mathlib commit 46b633fd842bef9469441c0209906f6dddd2b4f5
! Please do not edit these lines, except to modify the commit id
! if you have ported upstream changes.
-/
import Mathlib.Analysis.Calculus.Conformal.NormedSpace
import Mathlib.Geometry.Euclidean.Angle.Unoriented.Basic

/-!
# Angles and conformal maps
This file proves that conformal maps preserve angles.
-/


namespace InnerProductGeometry

variable {E F : Type _}

variable [NormedAddCommGroup E] [NormedAddCommGroup F]

variable [InnerProductSpace ℝ E] [InnerProductSpace ℝ F]

theorem IsConformalMap.preserves_angle {f' : E →L[ℝ] F} (h : IsConformalMap f') (u v : E) :
angle (f' u) (f' v) = angle u v := by
obtain ⟨c, hc, li, rfl⟩ := h
exact (angle_smul_smul hc _ _).trans (li.angle_map _ _)
#align inner_product_geometry.is_conformal_map.preserves_angle InnerProductGeometry.IsConformalMap.preserves_angle

/-- If a real differentiable map `f` is conformal at a point `x`,
then it preserves the angles at that point. -/
theorem ConformalAt.preserves_angle {f : E → F} {x : E} {f' : E →L[ℝ] F} (h : HasFDerivAt f f' x)
(H : ConformalAt f x) (u v : E) : angle (f' u) (f' v) = angle u v :=
let ⟨_, h₁, c⟩ := H
h₁.unique h ▸ IsConformalMap.preserves_angle c u v
#align inner_product_geometry.conformal_at.preserves_angle InnerProductGeometry.ConformalAt.preserves_angle

end InnerProductGeometry

0 comments on commit 6cba052

Please sign in to comment.