Details

Time bar (total: 1.9s)

sample19.0ms

Algorithm
intervals
Results
9.0ms338×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0266
1556
21226
32056
42535
53075
63635
74985
89115
911875
1011885
1111885

prune10.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.1b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series151.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0296472
11292423
25001422

prune178.0ms

Filtered
85 candidates to 56 candidates (65.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New82385
Fresh000
Picked011
Done000
Total82486

Merged error: 0.0b

Counts
86 → 4

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

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 (145.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune107.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New45247
Fresh112
Picked011
Done101
Total47451

Merged error: 0b

Counts
51 → 4

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

simplify74.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0118130
1497113
22567113
35002113

prune47.0ms

Filtered
27 candidates to 16 candidates (59.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New27027
Fresh022
Picked011
Done011
Total27431

Merged error: 0b

Counts
31 → 4

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

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

series186.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0294636
11205515
25002469

prune156.0ms

Filtered
81 candidates to 44 candidates (54.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh011
Picked011
Done022
Total81485

Merged error: 0b

Counts
85 → 4

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

sample461.0ms

Algorithm
intervals
Results
300.0ms10683×body80valid

Profiling

Loading profile data...