Details

Time bar (total: 6.7s)

sample107.0ms

Algorithm
intervals
Results
43.0ms839×body80nan
10.0ms187×body80valid
8.0ms25×body640valid
5.0ms25×body320valid
4.0msbody1280valid
1.0ms13×body160valid

simplify70.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: 7.0b

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

rewrite17.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:
11.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))

series292.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(* (- z 1.0) (log (- 1.0 y)))
204.0ms
(fma (log y) (- x 1.0) (- (* (- z 1.0) (log (- 1.0 y))) t))
43.0ms
(log (- 1.0 y))

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0364521
11204461
25001449

prune241.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

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

rewrite43.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:
20.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
13.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))

series347.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09332642
142821844
250011841

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

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

simplify112.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0187512
1644444
23222442
35001436

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

series265.0ms

Counts
4 → 12
Calls
4 calls:
171.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)))
30.0ms
(* z (pow y 2))
34.0ms
(* z (pow y 2))
31.0ms
(* z (pow y 2))

simplify135.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0278668
1879595
24199590
35001590

prune516.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

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

sample2.9s

Algorithm
intervals
Results
1.2s24011×body80nan
325.0ms5938×body80valid
254.0ms820×body640valid
141.0ms233×body1280valid
118.0ms628×body320valid
47.0ms409×body160valid