tanhf (example 3.4)

Time bar (total: 7.9s)

analyze114.0ms (1.4%)

Memory
6.4MiB live, 38.0MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
25%25%75%0%0%0%0%3
37.5%37.5%62.5%0%0%0%0%4
43.8%43.7%56.2%0%0%0%0%5
46.9%46.9%53.1%0%0%0%0%6
48.4%48.4%51.5%0%0%0%0%7
49.2%49.2%50.8%0%0%0%0%8
49.6%49.6%50.4%0%0%0%0%9
49.8%49.8%50.2%0%0%0%0%10
49.9%49.9%50.1%0%0%0%0%11
50%49.9%50%0%0%0%0%12
Compiler

Compiled 18 to 15 computations (16.7% saved)

sample7.7s (97.5%)

Memory
37.3MiB live, 1 331.8MiB allocated
Samples
2.0s2 031×2valid-baseline
1.5s2 031×2valid-sollya
700.0ms2 031×2valid-rival
622.0ms2 038×1valid-baseline
429.0ms4 176×0valid-baseline
416.0ms4 176×0valid-rival
340.0ms2 038×1valid-sollya
255.0ms4 176×0valid-sollya
243.0ms2 038×1valid-rival
13.0ms3valid-baseline
6.0ms3valid-rival
6.0ms3valid-sollya
1.0ms2valid-rival+baseline-real
0.0ms2valid-rival+sollya-real
Precisions
Click to see Rival histograms. Total time spent on operations: 1.2s
ival-cos: 752.0ms (64.8% of total)
ival-sin: 157.0ms (13.5% of total)
ival-div: 90.0ms (7.8% of total)
ival-sub: 79.0ms (6.8% of total)
adjust: 66.0ms (5.7% of total)
ival-true: 8.0ms (0.7% of total)
...in/eval/compile.rkt:76:19: 5.0ms (0.4% of total)
ival-assert: 3.0ms (0.3% of total)
Precisions
Click to see Base histograms. Total time spent on operations: 2.5s
ival-sin: 1.4s (55.6% of total)
ival-cos: 796.0ms (31.3% of total)
ival-div: 175.0ms (6.9% of total)
ival-sub: 132.0ms (5.2% of total)
const: 28.0ms (1.1% of total)
Bogosity

preprocess53.0ms (0.7%)

Memory
4.3MiB live, 18.9MiB allocated
Algorithm
egg-herbie
Rules
199×fma-define
83×fmm-def
47×times-frac
47×div-sub
37×distribute-rgt-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14660
28556
319156
447056
581556
698156
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
Outputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(tan.f64 (*.f64 x #s(literal 1/2 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(tan.f64 (*.f64 x #s(literal 1/2 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(tan.f64 (/.f64 (neg.f64 x) #s(literal 2 binary64)))
(neg.f64 (tan.f64 (/.f64 x #s(literal 2 binary64))))
(tan.f64 (*.f64 x #s(literal -1/2 binary64)))
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(tan.f64 (*.f64 x #s(literal 1/2 binary64)))
Symmetry

(negabs x)

Compiler

Compiled 8 to 6 computations (25% 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
57.9%
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 16 to 12 computations (25% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01127
11827
22227
32427
42527
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Outputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))

soundness0.0ms (0%)

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

Compiled 8 to 6 computations (25% saved)

preprocess27.0ms (0.3%)

Memory
0.8MiB live, 32.3MiB allocated
Remove

(negabs x)

Compiler

Compiled 74 to 56 computations (24.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...