Details

Time bar (total: 4.2s)

analyze65.0ms (1.5%)

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 (29.3%)

Results
931.0ms8256×body128valid
7.0ms68×body128invalid
Compiler

Compiled 61 to 43 computations (29.5% saved)

simplify120.0ms (2.8%)

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.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.5b
(*.f64 m (fma.f64 m (/.f64 (-.f64 1 m) v) -1))
0.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
Compiler

Compiled 73 to 49 computations (32.9% saved)

localize8.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.0b
(/.f64 (*.f64 m (-.f64 1 m)) v)
0.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)

series37.0ms (0.9%)

Counts
4 → 80
Calls

4 calls:

14.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
11.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))

rewrite39.0ms (0.9%)

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)
6.0ms
(*.f64 m (-.f64 1 m))
6.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)

simplify104.0ms (2.5%)

Algorithm
egg-herbie
Rules
589×fma-def_binary64
481×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
02013059
14132618
216882595
345072594
449222594

prune261.0ms (6.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2369245
Fresh101
Picked101
Done000
Total2389247
Error
0b
Counts
247 → 9
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 (/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v) 1) m)
1.1b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1)) (cbrt.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))) (*.f64 m (cbrt.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1))))
0.3b
(*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) m)
1.7b
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (*.f64 (cbrt.f64 m) (cbrt.f64 m))) (cbrt.f64 m))
33.3b
(/.f64 (*.f64 (-.f64 m (pow.f64 m 2)) m) v)
12.3b
(/.f64 (*.f64 m (fma.f64 (/.f64 (-.f64 m (*.f64 m m)) v) (/.f64 (-.f64 m (*.f64 m m)) v) -1)) (+.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))
18.7b
(/.f64 (*.f64 m (+.f64 -1 (pow.f64 (/.f64 (-.f64 m (*.f64 m m)) v) 3))) (+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) (/.f64 (*.f64 m (-.f64 1 m)) v)) (+.f64 (*.f64 1 1) (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))))
0.9b
(*.f64 (*.f64 (fma.f64 m (/.f64 (-.f64 1 m) v) -1) (sqrt.f64 m)) (sqrt.f64 m))
0.4b
(*.f64 (fma.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v)) -1) m)
Compiler

Compiled 5241 to 3194 computations (39.1% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series60.0ms (1.4%)

Counts
4 → 92
Calls

4 calls:

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

rewrite74.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
198×times-frac_binary64
155×add-sqr-sqrt_binary64
141×*-un-lft-identity_binary64
123×add-cube-cbrt_binary64
96×prod-diff_binary64
Counts
4 → 289
Calls

4 calls:

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

simplify178.0ms (4.2%)

Algorithm
egg-herbie
Rules
486×associate-/l*_binary64
432×distribute-rgt-in_binary64
403×distribute-lft-in_binary64
325×associate-/r/_binary64
323×fma-def_binary64
Counts
381 → 411
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02186616
14685888
215245517
347405517
450015517

prune471.0ms (11.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4083411
Fresh448
Picked101
Done000
Total4137420
Error
0b
Counts
420 → 7
Alt Table
StatusErrorProgram
9.6b
(*.f64 (+.f64 (sqrt.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m))))) 1) (*.f64 m (+.f64 -1 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)))))
33.3b
(/.f64 (*.f64 (-.f64 m (pow.f64 m 2)) m) v)
0.4b
(*.f64 (fma.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v)) -1) m)
0.6b
(*.f64 (*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) (sqrt.f64 m)) (sqrt.f64 m))
0.3b
(*.f64 (-.f64 (/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v) 1) m)
0.2b
(*.f64 (+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) 0) m)
18.7b
(/.f64 (*.f64 m (+.f64 -1 (pow.f64 (/.f64 (-.f64 m (*.f64 m m)) v) 3))) (+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) (/.f64 (*.f64 m (-.f64 1 m)) v)) (+.f64 (*.f64 1 1) (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))))
Compiler

Compiled 10773 to 7984 computations (25.9% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series18.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

11.0ms
(*.f64 (+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) 0) m)
7.0ms
(fma.f64 (/.f64 m v) (-.f64 1 m) -1)

rewrite7.0ms (0.2%)

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

2 calls:

5.0ms
(*.f64 (+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) 0) m)
0.0ms
(fma.f64 (/.f64 m v) (-.f64 1 m) -1)

