tanhf (example 3.4)

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze85.0ms (7.7%)

Memory
5.9MiB live, 30.3MiB 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)

sample45.0ms (4.1%)

Memory
1.0MiB live, 9.7MiB allocated
Samples
16.0ms66×2valid
12.0ms130×0valid
6.0ms14×3valid
5.0ms50×1valid
Precisions
Click to see histograms. Total time spent on operations: 33.0ms
ival-cos: 18.0ms (55.1% of total)
adjust: 4.0ms (12.3% of total)
ival-sin: 4.0ms (12.3% of total)
ival-div: 3.0ms (9.2% of total)
ival-sub: 2.0ms (6.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain905.0ms (81.3%)

Memory
3.6MiB live, 446.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
8550(-2.1835363175973305e-293)1(-9.980543147461171e-157)(-.f64 #s(literal 1 binary64) (cos.f64 x))
500-50(6.03889176363134e-173)(/.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))cancellation1349
Confusion
Predicted +Predicted -
+1331
-1121
Precision
0.9925373134328358
Recall
0.9925373134328358
Confusion?
Predicted +Predicted MaybePredicted -
+13301
-19112
Precision?
0.9300699300699301
Recall?
0.9925373134328358
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
0122
1134
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
5.46337890625
Average Time
0.021341323852539063
Samples
205.0ms792×2valid
146.0ms1 524×0valid
70.0ms168×3valid
62.0ms588×1valid
Compiler

Compiled 720 to 312 computations (56.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 389.0ms
ival-cos: 218.0ms (56% of total)
adjust: 53.0ms (13.6% of total)
ival-sin: 53.0ms (13.6% of total)
ival-div: 33.0ms (8.5% of total)
ival-sub: 28.0ms (7.2% of total)
ival-true: 2.0ms (0.5% of total)
exact: 2.0ms (0.5% of total)
ival-assert: 1.0ms (0.3% of total)

preprocess40.0ms (3.6%)

Memory
-0.4MiB 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
51.5%
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 14 to 12 computations (14.3% saved)

simplify23.0ms (2.1%)

Memory
1.8MiB live, 17.6MiB 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)

preprocess13.0ms (1.1%)

Memory
-11.4MiB live, 2.5MiB 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...