Hyperbolic secant

Time bar (total: 4.0s)

analyze15.0ms (0.4%)

Memory
4.5MiB live, 4.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
100%100%0%0%0%0%0%2
Compiler

Compiled 20 to 17 computations (15% saved)

sample3.9s (97.7%)

Memory
23.3MiB live, 900.2MiB allocated
Samples
1.1s8 227×73valid-sollya
489.0ms8 227×73valid-baseline
390.0ms8 227×73valid-rival
2.0ms29×73valid-rival+baseline-zero
Precisions
Click to see Rival histograms. Total time spent on operations: 258.0ms
ival-exp: 118.0ms (45.8% of total)
ival-div: 56.0ms (21.7% of total)
ival-add: 39.0ms (15.1% of total)
ival-neg: 31.0ms (12% of total)
ival-true: 7.0ms (2.7% of total)
...in/eval/compile.rkt:110:19: 3.0ms (1.2% of total)
ival-assert: 3.0ms (1.2% of total)
Precisions
Click to see Base histograms. Total time spent on operations: 268.0ms
ival-exp: 122.0ms (45.5% of total)
ival-div: 58.0ms (21.6% of total)
ival-add: 41.0ms (15.3% of total)
ival-neg: 36.0ms (13.4% of total)
const: 11.0ms (4.1% of total)
Bogosity

preprocess54.0ms (1.4%)

Memory
5.1MiB live, 20.1MiB allocated
Algorithm
egg-herbie
Rules
40×fma-define
40×fmm-def
24×sub-neg
14×distribute-lft-neg-in
14×cancel-sign-sub-inv
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017124
135124
267124
3113124
4170124
5231124
6286124
7302124
8309124
9320124
10332124
11334124
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))
(neg.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))))
Outputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x)))))
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(neg.f64 (/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 (neg.f64 x))))))
(/.f64 #s(literal -2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Symmetry

(abs x)

Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify2.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
egg-herbie
Rules
+-commutative
sub-neg
*-commutative
neg-sub0
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01231
11731
21931
32031
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 #s(literal 2 binary64) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

soundness1.0ms (0%)

Memory
-15.5MiB live, 0.4MiB allocated
Stop Event
fuel
Compiler

Compiled 9 to 7 computations (22.2% saved)

preprocess19.0ms (0.5%)

Memory
4.7MiB live, 22.2MiB allocated
Remove

(abs x)

Compiler

Compiled 72 to 56 computations (22.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...