Details

Time bar (total: 1.3s)

analyze99.0ms (7.4%)

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%46.8%28.2%7
31.2%35.9%32.9%8
39%25%36%9
42.9%18.7%38.3%10
47.2%12.9%39.9%11
49.4%9.6%41.1%12
51.6%6.5%41.9%13
52.7%4.8%42.4%14

sample19.0ms (1.4%)

Algorithm
intervals
Results
11.0ms256×body80valid
0.0msbody80invalid

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03711
13711

prune7.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

localize7.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

rewrite11.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 35
Calls

2 calls:

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

series11.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

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

simplify48.0ms (3.6%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05035439

prune60.0ms (4.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh011
Picked101
Done000
Total40343

Merged error: 0.0b

Counts
43 → 3

localize6.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

rewrite14.0ms (1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 35
Calls

2 calls:

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

series11.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

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

simplify37.0ms (2.7%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04977439
14977439

prune64.0ms (4.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh022
Picked011
Done000
Total40444

Merged error: 0b

Counts
44 → 4

localize8.0ms (0.6%)

Local error

Found 2 expressions with local error:

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

rewrite12.0ms (0.9%)

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+
Counts
2 → 24
Calls

2 calls:

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

series12.0ms (0.9%)

Counts
2 → 6
Calls

2 calls:

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

simplify45.0ms (3.4%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04998373
14998373

prune47.0ms (3.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New30030
Fresh022
Picked011
Done011
Total30434

Merged error: 0b

Counts
34 → 4

localize10.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

rewrite29.0ms (2.2%)

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

4 calls:

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

series33.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

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

simplify45.0ms (3.3%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050071740

prune201.0ms (14.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1111112
Fresh101
Picked101
Done022
Total1133116

Merged error: 0b

Counts
116 → 3

regimes105.0ms (7.8%)

Accuracy

Total 0.0b remaining (22.5%)

Threshold costs 0.0b (22.5%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01211
11211

end0.0ms (0%)

sample401.0ms (29.8%)

Algorithm
intervals
Results
270.0ms8000×body80valid
6.0ms193×body80invalid

Profiling

Loading profile data...