Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ross Gayler
Ross Gayler
@RossGayler@aus.social  ·  activity timestamp 2 days ago

I am simulating a system with state that can be thought of as a set of scalar-valued signals that are combined by arithmetic operations (+, -, *, /). This system is a model of some (*very* vaguely specified) physical processes, so I want to limit the ranges of the signals to some finite interval, say [-1, +1] for all the signals for the sake of concreteness and simplicity. (Mister Physical Process is not at home to unbounded ranges of values. Think along the lines of an electronic analogue computer only being able use voltages in a fixed range.)

I want definitions of the arithmetic operators such that are defined only for operands in the interval [-1, +1] such that the result also lies in [-1, +1] and that otherwise these operators behave as much like the standard arithmetic operators as possible. (That's grossly underspecified as an objective.)

I could do something like apply the standard operators and linearly rescale the results so that the interval of possible results is scaled back to [-1, +1]. However, that would effectively be applying a uniform gain of less than 1 to all the signals, so the signals would fade as they flow through the system. I think it would be better to have something where the effective gain is one when the result is 0 and the effective gain decreases as the magnitude of the unscaled result gets larger - so that the absolute value of the scaled result can approach but never exceed 1.

I would greatly appreciate any pointers to work that might help defining such arithmetic operators. (Unfortunately I can't think of any sensible search terms other than the long-winded description above).

BONUS QUESTION: The above, but for complex values rather than reals. For concreteness, assume that the operators are closed within the unit circle on the complex plane.

#arithmetic #mathematics

  • Copy link
  • Flag this post
  • Block
SmåLand
SmåLand
@Heterokromia@aus.social replied  ·  activity timestamp 2 days ago

@RossGayler I suppose something like Lorentz Contraction keeping velocity arithmetic bounded below c?

  • Copy link
  • Flag this comment
  • Block
Ross Gayler
Ross Gayler
@RossGayler@aus.social replied  ·  activity timestamp 2 days ago

@Heterokromia thanks.

> something like Lorentz Contraction keeping velocity arithmetic bounded below c?

Yes. That's a good example. I wish I had thought of it.

Of course the Lorentz Contraction is based on the specific physics of the situations covered.

In my case, the physical basis of the range limit is unknown/unspecified. I am modelling the behaviour of a system that processes range-limited scalar signals, where the details of the range limiting process would depend on precisely how the system is physically realised (if it ever is).

I am viewing the mathematics as a model that approximates what any specific physical realisation would do. I would like the qualitative behaviour of the system being modelled to be insensitive to the precise mathematical details of the range limiting process, because the physical systems are assumed to be quite robust to random variation in the physical realisation (think of brains which are wired probabilistically rather than precisely).

Given that the behaviours of the systems I am studying depend on the algebraic properties of the arithmetic operators acting on the signals, I would like the range-limited arithmetic operations to preserve those algebraic properties as much as possible.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.27 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct