Details

Time bar (total: 6.6s)

analyze315.0ms (4.8%)

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
25%74.9%0.1%6
25%74.9%0.1%7
43.7%56.2%0.1%8
62.4%37.4%0.1%9
65.5%34.3%0.1%10
71.8%27.7%0.5%11
79.2%19.7%1.1%12
80.2%18.7%1.1%13
82.8%15%2.2%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.0s (15.2%)

Symmetry

(sort x y)

Results
918.0ms8256×body128valid
46.0ms451×body128invalid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
44×fma-def_binary64
37×associate-*l*_binary64
36×associate-*r*_binary64
20×*-commutative_binary64
19×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01016
12414
24114
39414
412214
514914
615314
714614

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
9.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
9.3b
(/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))
Compiler

Compiled 50 to 34 computations (32% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.7b
(*.f64 y (fma.f64 z z 1))
5.5b
(/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))

series95.0ms (1.4%)

Counts
2 → 60
Calls

2 calls:

83.0ms
(/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))
12.0ms
(*.f64 y (fma.f64 z z 1))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
31×times-frac_binary64
26×add-exp-log_binary64
20×add-sqr-sqrt_binary64
18×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
Counts
2 → 74
Calls

2 calls:

5.0ms
(/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))
3.0ms
(*.f64 y (fma.f64 z z 1))

simplify123.0ms (1.9%)

Algorithm
egg-herbie
Rules
469×associate-/r*_binary64
453×associate-*l*_binary64
414×associate-/l*_binary64
336×associate-/l/_binary64
297×associate-*r*_binary64
Counts
134 → 132
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01542203
13301967
211071965
339561963
444821963
548061963
649381963

prune129.0ms (2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1248132
Fresh000
Picked101
Done000
Total1258133
Error
5.2b
Counts
133 → 8
Alt Table
StatusErrorProgram
8.6b
(*.f64 (/.f64 1 y) (/.f64 (/.f64 1 x) (fma.f64 z z 1)))
9.3b
(/.f64 (/.f64 1 x) (+.f64 (*.f64 y (*.f64 z z)) y))
23.2b
(/.f64 (/.f64 1 x) (*.f64 (*.f64 (sqrt.f64 y) (hypot.f64 1 z)) (*.f64 (sqrt.f64 y) (hypot.f64 1 z))))
8.7b
(/.f64 1 (*.f64 y (*.f64 (+.f64 1 (pow.f64 z 2)) x)))
9.6b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (/.f64 1 x)) (cbrt.f64 (/.f64 1 x))) y) (/.f64 (cbrt.f64 (/.f64 1 x)) (fma.f64 z z 1)))
9.9b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))) (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1))))) (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))))
27.9b
(cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 y (*.f64 z z) y) x) 3)))
9.7b
(/.f64 (/.f64 1 (*.f64 y x)) (fma.f64 z z 1))
Compiler

Compiled 2502 to 1444 computations (42.3% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.2b
(*.f64 (/.f64 1 y) (/.f64 (/.f64 1 x) (fma.f64 z z 1)))
6.3b
(/.f64 (/.f64 1 x) (fma.f64 z z 1))

series122.0ms (1.8%)

Counts
2 → 60
Calls

2 calls:

85.0ms
(*.f64 (/.f64 1 y) (/.f64 (/.f64 1 x) (fma.f64 z z 1)))
37.0ms
(/.f64 (/.f64 1 x) (fma.f64 z z 1))

rewrite40.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
173×times-frac_binary64
126×add-sqr-sqrt_binary64
93×*-un-lft-identity_binary64
86×add-cube-cbrt_binary64
76×add-exp-log_binary64
Counts
2 → 182
Calls

2 calls:

17.0ms
(*.f64 (/.f64 1 y) (/.f64 (/.f64 1 x) (fma.f64 z z 1)))
4.0ms
(/.f64 (/.f64 1 x) (fma.f64 z z 1))

simplify135.0ms (2.1%)

Algorithm
egg-herbie
Rules
758×fma-def_binary64
687×times-frac_binary64
610×associate-/l*_binary64
504×fma-neg_binary64
455×associate-/r*_binary64
Counts
242 → 303
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02315183
15734561
216384502
340924490
451074490

prune333.0ms (5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2976303
Fresh167
Picked101
Done000
Total29912311
Error
1.2b
Counts
311 → 12
Alt Table
StatusErrorProgram
23.2b
(/.f64 (/.f64 1 x) (*.f64 (*.f64 (sqrt.f64 y) (hypot.f64 1 z)) (*.f64 (sqrt.f64 y) (hypot.f64 1 z))))
8.7b
(/.f64 1 (*.f64 (*.f64 x (fma.f64 z z 1)) y))
9.9b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))) (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1))))) (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))))
4.2b
(*.f64 (/.f64 1 y) (*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z))))
9.7b
(/.f64 (/.f64 1 (*.f64 y x)) (fma.f64 z z 1))
4.8b
(*.f64 (/.f64 1 y) (*.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (hypot.f64 1 z)) (/.f64 (/.f64 1 (cbrt.f64 x)) (hypot.f64 1 z))))
9.3b
(/.f64 (/.f64 1 x) (+.f64 (*.f64 y (*.f64 z z)) y))
8.6b
(/.f64 (*.f64 1 (/.f64 (/.f64 1 x) (fma.f64 z z 1))) y)
46.9b
(*.f64 (/.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 (hypot.f64 1 z) (sqrt.f64 x))) (/.f64 (sqrt.f64 (/.f64 1 y)) (*.f64 (hypot.f64 1 z) (sqrt.f64 x))))
9.6b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (/.f64 1 x)) (cbrt.f64 (/.f64 1 x))) y) (/.f64 (cbrt.f64 (/.f64 1 x)) (fma.f64 z z 1)))
27.9b
(cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 y (*.f64 z z) y) x) 3)))
4.8b
(*.f64 (/.f64 1 y) (*.f64 (/.f64 (*.f64 (cbrt.f64 (/.f64 1 x)) (cbrt.f64 (/.f64 1 x))) (hypot.f64 1 z)) (/.f64 (cbrt.f64 (/.f64 1 x)) (hypot.f64 1 z))))
Compiler

