Details

Time bar (total: 5.8s)

sample812.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 74.65893%

Space saved by search: 0.195169%

Guaranteed chance to sample good point: 0%

Results
13.0ms189×body80valid
9.0ms25×body640valid
7.0msbody1280valid
6.0ms24×body320valid
1.0ms10×body160valid
0.0msbody80nan
0.0msbody80invalid

simplify136.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0269
1499
21189
32569
45339
512509
626379
742979
845739
945889
1045889

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.8b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
0.0b
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
0.1b
(* (- x 1.0) (log y))
5.6b
(log (- 1.0 y))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
27×log-prod
25×add-sqr-sqrt
23×*-un-lft-identity
13×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in add-log-exp
10×associate-+r+ associate-*l/
pow1
add-exp-log flip3-- flip--
associate-+l+ add-cbrt-cube
associate-*l* distribute-lft-out-- difference-of-squares
associate-*r* frac-add
log-div diff-log sum-log log-pow
+-commutative sub-neg flip3-+ rem-log-exp pow-prod-down prod-exp associate--l+ *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 92
Calls
4 calls:
11.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
10.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
7.0ms
(* (- x 1.0) (log y))
3.0ms
(log (- 1.0 y))

series77.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
35.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
13.0ms
(* (- x 1.0) (log y))
4.0ms
(log (- 1.0 y))

simplify64.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0675988
12441924
25003884

prune209.0ms

Filtered
80 candidates to 104 candidates (-30.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New968104
Fresh000
Picked101
Done000
Total978105

Merged error: 0.0b

Counts
105 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.0b
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.0b
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
0.1b
(* (- x 1.0) (log y))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt flip3-- flip--
25×*-un-lft-identity
24×log-prod associate-*l/
16×distribute-rgt-in add-cube-cbrt distribute-lft-in frac-add
13×associate--l+
12×frac-times
11×add-log-exp
10×pow1 associate-+r+ associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-+l+ associate-*r/
sub-neg distribute-lft-out--
difference-of-squares
diff-log pow-prod-down prod-exp sum-log log-pow *-commutative cbrt-unprod unswap-sqr
+-commutative flip3-+ flip-+
Counts
4 → 129
Calls
4 calls:
11.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
12.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
12.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
7.0ms
(* (- x 1.0) (log y))

series122.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
13.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
61.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
10.0ms
(* (- x 1.0) (log y))

simplify129.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
09152563
146332482
250022446

prune481.0ms

Filtered
103 candidates to 141 candidates (-36.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh167
Picked011
Done000
Total1418149

Merged error: 0.0b

Counts
149 → 8

localize27.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt y) (cbrt y))
0.7b
(cbrt y)
0.7b
(cbrt y)
0.7b
(cbrt y)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt y) (cbrt y))
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series93.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (cbrt y) (cbrt y))
22.0ms
(cbrt y)
21.0ms
(cbrt y)
23.0ms
(cbrt y)

simplify72.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0148349
1471322
22276265
35002253

prune195.0ms

Filtered
56 candidates to 85 candidates (-51.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh066
Picked101
Done011
Total85893

Merged error: 0.0b

Counts
93 → 8

localize35.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt y)
0.7b
(cbrt y)
0.7b
(cbrt y)
1.1b
(pow (cbrt (cbrt y)) (+ 4 1))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
13×*-un-lft-identity
11×add-sqr-sqrt add-cube-cbrt
unpow-prod-down
pow1 add-exp-log
pow-unpow pow1/3 add-cbrt-cube add-log-exp
pow-pow
unpow-prod-up pow-to-exp pow-exp distribute-lft-out sqr-pow
Counts
4 → 59
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)
6.0ms
(pow (cbrt (cbrt y)) (+ 4 1))

series114.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt y)
21.0ms
(cbrt y)
25.0ms
(cbrt y)
46.0ms
(pow (cbrt (cbrt y)) (+ 4 1))

simplify89.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0202353
1637305
22101263
35001262

prune190.0ms

Filtered
55 candidates to 71 candidates (-29.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New71071
Fresh066
Picked011
Done011
Total71879

Merged error: 0.0b

Counts
79 → 8

regimes700.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02815
12815

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 74.65893%

Space saved by search: 0.195169%

Guaranteed chance to sample good point: 0%

Results
421.0ms5866×body80valid
285.0ms757×body640valid
190.0ms274×body1280valid
155.0ms666×body320valid
65.0ms437×body160valid
8.0ms108×body80nan
5.0ms40×body80invalid

Profiling

Loading profile data...