Details

Time bar (total: 6.2s)

analyze583.0ms (9.4%)

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 (21.8%)

Results
1.1s8256×body128valid
143.0ms1204×body128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify63.0ms (1%)

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
2.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
2.6b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
Compiler

Compiled 78 to 51 computations (34.6% saved)

localize8.0ms (0.1%)

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))
3.6b
(*.f64 (/.f64 x y) z)

series43.0ms (0.7%)

Counts
3 → 96
Calls

3 calls:

22.0ms
(-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z))
15.0ms
(*.f64 (/.f64 x y) z)
6.0ms
(/.f64 (+.f64 x 4) y)

rewrite26.0ms (0.4%)

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))
6.0ms
(*.f64 (/.f64 x y) z)
5.0ms
(/.f64 (+.f64 x 4) y)

simplify127.0ms (2%)

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

prune140.0ms (2.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1725177
Fresh011
Picked011
Done000
Total1727179
Error
0b
Counts
179 → 7
Alt Table
StatusErrorProgram
3.3b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 x (*.f64 (/.f64 1 y) z))))
23.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (*.f64 (/.f64 x y) z)) (sqrt.f64 (*.f64 (/.f64 x y) z)))))
2.4b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z))) (cbrt.f64 (*.f64 (/.f64 x y) z)))))
30.1b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
28.3b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
2.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
2.6b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
Compiler

Compiled 3733 to 1759 computations (52.9% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z))) (cbrt.f64 (*.f64 (/.f64 x y) z)))
0.4b
(*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z)))
3.6b
(*.f64 (/.f64 x y) z)
12.2b
(cbrt.f64 (*.f64 (/.f64 x y) z))

series2.6s (42%)

Counts
3 → 108
Calls

3 calls:

1.6s
(*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z)))
941.0ms
(cbrt.f64 (*.f64 (/.f64 x y) z))
63.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z))) (cbrt.f64 (*.f64 (/.f64 x y) z)))

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
23×associate-*l/_binary64
17×cbrt-div_binary64
16×pow1/3_binary64
11×pow-prod-up_binary64
Counts
3 → 90
Calls

3 calls:

7.0ms
(*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z)))
7.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z))) (cbrt.f64 (*.f64 (/.f64 x y) z)))
3.0ms
(cbrt.f64 (*.f64 (/.f64 x y) z))

simplify125.0ms (2%)

Algorithm
egg-herbie
Rules
732×fma-def_binary64
406×fma-neg_binary64
285×associate-*l/_binary64
224×associate-*r/_binary64
208×*-commutative_binary64
Counts
198 → 152
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01863329
14023109
29692609
337162609
449172609
549912609

prune330.0ms (5.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3840384
Fresh055
Picked011
Done011
Total3847391
Error
0b
Counts
391 → 7
Alt Table
StatusErrorProgram
3.3b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 x (*.f64 (/.f64 1 y) z))))
23.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (*.f64 (/.f64 x y) z)) (sqrt.f64 (*.f64 (/.f64 x y) z)))))
2.4b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z))) (cbrt.f64 (*.f64 (/.f64 x y) z)))))
30.1b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
28.3b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (/.f64 x y)) (*.f64 (sqrt.f64 (/.f64 x y)) z))))
2.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
2.6b
(fabs.f64 (/.f64 (-.f64 x (fma.f64 x z -4)) y))
Compiler

Compiled 12470 to 3690 computations (70.4% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series18.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

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

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64
19×add-sqr-sqrt_binary64
15×times-frac_binary64
11×add-cube-cbrt_binary64
associate-/l*_binary64
Counts
1 → 40
Calls

1 calls:

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

simplify73.0ms (1.2%)

Algorithm
egg-herbie
Rules
552×distribute-rgt-in_binary64
532×distribute-lft-in_binary64
426×fma-def_binary64
406×times-frac_binary64
357×div-sub_binary64
Counts
76 → 70
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0981438
12241392
24951134
312301134
445111134
549911134

prune62.0ms (1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh224
Picked101
Done022
Total72577
Error
0b
Counts
77 → 5
Alt Table
StatusErrorProgram
23.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (*.f64 (/.f64 x y) z)) (sqrt.f64 (*.f64 (/.f64 x y) z)))))
2.6b
(fabs.f64 (*.f64 (-.f64 x (fma.f64 x z -4)) (/.f64 1 y)))
2.4b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z))) (cbrt.f64 (*.f64 (/.f64 x y) z)))))
30.1b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
2.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 1364 to 814 computations (40.3% saved)

localize11.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
2.5b
(*.f64 (-.f64 x (fma.f64 x z -4)) (/.f64 1 y))

series18.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

18.0ms
(*.f64 (-.f64 x (fma.f64 x z -4)) (/.f64 1 y))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
13×associate-*r*_binary64
12×*-un-lft-identity_binary64
11×times-frac_binary64
10×add-exp-log_binary64
Counts
1 → 44
Calls

1 calls:

8.0ms
(*.f64 (-.f64 x (fma.f64 x z -4)) (/.f64 1 y))

simplify88.0ms (1.4%)

Algorithm
egg-herbie
Rules
845×fma-def_binary64
306×fma-neg_binary64
290×associate-/l*_binary64
272×associate-*l*_binary64
230×div-sub_binary64
Counts
80 → 80
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01041400
12431310
26891046
320121046
445551046
549961046
649511046

prune62.0ms (1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New80080
Fresh022
Picked011
Done022
Total80585
Error
0b
Counts
85 → 5
Alt Table
StatusErrorProgram
23.9b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (sqrt.f64 (*.f64 (/.f64 x y) z)) (sqrt.f64 (*.f64 (/.f64 x y) z)))))
2.6b
(fabs.f64 (*.f64 (-.f64 x (fma.f64 x z -4)) (/.f64 1 y)))
2.4b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 x y) z)) (cbrt.f64 (*.f64 (/.f64 x y) z))) (cbrt.f64 (*.f64 (/.f64 x y) z)))))
30.1b
(fabs.f64 (*.f64 (-.f64 (/.f64 1 y) (/.f64 z y)) x))
2.1b
(fabs.f64 (-.f64 (/.f64 (+.f64 x 4) y) (*.f64 (/.f64 x y) z)))
Compiler

Compiled 1555 to 997 computations (35.9% saved)

regimes316.0ms (5.1%)

Accuracy

Total 0.1b remaining (80.2%)

Threshold costs 0.1b (80.2%)

Counts
45 → 2
Compiler

Compiled 4057 to 2686 computations (33.8% saved)

bsearch2.0ms (0%)

Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02254
13854
25854
37454
48954
59554
69654
79354

end83.0ms (1.3%)

Compiler

Compiled 173 to 100 computations (42.2% saved)

Profiling

Loading profile data...