tanhf (example 3.4)

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze87.0ms (7.7%)

Memory
5.5MiB live, 29.9MiB 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 9 to 8 computations (11.1% saved)

sample47.0ms (4.1%)

Memory
0.9MiB live, 9.6MiB allocated
Samples
18.0ms72×2valid
12.0ms137×0valid
6.0ms18×3valid
3.0ms33×1valid
Precisions
Click to see histograms. Total time spent on operations: 34.0ms
ival-cos: 20.0ms (59% of total)
ival-sin: 5.0ms (14.8% of total)
adjust: 3.0ms (8.9% of total)
ival-div: 3.0ms (8.9% of total)
ival-sub: 2.0ms (5.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain919.0ms (81.3%)

Memory
0.8MiB live, 450.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
7560(-2.037406531910609e-229)4(-1.5648620004712086e+124)(-.f64 #s(literal 1 binary64) (cos.f64 x))
600-60(1.1190276336948132e-254)(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
00-0-#s(literal 1 binary64)
00-0-(cos.f64 x)
00-0-(sin.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 #s(literal 1 binary64) (cos.f64 x))cancellation1315
Confusion
Predicted +Predicted -
+1293
-2122
Precision
0.9847328244274809
Recall
0.9772727272727273
Confusion?
Predicted +Predicted MaybePredicted -
+12912
-24118
Precision?
0.9558823529411765
Recall?
0.9848484848484849
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
0125
1131
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
5.472412109375
Average Time
0.021376609802246094
Samples
226.0ms840×2valid
156.0ms1 608×0valid
72.0ms216×3valid
42.0ms408×1valid
Compiler

Compiled 720 to 312 computations (56.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 403.0ms
ival-cos: 242.0ms (60% of total)
ival-sin: 56.0ms (13.9% of total)
adjust: 38.0ms (9.4% of total)
ival-div: 34.0ms (8.4% of total)
ival-sub: 28.0ms (6.9% of total)
ival-true: 2.0ms (0.5% of total)
exact: 2.0ms (0.5% of total)
ival-assert: 1.0ms (0.2% of total)

preprocess46.0ms (4.1%)

Memory
-0.7MiB live, 7.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
13011
2738
31808
44438
56818
67068
067
0104
1204
2264
3374
4584
5814
61144
71884
83104
95194
105614
115644
125724
135784
145824
155894
165964
175974
05974
Stop Event
iter limit
saturated
iter limit
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))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
Symmetry

(negabs x)

Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.7%
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 14 to 12 computations (14.3% saved)

simplify26.0ms (2.3%)

Memory
-4.5MiB live, 17.7MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
1117
2157
3177
4187
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.2MiB live, 0.2MiB allocated
Stop Event
fuel
Compiler

Compiled 7 to 6 computations (14.3% saved)

preprocess5.0ms (0.4%)

Memory
2.4MiB live, 2.4MiB allocated
Remove

(negabs x)

Compiler

Compiled 64 to 56 computations (12.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...