Details

Time bar (total: 1.4s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
1114
2144
3144

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.9b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* x x))
30.7b
(sqrt (+ (* x x) (* x x)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-prod
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log distribute-rgt-out flip3-+ count-2 sqrt-div add-cbrt-cube flip-+ distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 32
Calls
2 calls:
3.0ms
(+ (* x x) (* x x))
4.0ms
(sqrt (+ (* x x) (* x x)))

series12.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(+ (* x x) (* x x))
4.0ms
(sqrt (+ (* x x) (* x x)))

simplify239.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (236.0ms)

IterNodesCost
099167
1443152
23106141
35002139

prune49.0ms

Filtered
38 candidates to 27 candidates (28.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34438
Fresh000
Picked011
Done000
Total34539

Merged error: 0.2b

Counts
39 → 5

localize6.0ms

Local error

Found 1 expressions with local error:

0.4b
(* (sqrt 2) (fabs x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*l*
add-cube-cbrt *-un-lft-identity sqrt-prod
pow1 add-exp-log associate-*r* add-cbrt-cube
unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp
Counts
1 → 22
Calls
1 calls:
4.0ms
(* (sqrt 2) (fabs x))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(* (sqrt 2) (fabs x))

simplify81.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
065115
1224107
2526107
3884107
42528107
55001107

prune41.0ms

Filtered
25 candidates to 15 candidates (40.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New21425
Fresh303
Picked011
Done011
Total24630

Merged error: 0.0b

Counts
30 → 6

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (cbrt (sqrt 2)) (fabs x))
0.3b
(* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (fabs x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log
12×add-sqr-sqrt
10×associate-*l*
pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
cbrt-prod
add-cube-cbrt *-un-lft-identity
associate-*r* sqrt-prod
unswap-sqr
*-commutative add-log-exp
Counts
2 → 48
Calls
2 calls:
5.0ms
(* (cbrt (sqrt 2)) (fabs x))
10.0ms
(* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (fabs x)))

series25.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(* (cbrt (sqrt 2)) (fabs x))
4.0ms
(* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (fabs x)))

simplify132.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0155464
1674347
24101308
35001296

prune100.0ms

Filtered
54 candidates to 33 candidates (38.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New52254
Fresh213
Picked011
Done022
Total54660

Merged error: 0b

Counts
60 → 6

localize12.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (fabs x) (pow (sqrt 2) 2/3))
0.3b
(* (cbrt (sqrt 2)) (* (fabs x) (pow (sqrt 2) 2/3)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log
16×add-sqr-sqrt
12×associate-*l*
11×associate-*r*
10×prod-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down
sqrt-prod add-cbrt-cube
cbrt-prod
pow1 cbrt-unprod unswap-sqr
pow-to-exp pow-exp *-commutative add-log-exp sqr-pow
pow-prod-down
Counts
2 → 54
Calls
2 calls:
6.0ms
(* (fabs x) (pow (sqrt 2) 2/3))
8.0ms
(* (cbrt (sqrt 2)) (* (fabs x) (pow (sqrt 2) 2/3)))

series32.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(* (fabs x) (pow (sqrt 2) 2/3))
4.0ms
(* (cbrt (sqrt 2)) (* (fabs x) (pow (sqrt 2) 2/3)))

simplify145.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
0191430
1756369
24155352
35002313

prune91.0ms

Filtered
60 candidates to 39 candidates (35.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New59160
Fresh112
Picked011
Done213
Total62466

Merged error: 0b

Counts
66 → 4

regimes36.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01010
11010

end0.0ms

sample318.0ms

Algorithm
intervals
Results
184.0ms8001×body80valid

Profiling

Loading profile data...