Details

Time bar (total: 5.8s)

sample36.0ms

Algorithm
intervals
Results
7.0ms35×body1280valid
7.0ms178×body80valid
4.0ms27×body640valid
3.0ms128×body80nan
2.0ms12×body1280nan
1.0ms12×body320valid
1.0ms11×body320nan
1.0msbody640nan
0.0msbody160valid
0.0msbody160nan

simplify19.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: 19.3b

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))
1.5b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.9b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite73.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:
16.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
18.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series256.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(/ (- x y) (- 1.0 y))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
83.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify107.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
09864621
132403344
250013134

prune412.0ms

Filtered
239 candidates to 126 candidates (52.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2363239
Fresh000
Picked101
Done000
Total2373240

Merged error: 0.0b

Counts
240 → 3

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

rewrite72.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:
15.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
16.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series366.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
010744812
137213718
250013710

prune556.0ms

Filtered
260 candidates to 157 candidates (60.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2582260
Fresh112
Picked011
Done000
Total2594263

Merged error: 0b

Counts
263 → 4

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)))

rewrite3.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))))
1.0ms
(fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0)))

series246.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0135299
1355245
21721235
35002224

prune78.0ms

Filtered
30 candidates to 26 candidates (86.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New30030
Fresh022
Picked011
Done011
Total30434

Merged error: 0b

Counts
34 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (- 1.0 (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
1.5b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
12.1b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
12.8b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

rewrite282.0ms

Algorithm
rewrite-expression-head
Rules
1072×add-sqr-sqrt
1012×*-un-lft-identity
828×prod-diff
616×times-frac
615×unpow-prod-down cube-prod
498×add-cube-cbrt
289×difference-of-squares
256×distribute-lft-out--
101×sqr-pow
81×cube-mult unpow3
48×associate-/r/
39×log-prod
27×flip3-- flip--
24×div-inv
16×associate-+l+
15×pow1
12×fma-neg
11×log-pow
log-div add-log-exp
add-exp-log fma-def distribute-lft-out
expm1-log1p-u add-cbrt-cube log1p-expm1-u
associate-+r+ flip3-+ flip-+
difference-cubes associate-+r- sub-neg diff-log rem-log-exp sum-log associate--r-
+-commutative associate-+l-
Counts
4 → 982
Calls
4 calls:
25.0ms
(+ (- 1.0 (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
62.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
17.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
79.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

series975.0ms

Counts
4 → 12
Calls
4 calls:
308.0ms
(+ (- 1.0 (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
175.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
162.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
330.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

simplify331.0ms

Algorithm
egg-herbie
Counts
994 → 994
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
0181633637
1500125708

prune685.0ms

Filtered
994 candidates to 138 candidates (13.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New9940994
Fresh011
Picked011
Done022
Total9944998

Merged error: 0b

Counts
998 → 4

regimes120.0ms

Accuracy

99% (0.2b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02519
12519

end0.0ms

sample1.0s

Algorithm
intervals
Results
221.0ms5669×body80valid
169.0ms873×body1280valid
110.0ms797×body640valid
101.0ms3793×body80nan
60.0ms399×body1280nan
46.0ms411×body640nan
41.0ms430×body320valid
18.0ms221×body320nan
15.0ms231×body160valid
5.0ms102×body160nan