Details

Time bar (total: 2.6s)

sample18.0ms

Algorithm
intervals
Results
9.0ms364×body80valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (13.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.1b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite266.0ms

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

series137.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0286367
11258325
25002310

prune118.0ms

Pruning

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

rewrite70.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:
53.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
16.0ms
(* 9.0 (pow x 2))

series53.0ms

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

simplify158.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (153.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune97.0ms

Pruning

5 alts after pruning (5 fresh and 0 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))

rewrite42.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:
11.0ms
(- (* x 9.0) 12.0)
30.0ms
(* x (- (* x 9.0) 12.0))

series108.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(- (* x 9.0) 12.0)
63.0ms
(* x (- (* x 9.0) 12.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0137189
1560167
22720166
35001166

prune71.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite339.0ms

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

series200.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(- (+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0) (* 12.0 x))
47.0ms
(* (cbrt 9.0) (pow x 2))
96.0ms
(* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2)))

simplify46.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0294636
11205515
25002469

prune152.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

sample407.0ms

Algorithm
intervals
Results
259.0ms10746×body80valid