Details

Time bar (total: 16.9s)

analyze2.7s (16.3%)

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%99.6%0.4%8
0%99.6%0.4%9
0%99.6%0.4%10
0%99.6%0.4%11
0%99.6%0.4%12
0%99.6%0.4%13
0%99.6%0.4%14
Compiler

Compiled 39 to 24 computations (38.5% saved)

sample3.9s (23.3%)

Results
2.2s11408×body128invalid
1.6s8256×body128valid
Compiler

Compiled 116 to 71 computations (38.8% saved)

simplify31.0ms (0.2%)

Algorithm
egg-herbie
Rules
486×fma-neg_binary64
409×sub-neg_binary64
351×unsub-neg_binary64
284×fma-def_binary64
258×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02443
15941
215541
354839
4192539
5445339
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
15.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.3b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
Compiler

Compiled 137 to 72 computations (47.4% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 a c) (*.f64 y i))
4.7b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
5.9b
(fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i))))
6.9b
(*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))

series191.0ms (1.1%)

Counts
4 → 312
Calls

4 calls:

93.0ms
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
60.0ms
(fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i))))
21.0ms
(*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))
16.0ms
(-.f64 (*.f64 a c) (*.f64 y i))

rewrite45.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
248×add-sqr-sqrt_binary64
231×log1p-expm1-u_binary64
231×expm1-log1p-u_binary64
230×add-cbrt-cube_binary64
226×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02288
148288
Stop Event
node limit
Counts
4 → 94
Calls

4 calls:

37.0ms
(-.f64 (*.f64 a c) (*.f64 y i))
37.0ms
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
37.0ms
(fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i))))
37.0ms
(*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))

simplify139.0ms (0.8%)

Algorithm
egg-herbie
Rules
869×fma-neg_binary64
486×associate-+l-_binary64
379×sub-neg_binary64
359×associate--l+_binary64
328×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01497678
15757597
214137516
328247105
Stop Event
node limit
Counts
406 → 181

prune163.0ms (1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1756181
Fresh000
Picked011
Done000
Total1757182
Error
0.0b
Counts
182 → 7
Alt Table
StatusErrorProgram
24.9b
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 c b)) (*.f64 i (-.f64 (*.f64 t b) (*.f64 j y))))
13.0b
(+.f64 (*.f64 c (fma.f64 j a (*.f64 b (neg.f64 z)))) (fma.f64 y (-.f64 (*.f64 z x) (*.f64 j i)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x))))))
15.3b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
17.7b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z)))))
30.2b
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 c b)) (*.f64 a (fma.f64 j c (neg.f64 (*.f64 t x)))))
28.8b
(fma.f64 j (-.f64 (*.f64 c a) (*.f64 i y)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x)))))
35.3b
(pow.f64 (sqrt.f64 (fma.f64 x (-.f64 (*.f64 y z) (*.f64 a t)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 i t)) (*.f64 j (fma.f64 a c (*.f64 (neg.f64 y) i)))))) 2)
Compiler

Compiled 5501 to 1056 computations (80.8% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(fma.f64 j a (*.f64 b (neg.f64 z)))
4.6b
(fma.f64 y (-.f64 (*.f64 z x) (*.f64 j i)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x)))))
5.3b
(*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x))))
5.6b
(*.f64 c (fma.f64 j a (*.f64 b (neg.f64 z))))

series110.0ms (0.7%)

Counts
4 → 264
Calls

4 calls:

60.0ms
(fma.f64 y (-.f64 (*.f64 z x) (*.f64 j i)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x)))))
21.0ms
(*.f64 c (fma.f64 j a (*.f64 b (neg.f64 z))))
18.0ms
(*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x))))
10.0ms
(fma.f64 j a (*.f64 b (neg.f64 z)))

rewrite38.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
239×add-sqr-sqrt_binary64
220×log1p-expm1-u_binary64
220×expm1-log1p-u_binary64
219×add-cbrt-cube_binary64
217×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02262
146554
Stop Event
node limit
Counts
4 → 66
Calls

4 calls:

37.0ms
(fma.f64 j a (*.f64 b (neg.f64 z)))
37.0ms
(fma.f64 y (-.f64 (*.f64 z x) (*.f64 j i)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x)))))
37.0ms
(*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x))))
37.0ms
(*.f64 c (fma.f64 j a (*.f64 b (neg.f64 z))))

