Details

Time bar (total: 2.4s)

sample16.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (11.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.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite59.0ms

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

series121.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- (* x 3.0) 4.0)
27.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
57.0ms
(* x (- (* x 3.0) 4.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0267361
11213324
25002323

prune121.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.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))

rewrite71.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:
57.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
13.0ms
(* 9.0 (pow x 2))

series45.0ms

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

simplify151.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune116.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.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
sub-neg associate-*r* associate-*l*
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 36
Calls
2 calls:
8.0ms
(- (* x 9.0) 12.0)
29.0ms
(* x (- (* x 9.0) 12.0))

series89.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(- (* x 9.0) 12.0)
56.0ms
(* x (- (* x 9.0) 12.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0137189
1560167
22720166
35001166

prune74.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x 9.0) 12.0)
0.1b
(* x (/ (- (* (* x 9.0) (* x 9.0)) (* 12.0 12.0)) (+ (* x 9.0) 12.0)))
0.2b
(/ (- (* (* x 9.0) (* x 9.0)) (* 12.0 12.0)) (+ (* x 9.0) 12.0))
0.3b
(* (* x 9.0) (* x 9.0))

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
27×add-sqr-sqrt
25×times-frac
23×add-exp-log add-cbrt-cube
22×add-cube-cbrt *-un-lft-identity
19×associate-*r*
18×pow-prod-down
10×prod-exp cbrt-unprod
difference-of-squares
add-log-exp
associate-*l* associate-/r/ pow-sqr pow-prod-up associate-/l*
flip3-+ associate-/r* flip-+
cbrt-undiv pow-plus div-exp *-commutative div-inv associate-/l/ unswap-sqr
+-commutative pow2 flip3-- frac-2neg div-sub associate-*r/ swap-sqr clear-num sum-log flip--
Counts
4 → 118
Calls
4 calls:
8.0ms
(+ (* x 9.0) 12.0)
101.0ms
(* x (/ (- (* (* x 9.0) (* x 9.0)) (* 12.0 12.0)) (+ (* x 9.0) 12.0)))
83.0ms
(/ (- (* (* x 9.0) (* x 9.0)) (* 12.0 12.0)) (+ (* x 9.0) 12.0))
28.0ms
(* (* x 9.0) (* x 9.0))

series308.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* x 9.0) 12.0)
149.0ms
(* x (/ (- (* (* x 9.0) (* x 9.0)) (* 12.0 12.0)) (+ (* x 9.0) 12.0)))
104.0ms
(/ (- (* (* x 9.0) (* x 9.0)) (* 12.0 12.0)) (+ (* x 9.0) 12.0))
26.0ms
(* (* x 9.0) (* x 9.0))

simplify86.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04371065
12440940
25001940

prune237.0ms

Pruning

4 alts after pruning (3 fresh and 1 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
0135
1135

end0.0ms

sample414.0ms

Algorithm
intervals
Results
265.0ms10686×body80valid