sin(PI)

Time bar (total: 7.6s)

analyze0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Algorithm
random
Compiler

Compiled 4 to 4 computations (0% saved)

sample5.5s (72.6%)

Memory
4.0MiB live, 393.7MiB allocated
Samples
5.4s8 256×2valid
Precisions
Click to see histograms. Total time spent on operations: 5.1s
ival-sin: 4.8s (94.6% of total)
ival-pi: 138.0ms (2.7% of total)
adjust: 130.0ms (2.5% of total)
ival-true: 7.0ms (0.1% of total)
ival-assert: 4.0ms (0.1% of total)
Bogosity

preprocess10.0ms (0.1%)

Memory
4.4MiB live, 4.4MiB allocated
Algorithm
egg-herbie
Rules
PI-lowering-PI.f32
PI-lowering-PI.f64
sin-PI
sin-PI
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021
131
021
131
031
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(sin (PI))
Outputs
(sin (PI))
#s(literal 0 binary64)
Call 2
Inputs
(sin (PI))
Outputs
(sin (PI))
#s(literal 0 binary64)

explain369.0ms (4.8%)

Memory
-4.7MiB live, 31.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2560-0-(sin.f64 (PI.f64))
00-0-(PI.f64)
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sin.f64(sin.f64 (PI.f64))cancellation10
Confusion
Predicted +Predicted -
+2560
-00
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+25600
-000
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
1256
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
339.0ms512×2valid
Compiler

Compiled 14 to 12 computations (14.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 321.0ms
ival-sin: 304.0ms (94.7% of total)
ival-pi: 9.0ms (2.8% of total)
adjust: 8.0ms (2.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 0 computations (0% saved)

prune0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
3.2%
(sin.f64 (PI.f64))
Compiler

Compiled 2 to 2 computations (0% saved)

simplify3.0ms (0%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(PI.f64)
cost-diff6400
(sin.f64 (PI.f64))
Rules
PI-lowering-PI.f32
PI-lowering-PI.f64
sin-PI
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
132
032
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(sin (PI))
(PI)
Outputs
(sin (PI))
#s(literal 0 binary64)
(PI)
(PI.f64)

localize176.0ms (2.3%)

Memory
-2.1MiB live, 13.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(PI.f64)
accuracy3.2%
(sin.f64 (PI.f64))
Samples
170.0ms256×2valid
Compiler

Compiled 5 to 4 computations (20% saved)

Precisions
Click to see histograms. Total time spent on operations: 160.0ms
ival-sin: 152.0ms (94.7% of total)
ival-pi: 4.0ms (2.5% of total)
adjust: 4.0ms (2.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Counts
2 → 0
Calls
Call 1
Inputs
#<alt (sin (PI))>
#<alt (PI)>
Outputs

rewrite90.0ms (1.2%)

Memory
2.3MiB live, 26.6MiB allocated
Algorithm
batch-egg-rewrite
Rules
1 082×*-lowering-*.f32
1 082×*-lowering-*.f64
920×pow-lowering-pow.f64
920×pow-lowering-pow.f32
752×pow-pow
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
1182
21042
37242
457722
558392
661252
774852
081972
Stop Event
iter limit
node limit
Counts
2 → 3
Calls
Call 1
Inputs
(sin (PI))
(PI)
Outputs
#s(literal 0 binary64)
#s(literal 1 binary64)
(PI.f64)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

eval1.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 5 to 5 computations (0% saved)

prune0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New213
Fresh000
Picked101
Done000
Total314
Accuracy
100.0%
Counts
4 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 0 binary64)
Compiler

Compiled 1 to 1 computations (0% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
011
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
#s(literal 0 binary64)

localize5.0ms (0.1%)

Memory
-4.9MiB live, 3.0MiB allocated
Samples
2.0ms256×0valid
Compiler

Compiled 3 to 3 computations (0% saved)

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

series0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

rewrite7.0ms (0.1%)

Memory
1.4MiB live, 1.4MiB allocated
Algorithm
batch-egg-rewrite
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 0 computations (0% saved)

prune1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 0 binary64)
Compiler

Compiled 4 to 4 computations (0% saved)

simplify9.0ms (0.1%)

Memory
-4.8MiB live, 4.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
Stop Event
saturated
Calls
Call 1
Inputs
#s(literal 0 binary64)
Outputs
#s(literal 0 binary64)

soundness1.4s (18.2%)

Memory
1.8MiB live, 1.8MiB allocated
Rules
1 082×*-lowering-*.f32
1 082×*-lowering-*.f64
920×pow-lowering-pow.f64
920×pow-lowering-pow.f32
752×pow-pow
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
1182
21042
37242
457722
558392
661252
774852
081972
Stop Event
done
iter limit
node limit
Compiler

Compiled 2 to 2 computations (0% saved)

preprocess21.0ms (0.3%)

Memory
4.1MiB live, 19.5MiB allocated
Compiler

Compiled 6 to 6 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...