Details

Time bar (total: 5.2s)

analyze141.0ms (2.7%)

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.9s (37.3%)

Results
1.8s8256×body128valid
13.0ms63×body128invalid
Compiler

Compiled 67 to 49 computations (26.9% saved)

simplify152.0ms (2.9%)

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

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

Compiled 85 to 61 computations (28.2% saved)

localize13.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series43.0ms (0.8%)

Counts
2 → 44
Calls

2 calls:

24.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
20.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)

rewrite108.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
501×prod-diff_binary64
188×fma-def_binary64
179×expm1-udef_binary64
178×log1p-udef_binary64
174×fma-neg_binary64
Counts
2 → 102
Calls

2 calls:

103.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)
103.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) (-.f64 1 m))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
120129
2275527
3503227
000
100

simplify97.0ms (1.9%)

Algorithm
egg-herbie
Rules
756×unsub-neg_binary64
324×neg-sub0_binary64
306×neg-mul-1_binary64
302×fma-def_binary64
277×div-sub_binary64
Counts
146 → 124
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
032733
195707
2230695
3609631
42168630
54103630
65103630

prune216.0ms (4.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh101
Picked101
Done000
Total1233126
Error
0b
Counts
126 → 3
Alt Table
StatusErrorProgram
0.1b
(+.f64 -1 (+.f64 (+.f64 m (/.f64 m v)) (*.f64 (*.f64 m (/.f64 m v)) (+.f64 m -2))))
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.4b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) (-.f64 1 m))
Compiler

Compiled 2606 to 1687 computations (35.3% saved)

localize24.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (/.f64 (pow.f64 m 2) v))
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))))
7.1b
(/.f64 (pow.f64 m 3) v)
9.9b
(/.f64 (pow.f64 m 2) v)

series103.0ms (2%)

Counts
4 → 12
Calls

4 calls:

33.0ms
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
25.0ms
(/.f64 (pow.f64 m 3) v)
24.0ms
(*.f64 2 (/.f64 (pow.f64 m 2) v))
21.0ms
(/.f64 (pow.f64 m 2) v)

rewrite149.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
322×log1p-udef_binary64
181×add-sqr-sqrt_binary64
181×log1p-expm1-u_binary64
181×expm1-log1p-u_binary64
172×add-log-exp_binary64
Counts
4 → 131
Calls

4 calls:

142.0ms
(*.f64 2 (/.f64 (pow.f64 m 2) v))
142.0ms
(-.f64 (+.f64 (/.f64 (pow.f64 m 3) v) (+.f64 (/.f64 m v) m)) (+.f64 1 (*.f64 2 (/.f64 (pow.f64 m 2) v))))
142.0ms
(/.f64 (pow.f64 m 3) v)
142.0ms
(/.f64 (pow.f64 m 2) v)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01655
138053
2478053
3522253
000
100

simplify148.0ms (2.8%)

Algorithm
egg-herbie
Rules
538×unswap-sqr_binary64
448×associate-*l*_binary64
408×associate-*r*_binary64
401×fma-neg_binary64
381×cancel-sign-sub-inv_binary64
Counts
143 → 145
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
025168
173166
2169155
3429137
41162127
53944126
64997126
74933126
84998126
94884126

prune347.0ms (6.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1441145
Fresh112
Picked101
Done000
Total1462148
Error
0b
Counts
148 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 (pow.f64 m 3) v) (-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1)))
0.4b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) (-.f64 1 m))
Compiler

Compiled 4654 to 2369 computations (49.1% saved)

localize24.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 (pow.f64 m 3) v) (-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1)))
0.0b
(-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1))
7.1b
(/.f64 (pow.f64 m 3) v)
9.9b
(/.f64 (*.f64 m m) v)

series77.0ms (1.5%)

Counts
3 → 72
Calls

3 calls:

34.0ms
(+.f64 (/.f64 (pow.f64 m 3) v) (-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1)))
23.0ms
(-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1))
20.0ms
(/.f64 (*.f64 m m) v)

rewrite131.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
293×log1p-udef_binary64
166×add-sqr-sqrt_binary64
164×log1p-expm1-u_binary64
164×expm1-log1p-u_binary64
157×add-cbrt-cube_binary64
Counts
3 → 136
Calls

3 calls:

121.0ms
(+.f64 (/.f64 (pow.f64 m 3) v) (-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1)))
121.0ms
(-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1))
121.0ms
(/.f64 (*.f64 m m) v)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01556
134556
2473156
3512856
000
100

simplify129.0ms (2.5%)

Algorithm
egg-herbie
Rules
655×fma-neg_binary64
550×cancel-sign-sub-inv_binary64
491×unswap-sqr_binary64
467×associate-*l*_binary64
281×sub-neg_binary64
Counts
208 → 160
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0311128
1881032
2193959
3541935
41496865
54148865
65049865

prune287.0ms (5.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1890189
Fresh011
Picked011
Done000
Total1892191
Error
0b
Counts
191 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 (pow.f64 m 3) v) (-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1)))
0.4b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) (-.f64 1 m))
Compiler

Compiled 6040 to 2776 computations (54% saved)

localize14.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series44.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

25.0ms
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) (-.f64 1 m))
19.0ms
(*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v))

rewrite102.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
847×prod-diff_binary64
191×expm1-udef_binary64
190×log1p-udef_binary64
112×add-sqr-sqrt_binary64
105×log1p-expm1-u_binary64
Counts
2 → 60
Calls

2 calls:

99.0ms
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) (-.f64 1 m))
99.0ms
(*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01029
122327
2285627
3501127
000
100

simplify106.0ms (2%)

Algorithm
egg-herbie
Rules
391×fma-def_binary64
343×distribute-rgt-out_binary64
338×neg-sub0_binary64
324×neg-mul-1_binary64
298×div-sub_binary64
Counts
108 → 83
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034773
199747
2237735
3629671
42280671
54283671
64943671

prune124.0ms (2.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh000
Picked011
Done011
Total83285
Error
0b
Counts
85 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 (pow.f64 m 3) v) (-.f64 (+.f64 m (/.f64 m v)) (fma.f64 2 (/.f64 (*.f64 m m) v) 1)))
0.4b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) (-.f64 1 m))
Compiler

Compiled 1494 to 1012 computations (32.3% saved)

regimes573.0ms (11%)

Accuracy

Total 0.0b remaining (56.8%)

Threshold costs 0.0b (56.8%)

Counts
108 → 1
Compiler

Compiled 5289 to 3813 computations (27.9% saved)

simplify4.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
01529
12129
22529
32729
42829
52729

end111.0ms (2.1%)

Compiler

Compiled 83 to 55 computations (33.7% saved)

Profiling

Loading profile data...