Details

Time bar (total: 4.5s)

sample45.0ms

Algorithm
intervals
Results
8.0ms168×body80valid
7.0ms33×body1280valid
4.0ms24×body640valid
3.0ms97×body80nan
3.0ms14×body1280nan
2.0ms20×body320valid
2.0ms15×body640nan
1.0ms11×body160valid
1.0msbody320nan
0.0msbody160nan

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

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: 21.9b

Counts
2 → 1

localize8.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.5b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.6b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite56.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:
16.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
11.0ms
(/ (- x y) (- 1.0 y))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
13.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series250.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
37.0ms
(/ (- x y) (- 1.0 y))
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
80.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify43.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0488942
11388894
25001876

prune293.0ms

Filtered
120 candidates to 88 candidates (73.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1146120
Fresh000
Picked101
Done000
Total1156121

Merged error: 0.2b

Counts
121 → 6

localize13.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.5b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite60.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))))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series361.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
39.0ms
(/ (- x y) (- 1.0 y))
122.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify56.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
06211546
119741467
250011448

prune378.0ms

Filtered
156 candidates to 117 candidates (75.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1515156
Fresh415
Picked101
Done000
Total1566162

Merged error: 0.1b

Counts
162 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
0.2b
(/ (exp 1.0) (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
5.9b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
49×*-un-lft-identity
41×times-frac
32×add-cube-cbrt
21×associate-*r*
18×add-exp-log
13×add-cbrt-cube
associate-/r* distribute-lft-out-- difference-of-squares
pow1
flip3-- associate-/r/ flip-- associate-/l* add-log-exp
div-exp associate-*l*
prod-exp
cbrt-undiv div-inv unswap-sqr
frac-times rec-exp frac-2neg 1-exp associate-*l/ clear-num cbrt-unprod
sub-neg pow-flip diff-log associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 132
Calls
4 calls:
6.0ms
(/ 1 (- 1.0 y))
13.0ms
(* (- x y) (/ 1 (- 1.0 y)))
5.0ms
(/ (exp 1.0) (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series235.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- 1.0 y))
36.0ms
(* (- x y) (/ 1 (- 1.0 y)))
125.0ms
(/ (exp 1.0) (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
50.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify67.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05401043
12358932
25001885

prune320.0ms

Filtered
144 candidates to 94 candidates (65.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1431144
Fresh055
Picked101
Done000
Total1446150

Merged error: 0.1b

Counts
150 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
2.5b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.5b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
46×*-un-lft-identity times-frac
26×add-cube-cbrt
20×difference-of-squares
12×associate-/r*
10×distribute-lft-out--
add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv associate--r-
Counts
4 → 114
Calls
4 calls:
18.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
17.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
14.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series346.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
120.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify114.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
02691308
18261224
240071210
350011210

prune427.0ms

Filtered
126 candidates to 98 candidates (77.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh145
Picked011
Done000
Total1266132

Merged error: 0.1b

Counts
132 → 6

regimes173.0ms

Accuracy

99.5% (0.1b remaining)

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

bsearch128.0ms

Steps
ItersRangePoint
9
4436625.583370406
1.11049414308367e+15
36362977.00338186
9
-21514814691.886383
-205992.06318510068
-411945099.21176857

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03627
13627

end0.0ms

sample994.0ms

Algorithm
intervals
Results
217.0ms5700×body80valid
157.0ms822×body1280valid
109.0ms781×body640valid
100.0ms3769×body80nan
55.0ms359×body1280nan
46.0ms362×body640nan
45.0ms470×body320valid
16.0ms197×body320nan
15.0ms227×body160valid
6.0ms114×body160nan