Details

Time bar (total: 1.8s)

sample17.0ms

Algorithm
intervals
Results
10.0ms343×body80valid

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

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

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube add-log-exp
add-sqr-sqrt
add-cube-cbrt associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod
sub-neg associate-+l+ flip3-+ diff-log associate-*r/ sum-log *-commutative flip-+ distribute-lft-out
+-commutative distribute-rgt-in associate-+l- flip3-- distribute-lft-in flip-- unswap-sqr
Counts
4 → 69
Calls
4 calls:
7.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
8.0ms
(- (* (* x 3.0) x) (* x 4.0))
9.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
5.0ms
(* (* x 3.0) x)

series155.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
73.0ms
(- (* (* x 3.0) x) (* x 4.0))
30.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
24.0ms
(* (* x 3.0) x)

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0318506
11331451
25001423

prune126.0ms

Filtered
81 candidates to 53 candidates (65.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New76581
Fresh101
Picked101
Done000
Total78583

Merged error: 0.0b

Counts
83 → 5

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

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

series46.0ms

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

simplify149.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (141.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune67.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New45247
Fresh224
Picked011
Done000
Total47552

Merged error: 0b

Counts
52 → 5

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

series98.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0137189
1560167
22720166
35001166

prune52.0ms

Filtered
42 candidates to 27 candidates (64.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New41142
Fresh123
Picked011
Done011
Total42547

Merged error: 0b

Counts
47 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
10.0ms
(- (+ (* (* x (sqrt 9.0)) (* x (sqrt 9.0))) 3.0) (* 12.0 x))
8.0ms
(* (* x (sqrt 9.0)) (* x (sqrt 9.0)))

series122.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0196332
1883236
24508221
35002221

prune51.0ms

Filtered
54 candidates to 24 candidates (44.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New54054
Fresh022
Picked011
Done022
Total54559

Merged error: 0b

Counts
59 → 5

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

sample432.0ms

Algorithm
intervals
Results
314.0ms10729×body80valid

Profiling

Loading profile data...