Details

Time bar (total: 4.1s)

sample26.0ms

Algorithm
intervals
Results
14.0ms331×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1255
2395
3585
4735
5875
61025
71085
81105
91105

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 5.2b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ y z) (/ t (- 1.0 z)))
0.0b
(/ t (- 1.0 z))
5.0b
(* x (- (/ y z) (/ t (- 1.0 z))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
45×*-un-lft-identity
31×times-frac
15×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
10×associate-*r*
add-exp-log add-cbrt-cube
pow1 associate-/r* add-log-exp
sub-neg flip3-- associate-*r/ associate-*l* flip-- associate-/l*
distribute-rgt-in distribute-lft-in associate-/r/ frac-sub
cbrt-undiv frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
3 → 89
Calls
3 calls:
20.0ms
(- (/ y z) (/ t (- 1.0 z)))
6.0ms
(/ t (- 1.0 z))
24.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series116.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(- (/ y z) (/ t (- 1.0 z)))
33.0ms
(/ t (- 1.0 z))
48.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0387632
11452595
25001593

prune209.0ms

Filtered
98 candidates to 71 candidates (72.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New851398
Fresh000
Picked101
Done000
Total861399

Merged error: 0.8b

Counts
99 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x (/ y z)) (* x (- (/ t (- 1.0 z)))))
0.0b
(/ t (- 1.0 z))
3.4b
(* x (- (/ t (- 1.0 z))))
7.4b
(* x (/ y z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
69×add-sqr-sqrt
62×*-un-lft-identity
59×associate-*r*
55×times-frac
42×add-cube-cbrt
21×distribute-lft-neg-in distribute-rgt-neg-in
13×add-exp-log add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
pow1
associate-*l* associate-/r/ add-log-exp
associate-/r*
associate-*r/ div-inv
flip3-- prod-exp distribute-rgt-neg-out flip-- cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative distribute-neg-frac
+-commutative neg-mul-1 frac-2neg flip3-+ unsub-neg frac-add clear-num sum-log flip-+ distribute-lft-out
Counts
4 → 147
Calls
4 calls:
6.0ms
(+ (* x (/ y z)) (* x (- (/ t (- 1.0 z)))))
6.0ms
(/ t (- 1.0 z))
15.0ms
(* x (- (/ t (- 1.0 z))))
7.0ms
(* x (/ y z))

series173.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(+ (* x (/ y z)) (* x (- (/ t (- 1.0 z)))))
35.0ms
(/ t (- 1.0 z))
58.0ms
(* x (- (/ t (- 1.0 z))))
19.0ms
(* x (/ y z))

simplify81.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0674871
13174809
25001808

prune331.0ms

Filtered
159 candidates to 118 candidates (74.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1545159
Fresh3912
Picked101
Done000
Total15814172

Merged error: 0.0b

Counts
172 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- 1.0 z))
0.3b
(cbrt (- 1.0 z))
2.0b
(* (/ (- x) (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z))))
7.4b
(* x (/ y z))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
51×times-frac
43×*-un-lft-identity associate-*r*
33×add-cube-cbrt
30×add-exp-log
27×cbrt-prod
25×associate-*l*
23×add-cbrt-cube
18×cbrt-div
10×prod-exp associate-/r/ cbrt-unprod
flip3-- flip--
pow1 cbrt-undiv div-exp unswap-sqr
frac-times distribute-lft-out-- difference-of-squares
associate-*r/ add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in associate-*l/ div-inv
pow1/3 pow-prod-down *-commutative
distribute-lft-neg-out neg-mul-1 distribute-frac-neg
Counts
4 → 145
Calls
4 calls:
3.0ms
(cbrt (- 1.0 z))
3.0ms
(cbrt (- 1.0 z))
30.0ms
(* (/ (- x) (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z))))
9.0ms
(* x (/ y z))

series239.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(cbrt (- 1.0 z))
87.0ms
(cbrt (- 1.0 z))
45.0ms
(* (/ (- x) (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z))))
19.0ms
(* x (/ y z))

simplify133.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
08941554
143481394
250021331

prune428.0ms

Filtered
157 candidates to 123 candidates (78.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1561157
Fresh01313
Picked101
Done000
Total15714171

Merged error: 0.0b

Counts
171 → 14

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
2.0b
(* (/ (- x) (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z))))
2.2b
(* x (/ (* (cbrt y) (cbrt y)) (* (cbrt z) (cbrt z))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
43×add-exp-log times-frac
35×associate-*r*
33×*-un-lft-identity
28×add-cbrt-cube
27×add-cube-cbrt
25×associate-*l*
23×cbrt-prod
17×prod-exp cbrt-unprod
14×cbrt-div
11×cbrt-undiv div-exp
10×associate-/r/
pow1 unswap-sqr
flip3-- flip--
frac-times
associate-*r/ add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in associate-*l/ div-inv distribute-lft-out-- difference-of-squares
pow1/3 pow-prod-down *-commutative
distribute-lft-neg-out neg-mul-1 distribute-frac-neg
Counts
4 → 135
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
31.0ms
(* (/ (- x) (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z))))
13.0ms
(* x (/ (* (cbrt y) (cbrt y)) (* (cbrt z) (cbrt z))))

series486.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(cbrt y)
165.0ms
(cbrt y)
45.0ms
(* (/ (- x) (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z))))
81.0ms
(* x (/ (* (cbrt y) (cbrt y)) (* (cbrt z) (cbrt z))))

simplify107.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09141598
146161371
250011318

prune512.0ms

Filtered
147 candidates to 121 candidates (82.3%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1452147
Fresh11213
Picked011
Done000
Total14615161

Merged error: 0.0b

Counts
161 → 15

regimes386.0ms

Accuracy

36.6% (1.9b remaining)

Error of 1.9b against oracle of 0.0b and baseline of 3.0b

bsearch4.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05055
15455
25755
35955
45955

end0.0ms

sample600.0ms

Algorithm
intervals
Results
356.0ms10150×body80valid

Profiling

Loading profile data...