Details

Time bar (total: 3.2s)

analyze489.0ms (15.5%)

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)

sample1.5s (46.6%)

Results
927.0ms8256×body128valid
283.0ms2641×body128invalid
Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify196.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%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
24.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
24.4b
(*.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))))
3.4b
(-.f64 (*.f64 y y) (*.f64 z z))
24.1b
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))

series59.0ms (1.9%)

Counts
3 → 84
Calls

3 calls:

36.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
16.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
7.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:

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

simplify100.0ms (3.2%)

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

prune93.0ms (2.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1736179
Fresh000
Picked101
Done000
Total1746180
Error
0.2b
Counts
180 → 6
Alt Table
StatusErrorProgram
24.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
31.0b
(*.f64 x y)
37.8b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x))) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
32.3b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
30.0b
(*.f64 x (neg.f64 y))
47.4b
(/.f64 (*.f64 x (sqrt.f64 (-.f64 (pow.f64 y 4) (pow.f64 z 4)))) (sqrt.f64 (+.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 3759 to 1681 computations (55.3% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
4.2b
(fma.f64 y y (neg.f64 (*.f64 z z)))
24.1b
(sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z))))

series55.0ms (1.7%)

Counts
3 → 84
Calls

3 calls:

35.0ms
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
13.0ms
(sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z))))
6.0ms
(fma.f64 y y (neg.f64 (*.f64 z z)))

rewrite7.0ms (0.2%)

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

3 calls:

3.0ms
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
1.0ms
(sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z))))
0.0ms
(fma.f64 y y (neg.f64 (*.f64 z z)))

simplify90.0ms (2.9%)

Algorithm
egg-herbie
Rules
705×associate-/r*_binary64
524×fma-def_binary64
364×fma-neg_binary64
268×cancel-sign-sub-inv_binary64
142×associate-/r/_binary64
Counts
133 → 161
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01782728
15102646
218622573
347602573
451252573

prune77.0ms (2.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1610161
Fresh055
Picked011
Done000
Total1616167
Error
0.2b
Counts
167 → 6
Alt Table
StatusErrorProgram
24.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
31.0b
(*.f64 x y)
37.8b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x))) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
32.3b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
30.0b
(*.f64 x (neg.f64 y))
47.4b
(/.f64 (*.f64 x (sqrt.f64 (-.f64 (pow.f64 y 4) (pow.f64 z 4)))) (sqrt.f64 (+.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 3361 to 1553 computations (53.8% saved)

localize3.0ms (0.1%)

prune4.0ms (0.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done011
Total066
Error
0.2b
Counts
6 → 6
Alt Table
StatusErrorProgram
24.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
31.0b
(*.f64 x y)
37.8b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x))) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
32.3b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
30.0b
(*.f64 x (neg.f64 y))
47.4b
(/.f64 (*.f64 x (sqrt.f64 (-.f64 (pow.f64 y 4) (pow.f64 z 4)))) (sqrt.f64 (+.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 174 to 91 computations (47.7% saved)

localize2.0ms (0.1%)

prune11.0ms (0.4%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done022
Total066
Error
0.2b
Counts
6 → 6
Alt Table
StatusErrorProgram
24.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
31.0b
(*.f64 x y)
37.8b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x))) (cbrt.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
32.3b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
30.0b
(*.f64 x (neg.f64 y))
47.4b
(/.f64 (*.f64 x (sqrt.f64 (-.f64 (pow.f64 y 4) (pow.f64 z 4)))) (sqrt.f64 (+.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 97 to 52 computations (46.4% saved)

regimes368.0ms (11.7%)

Accuracy

Total 0.5b remaining (86.9%)

Threshold costs 0.5b (86.9%)

Counts
18 → 2
Compiler

Compiled 3522 to 1963 computations (44.3% saved)

bsearch14.0ms (0.4%)

Steps
ItersRangePoint
1
-4.1751544077039334e-275
1.5200200825248202e-267
-4.1751544077039334e-275
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
12829
23829
34629
45029
55129
65129

end85.0ms (2.7%)

Compiler

Compiled 141 to 80 computations (43.3% saved)

Profiling

Loading profile data...