Details

Time bar (total: 2.4s)

sample21.0ms

Algorithm
intervals
Results
11.0ms468×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1254
2274
3274

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
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 distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
5.0ms
(* x (+ 2.0 x))
4.0ms
(+ (* y y) (* x (+ 2.0 x)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(* x (+ 2.0 x))
30.0ms
(+ (* y y) (* x (+ 2.0 x)))

simplify34.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206183
11038169
25001169

prune239.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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
Counts
2 → 25
Calls
2 calls:
5.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
3.0ms
(+ (* x 2.0) (* x x))

series85.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
55.0ms
(+ (* x 2.0) (* x x))

simplify98.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0182191
1887164
23634160
35002160

prune63.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
21×pow1
18×sqrt-prod
16×*-un-lft-identity
14×add-cube-cbrt
12×sqrt-div
10×associate-*r*
flip3-+ associate-*l* flip-+
add-exp-log sqrt-pow1 pow1/2 swap-sqr add-cbrt-cube add-log-exp
pow-prod-up unswap-sqr
frac-times associate-+r+ associate-*r/ pow-prod-down
distribute-rgt-in distribute-lft-in pow-sqr
+-commutative associate-*l/ prod-exp sum-log *-commutative cbrt-unprod
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out
Counts
4 → 106
Calls
4 calls:
6.0ms
(* x (+ 2.0 x))
4.0ms
(+ (* y y) (* x (+ 2.0 x)))
4.0ms
(+ (* y y) (* x (+ 2.0 x)))
11.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

series135.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* x (+ 2.0 x))
29.0ms
(+ (* y y) (* x (+ 2.0 x)))
32.0ms
(+ (* y y) (* x (+ 2.0 x)))
30.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0296831
11479753
25001732

prune211.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 2.0 x))
0.1b
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
1.7b
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
28.3b
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
27×*-un-lft-identity
20×add-exp-log add-cbrt-cube
18×pow-prod-down
17×add-sqr-sqrt
16×associate-*r/
15×add-cube-cbrt
12×times-frac
distribute-rgt-in distribute-lft-in flip3-+ prod-exp cbrt-unprod flip-+
add-log-exp
distribute-lft-out
associate-*r*
frac-times associate-+l+ distribute-neg-in associate-*l* pow-sqr pow-prod-up associate-/l*
associate-/r*
neg-sub0 associate-+l- pow-plus associate-*l/ sum-log associate-/r/ *-commutative associate-/l/
cbrt-undiv +-commutative pow2 flip3-- frac-2neg div-sub swap-sqr div-exp neg-log clear-num flip-- div-inv unswap-sqr
Counts
4 → 123
Calls
4 calls:
5.0ms
(* x (+ 2.0 x))
11.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
9.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
16.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

series274.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* x (+ 2.0 x))
33.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
96.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
102.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

simplify91.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
05251318
129651157
250011141

prune248.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes72.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
0115
1115

end0.0ms

sample561.0ms

Algorithm
intervals
Results
349.0ms14257×body80valid