Details

Time bar (total: 2.2s)

sample18.0ms

Algorithm
intervals
Results
11.0ms324×body80valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (15.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 3 expressions with local error:

0.0b
(- (* 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))))

rewrite17.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:
4.0ms
(- (* 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))))

series133.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(- (* x 3.0) 4.0)
62.0ms
(* x (- (* x 3.0) 4.0))
31.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0267361
11213324
25001323

prune122.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

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

rewrite18.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)
6.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
6.0ms
(* 9.0 (pow x 2))

series102.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(+ (* 9.0 (pow x 2)) 3.0)
23.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
29.0ms
(* 9.0 (pow x 2))

simplify192.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0237299
1891276
24637269
35001269

prune117.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
3.0ms
(- (* x 9.0) 12.0)
6.0ms
(* x (- (* x 9.0) 12.0))

series101.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(- (* x 9.0) 12.0)
64.0ms
(* x (- (* x 9.0) 12.0))

simplify84.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0137189
1560167
22720166
35001166

prune74.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×associate-*r*
15×pow1 add-exp-log add-cbrt-cube
14×sqrt-div associate-*r/
13×add-cube-cbrt *-un-lft-identity
10×associate-*l*
flip3-+ sqrt-prod flip-+
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in frac-times sub-neg distribute-lft-in *-commutative add-log-exp unswap-sqr
flip3-- associate-*l/ flip--
Counts
4 → 101
Calls
4 calls:
7.0ms
(* x (- (* x 3.0) 4.0))
6.0ms
(* x (- (* x 3.0) 4.0))
6.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
10.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series275.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* x (- (* x 3.0) 4.0))
62.0ms
(* x (- (* x 3.0) 4.0))
113.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
36.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0422972
11834847
25002836

prune221.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample388.0ms

Algorithm
intervals
Results
273.0ms10690×body80valid