Details

Time bar (total: 1.8s)

sample16.0ms

Algorithm
intervals
Results
9.0ms324×body80valid

simplify71.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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×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
sub-neg pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp unswap-sqr
flip3-- flip3-+ flip-- flip-+
Counts
2 → 46
Calls
2 calls:
11.0ms
(* x (- (* x 3.0) 4.0))
7.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series92.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(* x (- (* x 3.0) 4.0))
35.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify40.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0248302
11146270
25001270

prune95.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

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

series46.0ms

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

simplify135.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0193239
1761207
23883201
35001200

prune91.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- (* 9.0 x) 12.0))

rewrite12.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
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
11.0ms
(* x (- (* 9.0 x) 12.0))

series63.0ms

Counts
1 → 3
Calls
1 calls:
63.0ms
(* x (- (* 9.0 x) 12.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0118130
1496113
22573113
35002113

prune49.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (* (* (sqrt 9.0) x) (* (sqrt 9.0) x)) 3.0) (* 12.0 x))
0.3b
(* (* (sqrt 9.0) x) (* (sqrt 9.0) x))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
41×pow1
17×pow-prod-down
14×add-exp-log add-cbrt-cube
prod-exp cbrt-unprod
add-log-exp
pow-sqr pow-prod-up
add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-plus diff-log
pow2 sub-neg flip3-- swap-sqr associate-*r* associate-*l* associate--l+ sum-log *-commutative flip--
Counts
2 → 48
Calls
2 calls:
150.0ms
(- (+ (* (* (sqrt 9.0) x) (* (sqrt 9.0) x)) 3.0) (* 12.0 x))
17.0ms
(* (* (sqrt 9.0) x) (* (sqrt 9.0) x))

series125.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(- (+ (* (* (sqrt 9.0) x) (* (sqrt 9.0) x)) 3.0) (* 12.0 x))
73.0ms
(* (* (sqrt 9.0) x) (* (sqrt 9.0) x))

simplify134.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0196310
1883223
24503215
35001215

prune60.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes18.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample400.0ms

Algorithm
intervals
Results
284.0ms10629×body80valid