simplify286.0ms (1.7%)

Algorithm
egg-herbie
Rules
1694×fma-neg_binary64
756×fma-def_binary64
272×sub-neg_binary64
260×unsub-neg_binary64
235×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0764332
12624252
26974180
314734036
429154036
538924036
642554036
744064036
844684036
944744036
1044744036
1145844036
1246284036
1346284036
Stop Event
node limit
Counts
330 → 116

prune96.0ms (0.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh055
Picked011
Done011
Total1167123
Error
0.0b
Counts
123 → 7
Alt Table
StatusErrorProgram
24.9b
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 c b)) (*.f64 i (-.f64 (*.f64 t b) (*.f64 j y))))
13.0b
(+.f64 (*.f64 c (fma.f64 j a (*.f64 b (neg.f64 z)))) (fma.f64 y (-.f64 (*.f64 z x) (*.f64 j i)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x))))))
15.3b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
17.7b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z)))))
30.2b
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 c b)) (*.f64 a (fma.f64 j c (neg.f64 (*.f64 t x)))))
28.8b
(fma.f64 j (-.f64 (*.f64 c a) (*.f64 i y)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x)))))
35.3b
(pow.f64 (sqrt.f64 (fma.f64 x (-.f64 (*.f64 y z) (*.f64 a t)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 i t)) (*.f64 j (fma.f64 a c (*.f64 (neg.f64 y) i)))))) 2)
Compiler

Compiled 3699 to 728 computations (80.3% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 t b) (*.f64 j y))
4.2b
(fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z))))
4.6b
(*.f64 c (*.f64 b (neg.f64 z)))
4.7b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z)))))

series138.0ms (0.8%)

Counts
4 → 276
Calls

4 calls:

76.0ms
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z)))))
44.0ms
(fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z))))
10.0ms
(*.f64 c (*.f64 b (neg.f64 z)))
8.0ms
(-.f64 (*.f64 t b) (*.f64 j y))

rewrite42.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
239×add-sqr-sqrt_binary64
223×log1p-expm1-u_binary64
223×expm1-log1p-u_binary64
222×add-cbrt-cube_binary64
218×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02176
146570
Stop Event
node limit
Counts
4 → 101
Calls

4 calls:

39.0ms
(-.f64 (*.f64 t b) (*.f64 j y))
39.0ms
(fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z))))
39.0ms
(*.f64 c (*.f64 b (neg.f64 z)))
39.0ms
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z)))))

simplify145.0ms (0.9%)

Algorithm
egg-herbie
Rules
640×fma-neg_binary64
588×sub-neg_binary64
532×fma-def_binary64
376×cancel-sign-sub-inv_binary64
265×associate-+l-_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01125852
14045699
210495696
323335609
445435609
Stop Event
node limit
Counts
377 → 165

prune136.0ms (0.8%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1623165
Fresh134
Picked011
Done022
Total1639172
Error
0.0b
Counts
172 → 9
Alt Table
StatusErrorProgram
35.0b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (cbrt.f64 (pow.f64 (-.f64 (*.f64 t b) (*.f64 y j)) 3)) (*.f64 c (*.f64 b (neg.f64 z)))))
16.7b
(-.f64 (fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))) (*.f64 i (*.f64 y j)))
15.3b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
17.7b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z)))))
30.2b
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 c b)) (*.f64 a (fma.f64 j c (neg.f64 (*.f64 t x)))))
28.8b
(fma.f64 j (-.f64 (*.f64 c a) (*.f64 i y)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x)))))
35.3b
(pow.f64 (sqrt.f64 (fma.f64 x (-.f64 (*.f64 y z) (*.f64 a t)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 i t)) (*.f64 j (fma.f64 a c (*.f64 (neg.f64 y) i)))))) 2)
25.7b
(fma.f64 y (-.f64 (*.f64 z x) (*.f64 i j)) (*.f64 b (-.f64 (*.f64 i t) (*.f64 c z))))
13.0b
(+.f64 (*.f64 c (fma.f64 j a (*.f64 b (neg.f64 z)))) (fma.f64 y (-.f64 (*.f64 z x) (*.f64 j i)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x))))))
Compiler