simplify86.0ms (2%)

Algorithm
egg-herbie
Rules
928×fma-def_binary64
573×fma-neg_binary64
348×div-sub_binary64
281×*-commutative_binary64
258×associate-*l/_binary64
Counts
81 → 70
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0771287
11561118
24531050
314351050
433231050
542801050
650501050

prune65.0ms (1.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New70070
Fresh066
Picked011
Done000
Total70777
Error
0b
Counts
77 → 7
Alt Table
StatusErrorProgram
9.6b
(*.f64 (+.f64 (sqrt.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m))))) 1) (*.f64 m (+.f64 -1 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)))))
33.3b
(/.f64 (*.f64 (-.f64 m (pow.f64 m 2)) m) v)
0.4b
(*.f64 (fma.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v)) -1) m)
0.6b
(*.f64 (*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) (sqrt.f64 m)) (sqrt.f64 m))
0.3b
(*.f64 (-.f64 (/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v) 1) m)
0.2b
(*.f64 (+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) 0) m)
18.7b
(/.f64 (*.f64 m (+.f64 -1 (pow.f64 (/.f64 (-.f64 m (*.f64 m m)) v) 3))) (+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) (/.f64 (*.f64 m (-.f64 1 m)) v)) (+.f64 (*.f64 1 1) (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))))
Compiler

Compiled 1512 to 925 computations (38.8% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series108.0ms (2.5%)

Counts
4 → 29
Calls

4 calls:

52.0ms
(*.f64 (-.f64 (/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v) 1) m)
34.0ms
(/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v)
15.0ms
(*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m)))
6.0ms
(fma.f64 m (sqrt.f64 m) m)

rewrite38.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt_binary64
46×*-un-lft-identity_binary64
38×add-cube-cbrt_binary64
36×prod-diff_binary64
27×sqrt-prod_binary64
Counts
4 → 139
Calls

4 calls:

9.0ms
(*.f64 (-.f64 (/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v) 1) m)
9.0ms
(*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m)))
8.0ms
(/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v)
0.0ms
(fma.f64 m (sqrt.f64 m) m)

simplify91.0ms (2.1%)

Algorithm
egg-herbie
Rules
905×times-frac_binary64
561×distribute-rgt-in_binary64
537×fma-def_binary64
173×associate-*l*_binary64
147×associate-*r*_binary64
Counts
168 → 193
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02113932
14283574
216463300
349793300

prune191.0ms (4.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1921193
Fresh145
Picked011
Done011
Total1937200
Error
0b
Counts
200 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (fma.f64 (/.f64 m (sqrt.f64 v)) (/.f64 (-.f64 1 m) (sqrt.f64 v)) -1) m)
0.6b
(*.f64 (*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) (sqrt.f64 m)) (sqrt.f64 m))
0.3b
(*.f64 (-.f64 (/.f64 (*.f64 (fma.f64 m (sqrt.f64 m) m) (-.f64 1 (sqrt.f64 m))) v) 1) m)
9.6b
(*.f64 (+.f64 (sqrt.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m))))) 1) (*.f64 m (+.f64 -1 (sqrt.f64 (/.f64 (*.f64 m (-.f64 1 m)) v)))))
0.2b
(*.f64 (+.f64 (fma.f64 (/.f64 m v) (-.f64 1 m) -1) 0) m)
18.7b
(/.f64 (*.f64 m (+.f64 -1 (pow.f64 (/.f64 (-.f64 m (*.f64 m m)) v) 3))) (+.f64 (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) (/.f64 (*.f64 m (-.f64 1 m)) v)) (+.f64 (*.f64 1 1) (*.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1))))
8.7b
(-.f64 (/.f64 (*.f64 m (-.f64 m (*.f64 m m))) v) m)
Compiler

Compiled 5531 to 2327 computations (57.9% saved)

regimes849.0ms (20%)

Accuracy

Total 0.2b remaining (87.2%)

Threshold costs 0.2b (87.2%)

Counts
249 → 1
Compiler

Compiled 16160 to 11499 computations (28.8% saved)

simplify2.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
0916
11716
22116
32316
42416
52216

end104.0ms (2.5%)

Compiler

Compiled 178 to 120 computations (32.6% saved)

Profiling

Loading profile data...