Details

Time bar (total: 4.8s)

analyze595.0ms (12.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
12.5%87.4%0.1%7
18.7%81.1%0.1%8
31.2%68.6%0.1%9
35.9%55.4%8.7%10
42.9%47.6%9.5%11
51.5%38.2%10.3%12
55%30%15%13
59.5%25.3%15.3%14
Compiler

Compiled 17 to 13 computations (23.5% saved)

sample1.2s (25.4%)

Results
861.0ms7559×body128valid
98.0ms276×body1024valid
68.0ms260×body512valid
66.0ms630×body128invalid
28.0ms161×body256valid
Compiler

Compiled 50 to 38 computations (24% saved)

simplify228.0ms (4.8%)

Algorithm
egg-herbie
Rules
5304×fma-neg_binary64
679×unsub-neg_binary64
400×sub-neg_binary64
376×fma-def_binary64
289×associate--r+_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01416
12314
25914
315712
443812
5125312
6207812
7256312
8277712
9290712
10294912
11296412
12296712
13296712
14296712
15314112
16301512
17301512
18806212

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.4b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
Compiler

Compiled 81 to 56 computations (30.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 2 3) z)
0.0b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.0b
(*.f64 (-.f64 y x) 6)
0.3b
(*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z))

series37.0ms (0.8%)

Counts
4 → 108
Calls

4 calls:

20.0ms
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
12.0ms
(*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z))
4.0ms
(*.f64 (-.f64 y x) 6)
1.0ms
(-.f64 (/.f64 2 3) z)

rewrite73.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
204×add-sqr-sqrt_binary64
196×*-un-lft-identity_binary64
195×prod-diff_binary64
190×add-cube-cbrt_binary64
146×times-frac_binary64
Counts
4 → 314
Calls

4 calls:

14.0ms
(*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z))
10.0ms
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
6.0ms
(-.f64 (/.f64 2 3) z)
4.0ms
(*.f64 (-.f64 y x) 6)

simplify238.0ms (5%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
372×associate-*l*_binary64
344×associate-*r*_binary64
267×*-commutative_binary64
238×cancel-sign-sub-inv_binary64
Counts
422 → 428
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
04279776
17238689
228546627
340476546
448426546

prune371.0ms (7.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4208428
Fresh011
Picked101
Done000
Total4219430
Error
0b
Counts
430 → 9
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
35.5b
(/.f64 (fma.f64 x x (*.f64 (*.f64 (*.f64 (-.f64 2/3 z) (-.f64 2/3 z)) (*.f64 (-.f64 y x) (-.f64 y x))) -36)) (+.f64 x (*.f64 (-.f64 y x) (fma.f64 z 6 -4))))
29.0b
(+.f64 x (/.f64 (*.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 (*.f64 y y) (*.f64 x x)))) (+.f64 y x)))
31.4b
(*.f64 (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)) (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)))
0.2b
(fma.f64 4 y (fma.f64 -6 (*.f64 z (-.f64 y x)) (*.f64 x -3)))
0.2b
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
0.4b
(fma.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (cbrt.f64 x) (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.7b
(+.f64 (fma.f64 (*.f64 6 (-.f64 y x)) (-.f64 (/.f64 (/.f64 2 (sqrt.f64 3)) (sqrt.f64 3)) z) x) (*.f64 (fma.f64 (neg.f64 z) 1 (*.f64 z 1)) (*.f64 (-.f64 y x) 6)))
42.1b
(cbrt.f64 (pow.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x) 3))
Compiler

Compiled 13490 to 7077 computations (47.5% saved)

localize22.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x))
0.0b
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
0.2b
(*.f64 6 (*.f64 y z))
0.3b
(*.f64 6 (*.f64 z x))

series34.0ms (0.7%)

Counts
4 → 18
Calls

4 calls:

14.0ms
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
8.0ms
(+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x))
7.0ms
(*.f64 6 (*.f64 y z))
5.0ms
(*.f64 6 (*.f64 z x))

rewrite28.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
18×add-log-exp_binary64
16×*-un-lft-identity_binary64
16×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
14×add-cbrt-cube_binary64
Counts
4 → 93
Calls

4 calls:

9.0ms
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
6.0ms
(*.f64 6 (*.f64 y z))
4.0ms
(+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x))
4.0ms
(*.f64 6 (*.f64 z x))

simplify97.0ms (2%)

Algorithm
egg-herbie
Rules
443×times-frac_binary64
372×cancel-sign-sub-inv_binary64
279×associate-*l*_binary64
278×distribute-rgt-neg-in_binary64
271×associate-*r*_binary64
Counts
111 → 148
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01982856
16192159
224271906
345091906
454501906

prune161.0ms (3.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1453148
Fresh448
Picked101
Done000
Total1507157
Error
0b
Counts
157 → 7
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
35.5b
(/.f64 (fma.f64 x x (*.f64 (*.f64 (*.f64 (-.f64 2/3 z) (-.f64 2/3 z)) (*.f64 (-.f64 y x) (-.f64 y x))) -36)) (+.f64 x (*.f64 (-.f64 y x) (fma.f64 z 6 -4))))
31.5b
(*.f64 -1 (*.f64 (-.f64 3 (*.f64 6 z)) x))
31.4b
(*.f64 (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)) (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)))
0.1b
(+.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (fma.f64 x -3 (*.f64 z (*.f64 y -6))))
42.1b
(cbrt.f64 (pow.f64 (fma.f64 y 4 (fma.f64 6 (*.f64 z (-.f64 x y)) (*.f64 x -3))) 3))
0.7b
(+.f64 (fma.f64 (*.f64 6 (-.f64 y x)) (-.f64 (/.f64 (/.f64 2 (sqrt.f64 3)) (sqrt.f64 3)) z) x) (*.f64 (fma.f64 (neg.f64 z) 1 (*.f64 z 1)) (*.f64 (-.f64 y x) 6)))
Compiler

