sin(x)

Time bar (total: 1.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 10 to 8 computations (20% saved)

sample613.0ms (47.6%)

Memory
10.3MiB live, 293.9MiB allocated
Samples
333.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 166.0ms
ival-sin: 69.0ms (41.5% of total)
ival-<=: 68.0ms (40.9% of total)
exact: 15.0ms (9% of total)
ival-and: 11.0ms (6.6% of total)
ival-assert: 4.0ms (2.4% of total)
Bogosity

explain88.0ms (6.8%)

Memory
-15.1MiB live, 32.6MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(sin.f64 x)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
74.0ms512×0valid
Compiler

Compiled 12 to 10 computations (16.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 64.0ms
ival-sin: 64.0ms (99.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess15.0ms (1.2%)

Memory
24.6MiB live, 24.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
1125
2195
3375
4525
5575
6595
022
032
032
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sin.f64 x)
Outputs
(sin.f64 x)
Symmetry

(negabs x)

Compiler

Compiled 2 to 2 computations (0% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sin.f64 x)
Compiler

Compiled 2 to 2 computations (0% saved)

simplify3.0ms (0.2%)

Memory
2.8MiB live, 2.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(sin.f64 x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023
033
033
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(sin.f64 x)
x
Outputs
(sin.f64 x)
x

localize11.0ms (0.8%)

Memory
15.6MiB live, 15.6MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sin.f64 x)
Samples
7.0ms256×0valid
Compiler

Compiled 5 to 4 computations (20% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-sin: 2.0ms (83.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series1.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
1 → 5
Calls
Call 1
Inputs
(sin.f64 x)
Outputs
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(sin x)
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
((sin x))
0.0ms
x
@inf
((sin x))
0.0ms
x
@-inf
((sin x))

simplify515.0ms (40%)

Memory
13.7MiB live, 65.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02448
16248
213942
340342
483842
5127342
6145942
7174742
8227042
9362742
10511142
11583142
12586842
13587342
14587442
15607042
16609242
17609242
18609242
19735442
20791442
21791442
22791442
23791442
24791442
25791442
26793642
0793636
Stop Event
iter limit
saturated
Counts
5 → 4
Calls
Call 1
Inputs
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(sin x)
Outputs
x
(* x (+ 1 (* -1/6 (pow x 2))))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 1/120 binary64) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(fma.f64 (pow.f64 x #s(literal 7 binary64)) #s(literal -1/5040 binary64) (fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 1/120 binary64) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)))
(sin x)
(sin.f64 x)

rewrite14.0ms (1.1%)

Memory
5.0MiB live, 5.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
032
032
Stop Event
iter limit
saturated
iter limit
Counts
1 → 1
Calls
Call 1
Inputs
(sin.f64 x)
Outputs
(sin.f64 x)

eval1.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 49 to 19 computations (61.2% saved)

prune1.0ms (0.1%)

Memory
0.7MiB live, 0.7MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New505
Fresh000
Picked011
Done000
Total516
Accuracy
100.0%
Counts
6 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sin.f64 x)
Compiler

Compiled 4 to 4 computations (0% saved)

simplify9.0ms (0.7%)

Memory
5.0MiB live, 5.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
Stop Event
saturated
Calls
Call 1
Inputs
(sin.f64 x)
Outputs
(sin.f64 x)

soundness0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Stop Event
done
Compiler

Compiled 2 to 2 computations (0% saved)

preprocess16.0ms (1.2%)

Memory
10.0MiB live, 10.0MiB allocated
Remove

(negabs x)

Compiler

Compiled 16 to 16 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...