Details

Time bar (total: 4.3s)

analyze1.4s (33.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
0%99.9%0.1%6
0%99.9%0.1%7
0%99.9%0.1%8
0%99.9%0.1%9
0%99.9%0.1%10
0%99.9%0.1%11
0%99.9%0.1%12
0%99.9%0.1%13
0%99.9%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.1s (26.6%)

Results
833.0ms8254×body128valid
1.0msbody1024valid
Compiler

Compiled 23 to 15 computations (34.8% saved)

simplify273.0ms (6.4%)

Algorithm
egg-herbie
Rules
1222×fma-neg_binary64
983×fma-def_binary64
688×div-sub_binary64
423×sub-neg_binary64
412×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11813
23513
37413
415113
524513
664113
7112513
8215813
9272913
10303713
11299513
12304913
13306313
14356913
15355913
16355913
17355913
18355913
19355913
20365513
21370313
22378513
23359313

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

series17.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64
40×add-sqr-sqrt_binary64
30×times-frac_binary64
19×distribute-lft-out--_binary64
14×add-cube-cbrt_binary64
Counts
1 → 60
Calls

1 calls:

10.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

simplify90.0ms (2.1%)

Algorithm
egg-herbie
Rules
702×fma-def_binary64
518×times-frac_binary64
339×fma-neg_binary64
291×distribute-rgt-in_binary64
228×cancel-sign-sub-inv_binary64
Counts
84 → 109
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02242433
16352369
221152256
348532256
450452256

prune80.0ms (1.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1063109
Fresh000
Picked101
Done000
Total1073110
Error
0b
Counts
110 → 3
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (-.f64 2 (+.f64 x y))))
30.2b
(-.f64 (+.f64 (*.f64 (+.f64 (/.f64 x (-.f64 2 y)) 1) (/.f64 x (-.f64 2 y))) (pow.f64 (/.f64 x (-.f64 2 y)) 3)) (fma.f64 (/.f64 y (pow.f64 (-.f64 2 y) 4)) (pow.f64 x 3) (+.f64 (/.f64 y (-.f64 2 y)) (*.f64 (/.f64 y (pow.f64 (-.f64 2 y) 2)) (+.f64 x (/.f64 (*.f64 x x) (-.f64 2 y)))))))
0.0b
(/.f64 (/.f64 (-.f64 x y) 1) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 2717 to 1420 computations (47.7% saved)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (/.f64 (-.f64 x y) 1) (-.f64 2 (+.f64 x y)))

series17.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

17.0ms
(/.f64 (/.f64 (-.f64 x y) 1) (-.f64 2 (+.f64 x y)))

rewrite36.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
226×*-un-lft-identity_binary64
219×times-frac_binary64
166×add-sqr-sqrt_binary64
84×add-cube-cbrt_binary64
61×distribute-lft-out--_binary64
Counts
1 → 160
Calls

1 calls:

12.0ms
(/.f64 (/.f64 (-.f64 x y) 1) (-.f64 2 (+.f64 x y)))

simplify140.0ms (3.3%)

Algorithm
egg-herbie
Rules
685×fma-def_binary64
632×times-frac_binary64
244×cancel-sign-sub-inv_binary64
229×distribute-rgt-in_binary64
229×sub-neg_binary64
Counts
184 → 185
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02645136
16495045
221944930
350114930

prune116.0ms (2.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1850185
Fresh022
Picked011
Done000
Total1853188
Error
0b
Counts
188 → 3
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (-.f64 2 (+.f64 x y))))
30.2b
(-.f64 (+.f64 (*.f64 (+.f64 (/.f64 x (-.f64 2 y)) 1) (/.f64 x (-.f64 2 y))) (pow.f64 (/.f64 x (-.f64 2 y)) 3)) (fma.f64 (/.f64 y (pow.f64 (-.f64 2 y) 4)) (pow.f64 x 3) (+.f64 (/.f64 y (-.f64 2 y)) (*.f64 (/.f64 y (pow.f64 (-.f64 2 y) 2)) (+.f64 x (/.f64 (*.f64 x x) (-.f64 2 y)))))))
0.0b
(/.f64 (/.f64 (-.f64 x y) 1) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 4849 to 2614 computations (46.1% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (-.f64 2 (+.f64 x y)))
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (-.f64 2 (+.f64 x y))))

series30.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

16.0ms
(*.f64 (-.f64 x y) (/.f64 1 (-.f64 2 (+.f64 x y))))
13.0ms
(/.f64 1 (-.f64 2 (+.f64 x y)))

rewrite26.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity_binary64
47×add-sqr-sqrt_binary64
38×times-frac_binary64
24×associate-*r*_binary64
24×add-cube-cbrt_binary64
Counts
2 → 102
Calls

2 calls:

14.0ms
(*.f64 (-.f64 x y) (/.f64 1 (-.f64 2 (+.f64 x y))))
6.0ms
(/.f64 1 (-.f64 2 (+.f64 x y)))

simplify116.0ms (2.7%)

Algorithm
egg-herbie
Rules
654×times-frac_binary64
403×fma-neg_binary64
325×sub-neg_binary64
288×cancel-sign-sub-inv_binary64
188×+-commutative_binary64
Counts
150 → 192
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03063603
18513445
230683427
349423427
451453427

prune149.0ms (3.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1911192
Fresh101
Picked011
Done011
Total1923195
Error
0b
Counts
195 → 3
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (-.f64 2 (+.f64 x y))))
0.0b
(/.f64 (/.f64 (-.f64 x y) 1) (-.f64 2 (+.f64 x y)))
0.1b
(*.f64 (-.f64 x y) (expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))))
Compiler

Compiled 4660 to 2699 computations (42.1% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (-.f64 2 (+.f64 x y)))
0.0b
(log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))
0.0b
(expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y)))))
0.1b
(*.f64 (-.f64 x y) (expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))))

series63.0ms (1.5%)

Counts
3 → 72
Calls

3 calls:

31.0ms
(log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))
19.0ms
(*.f64 (-.f64 x y) (expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))))
13.0ms
(expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y)))))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
associate-*l*_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 46
Calls

3 calls:

5.0ms
(*.f64 (-.f64 x y) (expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))))
0.0ms
(log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))
0.0ms
(expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y)))))

simplify104.0ms (2.4%)

Algorithm
egg-herbie
Rules
440×sub-neg_binary64
270×+-commutative_binary64
261×associate-+r+_binary64
228×associate-+l+_binary64
223×fma-def_binary64
Counts
118 → 160
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03764179
111223986
243263961
351073961

prune188.0ms (4.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2450245
Fresh000
Picked011
Done022
Total2453248
Error
0b
Counts
248 → 3
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (-.f64 2 (+.f64 x y))))
0.0b
(/.f64 (/.f64 (-.f64 x y) 1) (-.f64 2 (+.f64 x y)))
0.1b
(*.f64 (-.f64 x y) (expm1.f64 (log1p.f64 (/.f64 1 (-.f64 2 (+.f64 x y))))))
Compiler

Compiled 7090 to 4586 computations (35.3% saved)

regimes156.0ms (3.6%)

Accuracy

Total 0.0b remaining (24%)

Threshold costs 0.0b (24%)

Counts
53 → 1
Compiler

Compiled 3133 to 2047 computations (34.7% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11313
22413
33213
43613
53713
63713

end51.0ms (1.2%)

Compiler

Compiled 63 to 43 computations (31.7% saved)

Profiling

Loading profile data...