Details

Time bar (total: 8.6s)

sample52.0ms

Algorithm
intervals
Results
12.0ms189×body80valid
7.0ms21×body1280valid
6.0ms121×body80nan
4.0ms16×body640valid
3.0ms17×body320valid
3.0ms10×body1280nan
2.0msbody640nan
2.0ms13×body160valid
1.0msbody320nan
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.3b

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip--
associate-/r/
add-exp-log add-log-exp
fma-neg add-cbrt-cube associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
associate--r-
sub-neg diff-log div-sub associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 227
Calls
4 calls:
22.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
15.0ms
(/ (- x y) (- 1.0 y))
28.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
26.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series269.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
37.0ms
(/ (- x y) (- 1.0 y))
84.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
55.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify105.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
09864621
132403344
250033134

prune434.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- 1.0 y))
0.2b
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
3.1b
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
13.2b
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

rewrite258.0ms

Algorithm
rewrite-expression-head
Rules
540×times-frac
506×add-sqr-sqrt
480×*-un-lft-identity
426×prod-diff
310×add-cube-cbrt
308×cbrt-div
292×cbrt-prod
198×associate-/r/
156×flip3-- flip--
100×frac-times
90×difference-of-squares
84×distribute-lft-out--
50×associate-*r/ associate-*l/
27×div-inv
12×pow1
10×swap-sqr
log-prod
associate-*r* associate-*l*
add-exp-log pow1/3
add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u unswap-sqr
fma-neg
log-div div-sub pow-prod-down pow-sqr pow-prod-up
pow2 sub-neg pow-plus diff-log rem-log-exp prod-exp log-pow *-commutative cbrt-unprod associate--r-
Counts
4 → 547
Calls
4 calls:
2.0ms
(cbrt (- 1.0 y))
22.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
89.0ms
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
82.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

series343.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(cbrt (- 1.0 y))
111.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
89.0ms
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
52.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

simplify291.0ms

Algorithm
egg-herbie
Counts
559 → 559
Iterations

Useful iterations: 1 (53.0ms)

IterNodesCost
0326432435
1500130574

prune1.3s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
1.8b
(expm1 (log1p (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
13.2b
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))
24.7b
(log (expm1 (log1p (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
534×times-frac
489×add-sqr-sqrt
475×*-un-lft-identity
426×prod-diff
309×add-cube-cbrt
306×cbrt-div
285×cbrt-prod
198×associate-/r/
154×flip3-- flip--
100×frac-times
84×difference-of-squares
82×distribute-lft-out--
50×associate-*r/ associate-*l/
27×div-inv
12×pow1
10×swap-sqr
associate-*r* associate-*l*
add-exp-log
pow1/3 add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u unswap-sqr
log-prod fma-neg
div-sub pow-prod-down pow-sqr pow-prod-up
pow2 sub-neg expm1-log1p pow-plus diff-log rem-log-exp prod-exp log-pow *-commutative cbrt-unprod expm1-udef associate--r-
Counts
4 → 533
Calls
4 calls:
22.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
0.0ms
(expm1 (log1p (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
83.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))
1.0ms
(log (expm1 (log1p (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))))

series607.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
150.0ms
(expm1 (log1p (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))))
57.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))
289.0ms
(log (expm1 (log1p (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))))

simplify286.0ms

Algorithm
egg-herbie
Counts
545 → 545
Iterations

Useful iterations: 1 (50.0ms)

IterNodesCost
0332832441
1500130549

prune1.5s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (pow y 2)) (/ 1 y))
1.9b
(log (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
4.5b
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
12.0b
(/ x (pow y 2))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
636×times-frac
469×add-sqr-sqrt
440×*-un-lft-identity
428×add-cube-cbrt
364×prod-diff
141×unpow-prod-down
49×unpow2 sqr-pow
44×div-inv
28×fma-neg
15×difference-of-squares
10×add-exp-log
associate-/r*
add-cbrt-cube add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
log-prod div-exp associate-/l* distribute-lft-out--
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg diff-log rem-log-exp pow-exp clear-num log-pow frac-sub flip-- fma-udef
Counts
4 → 500
Calls
4 calls:
52.0ms
(- (/ x (pow y 2)) (/ 1 y))
1.0ms
(log (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
0.0ms
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
4.0ms
(/ x (pow y 2))

series157.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (/ x (pow y 2)) (/ 1 y))
71.0ms
(log (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
32.0ms
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
23.0ms
(/ x (pow y 2))

simplify141.0ms

Algorithm
egg-herbie
Counts
512 → 512
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0127610765
133956095
250036012

prune552.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes63.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch170.0ms

Steps
ItersRangePoint
11
2.617753675252566e-05
2.2737699151718684e+27
47573649.567421444
7
-1285523271281.5593
-32079174255.072563
-32434980278.36437

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03523
13523

end0.0ms

sample1.6s

Algorithm
intervals
Results
369.0ms5666×body80valid
264.0ms810×body1280valid
208.0ms834×body640valid
201.0ms3633×body80nan
102.0ms360×body1280nan
80.0ms363×body640nan
79.0ms450×body320valid
36.0ms213×body320nan
28.0ms240×body160valid
10.0ms93×body160nan