Details

Time bar (total: 5.0s)

analyze10.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50%13
49.9%0%50%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.8s (37.2%)

Results
1.7s8256×body128valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify56.0ms (1.1%)

Algorithm
egg-herbie
Rules
396×fma-neg_binary64
375×fma-def_binary64
260×div-sub_binary64
123×times-frac_binary64
116×associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11917
22517
33517
45717
57317
610217
715817
824017
929917
1039117
1153617
1277717
1382617
1479917
1572217

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
Compiler

Compiled 36 to 30 computations (16.7% saved)

localize14.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
0.0b
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
0.0b
(/.f64 (-.f64 1 x) (+.f64 1 x))

series15.0ms (0.3%)

Counts
3 → 24
Calls

3 calls:

8.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
4.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
3.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

rewrite44.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
79×*-un-lft-identity_binary64
56×add-sqr-sqrt_binary64
49×times-frac_binary64
30×sqrt-prod_binary64
26×add-cube-cbrt_binary64
Counts
3 → 106
Calls

3 calls:

14.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
12.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
1.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

simplify324.0ms (6.5%)

Algorithm
egg-herbie
Rules
697×fma-neg_binary64
247×associate-/r*_binary64
244×sub-neg_binary64
227×fma-def_binary64
215×associate-*l*_binary64
Counts
130 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01822612
14102466
210962454
333532449
447512449
549852449
649202449

prune237.0ms (4.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh000
Picked011
Done000
Total1292131
Error
0b
Counts
131 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))))))
Compiler

Compiled 2600 to 2123 computations (18.3% saved)

localize25.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(atan.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))))
0.0b
(/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))
0.0b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))
0.0b
(cbrt.f64 (-.f64 1 x))

series42.0ms (0.8%)

Counts
4 → 40
Calls

4 calls:

27.0ms
(/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))
7.0ms
(cbrt.f64 (-.f64 1 x))
4.0ms
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))
3.0ms
(atan.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))))

rewrite159.0ms (3.2%)

Algorithm
rewrite-expression-head
Rules
167×add-sqr-sqrt_binary64
165×*-un-lft-identity_binary64
155×times-frac_binary64
102×cbrt-prod_binary64
91×sqrt-prod_binary64
Counts
4 → 247
Calls

4 calls:

70.0ms
(*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))
16.0ms
(/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))
5.0ms
(cbrt.f64 (-.f64 1 x))
2.0ms
(atan.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))))

simplify581.0ms (11.7%)

Algorithm
egg-herbie
Rules
739×times-frac_binary64
388×fma-def_binary64
366×fma-neg_binary64
233×cancel-sign-sub-inv_binary64
209×associate-*r/_binary64
Counts
287 → 298
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03008714
17727935
224417844
345637763
449657763
549597763

prune868.0ms (17.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New3820382
Fresh000
Picked011
Done011
Total3822384
Error
0b
Counts
384 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
0.0b
(*.f64 2 (atan.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 1 x)) (cbrt.f64 (-.f64 1 x))) (sqrt.f64 (+.f64 1 x))) (/.f64 (cbrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))))))
Compiler

Compiled 14467 to 11824 computations (18.3% saved)

regimes614.0ms (12.4%)

Accuracy

Total 0.0b remaining (49.6%)

Threshold costs 0.0b (49.6%)

Counts
71 → 1
Compiler

Compiled 7644 to 6331 computations (17.2% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01227
11827
22227
32427
42527
52427

end113.0ms (2.3%)

Compiler

Compiled 77 to 64 computations (16.9% saved)

Profiling

Loading profile data...