Details

Time bar (total: 5.1s)

analyze341.0ms (6.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14
Compiler

Compiled 18 to 14 computations (22.2% saved)

sample34.0ms (0.7%)

Algorithm
intervals
Results
10.0ms200×body128valid
5.0ms23×body2048valid
4.0ms14×body4096valid
4.0ms256×pre128true
2.0ms12×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 33 to 28 computations (15.2% saved)

simplify108.0ms (2.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
024923
124923

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
39.2b
Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize14.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
31.0b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_441
*-un-lft-identity_binary64_419 pow1_binary64_480
add-log-exp_binary64_458 add-cube-cbrt_binary64_454 sqrt-prod_binary64_435
sqrt-div_binary64_436
add-cbrt-cube_binary64_455 add-exp-log_binary64_457 sqrt-pow1_binary64_437 cancel-sign-sub-inv_binary64_385
difference-of-squares_binary64_388 pow1/2_binary64_499 flip3--_binary64_423 associate-*r/_binary64_361 flip--_binary64_394
flip3-+_binary64_422 pow-prod-down_binary64_490 sub-neg_binary64_412 distribute-lft-out--_binary64_371 flip-+_binary64_393 diff-log_binary64_511 rem-sqrt-square_binary64_432
Counts
3 → 45
Calls

3 calls:

9.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series237.0ms (4.6%)

Counts
3 → 32
Calls

3 calls:

85.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
77.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
75.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
Compiler

Compiled 857 to 786 computations (8.3% saved)

simplify70.0ms (1.4%)

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049751187
149751187

prune87.0ms (1.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New71677
Fresh000
Picked101
Done000
Total72678
Error
0.4b
Counts
78 → 6
Compiler

Compiled 1445 to 702 computations (51.4% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(sqrt.f64 (*.f64 2 (-.f64 im re)))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64_480
sqrt-div_binary64_436 associate-*r/_binary64_361 sqrt-pow1_binary64_437
*-un-lft-identity_binary64_419 pow-prod-down_binary64_490 add-log-exp_binary64_458 add-cube-cbrt_binary64_454 pow1/2_binary64_499 add-sqr-sqrt_binary64_441 flip3--_binary64_423 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 flip--_binary64_394 sqrt-prod_binary64_435
Counts
1 → 13
Calls

1 calls:

5.0ms
(sqrt.f64 (*.f64 2 (-.f64 im re)))

series50.0ms (1%)

Counts
1 → 7
Calls

1 calls:

50.0ms
(sqrt.f64 (*.f64 2 (-.f64 im re)))
Compiler

Compiled 198 to 189 computations (4.5% saved)

simplify105.0ms (2%)

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (97.0ms)

IterNodesCost
04981216
14981216

prune18.0ms (0.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New20020
Fresh055
Picked011
Done000
Total20626
Error
0.4b
Counts
26 → 6
Compiler

Compiled 294 to 219 computations (25.5% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))
0.5b
(+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
28.5b
(sqrt.f64 (*.f64 (*.f64 im im) 2))
31.0b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite37.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity_binary64_419
32×sqrt-prod_binary64_435
28×times-frac_binary64_425
24×add-sqr-sqrt_binary64_441
23×add-cube-cbrt_binary64_454
11×pow1_binary64_480
associate-/r*_binary64_363
add-log-exp_binary64_458 distribute-lft-out_binary64_370 add-cbrt-cube_binary64_455 add-exp-log_binary64_457
sqrt-div_binary64_436 sqrt-pow1_binary64_437 associate-/l*_binary64_364
flip3-+_binary64_422 pow-prod-down_binary64_490 flip-+_binary64_393
pow1/2_binary64_499 associate-/r/_binary64_365
clear-num_binary64_418 sqrt-undiv_binary64_440 div-inv_binary64_416 sum-log_binary64_510 frac-2neg_binary64_430 rem-sqrt-square_binary64_432 +-commutative_binary64_349 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 93
Calls

4 calls:

13.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))
6.0ms
(+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
4.0ms
(sqrt.f64 (*.f64 (*.f64 im im) 2))
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series254.0ms (5%)

Counts
4 → 32
Calls

4 calls:

81.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))
75.0ms
(+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
67.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
30.0ms
(sqrt.f64 (*.f64 (*.f64 im im) 2))
Compiler

Compiled 1034 to 884 computations (14.5% saved)

simplify85.0ms (1.7%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049443092
149443092

prune137.0ms (2.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1196125
Fresh134
Picked101
Done011
Total12110131
Error
0.3b
Counts
131 → 10
Compiler

Compiled 3444 to 1358 computations (60.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))
0.5b
(*.f64 im (sqrt.f64 2))
0.5b
(+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
31.0b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite34.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64_419
17×add-sqr-sqrt_binary64_441
15×sqrt-prod_binary64_435
12×add-cube-cbrt_binary64_454
11×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
times-frac_binary64_425 associate-/r*_binary64_363 pow1_binary64_480
add-log-exp_binary64_458 associate-*r*_binary64_359
sqrt-div_binary64_436
flip3-+_binary64_422 distribute-lft-out_binary64_370 associate-*l*_binary64_360 flip-+_binary64_393
unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-/r/_binary64_365 div-exp_binary64_470 cbrt-undiv_binary64_453
pow-prod-down_binary64_490 clear-num_binary64_418 pow1/2_binary64_499 div-inv_binary64_416 sum-log_binary64_510 *-commutative_binary64_350 frac-2neg_binary64_430 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 +-commutative_binary64_349 associate-/l*_binary64_364
Counts
4 → 80
Calls

4 calls:

11.0ms
(/.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))
6.0ms
(+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
6.0ms
(*.f64 im (sqrt.f64 2))
5.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series310.0ms (6.1%)

Counts
4 → 40
Calls

4 calls:

105.0ms
(+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))
88.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
88.0ms
(/.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))))
29.0ms
(*.f64 im (sqrt.f64 2))
Compiler

Compiled 1236 to 1076 computations (12.9% saved)

simplify78.0ms (1.5%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049772028
149772028

prune117.0ms (2.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1155120
Fresh448
Picked101
Done011
Total12010130
Error
0.3b
Counts
130 → 10
Compiler

Compiled 2609 to 1160 computations (55.5% saved)

regimes950.0ms (18.6%)

Accuracy

Total 13.1b remaining (97.4%)

Threshold costs 0b (0%)

Compiler

Compiled 7536 to 5354 computations (29% saved)

bsearch86.0ms (1.7%)

Steps
ItersRangePoint
10
2.635159266582253e+77
2.6985934216437893e+88
6.477992946618128e+80
8
-2.512837136916818e-40
-5.64568761212097e-43
-5.707305022353321e-43
9
-2.1144374507539735e+129
-1.8148107878303114e+123
-6.500985051720089e+126
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05887
15887

end0.0ms (0%)

sample1.9s (36.8%)

Algorithm
intervals
Results
311.0ms6111×body128valid
156.0ms530×body4096valid
142.0ms601×body2048valid
115.0ms8000×pre128true
82.0ms408×body1024valid
36.0ms236×body512valid
13.0ms114×body256valid
Compiler

Compiled 1021 to 729 computations (28.6% saved)

Profiling

Loading profile data...