Details

Time bar (total: 6.6s)

sample34.0ms

Algorithm
intervals
Results
7.0ms187×body80valid
5.0ms25×body1280valid
3.0ms107×body80nan
2.0ms17×body640valid
2.0ms13×body1280nan
1.0ms15×body320valid
1.0ms12×body640nan
1.0ms12×body160valid
0.0msbody320nan
0.0msbody160nan

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.1b

localize11.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.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite109.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))
27.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
30.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series274.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
38.0ms
(/ (- x y) (- 1.0 y))
55.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
87.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify107.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
09864621
132403344
250013134

prune441.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
4.8b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
5.2b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

rewrite39.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))
24.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
2.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

series201.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ 1 (- 1.0 y))
37.0ms
(* (- x y) (/ 1 (- 1.0 y)))
55.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))
87.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0521939
12176819
25001766

prune302.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

3.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))
5.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite136.0ms

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

series280.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
81.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
88.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify97.0ms

Algorithm
egg-herbie
Counts
278 → 278
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
07437172
123235080
250014612

prune570.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (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)))))))
3.0b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
13.6b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
14.0b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite504.0ms

Algorithm
rewrite-expression-head
Rules
1120×add-sqr-sqrt
1014×*-un-lft-identity
832×prod-diff
633×unpow-prod-down cube-prod
624×times-frac
500×add-cube-cbrt
313×difference-of-squares
259×distribute-lft-out--
111×sqr-pow
81×cube-mult unpow3
72×log-prod
48×associate-/r/
33×associate--l+
28×flip3-- flip--
24×div-inv
19×pow1
16×fma-neg
15×log-pow
log-div
add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
difference-cubes associate--r+
associate--l- sub-neg flip3-+ diff-log rem-log-exp flip-+ associate--r-
Counts
4 → 1013
Calls
4 calls:
118.0ms
(- (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)))))))
109.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
122.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
40.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series1.1s

Counts
4 → 12
Calls
4 calls:
377.0ms
(- (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)))))))
186.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
331.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
173.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify322.0ms

Algorithm
egg-herbie
Counts
1025 → 1025
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0182335298
1500126869

prune789.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.1b

regimes196.0ms

Accuracy

98.4% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 17.8b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02718
12718

end0.0ms

sample994.0ms

Algorithm
intervals
Results
214.0ms5713×body80valid
162.0ms825×body1280valid
106.0ms788×body640valid
101.0ms3682×body80nan
55.0ms344×body1280nan
47.0ms403×body640nan
42.0ms434×body320valid
17.0ms213×body320nan
15.0ms240×body160valid
5.0ms101×body160nan