Details

Time bar (total: 3.3s)

sample26.0ms

Algorithm
intervals
Results
14.0ms438×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0176
1375
2465
3465

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite43.0ms

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:
18.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
24.0ms
(* y (+ (* x 2.0) y))

series63.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
37.0ms
(* y (+ (* x 2.0) y))

simplify39.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0222234
11119217
25001217

prune71.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite113.0ms

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 unpow2
Counts
2 → 25
Calls
2 calls:
94.0ms
(+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))
19.0ms
(+ (* y (* x 2.0)) (pow y 2))

series62.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))
38.0ms
(+ (* y (* x 2.0)) (pow y 2))

simplify139.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0180240
1892220
24086208
35001208

prune64.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y (* x 2.0)) (pow y 2))
0.0b
(* (sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))) (sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))))
6.1b
(sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x)))
6.1b
(sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x)))

rewrite656.0ms

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-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod distribute-lft-out unpow2
Counts
4 → 99
Calls
4 calls:
19.0ms
(+ (* y (* x 2.0)) (pow y 2))
428.0ms
(* (sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))) (sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))))
102.0ms
(sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x)))
104.0ms
(sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ (* y (* x 2.0)) (pow y 2))
26.0ms
(* (sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))) (sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x))))
54.0ms
(sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x)))
58.0ms
(sqrt (+ (+ (* y (* x 2.0)) (pow y 2)) (* x x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
02661211
112691091
250021037

prune219.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y y) (* (* x 2.0) y))
0.5b
(+ (pow (* x 2.0) 3) (pow y 3))
4.3b
(* y (+ (pow (* x 2.0) 3) (pow y 3)))
24.4b
(/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1
associate-*r*
flip3-+ associate-*r/ flip-+
times-frac associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp associate-/r/ sum-cubes cbrt-unprod associate-/l/ distribute-lft-out
+-commutative distribute-rgt-in sub-neg flip3-- distribute-rgt-out-- frac-2neg distribute-lft-in diff-log pow-prod-down clear-num sum-log *-commutative flip-- div-inv associate-/l* unswap-sqr
Counts
4 → 75
Calls
4 calls:
8.0ms
(- (* y y) (* (* x 2.0) y))
16.0ms
(+ (pow (* x 2.0) 3) (pow y 3))
54.0ms
(* y (+ (pow (* x 2.0) 3) (pow y 3)))
81.0ms
(/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

series293.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* y y) (* (* x 2.0) y))
60.0ms
(+ (pow (* x 2.0) 3) (pow y 3))
63.0ms
(* y (+ (pow (* x 2.0) 3) (pow y 3)))
127.0ms
(/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

simplify92.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
0418882
12450754
25001746

prune239.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes31.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample652.0ms

Algorithm
intervals
Results
368.0ms14002×body80valid