Details

Time bar (total: 4.4s)

analyze578.0ms (13%)

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.4s (30.5%)

Results
1.0s8256×body128valid
185.0ms1205×body128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify64.0ms (1.4%)

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

prune4.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)

series39.0ms (0.9%)

Counts
3 → 96
Calls

3 calls:

20.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
13.0ms
(*.f64 (/.f64 x y) z)
5.0ms
(/.f64 (+.f64 x 4) y)

rewrite26.0ms (0.6%)

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:

10.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)

simplify127.0ms (2.9%)

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

prune156.0ms (3.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1725177
Fresh011
Picked011
Done000
Total1727179
Error
0b
Counts
179 → 7
Alt Table
StatusErrorProgram
30.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
31.2b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
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))
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))))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 3721 to 1769 computations (52.5% saved)

localize14.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))

series583.0ms (13.1%)

Counts
4 → 96
Calls

4 calls:

464.0ms
(*.f64 (/.f64 x (cbrt.f64 y)) z)
46.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))
33.0ms
(cbrt.f64 y)

rewrite37.0ms (0.8%)

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:

12.0ms
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (*.f64 (/.f64 x (cbrt.f64 y)) z))
6.0ms
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
6.0ms
(*.f64 (/.f64 x (cbrt.f64 y)) z)
1.0ms
(cbrt.f64 y)

simplify127.0ms (2.9%)

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

prune209.0ms (4.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2600260
Fresh055
Picked011
Done011
Total2607267
Error
0b
Counts
267 → 7
Alt Table
StatusErrorProgram
30.8b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
31.2b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
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))
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))))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.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)

series19.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:

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

simplify80.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

prune192.0ms (4.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 (/.f64 x y) (/.f64 (fma.f64 x z -4) y)))
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))))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.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 2438 to 1483 computations (39.2% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series20.0ms (0.4%)

Counts
2 → 60
Calls

2 calls:

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

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 39
Calls

2 calls:

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

simplify80.0ms (1.8%)

Algorithm
egg-herbie
Rules
488×unsub-neg_binary64
437×fma-neg_binary64
317×times-frac_binary64
313×distribute-rgt-in_binary64
302×distribute-lft-in_binary64
Counts
99 → 66
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0871544
11721481
23941286
38241193
437921193
551921193

prune46.0ms (1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh033
Picked011
Done022
Total66672
Error
0b
Counts
72 → 6
Alt Table
StatusErrorProgram
3.1b
(fabs.f64 (-.f64 (/.f64 x y) (/.f64 (fma.f64 x z -4) y)))
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))))
32.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 (sqrt.f64 x) 1) (*.f64 (/.f64 (sqrt.f64 x) y) z))))
1.6b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.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 1044 to 691 computations (33.8% saved)

regimes538.0ms (12.1%)

Accuracy

Total 0.1b remaining (81%)

Threshold costs 0.1b (81%)

Counts
70 → 3
Compiler

Compiled 5817 to 3881 computations (33.3% saved)

bsearch2.0ms (0%)

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

end97.0ms (2.2%)

Compiler

Compiled 239 to 137 computations (42.7% saved)

Profiling

Loading profile data...