Details

Time bar (total: 2.1s)

sample16.0ms

Algorithm
intervals
Results
8.0ms334×body80valid

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

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.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))

rewrite52.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)
15.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
28.0ms
(* x (- (* x 3.0) 4.0))

series120.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- (* x 3.0) 4.0)
29.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
58.0ms
(* x (- (* x 3.0) 4.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0267361
11213324
25002323

prune109.0ms

Pruning

4 alts after pruning (4 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))

rewrite68.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:
50.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
14.0ms
(* 9.0 (pow x 2))

series43.0ms

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

simplify152.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune84.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.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:
17.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
10.0ms
(- (* x 9.0) 12.0)
28.0ms
(* x (- (* x 9.0) 12.0))

series110.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
33.0ms
(- (* x 9.0) 12.0)
57.0ms
(* x (- (* x 9.0) 12.0))

simplify113.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0206296
1748265
23793261
35001261

prune96.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite226.0ms

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

series158.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0259502
11126405
25002388

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

sample399.0ms

Algorithm
intervals
Results
251.0ms10633×body80valid