Details

Time bar (total: 4.3s)

sample37.0ms

Algorithm
intervals
Results
7.0ms176×body80valid
5.0ms25×body1280valid
4.0ms26×body640valid
3.0ms96×body80nan
2.0ms12×body1280nan
2.0ms16×body320valid
1.0ms12×body640nan
1.0ms13×body160valid
1.0msbody320nan
0.0msbody160nan

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

prune4.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.7b

Counts
2 → 1

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
3.2b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.0b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
175×add-sqr-sqrt
169×*-un-lft-identity
102×times-frac
93×prod-diff
81×add-cube-cbrt
46×difference-of-squares
44×distribute-lft-out--
associate-/r/
flip3-- flip--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 div-inv
expm1-log1p-u fma-neg log1p-expm1-u
log-div div-sub associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow associate--r-
Counts
3 → 187
Calls
3 calls:
11.0ms
(/ (- x y) (- 1.0 y))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
22.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series167.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ (- x y) (- 1.0 y))
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
82.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify89.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
08473956
127662899
250012689

prune319.0ms

Filtered
196 candidates to 98 candidates (50.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1915196
Fresh000
Picked101
Done000
Total1925197

Merged error: 0.1b

Counts
197 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
4.0b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
4.6b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite29.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:
5.0ms
(/ 1 (- 1.0 y))
13.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
4.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ 1 (- 1.0 y))
35.0ms
(* (- x y) (/ 1 (- 1.0 y)))
82.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
53.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify61.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0521939
12201815
25001760

prune232.0ms

Filtered
143 candidates to 96 candidates (67.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh044
Picked011
Done000
Total1435148

Merged error: 0.1b

Counts
148 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

3.2b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.0b
(log (- 1.0 (/ (- x y) (- 1.0 y))))
4.0b
(log (- 1.0 (/ (- x y) (- 1.0 y))))
4.0b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
152×add-sqr-sqrt
140×*-un-lft-identity
93×prod-diff
79×times-frac
72×add-cube-cbrt
38×difference-of-squares
34×distribute-lft-out--
18×log-prod
pow1 add-exp-log flip3-- flip--
log-div associate-/r/ add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg rem-log-exp log-pow div-inv
sub-neg diff-log div-sub associate--r-
Counts
4 → 171
Calls
4 calls:
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
18.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
21.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
17.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series300.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
84.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
81.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
82.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify84.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
07434004
123232916
250012680

prune368.0ms

Filtered
183 candidates to 92 candidates (50.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1830183
Fresh033
Picked011
Done011
Total1835188

Merged error: 0.1b

Counts
188 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
3.1b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
4.0b
(log (/ (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))) (+ 1.0 (/ (- x y) (- 1.0 y)))))
8.5b
(/ (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))) (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
273×*-un-lft-identity
184×times-frac
183×add-sqr-sqrt
76×distribute-lft-out--
75×add-cube-cbrt
58×difference-of-squares
55×swap-sqr
31×associate-*r* associate-*l*
22×log-prod
21×add-exp-log
18×add-cbrt-cube
12×pow1 associate-/r/
distribute-lft-out
flip3-- div-exp flip-- div-inv add-log-exp
cbrt-undiv
expm1-log1p-u prod-exp associate-/r* cbrt-unprod log1p-expm1-u associate-/l* unswap-sqr
flip3-+ rem-log-exp flip-+ associate-/l/
pow2 frac-times sub-neg log-div frac-2neg pow-plus fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num pow-sqr log-pow *-commutative pow-prod-up
Counts
4 → 242
Calls
4 calls:
34.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
4.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
16.0ms
(log (/ (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))) (+ 1.0 (/ (- x y) (- 1.0 y)))))
18.0ms
(/ (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))) (+ 1.0 (/ (- x y) (- 1.0 y))))

series501.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
112.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
194.0ms
(log (/ (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))) (+ 1.0 (/ (- x y) (- 1.0 y)))))
148.0ms
(/ (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))) (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify63.0ms

Algorithm
egg-herbie
Counts
254 → 254
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010733699
150013446

prune458.0ms

Filtered
254 candidates to 155 candidates (61.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2522254
Fresh022
Picked101
Done112
Total2545259

Merged error: 0.1b

Counts
259 → 5

regimes118.0ms

Accuracy

99.5% (0.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02718
12718

end0.0ms

sample961.0ms

Algorithm
intervals
Results
209.0ms5669×body80valid
151.0ms795×body1280valid
111.0ms804×body640valid
94.0ms3691×body80nan
47.0ms315×body1280nan
45.0ms463×body320valid
44.0ms398×body640nan
17.0ms213×body320nan
17.0ms269×body160valid
6.0ms105×body160nan