Details

Time bar (total: 21.5s)

analyze2.6s (12.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.6%0.4%0
0%99.6%0.4%1
0%99.6%0.4%2
0%99.6%0.4%3
0%99.6%0.4%4
0%99.6%0.4%5
0%99.6%0.4%6
0%99.6%0.4%7
0%74.7%25.3%8
0%74.7%25.3%9
0%65.4%34.6%10
0%51.4%48.6%11
0%51.4%48.6%12
0%51.4%48.6%13
0%51.4%48.6%14
Compiler

Compiled 30 to 21 computations (30% saved)

sample8.0s (37%)

Symmetry

(sort z t a)

Results
4.3s11341×body128invalid
3.4s8253×body128valid
2.0msbody512valid
1.0msbody1024valid
Compiler

Compiled 89 to 62 computations (30.3% saved)

simplify92.0ms (0.4%)

Algorithm
egg-herbie
Rules
2664×associate-+l+_binary64
1041×associate-+r+_binary64
923×+-commutative_binary64
750×fma-def_binary64
*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02130
14126
210926
337626
4111826
5159226
6169826
7169826
8169826
9169826
10270626
11295826
12295826
13291026
14291026
15254026
16252426

prune7.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)))
Compiler

Compiled 99 to 61 computations (38.4% saved)

localize32.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)
0.1b
(fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a))
0.1b
(fma.f64 x (log.f64 y) z)

series2.0s (9.1%)

Counts
3 → 180
Calls

3 calls:

1.4s
(fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a))
313.0ms
(+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)
215.0ms
(fma.f64 x (log.f64 y) z)

rewrite108.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
322×expm1-udef_binary64
322×log1p-udef_binary64
178×add-sqr-sqrt_binary64
169×log1p-expm1-u_binary64
169×expm1-log1p-u_binary64
Counts
3 → 89
Calls

3 calls:

103.0ms
(+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)
103.0ms
(fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a))
103.0ms
(fma.f64 x (log.f64 y) z)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01642
134342
2438142
3529542
000
100

simplify224.0ms (1%)

Algorithm
egg-herbie
Rules
523×associate--r+_binary64
502×fma-neg_binary64
464×unsub-neg_binary64
445×distribute-neg-in_binary64
405×sub-neg_binary64
Counts
269 → 127
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0852921
12432919
26712696
321412696
440382696
549122696
651382696

prune227.0ms (1.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1234127
Fresh000
Picked011
Done000
Total1235128
Error
0.1b
Counts
128 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)))
56.0b
(fma.f64 y i (/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) 3) (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 3)) (+.f64 (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (*.f64 (-.f64 b 1/2) (log.f64 c))) (-.f64 (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 2) (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a))))))
49.3b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (sqrt.f64 (fma.f64 x (log.f64 y) z)) 2) t) a)))
0.5b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3) t) a)))
0.6b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
Compiler

Compiled 3390 to 1244 computations (63.3% saved)

localize37.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3) t) a))
0.1b
(fma.f64 x (log.f64 y) z)
0.6b
(cbrt.f64 (fma.f64 x (log.f64 y) z))
0.7b
(pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3)

series3.6s (16.9%)

Counts
3 → 156
Calls

3 calls:

2.5s
(pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3)
743.0ms
(fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3) t) a))
422.0ms
(cbrt.f64 (fma.f64 x (log.f64 y) z))

rewrite72.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
351×log1p-udef_binary64
196×add-sqr-sqrt_binary64
189×log1p-expm1-u_binary64
189×expm1-log1p-u_binary64
184×add-log-exp_binary64
Counts
3 → 67
Calls

3 calls:

71.0ms
(fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3) t) a))
71.0ms
(cbrt.f64 (fma.f64 x (log.f64 y) z))
71.0ms
(pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01938
139038
2481838
3527338
000
100

simplify167.0ms (0.8%)

Algorithm
egg-herbie
Rules
699×fma-def_binary64
265×cancel-sign-sub-inv_binary64
200×associate-/r/_binary64
197×fma-neg_binary64
178×unswap-sqr_binary64
Counts
223 → 153
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02134427
16994343
224103868
348113834
449983834
549583834

prune468.0ms (2.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1820182
Fresh033
Picked011
Done011
Total1825187
Error
0.1b
Counts
187 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)))
56.0b
(fma.f64 y i (/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) 3) (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 3)) (+.f64 (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (*.f64 (-.f64 b 1/2) (log.f64 c))) (-.f64 (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 2) (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a))))))
49.3b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (sqrt.f64 (fma.f64 x (log.f64 y) z)) 2) t) a)))
0.5b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3) t) a)))
0.6b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
Compiler

