Details

Time bar (total: 5.0s)

sample37.0ms

Algorithm
intervals
Results
8.0ms193×body80valid
5.0ms26×body1280valid
4.0ms149×body80nan
3.0ms18×body640valid
2.0ms14×body640nan
1.0ms12×body320valid
1.0msbody1280nan
1.0msbody320nan
0.0msbody160valid
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

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

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.8b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.3b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
27×times-frac
16×add-cube-cbrt difference-of-squares
14×distribute-lft-out--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- flip--
log-div div-sub associate-/r/ associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow div-inv associate--r-
Counts
3 → 85
Calls
3 calls:
8.0ms
(/ (- x y) (- 1.0 y))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
13.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series176.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(/ (- x y) (- 1.0 y))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
85.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify43.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0397707
11115663
25001658

prune208.0ms

Filtered
94 candidates to 69 candidates (73.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh000
Picked101
Done000
Total91495

Merged error: 0.0b

Counts
95 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
3.3b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
4.5b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×*-un-lft-identity
32×times-frac
25×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*
div-exp prod-exp associate-/r/
log-prod 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 → 117
Calls
4 calls:
5.0ms
(/ 1 (- 1.0 y))
15.0ms
(* (- x y) (/ 1 (- 1.0 y)))
2.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series196.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ 1 (- 1.0 y))
39.0ms
(* (- x y) (/ 1 (- 1.0 y)))
84.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
50.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify57.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0480836
12036736
25001688

prune202.0ms

Filtered
129 candidates to 83 candidates (64.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done000
Total1294133

Merged error: 0.0b

Counts
133 → 4

localize23.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)))))))
1.8b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
11.7b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
12.0b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite181.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:
67.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)))))))
42.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
45.0ms
(log (- (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))))))

series1.0s

Counts
4 → 12
Calls
4 calls:
365.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)))))))
175.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
329.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
166.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify79.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06003250
117953141
250023065

prune441.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.0b

Counts
173 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
1.8b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
2.2b
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
3.3b
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
240×*-un-lft-identity
166×add-sqr-sqrt
152×times-frac
76×distribute-lft-out--
58×add-cube-cbrt
55×swap-sqr
50×difference-of-squares
31×associate-*r* associate-*l*
18×add-exp-log
16×add-cbrt-cube
13×pow1
log-prod associate-/r/
flip3-- flip-- add-log-exp
cbrt-undiv log-div div-exp prod-exp cbrt-unprod div-inv unswap-sqr
rem-log-exp log-pow
pow2 frac-times sub-neg flip3-+ pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+ distribute-lft-out
Counts
4 → 188
Calls
4 calls:
29.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
3.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
3.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
12.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

series529.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
103.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
304.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
79.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify108.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08992342
140772154
250022099

prune391.0ms

Filtered
200 candidates to 116 candidates (58.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1991200
Fresh011
Picked101
Done022
Total2004204

Merged error: 0.0b

Counts
204 → 4

regimes97.0ms

Accuracy

96.9% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 17.7b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03019
13019

end0.0ms

sample1.0s

Algorithm
intervals
Results
227.0ms5714×body80valid
156.0ms760×body1280valid
117.0ms822×body640valid
101.0ms3651×body80nan
50.0ms318×body1280nan
46.0ms449×body320valid
44.0ms372×body640nan
24.0ms236×body320nan
17.0ms255×body160valid
7.0ms126×body160nan

Profiling

Loading profile data...