Details

Time bar (total: 6.9s)

sample113.0ms

Algorithm
intervals
Results
47.0ms839×body80nan
11.0ms187×body80valid
8.0ms25×body640valid
5.0ms25×body320valid
4.0msbody1280valid
2.0ms13×body160valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1578
21368
33128
47098
516298
635648
750018

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.0b

localize13.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.2b
(log (- 1.0 y))

rewrite18.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:
9.0ms
(* (- z 1.0) (log (- 1.0 y)))
1.0ms
(fma (log y) (- x 1.0) (- (* (- z 1.0) (log (- 1.0 y))) t))
4.0ms
(log (- 1.0 y))

series300.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0364521
11204461
25001449

prune237.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 3 expressions with local error:

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))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
80×times-frac
74×associate-*r*
60×*-un-lft-identity
56×unpow-prod-down
55×add-cube-cbrt
28×add-exp-log
24×prod-diff unpow2 sqr-pow
18×unswap-sqr
17×distribute-rgt-in distribute-lft-in
14×pow1
11×prod-exp
10×add-cbrt-cube
div-exp
associate-*l*
log-pow
pow-to-exp log-prod flip3-- pow-exp associate--l+ flip--
frac-times
expm1-log1p-u associate-*r/ cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp
sub-neg pow-prod-down associate-*l/ *-commutative difference-of-squares
cbrt-undiv fma-udef div-inv
Counts
3 → 189
Calls
3 calls:
21.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
14.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
1.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))

series346.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
65.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
225.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))

simplify114.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
09332642
142821844
250011841

prune667.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
add-exp-log
associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
pow1 expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp unswap-sqr
associate-*l* prod-exp fma-udef
unpow2 sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
4 → 59
Calls
4 calls:
1.0ms
(fma 1.0 (* z y) (* 0.5 (* z (pow y 2))))
1.0ms
(fma 0.5 (pow y 2) (- (fma 1.0 (* z y) (* 0.5 (* z (pow y 2))))))
1.0ms
(fma (log y) (- x 1.0) (- (fma 0.5 (pow y 2) (- (fma 1.0 (* z y) (* 0.5 (* z (pow y 2)))))) t))
6.0ms
(* z (pow y 2))

series269.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(fma 1.0 (* z y) (* 0.5 (* z (pow y 2))))
38.0ms
(fma 0.5 (pow y 2) (- (fma 1.0 (* z y) (* 0.5 (* z (pow y 2))))))
109.0ms
(fma (log y) (- x 1.0) (- (fma 0.5 (pow y 2) (- (fma 1.0 (* z y) (* 0.5 (* z (pow y 2)))))) t))
34.0ms
(* z (pow y 2))

simplify106.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0187518
1674444
23223442
35002436

prune280.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (fma (log y) (- x 1.0) (- (fma 0.5 (pow y 2) (- (fma 1.0 (* z y) (* 0.5 (* z (pow y 2)))))) t)))
5.8b
(* z (pow y 2))
5.8b
(* z (pow y 2))
5.8b
(* z (pow y 2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×associate-*r*
19×add-exp-log
14×add-cube-cbrt *-un-lft-identity
12×unpow-prod-down unswap-sqr
10×add-cbrt-cube
associate-*l* prod-exp
unpow2 sqr-pow
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod pow-to-exp pow-exp *-commutative cbrt-unprod
pow1/3
Counts
4 → 100
Calls
4 calls:
1.0ms
(cbrt (fma (log y) (- x 1.0) (- (fma 0.5 (pow y 2) (- (fma 1.0 (* z y) (* 0.5 (* z (pow y 2)))))) t)))
6.0ms
(* z (pow y 2))
6.0ms
(* z (pow y 2))
6.0ms
(* z (pow y 2))

series259.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(cbrt (fma (log y) (- x 1.0) (- (fma 0.5 (pow y 2) (- (fma 1.0 (* z y) (* 0.5 (* z (pow y 2)))))) t)))
29.0ms
(* z (pow y 2))
34.0ms
(* z (pow y 2))
29.0ms
(* z (pow y 2))

simplify133.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0278668
1879595
24199590
35001590

prune525.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

regimes203.0ms

Accuracy

0% (0.2b remaining)

Error of 0.4b against oracle of 0.2b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12112

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s24011×body80nan
345.0ms5938×body80valid
266.0ms820×body640valid
145.0ms233×body1280valid
124.0ms628×body320valid
51.0ms409×body160valid