Details

Time bar (total: 3.9s)

analyze89.0ms (2.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%12.5%87.5%0
0%12.5%87.5%1
0%12.5%87.5%2
3.1%9.3%87.5%3
3.1%6.2%90.7%4
4.7%4.7%90.7%5
4.7%3.5%91.8%6
5.6%2.5%91.8%7
5.9%1.8%92.3%8
6.4%1.3%92.3%9
6.6%0.9%92.5%10
6.8%0.6%92.5%11
6.9%0.5%92.6%12
7%0.3%92.6%13
7.1%0.2%92.7%14
Compiler

Compiled 26 to 19 computations (26.9% saved)

sample1.1s (28.9%)

Results
1.0s8256×body128valid
7.0ms64×body128invalid
Compiler

Compiled 67 to 49 computations (26.9% saved)

simplify122.0ms (3.1%)

Algorithm
egg-herbie
Rules
1247×unsub-neg_binary64
616×neg-sub0_binary64
571×neg-mul-1_binary64
560×fma-neg_binary64
452×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0919
12019
24617
311617
435817
5133117
6346317
7362517
8429317
9467817
10465017
11489517
12490517

prune4.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.2b
(*.f64 (-.f64 1 m) (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
0.1b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
Compiler

Compiled 85 to 61 computations (28.2% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 m (-.f64 1 m))
0.0b
(-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1)
0.1b
(/.f64 (*.f64 m (-.f64 1 m)) v)
0.1b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))

series33.0ms (0.8%)

Counts
4 → 80
Calls

4 calls:

12.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
9.0ms
(-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1)
9.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)
2.0ms
(*.f64 m (-.f64 1 m))

rewrite46.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt_binary64
66×*-un-lft-identity_binary64
57×prod-diff_binary64
54×add-cube-cbrt_binary64
26×distribute-lft-in_binary64
Counts
4 → 188
Calls

4 calls:

13.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
8.0ms
(*.f64 m (-.f64 1 m))
7.0ms
(-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1)
6.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)

simplify136.0ms (3.5%)

Algorithm
egg-herbie
Rules
359×associate-/l/_binary64
345×associate-/r*_binary64
257×associate-/r/_binary64
250×associate-*l*_binary64
225×exp-prod_binary64
Counts
268 → 295
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02384650
15024087
220594004
345663999
450303999

prune328.0ms (8.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2914295
Fresh101
Picked011
Done000
Total2925297
Error
0b
Counts
297 → 5
Alt Table
StatusErrorProgram
9.7b
(*.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) -1) (-.f64 1 m))
0.8b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (-.f64 1 m) (fma.f64 (/.f64 m v) (-.f64 1 m) -1))) (cbrt.f64 (*.f64 (-.f64 1 m) (fma.f64 (/.f64 m v) (-.f64 1 m) -1)))) (cbrt.f64 (*.f64 (-.f64 1 m) (fma.f64 (/.f64 m v) (-.f64 1 m) -1))))
0.1b
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
Compiler

