Details

Time bar (total: 4.7s)

analyze243.0ms (5.2%)

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
34.3%40.6%25.1%7
35.9%39%25.1%8
42.1%32.8%25.1%9
42.9%19.5%37.6%10
43.3%19.1%37.6%11
45%17.5%37.6%12
45.1%10.3%44.6%13
45.2%10.2%44.6%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample1.1s (23.2%)

Results
907.0ms8256×body128valid
150.0ms1503×body128invalid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
10×*-commutative_binary64
10×fma-def_binary64
associate-*r*_binary64
associate-*l*_binary64
distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01212
12310
23510
34110
43910

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 40 to 27 computations (32.5% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 y (sqrt.f64 z) x)
0.2b
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))

series26.0ms (0.6%)

Counts
2 → 50
Calls

2 calls:

14.0ms
(fma.f64 y (sqrt.f64 z) x)
12.0ms
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))

rewrite45.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
650×log1p-expm1-u_binary64
650×expm1-log1p-u_binary64
347×log-prod_binary64
138×expm1-udef_binary64
138×log1p-udef_binary64
Counts
2 → 51
Calls

2 calls:

44.0ms
(fma.f64 y (sqrt.f64 z) x)
44.0ms
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
115717
2170817
3519817
000
100

simplify14.0ms (0.3%)

Algorithm
egg-herbie
Rules
10×fma-def_binary64
*-commutative_binary64
associate-*r*_binary64
associate-*l*_binary64
+-commutative_binary64
Counts
101 → 56
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013371
122371
233371
336371
436371

prune33.0ms (0.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New49756
Fresh000
Picked011
Done000
Total49857
Error
0.3b
Counts
57 → 8
Alt Table
StatusErrorProgram
32.0b
(pow.f64 (sqrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2)
1.6b
(pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 3)
29.7b
(*.f64 1/2 x)
0.4b
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))
1.6b
(*.f64 1/2 (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 3))
42.5b
(*.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 y (sqrt.f64 z)) 3) (pow.f64 x 3)) (fma.f64 (*.f64 y (sqrt.f64 z)) (*.f64 y (sqrt.f64 z)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y (sqrt.f64 z)) x)))))
1.6b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)))
42.3b
(cbrt.f64 (pow.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x)) 3))
Compiler

Compiled 877 to 435 computations (50.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)))
0.3b
(*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2))
0.5b
(pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)
0.8b
(cbrt.f64 (fma.f64 y (sqrt.f64 z) x))

series153.0ms (3.3%)

Counts
4 → 100
Calls

4 calls:

78.0ms
(pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)
50.0ms
(cbrt.f64 (fma.f64 y (sqrt.f64 z) x))
15.0ms
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)))
10.0ms
(*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2))

rewrite51.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
857×log1p-expm1-u_binary64
857×expm1-log1p-u_binary64
104×add-sqr-sqrt_binary64
98×add-cube-cbrt_binary64
98×add-cbrt-cube_binary64
Counts
4 → 78
Calls

4 calls:

50.0ms
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)))
50.0ms
(*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2))
50.0ms
(pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)
50.0ms
(cbrt.f64 (fma.f64 y (sqrt.f64 z) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01238
122238
2226238
3527438
000
100

simplify106.0ms (2.3%)

Algorithm
egg-herbie
Rules
379×cancel-sign-sub-inv_binary64
295×associate-/r/_binary64
241×unswap-sqr_binary64
236×associate-*r*_binary64
195×associate-*l*_binary64
Counts
178 → 165
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02563177
18033115
228042874
348322614
449482614

prune190.0ms (4.1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2227229
Fresh156
Picked101
Done011
Total22413237
Error
0.3b
Counts
237 → 13
Alt Table
StatusErrorProgram
0.4b
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))
2.4b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (*.f64 (cbrt.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x))) (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x))) 2)) 2)))
31.4b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (cbrt.f64 (pow.f64 (fma.f64 y (sqrt.f64 z) x) 2))))
1.6b
(*.f64 1/2 (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 3))
32.0b
(pow.f64 (sqrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2)
1.6b
(pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 3)
29.7b
(*.f64 1/2 x)
1.9b
(*.f64 1/2 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x))) (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x))) 2)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)))
34.7b
(*.f64 1/2 (*.f64 (*.f64 (cbrt.f64 y) (pow.f64 z 1/6)) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 2)))
33.1b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (/.f64 (neg.f64 (sqrt.f64 z)) (/.f64 -1 y))) 2)))
42.5b
(*.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 y (sqrt.f64 z)) 3) (pow.f64 x 3)) (fma.f64 (*.f64 y (sqrt.f64 z)) (*.f64 y (sqrt.f64 z)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y (sqrt.f64 z)) x)))))
12.6b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 4)))))
25.2b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)))) 2)))
Compiler

Compiled 7952 to 4379 computations (44.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 y (sqrt.f64 z) x)
0.2b
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))
0.5b
(cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x)))
0.7b
(pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 3)

series1.6s (33.6%)

Counts
2 → 50
Calls

2 calls:

1.5s
(pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 3)
77.0ms
(cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x)))

rewrite46.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
822×log1p-expm1-u_binary64
822×expm1-log1p-u_binary64
96×add-sqr-sqrt_binary64
91×add-cbrt-cube_binary64
91×add-log-exp_binary64
Counts
2 → 57
Calls

2 calls:

