Details

Time bar (total: 5.7s)

sample36.0ms

Algorithm
intervals
Results
7.0ms192×body80valid
4.0ms22×body1280valid
3.0ms23×body640valid
3.0ms95×body80nan
2.0ms15×body640nan
1.0ms14×body320valid
1.0msbody1280nan
0.0msbody320nan
0.0msbody160valid
0.0msbody160nan

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.4b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.9b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite78.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:
12.0ms
(/ (- x y) (- 1.0 y))
28.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
27.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series172.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ (- x y) (- 1.0 y))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
84.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify97.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
08473956
127662899
250012689

prune337.0ms

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
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
3.9b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
5.1b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite38.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))
23.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))))

series195.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1 (- 1.0 y))
36.0ms
(* (- x y) (/ 1 (- 1.0 y)))
81.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
53.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify60.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0521939
12201815
25001760

prune306.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.7b
(expm1 (log1p (- 1.0 (/ (- x y) (- 1.0 y)))))
2.4b
(- 1.0 (/ (- x y) (- 1.0 y)))
24.0b
(log (expm1 (log1p (- 1.0 (/ (- x y) (- 1.0 y))))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
171×add-sqr-sqrt
168×*-un-lft-identity
101×times-frac
93×prod-diff
82×add-cube-cbrt
44×difference-of-squares
43×distribute-lft-out--
associate-/r/
add-exp-log
flip3-- add-cbrt-cube flip-- add-log-exp
pow1 associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u div-inv
log-prod fma-neg
div-sub associate-/l/
cbrt-undiv sub-neg expm1-log1p frac-2neg diff-log div-exp rem-log-exp clear-num log-pow expm1-udef associate--r-
Counts
4 → 193
Calls
4 calls:
12.0ms
(/ (- x y) (- 1.0 y))
0.0ms
(expm1 (log1p (- 1.0 (/ (- x y) (- 1.0 y)))))
25.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
1.0ms
(log (expm1 (log1p (- 1.0 (/ (- x y) (- 1.0 y))))))

series526.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ (- x y) (- 1.0 y))
148.0ms
(expm1 (log1p (- 1.0 (/ (- x y) (- 1.0 y)))))
49.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
288.0ms
(log (expm1 (log1p (- 1.0 (/ (- x y) (- 1.0 y))))))

simplify103.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
010024167
133193084
250022858

prune427.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- x y) (/ 1 (- 1.0 y)))
3.9b
(log (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (fma 1.0 1.0 (* (/ (- x y) (- 1.0 y)) (+ (/ (- x y) (- 1.0 y)) 1.0)))))
5.0b
(- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3))
11.5b
(/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (fma 1.0 1.0 (* (/ (- x y) (- 1.0 y)) (+ (/ (- x y) (- 1.0 y)) 1.0))))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
183×add-sqr-sqrt
113×*-un-lft-identity
96×prod-diff
95×times-frac
88×add-cube-cbrt
69×sqr-pow
68×difference-of-squares
55×unpow-prod-down cube-prod
43×log-prod
21×cube-mult unpow3 associate-*r*
18×add-exp-log
13×associate-/l*
12×fma-neg distribute-lft-out--
11×add-cbrt-cube
difference-cubes
pow1
add-log-exp
flip3-- associate-*l* flip--
expm1-log1p-u div-exp prod-exp log1p-expm1-u
associate-/r* div-inv unswap-sqr
cbrt-undiv frac-times rem-log-exp associate-*l/ associate-/r/ cbrt-unprod associate-/l/
sub-neg log-div rec-exp frac-2neg diff-log 1-exp div-sub associate-*r/ pow-prod-down clear-num log-pow un-div-inv *-commutative
Counts
4 → 312
Calls
4 calls:
24.0ms
(* (- x y) (/ 1 (- 1.0 y)))
11.0ms
(log (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (fma 1.0 1.0 (* (/ (- x y) (- 1.0 y)) (+ (/ (- x y) (- 1.0 y)) 1.0)))))
20.0ms
(- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3))
42.0ms
(/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (fma 1.0 1.0 (* (/ (- x y) (- 1.0 y)) (+ (/ (- x y) (- 1.0 y)) 1.0))))

series828.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (- x y) (/ 1 (- 1.0 y)))
349.0ms
(log (/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (fma 1.0 1.0 (* (/ (- x y) (- 1.0 y)) (+ (/ (- x y) (- 1.0 y)) 1.0)))))
178.0ms
(- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3))
257.0ms
(/ (- (pow 1.0 3) (pow (* (- x y) (/ 1 (- 1.0 y))) 3)) (fma 1.0 1.0 (* (/ (- x y) (- 1.0 y)) (+ (/ (- x y) (- 1.0 y)) 1.0))))

simplify109.0ms

Algorithm
egg-herbie
Counts
324 → 324
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011317019
150016155

prune841.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

regimes149.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 18.3b

bsearch109.0ms

Steps
ItersRangePoint
10
1050.8208076513
6622766257468.929
39316813.46217899
6
-1419131402.1388264
-110051303.36362042
-244170417.41587064

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03216
13216

end0.0ms

sample1.0s

Algorithm
intervals
Results
222.0ms5689×body80valid
157.0ms779×body1280valid
111.0ms807×body640valid
104.0ms3853×body80nan
55.0ms363×body1280nan
49.0ms427×body640nan
46.0ms472×body320valid
19.0ms224×body320nan
17.0ms253×body160valid
6.0ms106×body160nan