Details

Time bar (total: 3.4s)

analyze342.0ms (10%)

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)

sample27.0ms (0.8%)

Algorithm
intervals
Results
10.0ms256×body128valid
6.0ms261×pre128true
0.0msbody128invalid
Compiler

Compiled 39 to 28 computations (28.2% saved)

simplify117.0ms (3.4%)

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

Compiled 73 to 49 computations (32.9% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series36.0ms (1.1%)

Counts
4 → 80
Calls

4 calls:

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

rewrite38.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt_binary64
49×*-un-lft-identity_binary64
40×add-cube-cbrt_binary64
39×prod-diff_binary64
19×add-exp-log_binary64
Counts
4 → 153
Calls

4 calls:

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

simplify110.0ms (3.2%)

Algorithm
egg-herbie
Rules
589×fma-def_binary64
482×distribute-rgt-in_binary64
447×distribute-lft-in_binary64
328×fma-neg_binary64
240×associate-*l*_binary64
Counts
233 → 245
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02013371
14132852
216882595
345072594
449222594

prune243.0ms (7.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2387245
Fresh101
Picked101
Done000
Total2407247
Error
0b
Counts
247 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) m)
9.8b
(*.f64 (+.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) (*.f64 (-.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) m))
13.0b
(/.f64 (*.f64 (-.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) (/.f64 (*.f64 m (-.f64 1 m)) v)) (*.f64 1 1)) m) (+.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))
6.0b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
0.6b
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m)) (sqrt.f64 m))
1.5b
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (*.f64 (cbrt.f64 m) (cbrt.f64 m))) (cbrt.f64 m))
0.2b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) m)
Compiler

Compiled 5111 to 3120 computations (39% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series33.0ms (1%)

Counts
3 → 72
Calls

3 calls:

13.0ms
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) m)
10.0ms
(*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v))
9.0ms
(-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1)

rewrite34.0ms (1%)

Algorithm
rewrite-expression-head
Rules
50×add-exp-log_binary64
25×prod-exp_binary64
17×add-cbrt-cube_binary64
16×associate-*r*_binary64
16×add-sqr-sqrt_binary64
Counts
3 → 95
Calls

3 calls:

10.0ms
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) m)
9.0ms
(*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v))
8.0ms
(-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1)

simplify104.0ms (3%)

Algorithm
egg-herbie
Rules
563×fma-neg_binary64
426×distribute-rgt-in_binary64
418×distribute-lft-in_binary64
269×*-commutative_binary64
264×fma-def_binary64
Counts
167 → 166
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01552272
13621923
211331908
337101902
446261902
550111902

prune201.0ms (5.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2361237
Fresh246
Picked011
Done000
Total2386244
Error
0b
Counts
244 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) m)
9.8b
(*.f64 (+.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) (*.f64 (-.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) m))
0.6b
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m)) (sqrt.f64 m))
27.5b
(*.f64 (/.f64 m v) (-.f64 m (*.f64 m m)))
0.2b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) m)
6.0b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
Compiler

Compiled 4936 to 3083 computations (37.5% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 m (-.f64 1 m))
0.1b
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) 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))

series98.0ms (2.9%)

Counts
3 → 52
Calls

3 calls:

43.0ms
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) m)
31.0ms
(/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v))
24.0ms
(/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v))

rewrite54.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
114×times-frac_binary64
72×add-sqr-sqrt_binary64
63×sqrt-prod_binary64
57×*-un-lft-identity_binary64
52×add-cube-cbrt_binary64
Counts
3 → 158
Calls

3 calls:

23.0ms
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) m)
8.0ms
(/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v))
8.0ms
(/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v))

simplify128.0ms (3.8%)

Algorithm
egg-herbie
Rules
553×associate-/r*_binary64
505×associate-*r/_binary64
392×associate-/r/_binary64
323×distribute-rgt-in_binary64
310×distribute-lft-in_binary64
Counts
210 → 236
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02174321
15163995
216373840
347223840
449613840

prune239.0ms (7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3070307
Fresh044
Picked011
Done011
Total3076313
Error
0b
Counts
313 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) m)
9.8b
(*.f64 (+.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) (*.f64 (-.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) m))
0.6b
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m)) (sqrt.f64 m))
27.5b
(*.f64 (/.f64 m v) (-.f64 m (*.f64 m m)))
0.2b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) m)
6.0b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
Compiler

Compiled 7304 to 3552 computations (51.4% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series53.0ms (1.5%)

Counts
4 → 72
Calls

4 calls:

21.0ms
(*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m))
17.0ms
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m)) (sqrt.f64 m))
8.0ms
(fma.f64 m (/.f64 (-.f64 1 m) v) -1)
6.0ms
(/.f64 (-.f64 1 m) v)

rewrite19.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt_binary64
32×*-un-lft-identity_binary64
20×add-cube-cbrt_binary64
18×times-frac_binary64
13×add-cbrt-cube_binary64
Counts
4 → 101
Calls

4 calls:

5.0ms
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m)) (sqrt.f64 m))
5.0ms
(/.f64 (-.f64 1 m) v)
4.0ms
(*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m))
0.0ms
(fma.f64 m (/.f64 (-.f64 1 m) v) -1)

simplify114.0ms (3.3%)

Algorithm
egg-herbie
Rules
645×fma-neg_binary64
339×div-sub_binary64
261×exp-prod_binary64
251×times-frac_binary64
238×*-commutative_binary64
Counts
173 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01672812
13792480
210392349
331162347
445442347
550362347

prune104.0ms (3.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh033
Picked011
Done022
Total1686174
Error
0b
Counts
174 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 (/.f64 (/.f64 (*.f64 m (-.f64 1 m)) (sqrt.f64 v)) (sqrt.f64 v)) 1) m)
9.8b
(*.f64 (+.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) (*.f64 (-.f64 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)) 1) m))
0.6b
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m)) (sqrt.f64 m))
27.5b
(*.f64 (/.f64 m v) (-.f64 m (*.f64 m m)))
0.2b
(*.f64 (-.f64 (*.f64 (*.f64 m (-.f64 1 m)) (/.f64 1 v)) 1) m)
6.0b
(-.f64 (/.f64 (pow.f64 m 2) v) (+.f64 (/.f64 (pow.f64 m 3) v) m))
Compiler

Compiled 3373 to 1787 computations (47% saved)

regimes424.0ms (12.4%)

Accuracy

Total 0.2b remaining (87.2%)

Threshold costs 0.2b (87.2%)

Counts
147 → 1
Compiler

Compiled 7293 to 4948 computations (32.2% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11617
21917
32117
42217
52117

end0.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

sample864.0ms (25.2%)

Algorithm
intervals
Results
332.0ms8000×body128valid
172.0ms8062×pre128true
3.0ms62×body128invalid
Compiler

Compiled 139 to 95 computations (31.7% saved)

Profiling

Loading profile data...