Details

Time bar (total: 6.2s)

sample82.0ms

Algorithm
intervals
Results
48.0ms510×body80valid

simplify144.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
06615
120414
263114
3146814
4246414
5390914
6500114

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: 6.9b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x 18.0) y)
0.2b
(* (* j 27.0) k)
2.7b
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))
6.5b
(* (* (* x 18.0) y) z)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log add-cbrt-cube
13×pow-prod-down prod-exp cbrt-unprod
12×associate-*r*
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*l*
*-commutative add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- flip-- unswap-sqr
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (* x 18.0) y)
5.0ms
(* (* j 27.0) k)
9.0ms
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))
9.0ms
(* (* (* x 18.0) y) z)

series172.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* x 18.0) y)
19.0ms
(* (* j 27.0) k)
108.0ms
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))
26.0ms
(* (* (* x 18.0) y) z)

simplify62.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0406472
12141393
25001393

prune276.0ms

Filtered
93 candidates to 53 candidates (57.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh000
Picked101
Done000
Total89594

Merged error: 1.9b

Counts
94 → 5

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* j 27.0) k)
0.2b
(* 18.0 (* x (* z y)))
2.7b
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
4.7b
(* x (* z y))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log add-cbrt-cube
13×pow-prod-down prod-exp cbrt-unprod
11×add-sqr-sqrt
10×associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r*
*-commutative add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- flip-- unswap-sqr
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (* j 27.0) k)
7.0ms
(* 18.0 (* x (* z y)))
12.0ms
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
5.0ms
(* x (* z y))

series186.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (* j 27.0) k)
31.0ms
(* 18.0 (* x (* z y)))
114.0ms
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
25.0ms
(* x (* z y))

simplify50.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0380468
11668389
25001389

prune262.0ms

Filtered
93 candidates to 51 candidates (54.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New92193
Fresh044
Picked101
Done000
Total93598

Merged error: 1.9b

Counts
98 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* j (* 27.0 k))
0.2b
(* 18.0 (* x (* z y)))
2.7b
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
4.7b
(* x (* z y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log add-cbrt-cube
13×pow-prod-down prod-exp cbrt-unprod
12×associate-*l*
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
*-commutative add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- flip-- unswap-sqr
Counts
4 → 81
Calls
4 calls:
5.0ms
(* j (* 27.0 k))
7.0ms
(* 18.0 (* x (* z y)))
10.0ms
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
5.0ms
(* x (* z y))

series190.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* j (* 27.0 k))
27.0ms
(* 18.0 (* x (* z y)))
119.0ms
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
25.0ms
(* x (* z y))

simplify54.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0372467
11557388
25001388

prune270.0ms

Filtered
93 candidates to 52 candidates (55.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New91293
Fresh134
Picked101
Done000
Total93598

Merged error: 1.9b

Counts
98 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt j)
0.6b
(cbrt j)
2.7b
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
4.7b
(* x (* z y))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
cbrt-prod associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in sub-neg distribute-lft-in pow1/3 associate-*r/ *-commutative
flip3-- flip-- unswap-sqr
Counts
4 → 64
Calls
4 calls:
5.0ms
(cbrt j)
1.0ms
(cbrt j)
9.0ms
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
5.0ms
(* x (* z y))

series502.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt j)
178.0ms
(cbrt j)
114.0ms
(* t (- (* 18.0 (* x (* z y))) (* a 4.0)))
25.0ms
(* x (* z y))

simplify41.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0269369
11067320
25001316

prune298.0ms

Filtered
76 candidates to 53 candidates (69.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New74276
Fresh044
Picked101
Done000
Total75681

Merged error: 1.9b

Counts
81 → 6

regimes765.0ms

Accuracy

51.9% (2.0b remaining)

Error of 4.2b against oracle of 2.2b and baseline of 6.3b

bsearch310.0ms

Steps
ItersRangePoint
9
5.740428969437832e+157
5.867241048840279e+162
1.949031685765567e+160
7
-4.4994315287566246e+95
-9.305857100881032e+93
-1.2254010690602987e+95

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07540
17540

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.5s16146×body80valid

Profiling

Loading profile data...