Details

Time bar (total: 2.5s)

analyze6.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)

sample106.0ms (4.2%)

Algorithm
intervals
Results
17.0ms256×body128valid
Compiler

Compiled 26 to 22 computations (15.4% saved)

simplify36.0ms (1.4%)

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

prune2.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)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series10.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

5.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
2.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
2.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

rewrite20.0ms (0.8%)

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:

7.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
6.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
0.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

simplify218.0ms (8.6%)

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

prune116.0ms (4.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh000
Picked101
Done000
Total1292131
Error
0.0b
Counts
131 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (log1p.f64 (expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (fabs.f64 (/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))))
Compiler

Compiled 2586 to 2113 computations (18.3% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series23.0ms (0.9%)

Counts
4 → 32
Calls

4 calls:

7.0ms
(sqrt.f64 (+.f64 1 x))
7.0ms
(sqrt.f64 (-.f64 1 x))
7.0ms
(/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))
2.0ms
(atan.f64 (fabs.f64 (/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))))

rewrite26.0ms (1%)

Algorithm
rewrite-expression-head
Rules
98×sqrt-prod_binary64
92×*-un-lft-identity_binary64
77×add-sqr-sqrt_binary64
63×times-frac_binary64
42×add-cube-cbrt_binary64
Counts
4 → 149
Calls

4 calls:

9.0ms
(/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))
3.0ms
(sqrt.f64 (-.f64 1 x))
3.0ms
(sqrt.f64 (+.f64 1 x))
0.0ms
(atan.f64 (fabs.f64 (/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x)))))

simplify139.0ms (5.5%)

Algorithm
egg-herbie
Rules
593×fma-neg_binary64
552×cancel-sign-sub-inv_binary64
478×times-frac_binary64
246×fma-def_binary64
225×associate-/r*_binary64
Counts
181 → 183
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01883758
13813607
29463502
327653484
446463484
549853484

prune168.0ms (6.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1821183
Fresh011
Picked011
Done000
Total1823185
Error
0b
Counts
185 → 3
Alt Table
StatusErrorProgram
0.6b
(*.f64 2 (atan.f64 (fabs.f64 (/.f64 (fma.f64 x -1/2 1) (sqrt.f64 (+.f64 1 x))))))
0.0b
(*.f64 2 (log1p.f64 (expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (fabs.f64 (/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))))
Compiler

Compiled 4032 to 3379 computations (16.2% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series7.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
2.0ms
(log1p.f64 (expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))))

rewrite1.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
0.0ms
(log1p.f64 (expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))))

simplify66.0ms (2.6%)

Algorithm
egg-herbie
Rules
932×unsub-neg_binary64
460×distribute-neg-out_binary64
355×distribute-rgt-in_binary64
298×sub-neg_binary64
295×distribute-lft-in_binary64
Counts
46 → 31
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
030805
142743
275734
3133734
4383734
51710734
63228734
74850734

prune136.0ms (5.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1510151
Fresh011
Picked011
Done011
Total1513154
Error
0b
Counts
154 → 3
Alt Table
StatusErrorProgram
0.6b
(*.f64 2 (atan.f64 (fabs.f64 (/.f64 (fma.f64 x -1/2 1) (sqrt.f64 (+.f64 1 x))))))
0.0b
(*.f64 2 (log1p.f64 (expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (fabs.f64 (/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))))
Compiler

Compiled 3240 to 2709 computations (16.4% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series16.0ms (0.6%)

Counts
2 → 16
Calls

2 calls:

14.0ms
(/.f64 (fma.f64 x -1/2 1) (sqrt.f64 (+.f64 1 x)))
2.0ms
(atan.f64 (fabs.f64 (/.f64 (fma.f64 x -1/2 1) (sqrt.f64 (+.f64 1 x)))))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity_binary64
21×times-frac_binary64
18×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
16×sqrt-prod_binary64
Counts
2 → 56
Calls

2 calls:

5.0ms
(/.f64 (fma.f64 x -1/2 1) (sqrt.f64 (+.f64 1 x)))
0.0ms
(atan.f64 (fabs.f64 (/.f64 (fma.f64 x -1/2 1) (sqrt.f64 (+.f64 1 x)))))

simplify112.0ms (4.4%)

Algorithm
egg-herbie
Rules
740×fma-neg_binary64
562×cancel-sign-sub-inv_binary64
266×associate-*l*_binary64
260×fma-def_binary64
237×times-frac_binary64
Counts
72 → 66
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01051586
11831489
24101489
38581483
425681483
540241483
649831483
749111483

prune88.0ms (3.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh000
Picked011
Done022
Total94397
Error
0b
Counts
97 → 3
Alt Table
StatusErrorProgram
0.6b
(*.f64 2 (atan.f64 (fabs.f64 (/.f64 (fma.f64 x -1/2 1) (sqrt.f64 (+.f64 1 x))))))
0.0b
(*.f64 2 (log1p.f64 (expm1.f64 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (fabs.f64 (/.f64 (sqrt.f64 (-.f64 1 x)) (sqrt.f64 (+.f64 1 x))))))
Compiler

Compiled 1988 to 1679 computations (15.5% saved)

regimes344.0ms (13.5%)

Accuracy

Total 0.0b remaining (54.5%)

Threshold costs 0.0b (54.5%)

Counts
51 → 1
Compiler

Compiled 4376 to 3738 computations (14.6% saved)

simplify3.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

end1.0ms (0%)

Compiler

Compiled 18 to 15 computations (16.7% saved)

sample861.0ms (33.8%)

Algorithm
intervals
Results
559.0ms8000×body128valid
Compiler

Compiled 74 to 63 computations (14.9% saved)

Profiling

Loading profile data...