Details

Time bar (total: 8.7s)

analyze568.0ms (6.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
25%74.9%0.1%7
31.2%68.6%0.1%8
35.9%64%0.1%9
47.6%49.9%2.5%10
49.1%46.8%4%11
51.1%44.1%4.8%12
60.2%29.9%9.9%13
60.6%27.9%11.6%14
Compiler

Compiled 15 to 10 computations (33.3% saved)

sample1.3s (14.8%)

Symmetry

(sort x y)

Results
912.0ms8256×body128valid
176.0ms1644×body128invalid
Compiler

Compiled 44 to 29 computations (34.1% saved)

simplify92.0ms (1.1%)

Algorithm
egg-herbie
Rules
826×associate-*r/_binary64
769×associate-/l/_binary64
660×associate-*l/_binary64
522×associate-/l*_binary64
421×fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01016
13016
27814
319514
431414
538314
642614
763114
8100914
9220414
10286814
11296714
12307914
13319314
14305814
15371214
16498814
17482414

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
7.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
9.4b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
16.9b
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z 1)))
Compiler

Compiled 78 to 45 computations (42.3% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 y (fma.f64 z z z)) z)
6.4b
(/.f64 y (fma.f64 z z z))
8.9b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))

series165.0ms (1.9%)

Counts
3 → 84
Calls

3 calls:

92.0ms
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
41.0ms
(/.f64 (/.f64 y (fma.f64 z z z)) z)
32.0ms
(/.f64 y (fma.f64 z z z))

rewrite35.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
153×times-frac_binary64
98×add-sqr-sqrt_binary64
89×*-un-lft-identity_binary64
89×add-cube-cbrt_binary64
43×associate-*r*_binary64
Counts
3 → 168
Calls

3 calls:

12.0ms
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
4.0ms
(/.f64 (/.f64 y (fma.f64 z z z)) z)
2.0ms
(/.f64 y (fma.f64 z z z))

simplify161.0ms (1.9%)

Algorithm
egg-herbie
Rules
805×fma-def_binary64
353×fma-neg_binary64
351×*-commutative_binary64
341×associate-/r/_binary64
275×sub-neg_binary64
Counts
252 → 296
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02874846
16874599
223044515
336074509
448174509
549634509