Compiled 7166 to 4804 computations (33% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (hypot.f64 1 z))
0.1b
(*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z)))
0.2b
(/.f64 (/.f64 1 x) (hypot.f64 1 z))
4.2b
(*.f64 (/.f64 1 y) (*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z))))

series197.0ms (3%)

Counts
4 → 96
Calls

4 calls:

105.0ms
(*.f64 (/.f64 1 y) (*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z))))
44.0ms
(*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z)))
43.0ms
(/.f64 (/.f64 1 x) (hypot.f64 1 z))
4.0ms
(/.f64 1 (hypot.f64 1 z))

rewrite85.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
451×add-exp-log_binary64
220×div-exp_binary64
191×times-frac_binary64
184×prod-exp_binary64
143×add-sqr-sqrt_binary64
Counts
4 → 346
Calls

4 calls:

17.0ms
(*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z)))
12.0ms
(*.f64 (/.f64 1 y) (*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z))))
4.0ms
(/.f64 (/.f64 1 x) (hypot.f64 1 z))
2.0ms
(/.f64 1 (hypot.f64 1 z))

simplify236.0ms (3.6%)

Algorithm
egg-herbie
Rules
834×fma-def_binary64
475×*-commutative_binary64
339×fma-neg_binary64
298×associate-/r/_binary64
256×associate-*r*_binary64
Counts
442 → 521
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03879628
19408532
226138250
342078242
449468242

prune608.0ms (9.2%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New5147521
Fresh5611
Picked011
Done000
Total51914533
Error
0.0b
Counts
533 → 14
Alt Table
StatusErrorProgram
4.1b
(/.f64 (/.f64 (/.f64 (/.f64 1 x) (hypot.f64 1 z)) (hypot.f64 1 z)) y)
9.3b
(/.f64 (/.f64 1 x) (+.f64 (*.f64 y (*.f64 z z)) y))
3.0b
(/.f64 (*.f64 1 (*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 1 x))) (*.f64 y (hypot.f64 1 z)))
23.2b
(/.f64 (/.f64 1 x) (*.f64 (*.f64 (sqrt.f64 y) (hypot.f64 1 z)) (*.f64 (sqrt.f64 y) (hypot.f64 1 z))))
9.9b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))) (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1))))) (cbrt.f64 (/.f64 (/.f64 1 x) (*.f64 y (fma.f64 z z 1)))))
4.2b
(*.f64 (/.f64 1 y) (*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 (/.f64 1 x) (hypot.f64 1 z))))
9.7b
(/.f64 (/.f64 1 (*.f64 y x)) (fma.f64 z z 1))
3.1b
(*.f64 (/.f64 1 (*.f64 y (hypot.f64 1 z))) (/.f64 (/.f64 1 x) (hypot.f64 1 z)))
35.8b
(*.f64 (/.f64 1 y) (*.f64 (/.f64 1 (hypot.f64 1 z)) (/.f64 -1 (*.f64 z x))))
1.7b
(/.f64 (*.f64 (/.f64 1 y) (*.f64 1 (/.f64 (/.f64 1 x) (hypot.f64 1 z)))) (hypot.f64 1 z))
3.0b
(/.f64 (/.f64 (/.f64 1 x) (hypot.f64 1 z)) (*.f64 y (hypot.f64 1 z)))
9.6b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (/.f64 1 x)) (cbrt.f64 (/.f64 1 x))) y) (/.f64 (cbrt.f64 (/.f64 1 x)) (fma.f64 z z 1)))
27.9b
(cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 y (*.f64 z z) y) x) 3)))
19.1b
(*.f64 (sqrt.f64 (/.f64 1 y)) (/.f64 (/.f64 (sqrt.f64 (/.f64 1 y)) (hypot.f64 1 z)) (*.f64 x (hypot.f64 1 z))))
Compiler

