Details

Time bar (total: 9.1s)

sample74.0ms

Algorithm
intervals
Results
37.0ms527×body80valid

simplify167.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
06615
120414
263114
3146814
4246414
5390914
6500114

prune13.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: 6.8b

Counts
2 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* j 27.0) k)
0.5b
(* (* x 18.0) y)
3.9b
(* (* (* x 18.0) y) z)
4.4b
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
86×associate-*l*
84×add-sqr-sqrt
40×associate-*r*
36×*-un-lft-identity
35×unswap-sqr
25×pow1 add-exp-log add-cbrt-cube
20×add-cube-cbrt
13×pow-prod-down prod-exp cbrt-unprod
*-commutative distribute-lft-out-- difference-of-squares
add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- flip--
Counts
4 → 147
Calls
4 calls:
7.0ms
(* (* j 27.0) k)
7.0ms
(* (* x 18.0) y)
12.0ms
(* (* (* x 18.0) y) z)
39.0ms
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))

series195.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
0588744
12630665
25001665

prune515.0ms

Filtered
159 candidates to 104 candidates (34.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New14613159
Fresh101
Picked101
Done000
Total14813161

Merged error: 2.5b

Counts
161 → 13

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(* (* x 18.0) (* (cbrt y) (cbrt y)))
2.0b
(* (* (* x 18.0) (* (cbrt y) (cbrt y))) (* (cbrt y) z))
4.4b
(* t (- (* (* (* x 18.0) (* (cbrt y) (cbrt y))) (* (cbrt y) z)) (* a 4.0)))

rewrite259.0ms

Algorithm
rewrite-expression-head
Rules
1115×add-sqr-sqrt
741×unswap-sqr
228×cbrt-prod
218×associate-*r*
153×add-cbrt-cube
148×cbrt-unprod
129×associate-*l*
116×difference-of-squares
59×pow1 add-exp-log
56×swap-sqr
52×*-un-lft-identity
40×pow-prod-down prod-exp
36×add-cube-cbrt
31×*-commutative
distribute-lft-out--
add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow1/3 flip--
Counts
4 → 438
Calls
4 calls:
1.0ms
(cbrt y)
21.0ms
(* (* x 18.0) (* (cbrt y) (cbrt y)))
48.0ms
(* (* (* x 18.0) (* (cbrt y) (cbrt y))) (* (cbrt y) z))
142.0ms
(* t (- (* (* (* x 18.0) (* (cbrt y) (cbrt y))) (* (cbrt y) z)) (* a 4.0)))

series528.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(cbrt y)
111.0ms
(* (* x 18.0) (* (cbrt y) (cbrt y)))
58.0ms
(* (* (* x 18.0) (* (cbrt y) (cbrt y))) (* (cbrt y) z))
166.0ms
(* t (- (* (* (* x 18.0) (* (cbrt y) (cbrt y))) (* (cbrt y) z)) (* a 4.0)))

simplify101.0ms

Algorithm
egg-herbie
Counts
450 → 450
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
018595691
150025062

prune1.7s

Filtered
450 candidates to 283 candidates (37.1%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New4473450
Fresh3912
Picked011
Done000
Total45013463

Merged error: 1.8b

Counts
463 → 13

localize27.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* j 1) (* 27.0 k))
0.5b
(* (* x 18.0) y)
3.9b
(* (* (* x 18.0) y) z)
4.4b
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
90×associate-*l*
52×associate-*r*
47×unswap-sqr
41×*-un-lft-identity
37×add-exp-log
32×pow1 add-cbrt-cube
23×prod-exp
22×add-cube-cbrt
18×pow-prod-down cbrt-unprod
*-commutative
distribute-lft-out-- difference-of-squares
add-log-exp
distribute-rgt-in sub-neg distribute-lft-in 1-exp associate-*r/
flip3-- flip--
Counts
4 → 169
Calls
4 calls:
13.0ms
(* (* j 1) (* 27.0 k))
8.0ms
(* (* x 18.0) y)
13.0ms
(* (* (* x 18.0) y) z)
36.0ms
(* t (- (* (* (* x 18.0) y) z) (* a 4.0)))

series190.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0735865
13163759
25002757

prune845.0ms

Filtered
181 candidates to 112 candidates (38.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1756181
Fresh6511
Picked101
Done011
Total18212194

Merged error: 1.8b

Counts
194 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 18.0 (* x y))
0.4b
(* (* j 1) (* 27.0 k))
3.9b
(* (* 18.0 (* x y)) z)
4.4b
(* t (- (* (* 18.0 (* x y)) z) (* a 4.0)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
68×associate-*r*
65×associate-*l*
47×unswap-sqr
37×add-exp-log *-un-lft-identity
32×pow1 add-cbrt-cube
23×prod-exp
22×add-cube-cbrt
18×pow-prod-down cbrt-unprod
*-commutative
difference-of-squares
distribute-lft-out--
add-log-exp
distribute-rgt-in sub-neg distribute-lft-in 1-exp associate-*r/
flip3-- flip--
Counts
4 → 167
Calls
4 calls:
8.0ms
(* 18.0 (* x y))
12.0ms
(* (* j 1) (* 27.0 k))
14.0ms
(* (* 18.0 (* x y)) z)
36.0ms
(* t (- (* (* 18.0 (* x y)) z) (* a 4.0)))

series184.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* 18.0 (* x y))
17.0ms
(* (* j 1) (* 27.0 k))
29.0ms
(* (* 18.0 (* x y)) z)
117.0ms
(* t (- (* (* 18.0 (* x y)) z) (* a 4.0)))

simplify97.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
0742857
13231755
25001753

prune483.0ms

Filtered
179 candidates to 111 candidates (38.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1754179
Fresh4610
Picked101
Done011
Total18011191

Merged error: 1.8b

Counts
191 → 11

regimes1.1s

Accuracy

30.9% (2.4b remaining)

Error of 4.1b against oracle of 1.7b and baseline of 5.2b

bsearch215.0ms

Steps
ItersRangePoint
7
7.779413732419923e-210
1.5062697304409912e-208
1.2952736843732497e-208
8
-5.862473027165697e-168
-5.044255503781407e-172
-1.4497127224801e-170

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05930
16930
27230
37230

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.1s16176×body80valid