Details

Time bar (total: 9.1s)

sample112.0ms

Algorithm
intervals
Results
44.0ms858×body80nan
10.0ms183×body80valid
9.0ms13×body1280valid
8.0ms26×body640valid
4.0ms22×body320valid
1.0ms13×body160valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1578
21368
33128
47098
516298
635648
750018

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.1b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- z 1.0) (log (- 1.0 y)))
0.1b
(fma (log y) (- x 1.0) (- (* (- z 1.0) (log (- 1.0 y))) t))
5.8b
(log (- 1.0 y))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
15×log-prod
add-cube-cbrt
pow1
add-exp-log
distribute-rgt-in distribute-lft-in associate-*l* add-cbrt-cube
associate-*r* distribute-lft-out-- difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp
log-div flip3-- associate-*l/ log-pow flip--
rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 63
Calls
3 calls:
16.0ms
(* (- z 1.0) (log (- 1.0 y)))
0.0ms
(fma (log y) (- x 1.0) (- (* (- z 1.0) (log (- 1.0 y))) t))
3.0ms
(log (- 1.0 y))

series285.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(* (- z 1.0) (log (- 1.0 y)))
199.0ms
(fma (log y) (- x 1.0) (- (* (- z 1.0) (log (- 1.0 y))) t))
42.0ms
(log (- 1.0 y))

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0364521
11204461
25001449

prune238.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t)
0.0b
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
0.0b
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.1b
(fma (log y) (- x 1.0) (- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt
80×times-frac
78×*-un-lft-identity
74×associate-*r*
73×add-cube-cbrt
56×unpow-prod-down
51×prod-diff
46×associate--l+
34×distribute-rgt-in distribute-lft-in
29×add-exp-log
24×unpow2 sqr-pow
21×pow1
18×unswap-sqr
13×log-pow
12×log-prod
11×prod-exp add-cbrt-cube
div-exp
associate-*l*
flip3-- flip--
pow-to-exp pow-exp add-log-exp
sub-neg
expm1-log1p-u frac-times log1p-expm1-u
associate-*r/ cbrt-unprod distribute-lft-out--
pow-prod-down associate-*l/ *-commutative difference-of-squares
cbrt-undiv fma-neg diff-log fma-udef div-inv
Counts
4 → 241
Calls
4 calls:
23.0ms
(- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t)
31.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
40.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.0ms
(fma (log y) (- x 1.0) (- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t))

series476.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t)
51.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
62.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
218.0ms
(fma (log y) (- x 1.0) (- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t))

simplify132.0ms

Algorithm
egg-herbie
Counts
253 → 253
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
010533734
146722536
250012536

prune910.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
0.0b
(+ (* (log y) (- x 1.0)) (- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t))
0.0b
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.1b
(* (log y) (- x 1.0))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
143×add-sqr-sqrt
106×*-un-lft-identity
99×add-cube-cbrt
87×prod-diff
80×times-frac
79×associate-*r*
56×distribute-rgt-in unpow-prod-down distribute-lft-in
46×associate--l+
39×associate-+r+
31×add-exp-log
24×pow1 unpow2 sqr-pow
22×associate-+l+
19×unswap-sqr
14×log-pow
13×add-cbrt-cube
12×log-prod associate-*l* prod-exp
11×flip3-- flip--
sub-neg associate-*r/ div-exp add-log-exp
pow-to-exp pow-exp
expm1-log1p-u frac-times frac-add cbrt-unprod log1p-expm1-u distribute-lft-out--
pow-prod-down *-commutative difference-of-squares
associate-*l/ sum-log
cbrt-undiv +-commutative associate-+r- fma-def flip3-+ diff-log flip-+ div-inv
Counts
4 → 307
Calls
4 calls:
30.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
49.0ms
(+ (* (log y) (- x 1.0)) (- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t))
42.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
12.0ms
(* (log y) (- x 1.0))

series438.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
225.0ms
(+ (* (log y) (- x 1.0)) (- (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))) t))
66.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
94.0ms
(* (log y) (- x 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
319 → 319
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
014924612
150023424

prune1.1s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize31.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.5b
(cbrt x)
0.5b
(cbrt x)
0.5b
(cbrt x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
0.0ms
(cbrt x)
0.0ms
(cbrt x)
1.0ms
(cbrt x)

series751.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(* (cbrt x) (cbrt x))
179.0ms
(cbrt x)
177.0ms
(cbrt x)
181.0ms
(cbrt x)

simplify88.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune563.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.1b

regimes483.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04529
14929
24929

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.2s24019×body80nan
335.0ms5851×body80valid
244.0ms762×body640valid
157.0ms252×body1280valid
136.0ms699×body320valid
57.0ms462×body160valid