Details

Time bar (total: 1.9s)

sample17.0ms

Algorithm
intervals
Results
10.0ms332×body80valid

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

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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

rewrite12.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:
6.0ms
(* x (- (* x 3.0) 4.0))
5.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series95.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(* x (- (* x 3.0) 4.0))
31.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

prune82.0ms

Filtered
52 candidates to 33 candidates (63.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New49352
Fresh101
Picked011
Done000
Total50454

Merged error: 0b

Counts
54 → 4

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

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

series51.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0193239
1761207
23883201
35001200

prune69.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New46147
Fresh112
Picked011
Done011
Total47451

Merged error: 0b

Counts
51 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series100.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- (* 9.0 x) 12.0)
62.0ms
(* x (- (* 9.0 x) 12.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0135189
1536167
22705166
35001166

prune50.0ms

Filtered
42 candidates to 26 candidates (61.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done022
Total42446

Merged error: 0b

Counts
46 → 4

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))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
0.1b
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

rewrite31.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:
6.0ms
(* x (- (* x 3.0) 4.0))
6.0ms
(* 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)))))
6.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series273.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0422972
11835847
25001836

prune177.0ms

Filtered
113 candidates to 68 candidates (60.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done033
Total1134117

Merged error: 0b

Counts
117 → 4

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

sample443.0ms

Algorithm
intervals
Results
325.0ms10813×body80valid