Details

Time bar (total: 6.3s)

sample45.0ms

Algorithm
intervals
Results
9.0ms181×body80valid
5.0ms23×body1280valid
4.0ms24×body640valid
4.0ms24×body1280nan
3.0ms24×body640nan
3.0ms88×body80nan
2.0ms13×body320valid
1.0ms15×body160valid
1.0ms14×body160nan
1.0msbody320nan

simplify20.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: 18.4b

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))
3.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.6b
(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))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
21.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series257.0ms

Counts
4 → 12
Calls
4 calls:
90.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)))
82.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify104.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
09864621
132403344
250013134

prune383.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.1b

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.1b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
3.3b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite71.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:
18.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))))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series351.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(/ (- x y) (- 1.0 y))
121.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify118.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
010744812
137213718
250013710

prune453.0ms

Filtered
260 candidates to 157 candidates (60.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2591260
Fresh022
Picked011
Done000
Total2594263

Merged error: 0b

Counts
263 → 4

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

series236.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0135299
1355245
21721235
35002224

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

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (/ (- x y) (- 1.0 y)) 3)
3.3b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
5.6b
(log (/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0))))
10.6b
(/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0)))

rewrite342.0ms

Algorithm
rewrite-expression-head
Rules
1473×add-sqr-sqrt
1185×*-un-lft-identity
912×times-frac
816×prod-diff
754×unpow-prod-down cube-prod
585×add-cube-cbrt
452×difference-of-squares
300×distribute-lft-out--
162×sqr-pow
103×log-prod
82×cube-mult unpow3
52×associate-/r/
33×associate-/l*
28×flip3-- flip-- div-inv
12×add-exp-log fma-neg
add-cbrt-cube
difference-cubes
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
pow-unpow div-exp associate-/r*
cbrt-undiv rem-log-exp pow-exp associate-/l/ rem-cube-cbrt
cube-div pow-to-exp sub-neg log-div pow-pow frac-2neg diff-log div-sub clear-num log-pow
Counts
4 → 1224
Calls
4 calls:
10.0ms
(pow (/ (- x y) (- 1.0 y)) 3)
60.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
48.0ms
(log (/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0))))
99.0ms
(/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0)))

series801.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(pow (/ (- x y) (- 1.0 y)) 3)
171.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
328.0ms
(log (/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0))))
243.0ms
(/ (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)) (fma (/ (- x y) (- 1.0 y)) (+ 1.0 (/ (- x y) (- 1.0 y))) (* 1.0 1.0)))

simplify372.0ms

Algorithm
egg-herbie
Counts
1236 → 1236
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0207140517
1500132680

prune1.1s

Filtered
1236 candidates to 236 candidates (19.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New123601236
Fresh011
Picked011
Done022
Total123641240

Merged error: 0b

Counts
1240 → 4

regimes116.0ms

Accuracy

99.3% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02518
12518

end0.0ms

sample1.4s

Algorithm
intervals
Results
276.0ms5641×body80valid
203.0ms819×body1280valid
145.0ms804×body640valid
126.0ms672×body1280nan
110.0ms751×body640nan
97.0ms2661×body80nan
65.0ms481×body320valid
48.0ms454×body320nan
22.0ms255×body160valid
18.0ms261×body160nan