Details

Time bar (total: 4.9s)

analyze555.0ms (11.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
18.7%81.1%0.1%6
25%74.9%0.1%7
31.2%68.6%0.1%8
45.2%53.8%0.9%9
50.3%47.8%1.9%10
54%43.6%2.4%11
61.7%32.9%5.4%12
64.1%28.3%7.6%13
66.2%24.7%9.2%14
Compiler

Compiled 16 to 11 computations (31.3% saved)

sample1.2s (25.1%)

Results
975.0ms8256×body128valid
132.0ms1205×body128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify62.0ms (1.2%)

Algorithm
egg-herbie
Rules
1167×fma-def_binary64
1073×fma-neg_binary64
225×cancel-sign-sub-inv_binary64
222×distribute-rgt-in_binary64
163×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
01118
12218
24318
37518
412316
521316
630216
747216
8100913
9132813
10154213
11155913
12155613
13155613
14145313

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
3.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 78 to 51 computations (34.6% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x 4) y)
0.0b
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
2.4b
(*.f64 (/.f64 x y) z)

series36.0ms (0.7%)

Counts
3 → 96
Calls

3 calls:

18.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
12.0ms
(*.f64 (/.f64 x y) z)
6.0ms
(/.f64 (+.f64 x 4) y)

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity_binary64
46×times-frac_binary64
41×add-sqr-sqrt_binary64
36×add-cube-cbrt_binary64
16×fma-neg_binary64
Counts
3 → 117
Calls

3 calls:

8.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
5.0ms
(*.f64 (/.f64 x y) z)
4.0ms
(/.f64 (+.f64 x 4) y)

simplify132.0ms (2.7%)

Algorithm
egg-herbie
Rules
450×associate-*l*_binary64
381×fma-def_binary64
379×associate-*l/_binary64
369×associate-*r*_binary64
310×fma-neg_binary64
Counts
213 → 177
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01873147
14572896
212292394
339772382
449272330
549112330

prune142.0ms (2.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1725177
Fresh011
Picked011
Done000
Total1727179
Error
0b
Counts
179 → 7
Alt Table
StatusErrorProgram
1.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))))
3.1b
(fabs.f64 (-.f64 (+.f64 (/.f64 x y) (*.f64 4 (/.f64 1 y))) (/.f64 (*.f64 z x) y)))
3.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
31.2b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
30.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
Compiler

Compiled 3721 to 1769 computations (52.5% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
0.5b
(cbrt.f64 y)
1.2b
(*.f64 (/.f64 x (cbrt.f64 y)) z)
2.6b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))

series646.0ms (13.1%)

Counts
4 → 96
Calls

4 calls:

536.0ms
(*.f64 (/.f64 x (cbrt.f64 y)) z)
41.0ms
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))
39.0ms
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
30.0ms
(cbrt.f64 y)

rewrite34.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
89×add-exp-log_binary64
47×prod-exp_binary64
45×add-sqr-sqrt_binary64
35×associate-*l*_binary64
35×add-cbrt-cube_binary64
Counts
4 → 152
Calls

4 calls:

11.0ms
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))
7.0ms
(*.f64 (/.f64 x (cbrt.f64 y)) z)
4.0ms
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
1.0ms
(cbrt.f64 y)

simplify118.0ms (2.4%)

Algorithm
egg-herbie
Rules
614×fma-neg_binary64
610×associate-/l/_binary64
454×*-commutative_binary64
384×unswap-sqr_binary64
192×associate-*r*_binary64
Counts
248 → 224
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01913394
13932332
214912271
324992256
448372256
552142256

prune319.0ms (6.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2600260
Fresh055
Picked011
Done011
Total2607267
Error
0b
Counts
267 → 7
Alt Table
StatusErrorProgram
1.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))))
3.1b
(fabs.f64 (-.f64 (+.f64 (/.f64 x y) (*.f64 4 (/.f64 1 y))) (/.f64 (*.f64 z x) y)))
3.1b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
31.2b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
30.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
Compiler

Compiled 7168 to 3014 computations (58% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (fma.f64 x z -4))
2.9b
(/.f64 (-.f64 x (fma.f64 x z -4)) y)

series20.0ms (0.4%)

Counts
2 → 60
Calls

2 calls:

15.0ms
(/.f64 (-.f64 x (fma.f64 x z -4)) y)
4.0ms
(-.f64 x (fma.f64 x z -4))

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity_binary64
30×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
15×times-frac_binary64
prod-diff_binary64
Counts
2 → 71
Calls

2 calls:

6.0ms
(/.f64 (-.f64 x (fma.f64 x z -4)) y)
3.0ms
(-.f64 x (fma.f64 x z -4))

simplify91.0ms (1.8%)

Algorithm
egg-herbie
Rules
531×fma-neg_binary64
446×associate-*l*_binary64
420×div-sub_binary64
358×associate-*r*_binary64
297×fma-def_binary64
Counts
131 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01462146
13142027
28641648
335711648
449431648

prune149.0ms (3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1232125
Fresh224
Picked101
Done022
Total1266132
Error
0b
Counts
132 → 6
Alt Table
StatusErrorProgram
3.1b
(fabs.f64 (/.f64 (fma.f64 x (-.f64 1 z) 4) y))
1.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
3.1b
(fabs.f64 (-.f64 (/.f64 x y) (/.f64 (fma.f64 x z -4) y)))
30.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
Compiler

Compiled 2438 to 1483 computations (39.2% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 x y) (/.f64 (fma.f64 x z -4) y))
2.9b
(/.f64 (fma.f64 x z -4) y)

series32.0ms (0.6%)

Counts
2 → 72
Calls

2 calls:

19.0ms
(-.f64 (/.f64 x y) (/.f64 (fma.f64 x z -4) y))
12.0ms
(/.f64 (fma.f64 x z -4) y)

rewrite56.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
271×times-frac_binary64
220×add-sqr-sqrt_binary64
216×*-un-lft-identity_binary64
208×add-cube-cbrt_binary64
169×prod-diff_binary64
Counts
2 → 248
Calls

2 calls:

16.0ms
(-.f64 (/.f64 x y) (/.f64 (fma.f64 x z -4) y))
2.0ms
(/.f64 (fma.f64 x z -4) y)

simplify220.0ms (4.5%)

Algorithm
egg-herbie
Rules
397×distribute-rgt-in_binary64
383×distribute-lft-in_binary64
313×fma-neg_binary64
192×cancel-sign-sub-inv_binary64
189×exp-prod_binary64
Counts
320 → 345
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
035412450
17928092
217125749
344735749
447925749

prune344.0ms (6.9%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3450345
Fresh033
Picked011
Done022
Total3456351
Error
0b
Counts
351 → 6
Alt Table
StatusErrorProgram
3.1b
(fabs.f64 (/.f64 (fma.f64 x (-.f64 1 z) 4) y))
1.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
3.1b
(fabs.f64 (-.f64 (/.f64 x y) (/.f64 (fma.f64 x z -4) y)))
30.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
Compiler

Compiled 14173 to 7345 computations (48.2% saved)

regimes574.0ms (11.6%)

Accuracy

Total 0.1b remaining (81%)

Threshold costs 0.1b (81%)

Counts
87 → 3
Compiler

Compiled 7177 to 4761 computations (33.7% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02394
13694
25694
37494
49094
59794
69894
79794

end95.0ms (1.9%)

Compiler

Compiled 239 to 137 computations (42.7% saved)

Profiling

Loading profile data...