Details

Time bar (total: 4.8s)

sample44.0ms

Algorithm
intervals
Results
9.0ms187×body80valid
6.0ms25×body1280valid
5.0ms29×body640valid
3.0ms20×body1280nan
3.0ms21×body640nan
3.0ms82×body80nan
2.0ms19×body320nan
1.0ms11×body320valid
1.0msbody160nan
0.0msbody160valid

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

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

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.4b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.5b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite76.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)))
22.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series318.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
49.0ms
(/ (- x y) (- 1.0 y))
70.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
106.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify110.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
09864621
132403344
250013134

prune386.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: 0b

Counts
240 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
2.4b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
2.5b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
32×times-frac
27×add-cube-cbrt
21×associate-*r*
18×add-exp-log
11×add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
flip3-- flip-- add-log-exp
associate-*l* associate-/r*
expm1-log1p-u div-exp prod-exp associate-/r/ log1p-expm1-u
log-prod fma-neg prod-diff associate-/l* unswap-sqr
cbrt-undiv frac-times log-div rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ rem-log-exp pow-prod-down clear-num log-pow un-div-inv *-commutative inv-pow
Counts
4 → 131
Calls
4 calls:
6.0ms
(/ 1 (- 1.0 y))
16.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
3.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

series201.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- 1.0 y))
39.0ms
(* (- x y) (/ 1 (- 1.0 y)))
51.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
87.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0521939
12176819
25001766

prune231.0ms

Filtered
143 candidates to 97 candidates (67.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh022
Picked011
Done000
Total1433146

Merged error: 0b

Counts
146 → 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))))
1.4b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite77.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:
21.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
9.0ms
(/ (- x y) (- 1.0 y))
17.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
17.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series365.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
010744812
137213718
250013710

prune453.0ms

Filtered
260 candidates to 157 candidates (60.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2600260
Fresh011
Picked011
Done011
Total2603263

Merged error: 0b

Counts
263 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (pow y 2)) (/ 1 y))
3.8b
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
3.9b
(log (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
8.8b
(/ x (pow y 2))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
636×times-frac
469×add-sqr-sqrt
440×*-un-lft-identity
428×add-cube-cbrt
364×prod-diff
141×unpow-prod-down
49×unpow2 sqr-pow
44×div-inv
28×fma-neg
15×difference-of-squares
10×add-exp-log
associate-/r*
add-cbrt-cube add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
log-prod div-exp associate-/l* distribute-lft-out--
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg diff-log rem-log-exp pow-exp clear-num log-pow frac-sub flip-- fma-udef
Counts
4 → 500
Calls
4 calls:
30.0ms
(- (/ x (pow y 2)) (/ 1 y))
1.0ms
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
1.0ms
(log (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
5.0ms
(/ x (pow y 2))

series166.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (/ x (pow y 2)) (/ 1 y))
28.0ms
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
67.0ms
(log (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
36.0ms
(/ x (pow y 2))

simplify148.0ms

Algorithm
egg-herbie
Counts
512 → 512
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0127610765
133956095
250036012

prune464.0ms

Filtered
512 candidates to 134 candidates (26.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New5120512
Fresh000
Picked011
Done022
Total5123515

Merged error: 0b

Counts
515 → 3

regimes100.0ms

Accuracy

99.4% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02518
12518

end0.0ms

sample1.3s

Algorithm
intervals
Results
277.0ms5637×body80valid
205.0ms830×body1280valid
141.0ms777×body640valid
125.0ms688×body1280nan
111.0ms775×body640nan
94.0ms2637×body80nan
62.0ms492×body320valid
43.0ms410×body320nan
22.0ms264×body160valid
19.0ms244×body160nan

Profiling

Loading profile data...