Details

Time bar (total: 1.9s)

sample30.0ms

Algorithm
intervals
Results
12.0ms340×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1203
2223
3223

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 5.1b

Counts
2 → 1

localize13.0ms

Local error

Found 1 expressions with local error:

4.7b
(* x (+ 1.0 (* y y)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
9.0ms
(* x (+ 1.0 (* y y)))

series17.0ms

Counts
1 → 3
Calls
1 calls:
17.0ms
(* x (+ 1.0 (* y y)))

simplify91.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0144115
1712101
23303100
35003100

prune43.0ms

Filtered
17 candidates to 25 candidates (-47.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New21425
Fresh000
Picked011
Done000
Total21526

Merged error: 4.9b

Counts
26 → 5

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (sqrt (+ 1.0 (* y y))))
0.1b
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
4.7b
(sqrt (+ 1.0 (* y y)))
4.7b
(sqrt (+ 1.0 (* y y)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-div
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 83
Calls
4 calls:
6.0ms
(* x (sqrt (+ 1.0 (* y y))))
9.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
2.0ms
(sqrt (+ 1.0 (* y y)))
2.0ms
(sqrt (+ 1.0 (* y y)))

series28.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* x (sqrt (+ 1.0 (* y y))))
10.0ms
(* (* x (sqrt (+ 1.0 (* y y)))) (sqrt (+ 1.0 (* y y))))
4.0ms
(sqrt (+ 1.0 (* y y)))
4.0ms
(sqrt (+ 1.0 (* y y)))

simplify40.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0306681
11316604
25002594

prune144.0ms

Filtered
67 candidates to 95 candidates (-41.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh033
Picked011
Done011
Total946100

Merged error: 4.9b

Counts
100 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

3.9b
(* x (* (sqrt (+ 1.0 (* y y))) (fabs (cbrt (+ 1.0 (* y y))))))
4.7b
(sqrt (+ 1.0 (* y y)))
4.9b
(cbrt (+ 1.0 (* y y)))
4.9b
(cbrt (+ 1.0 (* y y)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
cbrt-prod
cbrt-div flip3-+ sqrt-div flip-+ add-log-exp
associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod
pow1/3 associate-*r/ associate-*l/
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r* *-commutative
Counts
4 → 61
Calls
4 calls:
7.0ms
(* x (* (sqrt (+ 1.0 (* y y))) (fabs (cbrt (+ 1.0 (* y y))))))
2.0ms
(sqrt (+ 1.0 (* y y)))
2.0ms
(cbrt (+ 1.0 (* y y)))
2.0ms
(cbrt (+ 1.0 (* y y)))

series50.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* x (* (sqrt (+ 1.0 (* y y))) (fabs (cbrt (+ 1.0 (* y y))))))
4.0ms
(sqrt (+ 1.0 (* y y)))
12.0ms
(cbrt (+ 1.0 (* y y)))
12.0ms
(cbrt (+ 1.0 (* y y)))

simplify39.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0385703
11394643
25001631

prune203.0ms

Filtered
62 candidates to 73 candidates (-17.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New73073
Fresh033
Picked011
Done022
Total73679

Merged error: 4.9b

Counts
79 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y y) (* y y))
1.2b
(* x (+ (pow 1.0 3) (pow y 6)))
4.0b
(- (* (* y y) (* y y)) (* 1.0 (* y y)))
12.1b
(/ (* x (+ (pow 1.0 3) (pow y 6))) (+ (* 1.0 1.0) (- (* (* y y) (* y y)) (* 1.0 (* y y)))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
117×pow1
36×pow-prod-up
24×pow-prod-down
23×add-exp-log add-cbrt-cube
22×pow-sqr
18×pow-plus
13×pow2
10×add-sqr-sqrt *-un-lft-identity prod-exp cbrt-unprod
add-cube-cbrt
add-log-exp
associate-*r*
associate-*r/ associate-*l*
flip3-+ times-frac associate-/r* flip-+
cbrt-undiv div-exp associate-/r/ *-commutative associate-/l/ unswap-sqr
distribute-rgt-in sub-neg flip3-- distribute-rgt-out-- frac-2neg distribute-lft-in diff-log swap-sqr clear-num flip-- div-inv distribute-lft-out associate-/l*
Counts
4 → 124
Calls
4 calls:
8.0ms
(* (* y y) (* y y))
10.0ms
(* x (+ (pow 1.0 3) (pow y 6)))
9.0ms
(- (* (* y y) (* y y)) (* 1.0 (* y y)))
22.0ms
(/ (* x (+ (pow 1.0 3) (pow y 6))) (+ (* 1.0 1.0) (- (* (* y y) (* y y)) (* 1.0 (* y y)))))

series87.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* y y) (* y y))
25.0ms
(* x (+ (pow 1.0 3) (pow y 6)))
8.0ms
(- (* (* y y) (* y y)) (* 1.0 (* y y)))
51.0ms
(/ (* x (+ (pow 1.0 3) (pow y 6))) (+ (* 1.0 1.0) (- (* (* y y) (* y y)) (* 1.0 (* y y)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0484808
12568663
25002652

prune162.0ms

Filtered
68 candidates to 136 candidates (-100.0%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1360136
Fresh022
Picked011
Done033
Total1366142

Merged error: 4.9b

Counts
142 → 6

regimes223.0ms

Accuracy

0% (0.2b remaining)

Error of 5.5b against oracle of 5.3b and baseline of 5.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample483.0ms

Algorithm
intervals
Results
231.0ms10686×body80valid

Profiling

Loading profile data...