Details

Time bar (total: 3.6s)

analyze551.0ms (15.3%)

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.8s (49%)

Results
1.1s8256×body128valid
379.0ms2691×body128invalid
Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify192.0ms (5.3%)

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
25.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
25.1b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 39 to 24 computations (38.5% saved)

localize8.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))))
2.2b
(-.f64 (*.f64 y y) (*.f64 z z))
24.4b
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))

series64.0ms (1.8%)

Counts
3 → 84
Calls

3 calls:

41.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:

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

simplify111.0ms (3.1%)

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

prune107.0ms (3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1745179
Fresh000
Picked101
Done000
Total1755180
Error
0.1b
Counts
180 → 5
Alt Table
StatusErrorProgram
25.1b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
40.0b
(fma.f64 y x (fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 (*.f64 (/.f64 (pow.f64 z 4) (pow.f64 y 3)) x) -1/8)))
29.0b
(*.f64 x (neg.f64 y))
32.4b
(*.f64 x y)
35.9b
(*.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)))
Compiler

Compiled 3739 to 1667 computations (55.4% 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)))))
2.7b
(fma.f64 y y (neg.f64 (*.f64 z z)))
24.4b
(sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z))))

series74.0ms (2.1%)

Counts
3 → 84
Calls

3 calls:

45.0ms
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
21.0ms
(sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z))))
7.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)))

simplify98.0ms (2.7%)

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

prune75.0ms (2.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1610161
Fresh044
Picked011
Done000
Total1615166
Error
0.1b
Counts
166 → 5
Alt Table
StatusErrorProgram
25.1b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
40.0b
(fma.f64 y x (fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 (*.f64 (/.f64 (pow.f64 z 4) (pow.f64 y 3)) x) -1/8)))
29.0b
(*.f64 x (neg.f64 y))
32.4b
(*.f64 x y)
35.9b
(*.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)))
Compiler

Compiled 3341 to 1539 computations (53.9% 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
25.1b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
40.0b
(fma.f64 y x (fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 (*.f64 (/.f64 (pow.f64 z 4) (pow.f64 y 3)) x) -1/8)))
29.0b
(*.f64 x (neg.f64 y))
32.4b
(*.f64 x y)
35.9b
(*.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)))
Compiler

Compiled 154 to 77 computations (50% saved)

localize2.0ms (0.1%)

prune4.0ms (0.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done022
Total055
Error
0.1b
Counts
5 → 5
Alt Table
StatusErrorProgram
25.1b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
40.0b
(fma.f64 y x (fma.f64 (*.f64 (/.f64 (*.f64 z z) y) x) -1/2 (*.f64 (*.f64 (/.f64 (pow.f64 z 4) (pow.f64 y 3)) x) -1/8)))
29.0b
(*.f64 x (neg.f64 y))
32.4b
(*.f64 x y)
35.9b
(*.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)))
Compiler

Compiled 87 to 45 computations (48.3% saved)

regimes385.0ms (10.7%)

Accuracy

Total 0.3b remaining (55.2%)

Threshold costs 0.3b (55.2%)

Counts
20 → 2
Compiler

Compiled 3231 to 1853 computations (42.6% saved)

bsearch43.0ms (1.2%)

Steps
ItersRangePoint
2
-3.924711085373417e-270
6.93388403477893e-222
-1.8331389015440094e-301
Compiler

Compiled 4 to 3 computations (25% saved)

simplify6.0ms (0.2%)

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
01729
12529
23429
34129
44729
55029
65129
75129

end73.0ms (2%)

Compiler

Compiled 131 to 73 computations (44.3% saved)

Profiling

Loading profile data...