Details

Time bar (total: 5.4s)

sample52.0ms

Algorithm
intervals
Results
9.0ms178×body80valid
6.0ms43×body640nan
6.0ms23×body1280valid
5.0ms30×body640valid
4.0ms23×body1280nan
4.0ms115×body80nan
2.0ms22×body320nan
2.0ms15×body320valid
1.0ms10×body160valid
1.0msbody160nan

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

Counts
2 → 1

localize9.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))
2.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
51×*-un-lft-identity
28×times-frac
19×difference-of-squares
18×add-cube-cbrt
17×distribute-lft-out--
12×log-prod
add-exp-log add-log-exp
pow1 flip3-- add-cbrt-cube flip-- associate--r+
associate-/r* associate-/l*
log-div
associate--r-
sub-neg diff-log div-sub associate-/r/ log-pow associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num div-inv
Counts
4 → 108
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)))
14.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
37.0ms
(/ (- x y) (- 1.0 y))
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
86.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify46.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0488942
11388894
25001876

prune263.0ms

Filtered
120 candidates to 88 candidates (73.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1164120
Fresh000
Picked101
Done000
Total1174121

Merged error: 0.1b

Counts
121 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

2.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
2.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
18×log-prod
16×*-un-lft-identity
12×sqrt-prod
pow1 add-cube-cbrt add-log-exp difference-of-squares
add-exp-log log-pow
log-div flip3-- times-frac sqrt-div add-cbrt-cube flip-- distribute-lft-out--
sub-neg sqrt-pow1 pow1/2 diff-log div-sub rem-log-exp associate--r-
Counts
4 → 76
Calls
4 calls:
15.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
14.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
14.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series408.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
161.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
144.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify81.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0228854
1533780
22131776
35001768

prune226.0ms

Filtered
88 candidates to 68 candidates (77.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New88088
Fresh033
Picked011
Done000
Total88492

Merged error: 0.1b

Counts
92 → 4

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)))))))
2.2b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
10.6b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
13.2b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
148×add-sqr-sqrt
73×difference-of-squares
72×log-prod
54×unpow-prod-down cube-prod
42×*-un-lft-identity
33×associate--l+
30×sqr-pow
24×times-frac
19×distribute-lft-out--
10×pow1
add-cube-cbrt log-div
add-exp-log log-pow add-log-exp
flip3-- add-cbrt-cube flip--
difference-cubes associate--r+
associate--l- sub-neg flip3-+ diff-log rem-log-exp flip-+ associate--r-
Counts
4 → 157
Calls
4 calls:
66.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)))))))
43.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))))))
44.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

series1.1s

Counts
4 → 12
Calls
4 calls:
375.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)))))))
180.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
195.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
350.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

simplify76.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06003250
117953141
250023063

prune485.0ms

Filtered
169 candidates to 107 candidates (63.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1690169
Fresh022
Picked011
Done011
Total1694173

Merged error: 0.1b

Counts
173 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (pow y 2)) (/ 1 y))
0.7b
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
4.0b
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
8.4b
(/ x (pow y 2))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
48×times-frac
34×*-un-lft-identity
22×add-cube-cbrt
15×unpow-prod-down difference-of-squares
10×add-exp-log
associate-/r* add-log-exp
unpow2 sqr-pow
associate-*r/ frac-add add-cbrt-cube
pow1 log-div
associate-+l+
sub-neg log-prod flip3-- div-exp frac-sub flip-- associate-/l* distribute-lft-out--
distribute-rgt-in distribute-lft-in flip3-+ flip-+ div-inv
cbrt-undiv +-commutative pow-to-exp frac-2neg diff-log rem-log-exp pow-exp clear-num sum-log log-pow
Counts
4 → 115
Calls
4 calls:
21.0ms
(- (/ x (pow y 2)) (/ 1 y))
29.0ms
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
26.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
5.0ms
(/ x (pow y 2))

series159.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ x (pow y 2)) (/ 1 y))
67.0ms
(log (+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y)))
37.0ms
(+ (* 1.0 (- (/ x (pow y 2)) (/ 1 y))) (/ x y))
23.0ms
(/ x (pow y 2))

simplify60.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05191119
118961012
250011003

prune254.0ms

Filtered
127 candidates to 82 candidates (64.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1261127
Fresh011
Picked011
Done022
Total1265131

Merged error: 0.1b

Counts
131 → 5

regimes141.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02927
12927

end0.0ms

sample1.4s

Algorithm
intervals
Results
272.0ms5636×body80valid
207.0ms851×body1280valid
142.0ms793×body640valid
141.0ms732×body1280nan
121.0ms806×body640nan
97.0ms2734×body80nan
60.0ms453×body320valid
46.0ms432×body320nan
23.0ms267×body160valid
17.0ms236×body160nan

Profiling

Loading profile data...