Details

Time bar (total: 3.1s)

sample304.0ms

Algorithm
intervals
Results
5.0ms82×body1280valid
4.0ms177×body80valid
3.0ms61×body640valid
1.0ms14×body320valid
0.0ms14×body160valid

simplify119.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1374
21034
32204
43874
55274
68034
716024
828614
943344
1048074
1150014

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.2b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) (+ x 1.0))
4.0b
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
pow1 add-sqr-sqrt
add-cube-cbrt flip3-+ swap-sqr flip-+ distribute-lft-out
add-exp-log frac-times associate-*r* associate-*l* add-cbrt-cube add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/ associate--l+
pow2 sub-neg flip3-- pow-plus diff-log pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod difference-of-squares unswap-sqr
Counts
2 → 55
Calls
2 calls:
33.0ms
(* (+ x 1.0) (+ x 1.0))
40.0ms
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

series73.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(* (+ x 1.0) (+ x 1.0))
59.0ms
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

simplify36.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0234303
1999270
25001261

prune81.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (+ 2.0 x))

rewrite20.0ms

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

series40.0ms

Counts
1 → 3
Calls
1 calls:
40.0ms
(* x (+ 2.0 x))

simplify74.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
012385
159476
2293776
3500176

prune34.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out unpow2
Counts
1 → 12
Calls
1 calls:
13.0ms
(+ (* x 2.0) (pow x 2))

series46.0ms

Counts
1 → 3
Calls
1 calls:
46.0ms
(+ (* x 2.0) (pow x 2))

simplify44.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
08977
133563
2114659
3500159

prune28.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3)))
0.1b
(* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x))))
4.0b
(- (/ (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x))))) 1.0)
11.8b
(/ (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x)))))

rewrite300.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×add-exp-log add-cbrt-cube
16×add-sqr-sqrt frac-times
13×flip3-- flip--
12×flip3-+ associate-*r* flip-+
associate-*l*
pow1 add-cube-cbrt associate-*r/ associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod add-log-exp
distribute-lft-out
cbrt-undiv unpow-prod-down cube-prod div-exp
difference-of-squares
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative distribute-lft-out-- unswap-sqr
sub-neg frac-2neg times-frac diff-log clear-num associate-/r* sum-cubes div-inv associate-/l*
Counts
4 → 116
Calls
4 calls:
92.0ms
(* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3)))
49.0ms
(* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x))))
96.0ms
(- (/ (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x))))) 1.0)
58.0ms
(/ (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x)))))

series820.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3)))
35.0ms
(* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x))))
653.0ms
(- (/ (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x))))) 1.0)
85.0ms
(/ (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (- x 1.0) (+ (pow x 2) (* 1.0 (- 1.0 x)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08071741
150021502

prune372.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes15.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
083
183

end0.0ms

sample527.0ms

Algorithm
intervals
Results
145.0ms2284×body1280valid
91.0ms5410×body80valid
88.0ms1702×body640valid
34.0ms812×body320valid
11.0ms400×body160valid