Details

Time bar (total: 3.1s)

analyze678.0ms (21.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%81.1%18.9%7
6.2%74.9%18.9%8
9.4%65.5%25.1%9
15.6%48.4%36%10
20.3%43.1%36.6%11
22.6%36%41.4%12
27.1%25.1%47.8%13
29.5%22.5%48%14
Compiler

Compiled 14 to 9 computations (35.7% saved)

sample26.0ms (0.9%)

Algorithm
intervals
Results
12.0ms256×body128valid
3.0ms54×body128nan
1.0ms22×body128invalid
Compiler

Compiled 30 to 20 computations (33.3% saved)

simplify193.0ms (6.2%)

Algorithm
egg-herbie
Rules
767×unsub-neg_binary64
741×*-commutative_binary64
699×fma-def_binary64
598×fma-neg_binary64
465×distribute-neg-out_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
11915
22915
35715
411815
527815
652915
7100715
8178115
9258515
10283415
11314115
12337115
13348515
14348515
15444415
16428415
17460415
18460415
19510315

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
24.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
24.6b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 39 to 24 computations (38.5% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
1.8b
(-.f64 (*.f64 y y) (*.f64 z z))
24.7b
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))

series67.0ms (2.2%)

Counts
3 → 84
Calls

3 calls:

41.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
15.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
11.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

rewrite16.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
sqrt-prod_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 62
Calls

3 calls:

6.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
5.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
3.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

simplify108.0ms (3.5%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
337×fma-neg_binary64
316×cancel-sign-sub-inv_binary64
268×neg-mul-1_binary64
187×distribute-rgt-neg-in_binary64
Counts
146 → 179
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02062931
15822842
222892771
345562771
450282771

prune89.0ms (2.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1754179
Fresh000
Picked011
Done000
Total1755180
Error
0.1b
Counts
180 → 5
Alt Table
StatusErrorProgram
30.4b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
32.6b
(fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 y x))
29.4b
(*.f64 x (neg.f64 y))
31.7b
(*.f64 x y)
24.6b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 3666 to 1643 computations (55.2% saved)

localize3.0ms (0.1%)

prune4.0ms (0.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done011
Total055
Error
0.1b
Counts
5 → 5
Alt Table
StatusErrorProgram
30.4b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
32.6b
(fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 y x))
29.4b
(*.f64 x (neg.f64 y))
31.7b
(*.f64 x y)
24.6b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 94 to 61 computations (35.1% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
2.8b
(/.f64 (*.f64 (pow.f64 z 2) x) y)
5.2b
(*.f64 (pow.f64 z 2) x)

series72.0ms (2.3%)

Counts
3 → 18
Calls

3 calls:

38.0ms
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
23.0ms
(/.f64 (*.f64 (pow.f64 z 2) x) y)
10.0ms
(*.f64 (pow.f64 z 2) x)

rewrite15.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
18×add-exp-log_binary64
14×add-sqr-sqrt_binary64
10×add-cbrt-cube_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
Counts
3 → 70
Calls

3 calls:

5.0ms
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
4.0ms
(/.f64 (*.f64 (pow.f64 z 2) x) y)
4.0ms
(*.f64 (pow.f64 z 2) x)

simplify74.0ms (2.4%)

Algorithm
egg-herbie
Rules
744×times-frac_binary64
624×associate-/l*_binary64
478×fma-def_binary64
417×associate-*l/_binary64
232×associate-/l/_binary64
Counts
88 → 118
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01301403
13041206
210631159
344601159
449421159

prune64.0ms (2.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1171118
Fresh022
Picked101
Done112
Total1194123
Error
0b
Counts
123 → 4
Alt Table
StatusErrorProgram
29.1b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 z (*.f64 z x)) y)) (*.f64 y x))
32.6b
(fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 y x))
31.7b
(*.f64 x y)
24.6b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 2303 to 1162 computations (49.5% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 z (*.f64 z x)) y)) (*.f64 y x))
0.1b
(*.f64 z (*.f64 z x))
2.8b
(/.f64 (*.f64 z (*.f64 z x)) y)

series67.0ms (2.2%)

Counts
3 → 96
Calls

3 calls:

34.0ms
(-.f64 (*.f64 1/2 (/.f64 (*.f64 z (*.f64 z x)) y)) (*.f64 y x))
26.0ms
(/.f64 (*.f64 z (*.f64 z x)) y)
8.0ms
(*.f64 z (*.f64 z x))

rewrite16.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 61
Calls

3 calls:

5.0ms
(-.f64 (*.f64 1/2 (/.f64 (*.f64 z (*.f64 z x)) y)) (*.f64 y x))
4.0ms
(/.f64 (*.f64 z (*.f64 z x)) y)
4.0ms
(*.f64 z (*.f64 z x))

simplify79.0ms (2.6%)

Algorithm
egg-herbie
Rules
809×associate-/l*_binary64
528×associate-*l/_binary64
476×fma-def_binary64
443×associate-*r/_binary64
317×associate-/r*_binary64
Counts
157 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01202213
13122034
211381900
345771900
449551900

prune51.0ms (1.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh022
Picked011
Done011
Total1064110
Error
0b
Counts
110 → 4
Alt Table
StatusErrorProgram
29.1b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 z (*.f64 z x)) y)) (*.f64 y x))
32.6b
(fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 y x))
31.7b
(*.f64 x y)
24.6b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 2022 to 705 computations (65.1% saved)

regimes359.0ms (11.6%)

Accuracy

Total 0.4b remaining (33.5%)

Threshold costs 0.4b (33.5%)

Counts
18 → 2
Compiler

Compiled 2039 to 1372 computations (32.7% saved)

bsearch214.0ms (6.9%)

Steps
ItersRangePoint
10
-3.538714094681241e-257
-3.676704133685205e-270
-3.7165584773607825e-270
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.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
01629
12429
23429
34029
44429
54529
64529

end1.0ms (0%)

Compiler

Compiled 23 to 13 computations (43.5% saved)

sample875.0ms (28.2%)

Algorithm
intervals
Results
380.0ms8000×body128valid
82.0ms1821×body128nan
35.0ms723×body128invalid
Compiler

Compiled 90 to 56 computations (37.8% saved)

Profiling

Loading profile data...