Details

Time bar (total: 1.5s)

sample19.0ms

Algorithm
intervals
Results
11.0ms350×body80valid

simplify66.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 (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

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

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

series16.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* (* x 3.0) x) (* x 4.0))
3.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
3.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
3.0ms
(* (* x 3.0) x)

simplify46.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0318506
11331451
25001423

prune107.0ms

Filtered
53 candidates to 81 candidates (-52.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New75681
Fresh000
Picked101
Done000
Total76682

Merged error: 0.0b

Counts
82 → 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))

rewrite14.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))
7.0ms
(* 9.0 (pow x 2))

series6.0ms

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

prune74.0ms

Filtered
30 candidates to 47 candidates (-56.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New45247
Fresh145
Picked011
Done000
Total46753

Merged error: 0.0b

Counts
53 → 7

localize6.0ms

Local error

Found 3 expressions with local error:

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

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

series14.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0206296
1748265
23793261
35001261

prune70.0ms

Filtered
39 candidates to 60 candidates (-53.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh055
Picked011
Done011
Total60767

Merged error: 0.0b

Counts
67 → 7

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series20.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* x 3.0) 4.0)
3.0ms
(+ (* 3.0 (* x (- (* x 3.0) 4.0))) (* 3.0 1.0))
5.0ms
(* x (- (* x 3.0) 4.0))
7.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0314535
11263478
25001469

prune87.0ms

Filtered
57 candidates to 96 candidates (-68.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh044
Picked011
Done022
Total967103

Merged error: 0.0b

Counts
103 → 7

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

sample505.0ms

Algorithm
intervals
Results
335.0ms10700×body80valid

Profiling

Loading profile data...