Compiled 5087 to 3122 computations (38.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (fma.f64 x -3 (*.f64 z (*.f64 y -6))))
0.1b
(fma.f64 x -3 (*.f64 z (*.f64 y -6)))
0.2b
(*.f64 z (*.f64 y -6))
0.3b
(*.f64 6 (*.f64 z x))

series28.0ms (0.6%)

Counts
3 → 96
Calls

3 calls:

15.0ms
(+.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (fma.f64 x -3 (*.f64 z (*.f64 y -6))))
8.0ms
(fma.f64 x -3 (*.f64 z (*.f64 y -6)))
6.0ms
(*.f64 z (*.f64 y -6))

rewrite12.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-log-exp_binary64
add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
Counts
3 → 50
Calls

3 calls:

5.0ms
(+.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (fma.f64 x -3 (*.f64 z (*.f64 y -6))))
3.0ms
(*.f64 z (*.f64 y -6))
0.0ms
(fma.f64 x -3 (*.f64 z (*.f64 y -6)))

simplify100.0ms (2.1%)

Algorithm
egg-herbie
Rules
776×associate-*l*_binary64
631×associate-*r*_binary64
434×distribute-rgt-in_binary64
422×distribute-lft-in_binary64
381×fma-def_binary64
Counts
146 → 97
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01172252
13081967
29291829
344651820
449601820
550241820

prune123.0ms (2.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1161117
Fresh156
Picked011
Done000
Total1177124
Error
0b
Counts
124 → 7
Alt Table
StatusErrorProgram
31.5b
(*.f64 -1 (*.f64 (-.f64 3 (*.f64 6 z)) x))
31.4b
(*.f64 (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)) (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)))
0.1b
(+.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (fma.f64 x -3 (*.f64 z (*.f64 y -6))))
42.1b
(cbrt.f64 (pow.f64 (fma.f64 y 4 (fma.f64 6 (*.f64 z (-.f64 x y)) (*.f64 x -3))) 3))
0.7b
(+.f64 (fma.f64 (*.f64 6 (-.f64 y x)) (-.f64 (/.f64 (/.f64 2 (sqrt.f64 3)) (sqrt.f64 3)) z) x) (*.f64 (fma.f64 (neg.f64 z) 1 (*.f64 z 1)) (*.f64 (-.f64 y x) 6)))
0.3b
(+.f64 (fma.f64 x (fma.f64 z 6 -3) (*.f64 y 4)) (*.f64 z (*.f64 y -6)))
0.4b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
Compiler

Compiled 2916 to 1837 computations (37% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 x (fma.f64 z 6 -3) (*.f64 y 4)) (*.f64 z (*.f64 y -6)))
0.0b
(fma.f64 z 6 -3)
0.2b
(*.f64 z (*.f64 y -6))
0.3b
(fma.f64 x (fma.f64 z 6 -3) (*.f64 y 4))

series26.0ms (0.5%)

Counts
3 → 84
Calls

3 calls:

14.0ms
(+.f64 (fma.f64 x (fma.f64 z 6 -3) (*.f64 y 4)) (*.f64 z (*.f64 y -6)))
9.0ms
(fma.f64 x (fma.f64 z 6 -3) (*.f64 y 4))
2.0ms
(fma.f64 z 6 -3)

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
fma-def_binary64
Counts
3 → 37
Calls

3 calls:

2.0ms
(+.f64 (fma.f64 x (fma.f64 z 6 -3) (*.f64 y 4)) (*.f64 z (*.f64 y -6)))
0.0ms
(fma.f64 x (fma.f64 z 6 -3) (*.f64 y 4))
0.0ms
(fma.f64 z 6 -3)

simplify76.0ms (1.6%)

Algorithm
egg-herbie
Rules
583×distribute-rgt-neg-out_binary64
544×associate-*l*_binary64
491×associate-*r*_binary64
418×fma-def_binary64
233×distribute-rgt-in_binary64
Counts
121 → 86
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0882013
12381702
26901505
335391505
452231505

prune126.0ms (2.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1133116
Fresh325
Picked101
Done011
Total1176123
Error
0b
Counts
123 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (fma.f64 x -3 (*.f64 z (*.f64 y -6))))
42.0b
(cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4))) 3))
0.7b
(+.f64 (fma.f64 (*.f64 6 (-.f64 y x)) (-.f64 (/.f64 (/.f64 2 (sqrt.f64 3)) (sqrt.f64 3)) z) x) (*.f64 (fma.f64 (neg.f64 z) 1 (*.f64 z 1)) (*.f64 (-.f64 y x) 6)))
0.4b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
31.4b
(*.f64 (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)) (sqrt.f64 (fma.f64 (-.f64 2/3 z) (*.f64 6 (-.f64 y x)) x)))
22.9b
(+.f64 (fma.f64 x (*.f64 6 z) (*.f64 y 4)) (*.f64 z (*.f64 y -6)))
Compiler

Compiled 2454 to 1687 computations (31.3% saved)

regimes1.0s (21.5%)

Accuracy

Total 0.2b remaining (87.3%)

Threshold costs 0.2b (87.3%)

Counts
171 → 1
Compiler

Compiled 17270 to 12556 computations (27.3% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
neg-sub0_binary64
sub-neg_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01522
12422
23220
34020
45320
56220
67820
78320
88420
97920

end113.0ms (2.4%)

Compiler

Compiled 164 to 113 computations (31.1% saved)

Profiling

Loading profile data...