Compiled 6019 to 2975 computations (50.6% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x (log.f64 y) z)
0.4b
(*.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2))
0.5b
(pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)
0.6b
(cbrt.f64 (fma.f64 x (log.f64 y) z))

series750.0ms (3.5%)

Counts
2 → 72
Calls

2 calls:

652.0ms
(pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)
97.0ms
(*.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2))

rewrite72.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
681×log1p-expm1-u_binary64
681×expm1-log1p-u_binary64
145×expm1-udef_binary64
145×log1p-udef_binary64
136×log-pow_binary64
Counts
2 → 55
Calls

2 calls:

70.0ms
(*.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2))
70.0ms
(pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
117717
2180317
3492417
4492117
000
100

simplify58.0ms (0.3%)

Algorithm
egg-herbie
Rules
893×associate-/r*_binary64
458×fma-def_binary64
277×unswap-sqr_binary64
196×associate-/r/_binary64
196×cancel-sign-sub-inv_binary64
Counts
127 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01501973
14951909
218471714
355351714

prune286.0ms (1.3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2933296
Fresh022
Picked011
Done022
Total2938301
Error
0.0b
Counts
301 → 8
Alt Table
StatusErrorProgram
0.1b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)))
56.0b
(fma.f64 y i (/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) 3) (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 3)) (+.f64 (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (*.f64 (-.f64 b 1/2) (log.f64 c))) (-.f64 (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 2) (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a))))))
49.3b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (sqrt.f64 (fma.f64 x (log.f64 y) z)) 2) t) a)))
0.5b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3) t) a)))
0.6b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
49.4b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (fma.f64 x (log.f64 y) z)) 2)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
0.7b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z))) 3) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
35.3b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (log.f64 y)) z) t) a)))
Compiler

Compiled 12912 to 6120 computations (52.6% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)
0.6b
(cbrt.f64 (fma.f64 x (log.f64 y) z))
0.6b
(cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)))
0.7b
(pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z))) 3)

series930.0ms (4.3%)

Counts
2 → 72
Calls

2 calls:

488.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z))) 3)
441.0ms
(cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)))

rewrite116.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
714×log1p-expm1-u_binary64
714×expm1-log1p-u_binary64
149×expm1-udef_binary64
149×log1p-udef_binary64
91×fma-neg_binary64
Counts
2 → 47
Calls

2 calls:

114.0ms
(cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)))
114.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z))) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
117819
2189419
3498819
4497219
5493019
000
100

simplify89.0ms (0.4%)

Algorithm
egg-herbie
Rules
892×fma-def_binary64
351×unswap-sqr_binary64
266×associate-*r*_binary64
214×times-frac_binary64
164×associate-/r*_binary64
Counts
119 → 133
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02343216
18183128
232332938
349712938

prune349.0ms (1.6%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New3280328
Fresh044
Picked011
Done033
Total3288336
Error
0.0b
Counts
336 → 8
Alt Table
StatusErrorProgram
0.1b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a)))
56.0b
(fma.f64 y i (/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) 3) (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 3)) (+.f64 (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (*.f64 (-.f64 b 1/2) (log.f64 c))) (-.f64 (pow.f64 (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a) 2) (*.f64 (*.f64 (-.f64 b 1/2) (log.f64 c)) (+.f64 (+.f64 (fma.f64 x (log.f64 y) z) t) a))))))
49.3b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (sqrt.f64 (fma.f64 x (log.f64 y) z)) 2) t) a)))
0.5b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 3) t) a)))
0.6b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
49.4b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (fma.f64 x (log.f64 y) z)) 2)) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
0.7b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z))) 3) (pow.f64 (cbrt.f64 (fma.f64 x (log.f64 y) z)) 2)) t) a)))
35.3b
(fma.f64 y i (fma.f64 (-.f64 b 1/2) (log.f64 c) (+.f64 (+.f64 (fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (log.f64 y)) z) t) a)))
Compiler

Compiled 17357 to 8973 computations (48.3% saved)

regimes744.0ms (3.5%)

Accuracy

Total 0.0b remaining (26.8%)

Threshold costs 0.0b (26.8%)

Counts
40 → 1
Compiler

Compiled 13867 to 9150 computations (34% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01826
12326
22426
32326

end495.0ms (2.3%)

Remove

(sort z t a)

Compiler

Compiled 406 to 252 computations (37.9% saved)

Profiling

Loading profile data...