Details

Time bar (total: 2.2s)

sample26.0ms

Algorithm
intervals
Results
13.0ms463×body80valid

simplify277.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131834
1250014

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
5.0ms
(+ (+ (* x x) (* y y)) (* y y))
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series21.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
9.0ms
(+ (+ (* x x) (* y y)) (* y y))
7.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify124.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune73.0ms

Filtered
47 candidates to 35 candidates (25.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New39847
Fresh000
Picked101
Done000
Total40848

Merged error: 0.0b

Counts
48 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity add-cbrt-cube
distribute-rgt-in associate-+l+ distribute-lft-in
Counts
2 → 30
Calls
2 calls:
3.0ms
(+ (* x x) (* y y))
6.0ms
(+ (+ (* x x) (* y y)) (* y (+ y y)))

series12.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* x x) (* y y))
6.0ms
(+ (+ (* x x) (* y y)) (* y (+ y y)))

simplify50.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0276338
11408275
25001242

prune53.0ms

Filtered
36 candidates to 27 candidates (25.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh617
Picked011
Done000
Total39544

Merged error: 0.0b

Counts
44 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* (* 3 y) y))
0.2b
(* (* 3 y) y)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
3.0ms
(+ (* x x) (* (* 3 y) y))
5.0ms
(* (* 3 y) y)

series11.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* x x) (* (* 3 y) y))
4.0ms
(* (* 3 y) y)

simplify180.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (176.0ms)

IterNodesCost
0173161
1862143
24332138
35002137

prune41.0ms

Filtered
35 candidates to 22 candidates (37.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New32335
Fresh303
Picked011
Done011
Total35540

Merged error: 0.0b

Counts
40 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3 y) y)
0.3b
(* (sqrt (* (* 3 y) y)) (sqrt (* (* 3 y) y)))
20.2b
(sqrt (* (* 3 y) y))
20.2b
(sqrt (* (* 3 y) y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
17×pow-prod-up
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
associate-*l*
swap-sqr prod-exp cbrt-unprod add-log-exp
*-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 108
Calls
4 calls:
5.0ms
(* (* 3 y) y)
11.0ms
(* (sqrt (* (* 3 y) y)) (sqrt (* (* 3 y) y)))
3.0ms
(sqrt (* (* 3 y) y))
3.0ms
(sqrt (* (* 3 y) y))

series16.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3 y) y)
6.0ms
(* (sqrt (* (* 3 y) y)) (sqrt (* (* 3 y) y)))
3.0ms
(sqrt (* (* 3 y) y))
3.0ms
(sqrt (* (* 3 y) y))

simplify41.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0178365
1984307
25002269

prune99.0ms

Filtered
120 candidates to 51 candidates (57.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1182120
Fresh112
Picked101
Done022
Total1205125

Merged error: 0b

Counts
125 → 5

regimes164.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample931.0ms

Algorithm
intervals
Results
585.0ms14235×body80valid

Profiling

Loading profile data...