prune308.0ms (3.5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New28610296
Fresh011
Picked101
Done000
Total28711298
Error
3.0b
Counts
298 → 11
Alt Table
StatusErrorProgram
13.6b
(*.f64 (*.f64 x (/.f64 (/.f64 1 (sqrt.f64 (fma.f64 z z z))) 1)) (/.f64 (/.f64 y (sqrt.f64 (fma.f64 z z z))) z))
5.1b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
9.4b
(*.f64 (/.f64 (/.f64 y (fma.f64 z z z)) z) x)
22.8b
(*.f64 x (/.f64 (/.f64 y z) z))
16.9b
(*.f64 (*.f64 y x) (/.f64 (/.f64 1 (fma.f64 z z z)) z))
25.3b
(*.f64 (sqrt.f64 (/.f64 (*.f64 y x) (*.f64 z (fma.f64 z z z)))) (sqrt.f64 (/.f64 (*.f64 y x) (*.f64 z (fma.f64 z z z)))))
5.0b
(*.f64 (*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (cbrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
28.9b
(*.f64 (/.f64 y z) (-.f64 (/.f64 x z) x))
36.6b
(*.f64 x (*.f64 (/.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (sqrt.f64 z)) (/.f64 (/.f64 y (sqrt.f64 z)) (hypot.f64 z (sqrt.f64 z)))))
16.9b
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z 1)))
19.8b
(*.f64 (*.f64 x (/.f64 (sqrt.f64 y) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (sqrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
Compiler

Compiled 6348 to 1463 computations (77% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.4b
(*.f64 (*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (cbrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
4.0b
(*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))))
4.5b
(/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))
23.7b
(cbrt.f64 (fma.f64 z z z))

series1.8s (21.1%)

Counts
4 → 108
Calls

4 calls:

1.2s
(*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))))
565.0ms
(/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))
105.0ms
(*.f64 (*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (cbrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
5.0ms
(cbrt.f64 (fma.f64 z z z))

rewrite105.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
231×times-frac_binary64
129×associate-*r*_binary64
127×add-exp-log_binary64
126×add-sqr-sqrt_binary64
123×*-un-lft-identity_binary64
Counts
4 → 244
Calls

4 calls:

26.0ms
(*.f64 (*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (cbrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
11.0ms
(*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))))
6.0ms
(/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))
1.0ms
(cbrt.f64 (fma.f64 z z z))

simplify269.0ms (3.1%)

Algorithm
egg-herbie
Rules
696×associate-*l/_binary64
421×associate-/l*_binary64
312×associate-/r*_binary64
291×times-frac_binary64
270×fma-def_binary64
Counts
352 → 419
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
056216302
1167012236
2496112196
3510212196

prune446.0ms (5.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New4790479
Fresh01010
Picked011
Done000
Total47911490
Error
3.0b
Counts
490 → 11
Alt Table
StatusErrorProgram
13.6b
(*.f64 (*.f64 x (/.f64 (/.f64 1 (sqrt.f64 (fma.f64 z z z))) 1)) (/.f64 (/.f64 y (sqrt.f64 (fma.f64 z z z))) z))
5.1b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
9.4b
(*.f64 (/.f64 (/.f64 y (fma.f64 z z z)) z) x)
22.8b
(*.f64 x (/.f64 (/.f64 y z) z))
16.9b
(*.f64 (*.f64 y x) (/.f64 (/.f64 1 (fma.f64 z z z)) z))
25.3b
(*.f64 (sqrt.f64 (/.f64 (*.f64 y x) (*.f64 z (fma.f64 z z z)))) (sqrt.f64 (/.f64 (*.f64 y x) (*.f64 z (fma.f64 z z z)))))
5.0b
(*.f64 (*.f64 x (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (cbrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
28.9b
(*.f64 (/.f64 y z) (-.f64 (/.f64 x z) x))
36.6b
(*.f64 x (*.f64 (/.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (sqrt.f64 z)) (/.f64 (/.f64 y (sqrt.f64 z)) (hypot.f64 z (sqrt.f64 z)))))
16.9b
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z 1)))
19.8b
(*.f64 (*.f64 x (/.f64 (sqrt.f64 y) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (sqrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
Compiler

Compiled 20834 to 4220 computations (79.7% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
4.3b
(*.f64 x (/.f64 y (fma.f64 z z z)))
6.4b
(/.f64 y (fma.f64 z z z))

series147.0ms (1.7%)

Counts
2 → 72
Calls

2 calls:

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

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
13×associate-*r*_binary64
13×times-frac_binary64
Counts
2 → 60
Calls

2 calls:

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

simplify77.0ms (0.9%)

Algorithm
egg-herbie
Rules
604×fma-neg_binary64
483×associate-*l*_binary64
433×associate-/r*_binary64
417×associate-*r*_binary64
378×associate-/r/_binary64
Counts
132 → 124
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01532289
13972096
215391990
344391990
449681990

prune269.0ms (3.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1714175
Fresh459
Picked011
Done101
Total17610186
Error
1.2b
Counts
186 → 10
Alt Table
StatusErrorProgram
9.4b
(/.f64 1 (/.f64 z (/.f64 (*.f64 y x) (fma.f64 z z z))))
13.6b
(*.f64 (*.f64 x (/.f64 (/.f64 1 (sqrt.f64 (fma.f64 z z z))) 1)) (/.f64 (/.f64 y (sqrt.f64 (fma.f64 z z z))) z))
5.1b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
9.4b
(*.f64 (/.f64 (/.f64 y (fma.f64 z z z)) z) x)
40.6b
(/.f64 (*.f64 x (*.f64 (/.f64 (sqrt.f64 y) (hypot.f64 z (sqrt.f64 z))) (/.f64 (sqrt.f64 y) (hypot.f64 z (sqrt.f64 z))))) z)
9.5b
(/.f64 x (/.f64 z (/.f64 y (fma.f64 z z z))))
36.6b
(*.f64 x (*.f64 (/.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (sqrt.f64 z)) (/.f64 (/.f64 y (sqrt.f64 z)) (hypot.f64 z (sqrt.f64 z)))))
19.8b
(*.f64 (*.f64 x (/.f64 (sqrt.f64 y) (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))) (/.f64 (/.f64 (sqrt.f64 y) (cbrt.f64 (fma.f64 z z z))) z))
28.9b
(*.f64 (/.f64 y z) (-.f64 (/.f64 x z) x))
31.9b
(/.f64 (*.f64 x (*.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (/.f64 y (hypot.f64 z (sqrt.f64 z))))) z)
Compiler

Compiled 3317 to 942 computations (71.6% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (/.f64 z (/.f64 (*.f64 y x) (fma.f64 z z z))))
0.3b
(/.f64 z (/.f64 (*.f64 y x) (fma.f64 z z z)))
11.4b
(/.f64 (*.f64 y x) (fma.f64 z z z))

series267.0ms (3.1%)

Counts
3 → 108
Calls

3 calls:

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

rewrite39.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
234×times-frac_binary64
104×*-un-lft-identity_binary64
104×add-sqr-sqrt_binary64
104×add-cube-cbrt_binary64
51×add-exp-log_binary64
Counts
3 → 211
Calls

3 calls:

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

simplify251.0ms (2.9%)

Algorithm
egg-herbie
Rules
655×fma-neg_binary64
346×fma-def_binary64
268×cancel-sign-sub-inv_binary64
236×associate-/r/_binary64
190×distribute-rgt-in_binary64
Counts
319 → 329
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02517399
15616479
223286233
344476233
449626233

prune297.0ms (3.4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3254329
Fresh628
Picked011
Done011
Total3318339
Error
0.9b
Counts
339 → 8
Alt Table
StatusErrorProgram
10.0b
(/.f64 y (/.f64 z (/.f64 x (fma.f64 z z z))))
32.7b
(*.f64 (/.f64 (/.f64 y (hypot.f64 z (sqrt.f64 z))) (sqrt.f64 z)) (/.f64 (/.f64 x (hypot.f64 z (sqrt.f64 z))) (sqrt.f64 z)))
9.4b
(/.f64 1 (/.f64 z (/.f64 (*.f64 y x) (fma.f64 z z z))))
9.7b
(/.f64 1 (*.f64 (/.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) 1) (/.f64 (cbrt.f64 z) (/.f64 (*.f64 y x) (fma.f64 z z z)))))
5.1b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
32.7b
(*.f64 (/.f64 y (hypot.f64 z (sqrt.f64 z))) (/.f64 (/.f64 x (hypot.f64 z (sqrt.f64 z))) z))
31.9b
(/.f64 (*.f64 x (*.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (/.f64 y (hypot.f64 z (sqrt.f64 z))))) z)
9.5b
(/.f64 x (/.f64 z (/.f64 y (fma.f64 z z z))))
Compiler

Compiled 7309 to 1952 computations (73.3% saved)

regimes1.7s (19.8%)

Accuracy

Total 2.5b remaining (73.1%)

Threshold costs 0b (0%)

Counts
231 → 2
Compiler

Compiled 27961 to 14600 computations (47.8% saved)

bsearch47.0ms (0.5%)

Steps
ItersRangePoint
3
-3.3959039301260996e-293
1.1286652475146936e-273
5.615096020682109e-280
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02469
12969
22869

end254.0ms (2.9%)

Compiler

Compiled 334 to 166 computations (50.3% saved)

Profiling

Loading profile data...