Theorem: isConformalMap_iff_is_complex_or_conj_linear
File: Mathlib/Analysis/Complex/Conformal.lean

tactic: constructor
state_before: f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
⊢ IsConformalMap g ↔ ((∃ map, restrictScalars ℝ map = g) ∨ ∃ map, restrictScalars ℝ map = comp g ↑conjCle) ∧ g ≠ 0

tactic: exact fun h => ⟨h.is_complex_or_conj_linear, h.ne_zero⟩
state_before: case mp
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
⊢ IsConformalMap g → ((∃ map, restrictScalars ℝ map = g) ∨ ∃ map, restrictScalars ℝ map = comp g ↑conjCle) ∧ g ≠ 0

tactic: rintro ⟨⟨map, rfl⟩ | ⟨map, hmap⟩, h₂⟩
state_before: case mpr
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
⊢ ((∃ map, restrictScalars ℝ map = g) ∨ ∃ map, restrictScalars ℝ map = comp g ↑conjCle) ∧ g ≠ 0 → IsConformalMap g

tactic: refine' isConformalMap_complex_linear _
state_before: case mpr.intro.inl.intro
f : ℂ → ℂ
z : ℂ
map : ℂ →L[ℂ] ℂ
h₂ : restrictScalars ℝ map ≠ 0
⊢ IsConformalMap (restrictScalars ℝ map)

tactic: contrapose! h₂ with w
state_before: case mpr.intro.inl.intro
f : ℂ → ℂ
z : ℂ
map : ℂ →L[ℂ] ℂ
h₂ : restrictScalars ℝ map ≠ 0
⊢ map ≠ 0

tactic: simp only [w, restrictScalars_zero]
state_before: case mpr.intro.inl.intro
f : ℂ → ℂ
z : ℂ
map : ℂ →L[ℂ] ℂ
w : map = 0
⊢ restrictScalars ℝ map = 0

tactic: have minor₁ : g = map.restrictScalars ℝ ∘L ↑conjCle := by
  ext1
  simp only [hmap, coe_comp', ContinuousLinearEquiv.coe_coe, Function.comp_apply,
    conjCle_apply, starRingEnd_self_apply]
state_before: case mpr.intro.inr.intro
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
h₂ : g ≠ 0
map : ℂ →L[ℂ] ℂ
hmap : restrictScalars ℝ map = comp g ↑conjCle
⊢ IsConformalMap g

tactic: rw [minor₁] at h₂⊢
state_before: case mpr.intro.inr.intro
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
h₂ : g ≠ 0
map : ℂ →L[ℂ] ℂ
hmap : restrictScalars ℝ map = comp g ↑conjCle
minor₁ : g = comp (restrictScalars ℝ map) ↑conjCle
⊢ IsConformalMap g

tactic: refine' isConformalMap_complex_linear_conj _
state_before: case mpr.intro.inr.intro
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
map : ℂ →L[ℂ] ℂ
h₂ : comp (restrictScalars ℝ map) ↑conjCle ≠ 0
hmap : restrictScalars ℝ map = comp g ↑conjCle
minor₁ : g = comp (restrictScalars ℝ map) ↑conjCle
⊢ IsConformalMap (comp (restrictScalars ℝ map) ↑conjCle)

tactic: contrapose! h₂ with w
state_before: case mpr.intro.inr.intro
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
map : ℂ →L[ℂ] ℂ
h₂ : comp (restrictScalars ℝ map) ↑conjCle ≠ 0
hmap : restrictScalars ℝ map = comp g ↑conjCle
minor₁ : g = comp (restrictScalars ℝ map) ↑conjCle
⊢ map ≠ 0

tactic: simp only [w, restrictScalars_zero, zero_comp]
state_before: case mpr.intro.inr.intro
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
map : ℂ →L[ℂ] ℂ
hmap : restrictScalars ℝ map = comp g ↑conjCle
minor₁ : g = comp (restrictScalars ℝ map) ↑conjCle
w : map = 0
⊢ comp (restrictScalars ℝ map) ↑conjCle = 0

tactic: ext1
state_before: f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
h₂ : g ≠ 0
map : ℂ →L[ℂ] ℂ
hmap : restrictScalars ℝ map = comp g ↑conjCle
⊢ g = comp (restrictScalars ℝ map) ↑conjCle

tactic: simp only [hmap, coe_comp', ContinuousLinearEquiv.coe_coe, Function.comp_apply,
  conjCle_apply, starRingEnd_self_apply]
state_before: case h
f : ℂ → ℂ
z : ℂ
g : ℂ →L[ℝ] ℂ
h₂ : g ≠ 0
map : ℂ →L[ℂ] ℂ
hmap : restrictScalars ℝ map = comp g ↑conjCle
x✝ : ℂ
⊢ ↑g x✝ = ↑(comp (restrictScalars ℝ map) ↑conjCle) x✝