Details

Time bar (total: 3.4s)

analyze485.0ms (14.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.4s (42.7%)

Results
936.0ms8256×body128valid
257.0ms2610×body128invalid
Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify194.0ms (5.7%)

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
23.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
23.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))))
2.4b
(-.f64 (*.f64 y y) (*.f64 z z))
22.6b
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))

series65.0ms (1.9%)

Counts
3 → 84
Calls

3 calls:

43.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
15.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
7.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

rewrite14.0ms (0.4%)

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))))
3.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
3.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

simplify99.0ms (2.9%)

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

prune94.0ms (2.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1727179
Fresh000
Picked101
Done000
Total1737180
Error
0.4b
Counts
180 → 7
Alt Table
StatusErrorProgram
49.6b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
23.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
32.7b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
38.6b
(*.f64 x (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y))))
30.9b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
29.8b
(*.f64 x (neg.f64 y))
31.7b
(*.f64 x y)
Compiler

Compiled 3733 to 1691 computations (54.7% 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)))))
3.0b
(fma.f64 y y (neg.f64 (*.f64 z z)))
22.6b
(sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z))))

series66.0ms (1.9%)

Counts
3 → 84
Calls

3 calls:

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

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

prune80.0ms (2.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1610161
Fresh066
Picked011
Done000
Total1617168
Error
0.4b
Counts
168 → 7
Alt Table
StatusErrorProgram
49.6b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
23.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
32.7b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
38.6b
(*.f64 x (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y))))
30.9b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
29.8b
(*.f64 x (neg.f64 y))
31.7b
(*.f64 x y)
Compiler

Compiled 3335 to 1563 computations (53.1% saved)

localize3.0ms (0.1%)

prune5.0ms (0.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done011
Total077
Error
0.4b
Counts
7 → 7
Alt Table
StatusErrorProgram
49.6b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
23.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
32.7b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
38.6b
(*.f64 x (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y))))
30.9b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 z 2) x) y)) (*.f64 y x))
29.8b
(*.f64 x (neg.f64 y))
31.7b
(*.f64 x y)
Compiler

Compiled 148 to 101 computations (31.8% 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))
3.4b
(/.f64 (*.f64 (pow.f64 z 2) x) y)
7.9b
(*.f64 (pow.f64 z 2) x)

series65.0ms (1.9%)

Counts
3 → 18
Calls

3 calls:

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

rewrite15.0ms (0.4%)

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)

simplify71.0ms (2.1%)

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

prune63.0ms (1.8%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1171118
Fresh134
Picked101
Done022
Total1196125
Error
0.3b
Counts
125 → 6
Alt Table
StatusErrorProgram
29.8b
(-.f64 (*.f64 1/2 (/.f64 (*.f64 z (*.f64 z x)) y)) (*.f64 y x))
49.6b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
23.4b
(*.f64 x (sqrt.f64 (fma.f64 y y (neg.f64 (*.f64 z z)))))
32.7b
(*.f64 x (*.f64 (sqrt.f64 (+.f64 y z)) (sqrt.f64 (-.f64 y z))))
29.8b
(*.f64 x (neg.f64 y))
31.7b
(*.f64 x y)
Compiler

Compiled 2286 to 1154 computations (49.5% saved)

regimes349.0ms (10.3%)

Accuracy

Total 1.0b remaining (88.9%)

Threshold costs 0b (0%)

Counts
16 → 2
Compiler

Compiled 2378 to 1493 computations (37.2% saved)

bsearch72.0ms (2.1%)

Steps
ItersRangePoint
2
-5.953031145495972e-246
1.8140642937780632e-280
3.382080778465714e-303
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
10×*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02142
13542
24842
35642
46142
56242
66242

end80.0ms (2.3%)

Compiler

Compiled 132 to 84 computations (36.4% saved)

Profiling

Loading profile data...