Details

Time bar (total: 1.4s)

sample18.0ms

Algorithm
intervals
Results
9.0ms382×body80valid

simplify82.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
048989
148989

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series12.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* x (- 3.0 (* x 2.0)))
7.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
05000552

prune58.0ms

Filtered
29 candidates to 58 candidates (-100.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New55358
Fresh011
Picked101
Done000
Total56460

Merged error: 0b

Counts
60 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (neg (pow x 3)))
0.0b
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
0.1b
(* x (* x 3.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
14×add-sqr-sqrt
12×distribute-lft-neg-in add-cube-cbrt distribute-rgt-neg-in *-un-lft-identity
10×pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-neg-out
cube-mult unpow3 *-commutative sqr-pow
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+ unswap-sqr
Counts
3 → 75
Calls
3 calls:
8.0ms
(* 2.0 (neg (pow x 3)))
4.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
5.0ms
(* x (* x 3.0))

series15.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 2.0 (neg (pow x 3)))
8.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
3.0ms
(* x (* x 3.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04957564
14957564

prune95.0ms

Filtered
54 candidates to 84 candidates (-55.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New83184
Fresh123
Picked101
Done000
Total85388

Merged error: 0b

Counts
88 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0)))))
0.1b
(* x (/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0))))
0.3b
(/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
14×add-sqr-sqrt
12×associate-*r*
10×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*l* prod-exp cbrt-unprod
associate-*r/
cbrt-undiv div-exp associate-/r/
associate-/r* add-log-exp
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ pow-prod-down *-commutative flip-- flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg clear-num associate-/l*
Counts
3 → 78
Calls
3 calls:
6.0ms
(* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0)))))
9.0ms
(* x (/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0))))
8.0ms
(/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0)))

series34.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049781079
149781079

prune99.0ms

Filtered
59 candidates to 87 candidates (-47.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh022
Picked011
Done000
Total87390

Merged error: 0b

Counts
90 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (neg (pow x 3)))
0.0b
(+ (* (* x x) 3.0) (* 2.0 (neg (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
31×associate-*r*
15×add-sqr-sqrt
12×distribute-lft-neg-in add-cube-cbrt distribute-rgt-neg-in *-un-lft-identity
10×pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-neg-out
cube-mult unpow3 *-commutative unswap-sqr sqr-pow
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+
Counts
3 → 76
Calls
3 calls:
9.0ms
(* 2.0 (neg (pow x 3)))
5.0ms
(+ (* (* x x) 3.0) (* 2.0 (neg (pow x 3))))
5.0ms
(* (* x x) 3.0)

series18.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 2.0 (neg (pow x 3)))
11.0ms
(+ (* (* x x) 3.0) (* 2.0 (neg (pow x 3))))
3.0ms
(* (* x x) 3.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05038573

prune90.0ms

Filtered
57 candidates to 85 candidates (-49.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh011
Picked011
Done011
Total85388

Merged error: 0b

Counts
88 → 3

regimes31.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01921
11921

end0.0ms

sample499.0ms

Algorithm
intervals
Results
304.0ms12001×body80valid

Profiling

Loading profile data...