tanhf (example 3.4)

Time bar (total: 7.9s)

analyze116.0ms (1.5%)

Memory
6.0MiB live, 37.4MiB 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
38.8MiB live, 1 380.7MiB allocated
Samples
2.0s1 869×2336valid-baseline
1.5s1 869×2336valid-sollya
572.0ms1 869×2336valid-rival
492.0ms1 195×1168valid-baseline
420.0ms4 114×73valid-baseline
400.0ms4 114×73valid-rival
321.0ms1 195×1168valid-sollya
251.0ms4 114×73valid-sollya
200.0ms1 195×1168valid-rival
130.0ms615×584valid-baseline
69.0ms615×584valid-sollya
57.0ms615×584valid-rival
48.0ms317×292valid-baseline
28.0ms317×292valid-rival
17.0ms317×292valid-sollya
16.0ms143×146valid-baseline
12.0ms143×146valid-rival
8.0ms143×146valid-sollya
1.0ms4672valid-baseline
1.0ms4672valid-rival
1.0ms4672valid-sollya
0.0ms2336valid-sollya+baseline-real
0.0ms2336valid-rival+baseline-real
Precisions
Click to see Rival histograms. Total time spent on operations: 1.1s
ival-cos: 662.0ms (59.3% of total)
ival-sin: 154.0ms (13.8% of total)
ival-sub: 109.0ms (9.8% of total)
ival-div: 98.0ms (8.8% of total)
adjust: 76.0ms (6.8% of total)
ival-true: 8.0ms (0.7% of total)
...in/eval/compile.rkt:110:19: 6.0ms (0.5% of total)
ival-assert: 4.0ms (0.4% of total)
Precisions
Click to see Base histograms. Total time spent on operations: 2.6s
ival-sin: 1.5s (56.5% of total)
ival-cos: 794.0ms (30.6% of total)
ival-div: 177.0ms (6.8% of total)
ival-sub: 130.0ms (5% of total)
const: 27.0ms (1% of total)
Bogosity

preprocess55.0ms (0.7%)

Memory
-12.2MiB 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
49.0%
(/.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
2.8MiB live, 34.0MiB 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...