nevanlinna/Nevanlinna/realHarmonic.lean

17 lines
545 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Mathlib.Analysis.Calculus.LineDeriv.Basic
import Mathlib.Analysis.Calculus.ContDiff.Defs
noncomputable def Real.laplace : ( × ) → ( × ) := by
intro f
let f₁ := fun x ↦ lineDeriv f x ⟨1,0⟩
let f₁₁ := fun x ↦ lineDeriv f₁ x ⟨1,0⟩
let f₂ := fun x ↦ lineDeriv f x ⟨0,1⟩
let f₂₂ := fun x ↦ lineDeriv f₂ x ⟨0,1⟩
exact f₁₁ + f₂₂
def Harmonic (f : × ) : Prop :=
(ContDiff 2 f) ∧ (∀ x, Real.laplace f x = 0)