Details

Time bar (total: 5.1s)

analyze64.0ms (1.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 24 to 17 computations (29.2% saved)

sample1.2s (24%)

Results
903.0ms8256×body128valid
5.0ms46×body128invalid
Compiler

Compiled 61 to 43 computations (29.5% saved)

simplify132.0ms (2.6%)

Algorithm
egg-herbie
Rules
1186×fma-def_binary64
913×fma-neg_binary64
520×distribute-rgt-in_binary64
481×div-sub_binary64
441×unsub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0916
12016
23914
37814
423314
552914
697614
7168614
8174614
9195214
10233414
11281814
12310414
13456014
14419514
15479914

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

Compiled 73 to 49 computations (32.9% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series24.0ms (0.5%)

Counts
3 → 56
Calls

3 calls:

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

rewrite237.0ms (4.6%)

Algorithm
egg-rewrite
Rules
63×egg
58×egg
39×egg
Counts
3 → 160
Calls

3 calls:

96.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
86.0ms
(*.f64 m (-.f64 1 m))
53.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
120116
2271614
3499714
4536914
0710
115010
2202710
3530510
057
11037
212377
349177
454417

simplify67.0ms (1.3%)

Algorithm
egg-herbie
Rules
577×unsub-neg_binary64
458×fma-def_binary64
426×associate-/l*_binary64
379×fma-neg_binary64
318×div-sub_binary64
Counts
216 → 182
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027638
166584
2135584
3341584
41077584
53918584
64987584

prune161.0ms (3.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1766182
Fresh101
Picked101
Done000
Total1786184
Error
0.0b
Counts
184 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) m)
0.8b
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 2) (*.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) m))
0.1b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m) (neg.f64 m))
12.4b
(/.f64 (*.f64 (+.f64 (pow.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 2) -1) m) (fma.f64 (/.f64 m v) (-.f64 1 m) 1))
38.2b
(*.f64 (sqrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) (*.f64 (sqrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) m))
6.2b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
Compiler

Compiled 3075 to 1931 computations (37.2% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series30.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

15.0ms
(*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m)
14.0ms
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m) (neg.f64 m))

rewrite162.0ms (3.1%)

Algorithm
egg-rewrite
Rules
110×egg
52×egg
Counts
2 → 162
Calls

2 calls:

91.0ms
(*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m)
68.0ms
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m) (neg.f64 m))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0813
117213
2234013
3497813
4532713
01016
122512
2274812
3523412

simplify75.0ms (1.4%)

Algorithm
egg-herbie
Rules
709×fma-neg_binary64
621×unsub-neg_binary64
320×div-sub_binary64
294×distribute-rgt-in_binary64
284×associate-/r/_binary64
Counts
210 → 175
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
025614
162614
2149614
3416614
41407614
54198614
65101614

prune251.0ms (4.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3053308
Fresh325
Picked011
Done000
Total3086314
Error
0b
Counts
314 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m) (neg.f64 m))
0.3b
(+.f64 (*.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) m) (neg.f64 m))
6.2b
(+.f64 (/.f64 (*.f64 (pow.f64 m 2) (-.f64 1 m)) v) (neg.f64 m))
12.4b
(/.f64 (*.f64 (+.f64 (pow.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 2) -1) m) (fma.f64 (/.f64 m v) (-.f64 1 m) 1))
0.3b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (/.f64 m (sqrt.f64 v))) (neg.f64 m))
0.8b
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 2) (*.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) m))
Compiler

Compiled 5457 to 2279 computations (58.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series115.0ms (2.2%)

Counts
4 → 72
Calls

4 calls:

37.0ms
(+.f64 (*.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) m) (neg.f64 m))
28.0ms
(*.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) m)
28.0ms
(/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v))
21.0ms
(/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v))

rewrite312.0ms (6.1%)

Algorithm
egg-rewrite
Rules
107×egg
81×egg
58×egg
51×egg
Counts
4 → 297
Calls

4 calls:

109.0ms
(+.f64 (*.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) m) (neg.f64 m))
74.0ms
(*.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) m)
65.0ms
(/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v))
59.0ms
(/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
119410
2269610
3515510
0812
116912
2221912
3574012
01013
121613
2301813
3573113
01216
126912
2338912
3494112
4506212

simplify81.0ms (1.6%)

Algorithm
egg-herbie
Rules
593×fma-def_binary64
413×fma-neg_binary64
358×associate-/l*_binary64
342×cancel-sign-sub-inv_binary64
313×difference-of-squares_binary64
Counts
369 → 320
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
035875
186875
2171875
3434875
41342851
54073851
64882851

prune232.0ms (4.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3191320
Fresh134
Picked011
Done011
Total3206326
Error
0b
Counts
326 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m) (neg.f64 m))
0.3b
(+.f64 (*.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) m) (neg.f64 m))
6.2b
(+.f64 (/.f64 (*.f64 (pow.f64 m 2) (-.f64 1 m)) v) (neg.f64 m))
12.4b
(/.f64 (*.f64 (+.f64 (pow.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 2) -1) m) (fma.f64 (/.f64 m v) (-.f64 1 m) 1))
0.2b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m)) (neg.f64 m))
0.8b
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 2) (*.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) m))
Compiler

Compiled 6052 to 2619 computations (56.7% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m)) (neg.f64 m))
0.2b
(*.f64 (pow.f64 v -1/2) m)
0.2b
(/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v))
0.3b
(*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m))

series137.0ms (2.7%)

Counts
3 → 56
Calls

3 calls:

69.0ms
(*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m))
53.0ms
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m)) (neg.f64 m))
15.0ms
(*.f64 (pow.f64 v -1/2) m)

rewrite265.0ms (5.1%)

Algorithm
egg-rewrite
Rules
104×egg
54×egg
47×egg
Counts
3 → 205
Calls

3 calls:

113.0ms
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m)) (neg.f64 m))
108.0ms
(*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m))
40.0ms
(*.f64 (pow.f64 v -1/2) m)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01221
126016
2328016
3495616
4540116
067
11257
213537
349257
01424
131315
2369115
3499915
4488515

simplify95.0ms (1.8%)

Algorithm
egg-herbie
Rules
537×fma-def_binary64
521×fma-neg_binary64
420×cancel-sign-sub-inv_binary64
378×div-sub_binary64
311×difference-of-squares_binary64
Counts
261 → 221
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
027679
163679
2139679
3376670
41115646
53483646
64880646
75206646

prune274.0ms (5.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2850285
Fresh033
Picked011
Done022
Total2856291
Error
0b
Counts
291 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) m) (neg.f64 m))
0.3b
(+.f64 (*.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) m) (neg.f64 m))
6.2b
(+.f64 (/.f64 (*.f64 (pow.f64 m 2) (-.f64 1 m)) v) (neg.f64 m))
12.4b
(/.f64 (*.f64 (+.f64 (pow.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 2) -1) m) (fma.f64 (/.f64 m v) (-.f64 1 m) 1))
0.2b
(+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (*.f64 (pow.f64 v -1/2) m)) (neg.f64 m))
0.8b
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) 2) (*.f64 (cbrt.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1)) m))
Compiler

Compiled 5992 to 3243 computations (45.9% saved)

regimes1.1s (20.7%)

Accuracy

Total 0.1b remaining (84.5%)

Threshold costs 0.1b (84.5%)

Counts
323 → 1
Compiler

Compiled 16427 to 10700 computations (34.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
/-rgt-identity_binary64
unsub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01116
12116
22416
32516
42416

end92.0ms (1.8%)

Compiler

Compiled 140 to 93 computations (33.6% saved)

Profiling

Loading profile data...