Details

Time bar (total: 1.6s)

analyze74.0ms (4.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
25%40.6%34.4%7
31.2%25%43.8%8
39%17.2%43.8%9
42.9%13.3%43.8%10
47.2%9%43.8%11
49.4%6.8%43.8%12
51.6%4.6%43.8%13
52.7%3.5%43.8%14

sample15.0ms (0.9%)

Algorithm
intervals
Results
8.0ms256×body80valid

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0239
1239

prune8.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize11.0ms (0.7%)

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 2.0) (* x x))
0.0b
(+ (+ (* x 2.0) (* x x)) (* y y))

rewrite11.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+ distribute-lft-out
Counts
2 → 25
Calls

2 calls:

6.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
4.0ms
(+ (* x 2.0) (* x x))

series12.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

6.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
6.0ms
(+ (* x 2.0) (* x x))

simplify52.0ms (3.2%)

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05263302

prune53.0ms (3.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New29231
Fresh101
Picked011
Done000
Total30333

Merged error: 0.0b

Counts
33 → 3

localize9.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.0b
(* x (+ x 2.0))
0.0b
(+ (* y y) (* x (+ x 2.0)))
0.0b
(+ (* y y) (* x (+ x 2.0)))
0.1b
(* (sqrt (+ (* y y) (* x (+ x 2.0)))) (sqrt (+ (* y y) (* x (+ x 2.0)))))

rewrite30.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
21×pow1
18×sqrt-prod
16×*-un-lft-identity
14×add-cube-cbrt
12×sqrt-div
10×associate-*r*
flip3-+ associate-*l* flip-+
add-exp-log sqrt-pow1 pow1/2 swap-sqr add-cbrt-cube add-log-exp
pow-prod-up unswap-sqr
frac-times associate-+r+ associate-*r/ pow-prod-down
distribute-rgt-in distribute-lft-in pow-sqr
+-commutative associate-*l/ prod-exp sum-log *-commutative cbrt-unprod
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out
Counts
4 → 106
Calls

4 calls:

12.0ms
(* (sqrt (+ (* y y) (* x (+ x 2.0)))) (sqrt (+ (* y y) (* x (+ x 2.0)))))
6.0ms
(* x (+ x 2.0))
4.0ms
(+ (* y y) (* x (+ x 2.0)))
4.0ms
(+ (* y y) (* x (+ x 2.0)))

series24.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

7.0ms
(* (sqrt (+ (* y y) (* x (+ x 2.0)))) (sqrt (+ (* y y) (* x (+ x 2.0)))))
6.0ms
(+ (* y y) (* x (+ x 2.0)))
6.0ms
(+ (* y y) (* x (+ x 2.0)))
4.0ms
(* x (+ x 2.0))

simplify54.0ms (3.3%)

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
053771360

prune206.0ms (12.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh011
Picked011
Done011
Total1183121

Merged error: 0.0b

Counts
121 → 3

localize19.0ms (1.2%)

Local error

Found 4 expressions with local error:

0.1b
(pow (* x (+ x 2.0)) 3)
0.1b
(* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y)))
2.2b
(+ (pow y 4) (* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y))))
39.2b
(/ (+ (pow (* x (+ x 2.0)) 3) (pow y 6)) (+ (pow y 4) (* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y)))))

rewrite40.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
15×add-sqr-sqrt add-cube-cbrt
14×add-exp-log add-cbrt-cube
12×pow1 times-frac
10×distribute-rgt-in distribute-lft-in associate-*r/
associate--l+
flip3-+ flip-+
associate-+r+ add-log-exp
frac-times sub-neg pow-prod-down prod-exp cbrt-unprod distribute-lft-out associate-/l*
pow-unpow flip3-- associate-*r* associate-/r* flip--
cube-div pow-pow associate-*l/ pow-exp associate-/r/ associate-/l/ rem-cube-cbrt
cbrt-undiv +-commutative cube-mult pow-to-exp unpow-prod-down frac-2neg unpow3 cube-prod div-exp associate-*l* clear-num sum-log *-commutative div-inv sqr-pow
Counts
4 → 108
Calls

4 calls:

13.0ms
(/ (+ (pow (* x (+ x 2.0)) 3) (pow y 6)) (+ (pow y 4) (* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y)))))
13.0ms
(* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y)))
6.0ms
(pow (* x (+ x 2.0)) 3)
6.0ms
(+ (pow y 4) (* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y))))

series69.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

31.0ms
(/ (+ (pow (* x (+ x 2.0)) 3) (pow y 6)) (+ (pow y 4) (* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y)))))
24.0ms
(+ (pow y 4) (* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y))))
11.0ms
(* (* x (+ x 2.0)) (- (* x (+ x 2.0)) (* y y)))
3.0ms
(pow (* x (+ x 2.0)) 3)

simplify57.0ms (3.4%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050182882

prune350.0ms (21.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done022
Total1203123

Merged error: 0.0b

Counts
123 → 3

regimes190.0ms (11.5%)

Accuracy

Total 0.0b remaining (70.6%)

Threshold costs 0.0b (70.6%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01111
11111

end0.0ms (0%)

sample360.0ms (21.8%)

Algorithm
intervals
Results
237.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...