Details

Time bar (total: 7.7s)

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 18.356323%

Guaranteed chance to sample good point: 51.919411%

Results
10.0ms188×body80valid
6.0ms25×body1280valid
4.0ms20×body640valid
3.0ms20×body640nan
3.0ms13×body1280nan
2.0ms14×body320valid
1.0ms10×body320nan
1.0msbody160valid
1.0msbody160nan
0.0ms12×body80nan

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1296
2416
3606
4786
5946
61096
71396
82146
92796
102796

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.1b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
2.7b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.9b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
51×*-un-lft-identity
28×times-frac
19×difference-of-squares
18×add-cube-cbrt
17×distribute-lft-out--
12×log-prod
add-exp-log add-log-exp
pow1 flip3-- add-cbrt-cube flip-- associate--r+
associate-/r* associate-/l*
log-div
associate--r-
sub-neg diff-log div-sub associate-/r/ log-pow associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num div-inv
Counts
4 → 108
Calls
4 calls:
18.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
14.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
21.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series41.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
6.0ms
(/ (- x y) (- 1.0 y))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
12.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify47.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0495950
11433898
25002876

prune217.0ms

Filtered
88 candidates to 120 candidates (-36.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1155120
Fresh000
Picked101
Done000
Total1165121

Merged error: 0.1b

Counts
121 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
2.7b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
77×*-un-lft-identity
69×times-frac
37×add-cube-cbrt
28×difference-of-squares
24×log-prod
20×distribute-lft-out--
11×associate-/r*
add-exp-log
add-cbrt-cube associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-exp div-inv
cbrt-undiv frac-2neg div-sub rem-log-exp clear-num associate-/l/
sub-neg log-div diff-log log-pow associate--r-
Counts
4 → 144
Calls
4 calls:
16.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
17.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series52.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
15.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify57.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
06211546
119741467
250011448

prune291.0ms

Filtered
118 candidates to 156 candidates (-32.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh134
Picked011
Done000
Total1565161

Merged error: 0b

Counts
161 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y)))
0.1b
(/ (- x y) (sqrt (- 1.0 y)))
3.9b
(log (- 1.0 (/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y)))))
8.3b
(- 1.0 (/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y))))

rewrite279.0ms

Algorithm
rewrite-expression-head
Rules
788×times-frac
697×add-sqr-sqrt
653×*-un-lft-identity
500×sqrt-prod
291×add-cube-cbrt
193×difference-of-squares
181×distribute-lft-out--
51×associate-/l*
22×sqrt-div associate-/r/
16×associate-/r*
14×flip3-- flip--
12×add-exp-log
11×log-prod add-cbrt-cube div-inv
add-log-exp
pow1 div-sub
cbrt-undiv div-exp
associate-/l/
log-div frac-2neg clear-num
sub-neg diff-log rem-log-exp log-pow associate--r-
Counts
4 → 553
Calls
4 calls:
26.0ms
(/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y)))
9.0ms
(/ (- x y) (sqrt (- 1.0 y)))
100.0ms
(log (- 1.0 (/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y)))))
101.0ms
(- 1.0 (/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y))))

series44.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y)))
17.0ms
(/ (- x y) (sqrt (- 1.0 y)))
12.0ms
(log (- 1.0 (/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y)))))
10.0ms
(- 1.0 (/ (/ (- x y) (sqrt (- 1.0 y))) (sqrt (- 1.0 y))))

simplify145.0ms

Algorithm
egg-herbie
Counts
565 → 565
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
012998607
147427738
250037720

prune634.0ms

Filtered
210 candidates to 565 candidates (-169.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New5650565
Fresh033
Picked011
Done011
Total5655570

Merged error: 0b

Counts
570 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
0.0b
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
0.3b
(* (* 1.0 (exp 1.0)) (- x y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in
log-prod pow-prod-down prod-exp cbrt-unprod
log-div flip3-+ associate-*r/ flip-+
+-commutative flip3-- rem-log-exp associate-*l* sum-log log-pow *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 55
Calls
3 calls:
8.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
9.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
8.0ms
(* (* 1.0 (exp 1.0)) (- x y))

series35.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
9.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
10.0ms
(* (* 1.0 (exp 1.0)) (- x y))

simplify47.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0326591
11456505
25002464

prune99.0ms

Filtered
43 candidates to 64 candidates (-48.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh022
Picked011
Done022
Total64569

Merged error: 0b

Counts
69 → 5

regimes255.0ms

Accuracy

99.2% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 18.3b

bsearch71.0ms

Steps
ItersRangePoint
11
0.0034872975134358857
4.010806394245789e+24
1.0136458311027519
9
-9.395777236043229e+16
-41874091.446849674
-120438841.71974802

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03519
13519

end0.0ms

sample3.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 18.356323%

Guaranteed chance to sample good point: 51.919411%

Results
300.0ms5701×body80valid
213.0ms827×body1280valid
143.0ms770×body640valid
141.0ms674×body1280nan
117.0ms765×body640nan
62.0ms463×body320valid
51.0ms452×body320nan
23.0ms239×body160valid
19.0ms253×body160nan
11.0ms284×body80nan

Profiling

Loading profile data...