Details

Time bar (total: 5.2s)

sample37.0ms

Algorithm
intervals
Results
7.0ms175×body80valid
5.0ms25×body1280valid
4.0ms132×body80nan
3.0ms19×body640valid
2.0ms14×body1280nan
2.0ms18×body640nan
2.0ms18×body320valid
1.0ms19×body160valid
1.0msbody320nan
0.0msbody160nan

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.0b

localize12.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))
5.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
6.1b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip--
associate-/r/
add-exp-log add-log-exp
fma-neg add-cbrt-cube associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
associate--r-
sub-neg diff-log div-sub associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 227
Calls
4 calls:
23.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
15.0ms
(/ (- x y) (- 1.0 y))
28.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
28.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
37.0ms
(/ (- x y) (- 1.0 y))
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
87.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify111.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
09864621
132403344
250013134

prune442.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

5.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
6.2b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
6.2b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
278×add-sqr-sqrt
266×*-un-lft-identity
186×prod-diff
154×times-frac
138×add-cube-cbrt
68×difference-of-squares
64×distribute-lft-out--
18×log-prod
12×sqrt-prod associate-/r/
10×flip3-- flip--
pow1 add-log-exp
add-exp-log fma-neg log-pow div-inv
expm1-log1p-u log-div sqrt-div add-cbrt-cube log1p-expm1-u
sub-neg sqrt-pow1 pow1/2 diff-log div-sub rem-log-exp associate--r-
Counts
4 → 276
Calls
4 calls:
27.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
31.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
20.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
21.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series382.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
57.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
130.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
137.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify105.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
07757342
124065244
250024770

prune549.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
226×add-sqr-sqrt
202×*-un-lft-identity
144×times-frac
102×add-cube-cbrt
93×prod-diff
58×difference-of-squares
50×distribute-lft-out--
24×log-prod
12×associate-/r/
11×associate-/r*
add-exp-log
flip3-- add-cbrt-cube flip-- associate-/l*
div-inv add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
fma-neg div-exp
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 → 248
Calls
4 calls:
22.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
12.0ms
(/ (- x y) (- 1.0 y))
43.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
27.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series572.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
237.0ms
(/ (- x y) (- 1.0 y))
127.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify112.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
010744812
137213718
250013710

prune547.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(log (fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0))))
0.2b
(fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-prod *-un-lft-identity
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp log-pow fma-udef
Counts
2 → 24
Calls
2 calls:
1.0ms
(log (fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0))))
0.0ms
(fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0)))

series249.0ms

Counts
2 → 6
Calls
2 calls:
167.0ms
(log (fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0))))
82.0ms
(fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0135299
1355245
21721235
35002224

prune75.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes116.0ms

Accuracy

99.4% (0.1b remaining)

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

bsearch114.0ms

Steps
ItersRangePoint
9
0.006665254470786589
16112908.465778163
15857199.25534847
9
-4638439513302.711
-14674.600957416102
-150668776.17725816

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

sample1.1s

Algorithm
intervals
Results
234.0ms5700×body80valid
171.0ms828×body1280valid
110.0ms760×body640valid
106.0ms3696×body80nan
60.0ms370×body1280nan
53.0ms438×body640nan
47.0ms454×body320valid
22.0ms223×body320nan
18.0ms258×body160valid
7.0ms120×body160nan