Details

Time bar (total: 3.8s)

sample48.0ms

Algorithm
intervals
Results
8.0ms184×body80valid
8.0ms33×body1280valid
4.0ms24×body640valid
3.0ms20×body1280nan
3.0ms23×body640nan
3.0ms84×body80nan
2.0ms18×body320nan
1.0msbody320valid
1.0ms12×body160nan
1.0msbody160valid

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

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.8b

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))
1.8b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.1b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite50.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:
15.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
7.0ms
(/ (- x y) (- 1.0 y))
12.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
12.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series42.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
5.0ms
(/ (- x y) (- 1.0 y))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
14.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify42.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0495950
11433898
25002876

prune201.0ms

Filtered
120 candidates to 88 candidates (26.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1173120
Fresh000
Picked101
Done000
Total1183121

Merged error: 0.2b

Counts
121 → 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.8b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
77×*-un-lft-identity
69×times-frac
37×add-cube-cbrt
28×difference-of-squares
24×log-prod
20×distribute-lft-out--
11×associate-/r*
add-exp-log
add-cbrt-cube associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-exp div-inv
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 → 144
Calls
4 calls:
15.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
9.0ms
(/ (- x y) (- 1.0 y))
16.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
12.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
6.0ms
(/ (- x y) (- 1.0 y))
15.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify56.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
06211546
119741467
250011448

prune269.0ms

Filtered
156 candidates to 118 candidates (24.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh022
Picked011
Done000
Total1554159

Merged error: 0b

Counts
159 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
0.0b
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
0.3b
(* (* 1.0 (exp 1.0)) (- x y))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in
log-prod pow-prod-down prod-exp cbrt-unprod
log-div flip3-+ associate-*r/ flip-+
+-commutative flip3-- rem-log-exp associate-*l* sum-log log-pow *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 55
Calls
3 calls:
9.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
9.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
11.0ms
(* (* 1.0 (exp 1.0)) (- x y))

series35.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
10.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
10.0ms
(* (* 1.0 (exp 1.0)) (- x y))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0326591
11456505
25002464

prune103.0ms

Filtered
64 candidates to 43 candidates (32.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New64064
Fresh022
Picked011
Done011
Total64468

Merged error: 0b

Counts
68 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (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)))))))
1.8b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
10.4b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
12.6b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

rewrite183.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:
69.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)))))))
44.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
18.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
45.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
88.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)))))))
52.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
34.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
64.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

simplify75.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06143258
118883145
250013064

prune468.0ms

Filtered
169 candidates to 107 candidates (36.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done022
Total1694173

Merged error: 0b

Counts
173 → 4

regimes234.0ms

Accuracy

99.5% (0.1b remaining)

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

bsearch82.0ms

Steps
ItersRangePoint
11
2.077047617275485
2.9434032555578894e+20
3275091158.0087776
8
-399038245441.6171
-81569296.22560106
-160434533.41617155

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.4s

Algorithm
intervals
Results
274.0ms5738×body80valid
201.0ms824×body1280valid
132.0ms760×body640valid
129.0ms685×body1280nan
119.0ms775×body640nan
88.0ms2542×body80nan
55.0ms433×body320valid
47.0ms450×body320nan
21.0ms245×body160valid
19.0ms266×body160nan

Profiling

Loading profile data...