Compiled 7307 to 4642 computations (36.5% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.0b
(+.f64 (/.f64 m v) m)
7.2b
(/.f64 (pow.f64 m 3) v)
11.7b
(/.f64 (pow.f64 m 2) v)

series46.0ms (1.2%)

Counts
4 → 27
Calls

4 calls:

17.0ms
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
12.0ms
(/.f64 (pow.f64 m 3) v)
11.0ms
(/.f64 (pow.f64 m 2) v)
6.0ms
(+.f64 (/.f64 m v) m)

rewrite51.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
94×*-un-lft-identity_binary64
69×times-frac_binary64
65×add-sqr-sqrt_binary64
63×add-cube-cbrt_binary64
27×add-log-exp_binary64
Counts
4 → 200
Calls

4 calls:

24.0ms
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
5.0ms
(+.f64 (/.f64 m v) m)
4.0ms
(/.f64 (pow.f64 m 3) v)
3.0ms
(/.f64 (pow.f64 m 2) v)

simplify156.0ms (4%)

Algorithm
egg-herbie
Rules
663×fma-neg_binary64
450×unswap-sqr_binary64
227×distribute-rgt-in_binary64
224×associate-*l*_binary64
223×associate-*r*_binary64
Counts
227 → 267
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03266089
18154598
235074321
344804319
450014319

prune417.0ms (10.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2661267
Fresh123
Picked011
Done011
Total2675272
Error
0b
Counts
272 → 5
Alt Table
StatusErrorProgram
9.7b
(*.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) -1) (-.f64 1 m))
0.1b
(-.f64 (+.f64 (*.f64 (pow.f64 m 3) (/.f64 1 v)) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
Compiler

Compiled 9463 to 5193 computations (45.1% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (*.f64 (pow.f64 m 3) (/.f64 1 v)) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.0b
(+.f64 (/.f64 m v) m)
7.3b
(*.f64 (pow.f64 m 3) (/.f64 1 v))
11.7b
(/.f64 (pow.f64 m 2) v)

series29.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

16.0ms
(-.f64 (+.f64 (*.f64 (pow.f64 m 3) (/.f64 1 v)) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
13.0ms
(*.f64 (pow.f64 m 3) (/.f64 1 v))

rewrite36.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt_binary64
26×*-un-lft-identity_binary64
25×add-exp-log_binary64
23×add-log-exp_binary64
20×add-cube-cbrt_binary64
Counts
2 → 112
Calls

2 calls:

16.0ms
(-.f64 (+.f64 (*.f64 (pow.f64 m 3) (/.f64 1 v)) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
8.0ms
(*.f64 (pow.f64 m 3) (/.f64 1 v))

simplify134.0ms (3.4%)

Algorithm
egg-herbie
Rules
607×fma-neg_binary64
344×times-frac_binary64
284×associate-*l*_binary64
248×associate-*r*_binary64
227×distribute-rgt-in_binary64
Counts
160 → 169
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02524815
17404301
231624112
347584110
449564110

prune348.0ms (8.8%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2810281
Fresh022
Picked011
Done022
Total2815286
Error
0b
Counts
286 → 5
Alt Table
StatusErrorProgram
9.7b
(*.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) -1) (-.f64 1 m))
0.1b
(-.f64 (+.f64 (*.f64 (pow.f64 m 3) (/.f64 1 v)) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
Compiler

Compiled 10659 to 6164 computations (42.2% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.1b
(fma.f64 (/.f64 m v) (-.f64 1 m) -1)
0.2b
(*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m))

series33.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

14.0ms
(*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m))
12.0ms
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
6.0ms
(fma.f64 (/.f64 m v) (-.f64 1 m) -1)

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×associate-*r*_binary64
10×add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 56
Calls

3 calls:

4.0ms
(*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m))
2.0ms
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.0ms
(fma.f64 (/.f64 m v) (-.f64 1 m) -1)

simplify82.0ms (2.1%)

Algorithm
egg-herbie
Rules
693×unsub-neg_binary64
614×fma-neg_binary64
365×distribute-rgt-in_binary64
343×distribute-lft-in_binary64
343×fma-def_binary64
Counts
128 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01092483
12902171
29512030
334331866
450471866

prune137.0ms (3.5%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1360136
Fresh011
Picked011
Done033
Total1365141
Error
0b
Counts
141 → 5
Alt Table
StatusErrorProgram
9.7b
(*.f64 (fma.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) -1) (-.f64 1 m))
0.1b
(-.f64 (+.f64 (*.f64 (pow.f64 m 3) (/.f64 1 v)) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (*.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) (neg.f64 m)))
0.1b
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
0.1b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
Compiler

Compiled 3384 to 1751 computations (48.3% saved)

regimes431.0ms (11%)

Accuracy

Total 0.1b remaining (81.8%)

Threshold costs 0.1b (81.8%)

Counts
150 → 1
Compiler

Compiled 9410 to 6544 computations (30.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
11922
22022
31922

end90.0ms (2.3%)

Compiler

Compiled 143 to 98 computations (31.5% saved)

Profiling

Loading profile data...