Details

Time bar (total: 1.8s)

sample16.0ms

Algorithm
intervals
Results
8.0ms354×body80valid

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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

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

rewrite20.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:
7.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))))

series135.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0267361
11213324
25001323

prune107.0ms

Filtered
67 candidates to 44 candidates (65.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New59867
Fresh000
Picked101
Done000
Total60868

Merged error: 0b

Counts
68 → 8

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

series52.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
29.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

prune73.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New45247
Fresh527
Picked011
Done000
Total50555

Merged error: 0b

Counts
55 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
10.0ms
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
4.0ms
(- (* 9.0 x) 12.0)
6.0ms
(* x (- (* 9.0 x) 12.0))

series127.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
42.0ms
(- (* 9.0 x) 12.0)
61.0ms
(* x (- (* 9.0 x) 12.0))

simplify116.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0204296
1721265
23775261
35002261

prune73.0ms

Filtered
60 candidates to 38 candidates (63.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh033
Picked011
Done011
Total60565

Merged error: 0b

Counts
65 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (* (* (sqrt 9.0) x) (* (sqrt 9.0) x)) 3.0) (* 12.0 x))
0.4b
(* (* (sqrt 9.0) x) (* (sqrt 9.0) x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
41×pow1
17×pow-prod-down
14×add-exp-log add-cbrt-cube
prod-exp cbrt-unprod
add-log-exp
pow-sqr pow-prod-up
add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-plus diff-log
pow2 sub-neg flip3-- swap-sqr associate-*r* associate-*l* associate--l+ sum-log *-commutative flip--
Counts
2 → 48
Calls
2 calls:
14.0ms
(- (+ (* (* (sqrt 9.0) x) (* (sqrt 9.0) x)) 3.0) (* 12.0 x))
9.0ms
(* (* (sqrt 9.0) x) (* (sqrt 9.0) x))

series121.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(- (+ (* (* (sqrt 9.0) x) (* (sqrt 9.0) x)) 3.0) (* 12.0 x))
70.0ms
(* (* (sqrt 9.0) x) (* (sqrt 9.0) x))

simplify134.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0196310
1883223
24503215
35001215

prune50.0ms

Filtered
54 candidates to 22 candidates (40.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New54054
Fresh022
Picked011
Done022
Total54559

Merged error: 0b

Counts
59 → 5

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

sample375.0ms

Algorithm
intervals
Results
260.0ms10594×body80valid