TorchLean API

FloatLib.Floats.Formats.Posit.Configured.Hyperbolic.Proof

Correct rounding of configured posit hyperbolic functions #

Refinement holds for every lawful codec. The real-rounding and exceptional-domain theorems therefore apply to every configured width and carrier.

@[simp]

Configured hyperbolic tangent refines the model operation.

@[simp]

Configured inverse hyperbolic tangent refines the model operation.

Finite configured hyperbolic tangent rounds its exact real value once.

theorem FloatLib.Floats.ExecFloat.Posit.arcTanH_eq_real {format : Formats.Posit.Format} {plan : Formats.Posit.Configured.StoragePlan format} {code : Type} [ModelCodec plan (Formats.Posit.Model format) code] (value : ExecFloat (Formats.Posit.Configured.Family format code plan)) {q : } (hvalue : toRat? value = some q) (hlower : -1 < q) (hupper : q < 1) :

Configured inverse hyperbolic tangent rounds its exact value on the open real domain.

NaR inputs propagate through configured hyperbolic tangent.

NaR inputs propagate through configured inverse hyperbolic tangent.

theorem FloatLib.Floats.ExecFloat.Posit.arcTanH_eq_nar_of_outside {format : Formats.Posit.Format} {plan : Formats.Posit.Configured.StoragePlan format} {code : Type} [ModelCodec plan (Formats.Posit.Model format) code] (value : ExecFloat (Formats.Posit.Configured.Family format code plan)) {q : } (hvalue : toRat? value = some q) (houtside : q -1 1 q) :

The configured inverse hyperbolic tangent rejects both endpoints and the exterior.

@[simp]

Configured hyperbolic sine refines the model operation.

Configured hyperbolic sine rounds its exact real value on its real domain.

NaR inputs propagate through configured hyperbolic sine.

@[simp]

Configured hyperbolic cosine refines the model operation.

Configured hyperbolic cosine rounds its exact real value on its real domain.

NaR inputs propagate through configured hyperbolic cosine.

@[simp]

Configured inverse hyperbolic sine refines the model operation.

Configured inverse hyperbolic sine rounds its exact real value on its real domain.

NaR inputs propagate through configured inverse hyperbolic sine.

@[simp]

Configured inverse hyperbolic cosine refines the model operation.

theorem FloatLib.Floats.ExecFloat.Posit.arcCosH_eq_real {format : Formats.Posit.Format} {plan : Formats.Posit.Configured.StoragePlan format} {code : Type} [ModelCodec plan (Formats.Posit.Model format) code] (value : ExecFloat (Formats.Posit.Configured.Family format code plan)) {q : } (hvalue : toRat? value = some q) (hdomain : 1 q) :

Configured inverse hyperbolic cosine rounds its exact real value on its real domain.

NaR inputs propagate through configured inverse hyperbolic cosine.

theorem FloatLib.Floats.ExecFloat.Posit.arcCosH_eq_nar_of_lt_one {format : Formats.Posit.Format} {plan : Formats.Posit.Configured.StoragePlan format} {code : Type} [ModelCodec plan (Formats.Posit.Model format) code] (value : ExecFloat (Formats.Posit.Configured.Family format code plan)) {q : } (hvalue : toRat? value = some q) (houtside : q < 1) :

Configured inverse hyperbolic cosine rejects finite inputs below one.