Details

Time bar (total: 1.6s)

sample25.0ms

Algorithm
intervals
Results
14.0ms350×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

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

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

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

series132.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0267361
11213324
25002323

prune107.0ms

Filtered
67 candidates to 44 candidates (65.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New61667
Fresh101
Picked101
Done000
Total63669

Merged error: 0.0b

Counts
69 → 6

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

series56.0ms

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

simplify152.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (148.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune75.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh415
Picked101
Done000
Total49453

Merged error: 0b

Counts
53 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
6.0ms
(* x (- (* x 9.0) 12.0))

series61.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(* x (- (* x 9.0) 12.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0118130
1497113
22567113
35002113

prune36.0ms

Filtered
27 candidates to 16 candidates (59.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh033
Picked011
Done000
Total27431

Merged error: 0b

Counts
31 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

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

series180.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- (* x 3.0) 4.0)
82.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))
62.0ms
(* x (- (* x 3.0) 4.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0220373
1921324
25001320

prune81.0ms

Filtered
73 candidates to 42 candidates (57.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh022
Picked011
Done011
Total73477

Merged error: 0b

Counts
77 → 4

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

sample397.0ms

Algorithm
intervals
Results
272.0ms10583×body80valid