45.0ms
(cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x)))
44.0ms
(pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
120622
2216822
3503122
000
100

simplify75.0ms (1.6%)

Algorithm
egg-herbie
Rules
912×associate-/l*_binary64
614×fma-def_binary64
226×associate-/r/_binary64
195×associate-*r*_binary64
191×cancel-sign-sub-inv_binary64
Counts
107 → 112
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01892377
15882295
220842132
351002132

prune123.0ms (2.6%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1626168
Fresh5611
Picked101
Done011
Total16813181
Error
0.0b
Counts
181 → 13
Alt Table
StatusErrorProgram
35.5b
(pow.f64 (*.f64 (cbrt.f64 y) (*.f64 (cbrt.f64 1/2) (pow.f64 z 1/6))) 3)
33.1b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (/.f64 (neg.f64 (sqrt.f64 z)) (/.f64 -1 y))) 2)))
31.4b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (cbrt.f64 (pow.f64 (fma.f64 y (sqrt.f64 z) x) 2))))
1.6b
(*.f64 1/2 (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 3))
32.0b
(pow.f64 (sqrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2)
1.8b
(pow.f64 (*.f64 (cbrt.f64 1/2) (cbrt.f64 (fma.f64 y (sqrt.f64 z) x))) 3)
2.4b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x)))) 2) 3) (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))))
1.5b
(*.f64 (pow.f64 (cbrt.f64 1/2) 3) (fma.f64 y (sqrt.f64 z) x))
0.4b
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))
1.6b
(*.f64 (cbrt.f64 1/2) (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2)))
1.6b
(*.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) (pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2))
42.5b
(*.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 y (sqrt.f64 z)) 3) (pow.f64 x 3)) (fma.f64 (*.f64 y (sqrt.f64 z)) (*.f64 y (sqrt.f64 z)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y (sqrt.f64 z)) x)))))
25.2b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)))) 2)))
Compiler

Compiled 4322 to 2746 computations (36.5% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 y (sqrt.f64 z) x)
0.2b
(*.f64 (pow.f64 (cbrt.f64 1/2) 3) (fma.f64 y (sqrt.f64 z) x))
1.0b
(pow.f64 (cbrt.f64 1/2) 3)

series14.0ms (0.3%)

Counts
2 → 25
Calls

2 calls:

14.0ms
(*.f64 (pow.f64 (cbrt.f64 1/2) 3) (fma.f64 y (sqrt.f64 z) x))
0.0ms
(pow.f64 (cbrt.f64 1/2) 3)

rewrite45.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
804×log1p-expm1-u_binary64
804×expm1-log1p-u_binary64
96×add-sqr-sqrt_binary64
92×add-log-exp_binary64
91×add-cbrt-cube_binary64
Counts
2 → 17
Calls

2 calls:

44.0ms
(*.f64 (pow.f64 (cbrt.f64 1/2) 3) (fma.f64 y (sqrt.f64 z) x))
44.0ms
(pow.f64 (cbrt.f64 1/2) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01111
120511
2211411
3491411
000
100

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Rules
10×fma-def_binary64
*-commutative_binary64
associate-*r*_binary64
associate-*l*_binary64
+-commutative_binary64
Counts
42 → 20
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
011259
122223
233223
336223
436223

prune31.0ms (0.7%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New51152
Fresh01111
Picked011
Done011
Total511465
Error
0.0b
Counts
65 → 14
Alt Table
StatusErrorProgram
35.5b
(pow.f64 (*.f64 (cbrt.f64 y) (*.f64 (cbrt.f64 1/2) (pow.f64 z 1/6))) 3)
33.1b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (/.f64 (neg.f64 (sqrt.f64 z)) (/.f64 -1 y))) 2)))
31.4b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (cbrt.f64 (pow.f64 (fma.f64 y (sqrt.f64 z) x) 2))))
1.6b
(*.f64 1/2 (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 3))
32.0b
(pow.f64 (sqrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2)
1.8b
(pow.f64 (*.f64 (cbrt.f64 1/2) (cbrt.f64 (fma.f64 y (sqrt.f64 z) x))) 3)
2.4b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x)))) 2) 3) (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))))
1.5b
(*.f64 (pow.f64 (cbrt.f64 1/2) 3) (fma.f64 y (sqrt.f64 z) x))
0.4b
(*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))
1.6b
(*.f64 (cbrt.f64 1/2) (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2)))
1.6b
(*.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) (pow.f64 (cbrt.f64 (*.f64 1/2 (fma.f64 y (sqrt.f64 z) x))) 2))
42.5b
(*.f64 1/2 (/.f64 (+.f64 (pow.f64 (*.f64 y (sqrt.f64 z)) 3) (pow.f64 x 3)) (fma.f64 (*.f64 y (sqrt.f64 z)) (*.f64 y (sqrt.f64 z)) (-.f64 (*.f64 x x) (*.f64 (*.f64 y (sqrt.f64 z)) x)))))
1.8b
(*.f64 (pow.f64 (cbrt.f64 1/2) 3) (pow.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) 3))
25.2b
(*.f64 1/2 (*.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)) (pow.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (fma.f64 y (sqrt.f64 z) x)))) 2)))
Compiler

Compiled 927 to 518 computations (44.1% saved)

regimes571.0ms (12.2%)

Accuracy

Total 0.1b remaining (72.7%)

Threshold costs 0.1b (72.7%)

Counts
73 → 1
Compiler

Compiled 9103 to 6425 computations (29.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
1910
2910

end212.0ms (4.5%)

Compiler

Compiled 282 to 191 computations (32.3% saved)

Profiling

Loading profile data...