Details

Time bar (total: 10.9s)

sample40.0ms

Algorithm
intervals
Results
9.0ms184×body80valid
5.0ms29×body1280valid
3.0ms24×body640valid
3.0ms99×body80nan
2.0ms13×body1280nan
1.0ms14×body640nan
1.0msbody320valid
1.0ms10×body160valid
0.0msbody320nan
0.0msbody160nan

simplify21.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: 18.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
2.9b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.5b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite162.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
(/ (- x y) (- 1.0 y))
38.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
41.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
44.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series234.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (- x y) (- 1.0 y))
80.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
74.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify105.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
09864621
132403344
250013134

prune438.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- 1.0 y))
0.3b
(cbrt (- 1.0 y))
4.5b
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
12.8b
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

rewrite294.0ms

Algorithm
rewrite-expression-head
Rules
540×times-frac
485×add-sqr-sqrt
461×*-un-lft-identity
426×prod-diff
303×add-cube-cbrt
298×cbrt-div
269×cbrt-prod
198×associate-/r/
151×flip3-- flip--
96×frac-times
87×difference-of-squares
79×distribute-lft-out--
48×associate-*r/ associate-*l/
27×div-inv
log-prod
add-log-exp
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
log-div pow1/3 div-sub
sub-neg diff-log rem-log-exp log-pow associate--r-
Counts
4 → 506
Calls
4 calls:
4.0ms
(cbrt (- 1.0 y))
4.0ms
(cbrt (- 1.0 y))
115.0ms
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
109.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

series301.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(cbrt (- 1.0 y))
88.0ms
(cbrt (- 1.0 y))
79.0ms
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
48.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

simplify295.0ms

Algorithm
egg-herbie
Counts
518 → 518
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
0314832097
1500231058

prune1.4s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

4.3b
(log (sqrt (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
4.3b
(log (sqrt (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
12.8b
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))
12.8b
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

rewrite500.0ms

Algorithm
rewrite-expression-head
Rules
1080×times-frac
956×add-sqr-sqrt
908×*-un-lft-identity
852×prod-diff
600×add-cube-cbrt
588×cbrt-div
518×cbrt-prod
396×associate-/r/
298×flip3-- flip--
192×frac-times
170×difference-of-squares
154×distribute-lft-out--
96×associate-*r/ associate-*l/
54×div-inv
24×log-prod
18×sqrt-prod
pow1 add-log-exp
add-exp-log fma-neg log-pow
expm1-log1p-u log-div sqrt-div div-sub add-cbrt-cube log1p-expm1-u
sub-neg sqrt-pow1 pow1/2 diff-log rem-log-exp associate--r-
Counts
4 → 954
Calls
4 calls:
79.0ms
(log (sqrt (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
78.0ms
(log (sqrt (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
109.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))
110.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

series345.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(log (sqrt (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
124.0ms
(log (sqrt (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
45.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))
56.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

simplify542.0ms

Algorithm
egg-herbie
Counts
966 → 966
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0307663952
1500261942

prune3.6s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.1b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
2.9b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite180.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
(/ (- x y) (- 1.0 y))
34.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
65.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
44.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (- x y) (- 1.0 y))
137.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
112.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
49.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify115.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
010744812
137213718
250013710

prune545.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes172.0ms

Accuracy

99% (0.2b remaining)

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

bsearch197.0ms

Steps
ItersRangePoint
11
0.005224711248419297
3.1001251511911e+29
0.9979648952928983
7
-1455544721.0569484
-41026626.92430381
-78185572.37681165

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076130
183130
285130
385130

end0.0ms

sample1.1s

Algorithm
intervals
Results
220.0ms5719×body80valid
146.0ms789×body1280valid
107.0ms807×body640valid
97.0ms3800×body80nan
52.0ms343×body1280nan
46.0ms409×body640nan
42.0ms456×body320valid
16.0ms208×body320nan
15.0ms229×body160valid
6.0ms122×body160nan