Details

Time bar (total: 7.7s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 68.75%

Guaranteed chance to sample good point: 60%

Results
13.0ms181×body80valid
11.0ms14×body1280valid
9.0ms78×body80nan
9.0ms22×body640valid
5.0ms23×body320valid
2.0ms16×body160valid

simplify127.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

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.4b

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
(* (- z 1.0) (log (- 1.0 y)))
0.1b
(* (- x 1.0) (log y))
6.0b
(log (- 1.0 y))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
37×log-prod
35×add-sqr-sqrt
31×*-un-lft-identity
17×add-cube-cbrt
16×distribute-rgt-in distribute-lft-in
12×associate-*l/
11×pow1
10×associate-+r+ associate-*l*
add-exp-log
associate-*r* add-cbrt-cube
flip3-- flip-- distribute-lft-out-- difference-of-squares
associate-+l+ add-log-exp
frac-add
log-pow
log-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative flip3-+ rem-log-exp sum-log flip-+
Counts
4 → 109
Calls
4 calls:
11.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
8.0ms
(* (- z 1.0) (log (- 1.0 y)))
6.0ms
(* (- x 1.0) (log y))
3.0ms
(log (- 1.0 y))

series45.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y))))
6.0ms
(* (- z 1.0) (log (- 1.0 y)))
9.0ms
(* (- x 1.0) (log y))
3.0ms
(log (- 1.0 y))

simplify68.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06731005
12529936
25001886

prune223.0ms

Filtered
87 candidates to 121 candidates (-39.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1156121
Fresh000
Picked101
Done000
Total1166122

Merged error: 0.1b

Counts
122 → 6

localize21.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))))))) t)
0.0b
(* 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)))))))
0.1b
(* (- x 1.0) (log y))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
86×add-sqr-sqrt
80×times-frac
72×associate-*r*
56×unpow-prod-down
50×*-un-lft-identity
46×add-cube-cbrt
29×add-exp-log
24×unpow2 sqr-pow
22×flip3-- associate-*l/ flip--
18×log-prod unswap-sqr
16×frac-add
11×distribute-rgt-in distribute-lft-in prod-exp add-cbrt-cube add-log-exp
10×associate-+r+
pow1 div-exp
frac-times associate-*l*
associate--l+
pow-to-exp associate-+l+ pow-exp
associate-*r/
sub-neg cbrt-unprod
diff-log pow-prod-down sum-log *-commutative distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative flip3-+ log-pow flip-+ div-inv
Counts
4 → 198
Calls
4 calls:
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)
20.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
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)))))))
7.0ms
(* (- x 1.0) (log y))

series109.0ms

Counts
4 → 12
Calls
4 calls:
54.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)
5.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
41.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
9.0ms
(* (- x 1.0) (log y))

simplify57.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
013282578
150012441

prune647.0ms

Filtered
147 candidates to 210 candidates (-42.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2055210
Fresh235
Picked101
Done000
Total2088216

Merged error: 0.1b

Counts
216 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
84×frac-add
80×flip3-- flip--
62×associate-*r/
50×associate-*l/
30×log-prod
26×add-sqr-sqrt
24×frac-times
22×*-un-lft-identity
21×distribute-rgt-in distribute-lft-in
18×add-cube-cbrt
16×associate-+l+
12×pow1 sqrt-prod
11×associate-+r+ associate-*r* associate-*l* add-log-exp
add-exp-log add-cbrt-cube
sub-neg associate--l+ log-pow
flip3-+ sum-log flip-+
+-commutative sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 168
Calls
4 calls:
10.0ms
(+ (* (log (sqrt y)) (- x 1.0)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
16.0ms
(+ (* (- x 1.0) (log (sqrt y))) (+ (* (log (sqrt y)) (- x 1.0)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
7.0ms
(* (log (sqrt y)) (- x 1.0))
7.0ms
(* (- x 1.0) (log (sqrt y)))

series93.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* (log (sqrt y)) (- x 1.0)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
41.0ms
(+ (* (- x 1.0) (log (sqrt y))) (+ (* (log (sqrt y)) (- x 1.0)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
13.0ms
(* (log (sqrt y)) (- x 1.0))
7.0ms
(* (- x 1.0) (log (sqrt y)))

simplify89.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
016355919
150035854

prune1.2s

Filtered
145 candidates to 180 candidates (-24.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1773180
Fresh077
Picked011
Done000
Total17711188

Merged error: 0.1b

Counts
188 → 11

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt y) (cbrt y))
0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite11.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:
5.0ms
(* (cbrt y) (cbrt y))
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series89.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0148349
1471322
22276265
35002252

prune153.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh189
Picked101
Done011
Total861096

Merged error: 0.1b

Counts
96 → 10

regimes598.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03121
13321
23321

end0.0ms

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 68.75%

Guaranteed chance to sample good point: 60%

Results
427.0ms5821×body80valid
282.0ms737×body640valid
193.0ms279×body1280valid
161.0ms673×body320valid
147.0ms1937×body80nan
77.0ms490×body160valid
2.0ms32×body80invalid

Profiling

Loading profile data...