roseking's picture
Add lean source and binary files (part 19)
9eeb9c7 verified
Raw History Blame Contribute Delete
275 Bytes
import Mathlib.Analysis.SpecialFunctions.Exp
namespace OAI
namespace Invariant233
noncomputable def exponentialWeight {X : Type*} (x₀ : X) (g : X → ℝ) : X → ℝ := by
classical
exact Function.update (fun x => Real.exp (-g x)) x₀ 0
end Invariant233
end OAI