Compiled 4888 to 1069 computations (78.1% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))) (*.f64 i (*.f64 y j)))
4.8b
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a))))
5.3b
(*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))
5.8b
(*.f64 i (*.f64 y j))

series149.0ms (0.9%)

Counts
4 → 280
Calls

4 calls:

74.0ms
(-.f64 (fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))) (*.f64 i (*.f64 y j)))
48.0ms
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a))))
19.0ms
(*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))
8.0ms
(*.f64 i (*.f64 y j))

rewrite45.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
244×add-sqr-sqrt_binary64
230×log1p-expm1-u_binary64
230×expm1-log1p-u_binary64
229×add-cbrt-cube_binary64
224×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02181
147381
Stop Event
node limit
Counts
4 → 78
Calls

4 calls:

42.0ms
(-.f64 (fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))) (*.f64 i (*.f64 y j)))
42.0ms
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a))))
42.0ms
(*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))
42.0ms
(*.f64 i (*.f64 y j))

simplify147.0ms (0.9%)

Algorithm
egg-herbie
Rules
634×sub-neg_binary64
597×fma-def_binary64
569×fma-neg_binary64
383×cancel-sign-sub-inv_binary64
296×associate-+l-_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01036754
13836569
210356494
323936263
445476263
Stop Event
node limit
Counts
358 → 141

prune132.0ms (0.8%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1392141
Fresh235
Picked101
Done033
Total1428150
Error
0.0b
Counts
150 → 8
Alt Table
StatusErrorProgram
15.3b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 t i)) (*.f64 j (-.f64 (*.f64 a c) (*.f64 y i)))))
34.7b
(-.f64 (fma.f64 z (-.f64 (*.f64 y x) (*.f64 b c)) (*.f64 t (-.f64 (*.f64 i b) (*.f64 x a)))) (pow.f64 (sqrt.f64 (*.f64 i (*.f64 y j))) 2))
17.7b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (-.f64 (*.f64 t b) (*.f64 j y)) (*.f64 c (*.f64 b (neg.f64 z)))))
30.2b
(fma.f64 z (-.f64 (*.f64 y x) (*.f64 c b)) (*.f64 a (fma.f64 j c (neg.f64 (*.f64 t x)))))
35.0b
(fma.f64 x (-.f64 (*.f64 y z) (*.f64 t a)) (fma.f64 i (cbrt.f64 (pow.f64 (-.f64 (*.f64 t b) (*.f64 y j)) 3)) (*.f64 c (*.f64 b (neg.f64 z)))))
35.3b
(pow.f64 (sqrt.f64 (fma.f64 x (-.f64 (*.f64 y z) (*.f64 a t)) (fma.f64 b (fma.f64 z (neg.f64 c) (*.f64 i t)) (*.f64 j (fma.f64 a c (*.f64 (neg.f64 y) i)))))) 2)
17.8b
(fma.f64 y (fma.f64 i (neg.f64 j) (*.f64 x z)) (-.f64 (*.f64 b (-.f64 (*.f64 i t) (*.f64 z c))) (*.f64 t (*.f64 a x))))
13.0b
(+.f64 (*.f64 c (fma.f64 j a (*.f64 b (neg.f64 z)))) (fma.f64 y (-.f64 (*.f64 z x) (*.f64 j i)) (*.f64 t (fma.f64 i b (*.f64 a (neg.f64 x))))))
Compiler

Compiled 4151 to 715 computations (82.8% saved)

regimes7.9s (46.7%)

Accuracy

Total 3.0b remaining (94.8%)

Threshold costs 0b (0%)

Counts
222 → 3
Compiler

Compiled 64486 to 41138 computations (36.2% saved)

bsearch10.0ms (0.1%)

Compiler

Compiled 38 to 23 computations (39.5% saved)

simplify39.0ms (0.2%)

Algorithm
egg-herbie
Rules
216×distribute-rgt-neg-in_binary64
179×cancel-sign-sub-inv_binary64
145×distribute-lft-neg-in_binary64
142×neg-sub0_binary64
142×neg-mul-1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
065224
1136224
2207222
3268222
4338222
5388222
6441222
7560222
8686222
9803222
10987222
111192222
121398222
131555222
141625222
151658222
161672222
171676222
Stop Event
saturated

end160.0ms (0.9%)

Compiler

Compiled 595 to 288 computations (51.6% saved)

Profiling

Loading profile data...