Details

Time bar (total: 2.5s)

sample16.0ms

Algorithm
intervals
Results
8.0ms353×body80valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (12.0ms)

IterNodesCost
0266
1556
21226
32056
42535
53075
63635
74985
89115
911875
1011885
1111885

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
12×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 sub-neg distribute-lft-in
associate-+r+ associate-*r/
flip3-- flip3-+ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
+-commutative diff-log sum-log
Counts
4 → 73
Calls
4 calls:
4.0ms
(- (* x 3.0) 4.0)
3.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
6.0ms
(* x (- (* x 3.0) 4.0))
5.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series154.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* x 3.0) 4.0)
24.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
58.0ms
(* x (- (* x 3.0) 4.0))
35.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0296472
11292423
25002422

prune144.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 9.0 (pow x 2)) 3.0)
0.0b
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
0.2b
(* 9.0 (pow x 2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×add-log-exp
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down unswap-sqr
pow1 associate-*l* prod-exp
diff-log sum-log unpow2 sqr-pow
+-commutative pow-to-exp sub-neg flip3-- flip3-+ pow-exp associate--l+ *-commutative flip-- cbrt-unprod flip-+
Counts
3 → 52
Calls
3 calls:
4.0ms
(+ (* 9.0 (pow x 2)) 3.0)
7.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
8.0ms
(* 9.0 (pow x 2))

series95.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(+ (* 9.0 (pow x 2)) 3.0)
22.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
24.0ms
(* 9.0 (pow x 2))

simplify167.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0237305
1889276
24426269
35001269

prune115.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 9.0 x) 12.0)
0.0b
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
0.1b
(* x (- (* 9.0 x) 12.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg *-un-lft-identity add-cbrt-cube
distribute-rgt-in associate-+l+ distribute-lft-in
associate-*r* associate-*l*
flip3-- associate-*r/ flip--
+-commutative flip3-+ diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
3 → 51
Calls
3 calls:
4.0ms
(- (* 9.0 x) 12.0)
7.0ms
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
7.0ms
(* x (- (* 9.0 x) 12.0))

series119.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- (* 9.0 x) 12.0)
25.0ms
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
58.0ms
(* x (- (* 9.0 x) 12.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0204296
1721265
23775261
35002261

prune100.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* 12.0 x) 3)
0.3b
(* (* 12.0 x) (* 12.0 x))
2.6b
(- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3))
12.7b
(/ (- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3)) (+ (* (+ (* 9.0 (pow x 2)) 3.0) (+ (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))) (* (* 12.0 x) (* 12.0 x))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
73×add-sqr-sqrt
46×pow1
40×difference-of-squares
39×times-frac
33×*-un-lft-identity
31×sqr-pow
23×add-cube-cbrt
21×add-exp-log add-cbrt-cube
18×pow-prod-down
13×associate-/l*
11×unpow-prod-down cube-prod
prod-exp cbrt-unprod
add-log-exp
difference-cubes distribute-lft-out--
pow-sqr pow-prod-up
pow-unpow associate-/r*
flip3-- pow-pow pow-plus pow-exp associate-/r/ flip-- associate-/l/ rem-cube-cbrt
cbrt-undiv pow2 cube-mult pow-to-exp sub-neg frac-2neg flip3-+ diff-log unpow3 div-sub swap-sqr div-exp associate-*r* associate-*l* clear-num *-commutative flip-+ div-inv
Counts
4 → 150
Calls
4 calls:
4.0ms
(pow (* 12.0 x) 3)
7.0ms
(* (* 12.0 x) (* 12.0 x))
14.0ms
(- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3))
34.0ms
(/ (- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3)) (+ (* (+ (* 9.0 (pow x 2)) 3.0) (+ (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))) (* (* 12.0 x) (* 12.0 x))))

series217.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(pow (* 12.0 x) 3)
25.0ms
(* (* 12.0 x) (* 12.0 x))
51.0ms
(- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3))
98.0ms
(/ (- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3)) (+ (* (+ (* 9.0 (pow x 2)) 3.0) (+ (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))) (* (* 12.0 x) (* 12.0 x))))

simplify113.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
05643093
126672970
250012967

prune425.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes22.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample378.0ms

Algorithm
intervals
Results
261.0ms10659×body80valid