Compiled 13962 to 10445 computations (25.2% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 z)
0.2b
(/.f64 (/.f64 1 x) (hypot.f64 1 z))
0.6b
(/.f64 (*.f64 (/.f64 1 y) (*.f64 1 (/.f64 (/.f64 1 x) (hypot.f64 1 z)))) (hypot.f64 1 z))
4.0b
(*.f64 (/.f64 1 y) (*.f64 1 (/.f64 (/.f64 1 x) (hypot.f64 1 z))))

series210.0ms (3.2%)

Counts
3 → 84
Calls

3 calls:

106.0ms
(/.f64 (*.f64 (/.f64 1 y) (*.f64 1 (/.f64 (/.f64 1 x) (hypot.f64 1 z)))) (hypot.f64 1 z))
100.0ms
(*.f64 (/.f64 1 y) (*.f64 1 (/.f64 (/.f64 1 x) (hypot.f64 1 z))))
4.0ms
(hypot.f64 1 z)

rewrite70.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
367×add-exp-log_binary64
185×div-exp_binary64
168×prod-exp_binary64
78×1-exp_binary64
77×add-cbrt-cube_binary64
Counts
3 → 167
Calls

3 calls:

12.0ms
(/.f64 (*.f64 (/.f64 1 y) (*.f64 1 (/.f64 (/.f64 1 x) (hypot.f64 1 z)))) (hypot.f64 1 z))
10.0ms
(*.f64 (/.f64 1 y) (*.f64 1 (/.f64 (/.f64 1 x) (hypot.f64 1 z))))
0.0ms
(hypot.f64 1 z)

simplify261.0ms (4%)

Algorithm
egg-herbie
Rules
596×fma-neg_binary64
438×associate-/r/_binary64
387×sub-neg_binary64
377×fma-def_binary64
316×*-commutative_binary64
Counts
251 → 273
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02815260
16734472
220694345
339444293
449104293
549834293
650004293
749334293

prune729.0ms (11.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New4107417
Fresh9312
Picked101
Done101
Total42110431
Error
0b
Counts
431 → 10
Alt Table
StatusErrorProgram
4.1b
(/.f64 (/.f64 (/.f64 (/.f64 1 x) (hypot.f64 1 z)) (hypot.f64 1 z)) y)
9.3b
(/.f64 (/.f64 1 x) (+.f64 (*.f64 y (*.f64 z z)) y))
1.8b
(/.f64 (/.f64 -1 (*.f64 y (*.f64 x (hypot.f64 1 z)))) (neg.f64 (hypot.f64 1 z)))
5.5b
(/.f64 (*.f64 1 (*.f64 1 (/.f64 1 x))) (*.f64 (hypot.f64 1 z) (*.f64 y (hypot.f64 1 z))))
1.6b
(/.f64 1 (*.f64 (hypot.f64 1 z) (*.f64 y (*.f64 x (hypot.f64 1 z)))))
23.2b
(/.f64 (/.f64 1 x) (*.f64 (*.f64 (sqrt.f64 y) (hypot.f64 1 z)) (*.f64 (sqrt.f64 y) (hypot.f64 1 z))))
6.0b
(/.f64 (/.f64 (*.f64 (/.f64 1 y) (*.f64 1 (/.f64 1 x))) (hypot.f64 1 z)) (hypot.f64 1 z))
2.6b
(/.f64 (/.f64 (/.f64 1 x) (*.f64 y (hypot.f64 1 z))) (hypot.f64 1 z))
24.7b
(/.f64 (cbrt.f64 (pow.f64 (/.f64 (/.f64 1 (*.f64 y x)) (hypot.f64 1 z)) 3)) (hypot.f64 1 z))
4.2b
(/.f64 (/.f64 1 y) (*.f64 (hypot.f64 1 z) (*.f64 x (hypot.f64 1 z))))
Compiler

Compiled 10449 to 7678 computations (26.5% saved)

regimes1.5s (23.4%)

Accuracy

Total 0.8b remaining (97.9%)

Threshold costs 0.8b (97.9%)

Counts
146 → 2
Compiler

Compiled 23006 to 16888 computations (26.6% saved)

bsearch25.0ms (0.4%)

Steps
ItersRangePoint
7
1.763639101490954e-237
2.5156652000836922e-235
2.383641413898529e-235
Compiler

Compiled 4 to 3 computations (25% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01944
12344
22244

end271.0ms (4.1%)

Compiler

Compiled 306 to 227 computations (25.8% saved)

Profiling

Loading profile data...