-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: port Geometry.Euclidean.Angle.Unoriented.Conformal (#4397)
- Loading branch information
1 parent
c9d630c
commit 6cba052
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
Mathlib/Geometry/Euclidean/Angle/Unoriented/Conformal.lean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |