Details

Time bar (total: 9.2s)

sample100.0ms

Algorithm
intervals
Results
37.0ms772×body80nan
10.0ms183×body80valid
8.0ms27×body640valid
4.0ms24×body320valid
3.0msbody1280valid
2.0ms18×body160valid

simplify68.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: 4.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- z 1.0) (log (- 1.0 y)))
0.0b
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
0.1b
(* (- x 1.0) (log y))
4.8b
(log (- 1.0 y))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
32×*-un-lft-identity
21×log-prod
20×add-cube-cbrt
11×pow1
10×associate-*l*
add-exp-log prod-diff add-log-exp
distribute-rgt-in distribute-lft-in associate-*r* add-cbrt-cube
distribute-lft-out-- difference-of-squares
expm1-log1p-u flip3-- associate-*l/ flip-- log1p-expm1-u
fma-neg log-pow
log-div diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg rem-log-exp associate--l+ sum-log
Counts
4 → 114
Calls
4 calls:
9.0ms
(* (- z 1.0) (log (- 1.0 y)))
12.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
7.0ms
(* (- x 1.0) (log y))
4.0ms
(log (- 1.0 y))

series302.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (- z 1.0) (log (- 1.0 y)))
157.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
55.0ms
(* (- x 1.0) (log y))
47.0ms
(log (- 1.0 y))

simplify66.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05871089
12183902
25001886

prune391.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* (- x 1.0) (log y)) (* (- 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
(* (- x 1.0) (log y))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt
80×times-frac
78×associate-*r*
76×*-un-lft-identity
67×add-cube-cbrt
56×unpow-prod-down
33×prod-diff
31×add-exp-log
24×unpow2 sqr-pow
20×distribute-rgt-in distribute-lft-in
19×unswap-sqr
18×pow1
13×associate-*l* add-cbrt-cube
12×log-prod prod-exp
div-exp add-log-exp
flip3-- log-pow flip--
associate--l+
pow-to-exp pow-exp
distribute-lft-out--
expm1-log1p-u frac-times associate-*l/ cbrt-unprod log1p-expm1-u difference-of-squares
sub-neg fma-neg associate-*r/ pow-prod-down *-commutative
diff-log
cbrt-undiv sum-log div-inv
Counts
4 → 240
Calls
4 calls:
14.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
20.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))))))
7.0ms
(* (- x 1.0) (log y))

series425.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011743396
150022459

prune860.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
105×sqrt-prod
84×prod-diff
81×add-sqr-sqrt
78×*-un-lft-identity
64×add-cube-cbrt
48×distribute-rgt-in distribute-lft-in
32×frac-times
29×pow1
22×flip3-- flip--
20×associate-*r*
18×associate-*l/
15×log-pow
13×add-exp-log flip3-+ add-cbrt-cube flip-+
11×associate-*l*
10×associate-*r/
log-prod difference-of-squares
pow-prod-down prod-exp cbrt-unprod distribute-lft-out--
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative distribute-lft-out
sub-neg sqrt-div unswap-sqr
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 224
Calls
4 calls:
4.0ms
(sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))
7.0ms
(* (- x 1.0) (log y))
14.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
30.0ms
(* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))

series548.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))
54.0ms
(* (- x 1.0) (log y))
156.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
269.0ms
(* (* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (- (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))

simplify104.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012579613
150027108

prune969.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- x 1.0) (log (cbrt y)))
0.3b
(+ (* (* 2 (log (cbrt y))) (- x 1.0)) (* (- x 1.0) (log (cbrt y))))
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
28×add-cube-cbrt
24×log-prod
23×distribute-rgt-in distribute-lft-in
22×associate-+l+
18×cbrt-prod prod-diff
12×associate-+r+
pow1
add-exp-log associate-*l/ add-cbrt-cube add-log-exp
flip3-- associate-*r* associate-*l* flip--
expm1-log1p-u associate-*r/ frac-add log1p-expm1-u
pow1/3
sub-neg log-pow
+-commutative fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 116
Calls
4 calls:
8.0ms
(* (- x 1.0) (log (cbrt y)))
14.0ms
(+ (* (* 2 (log (cbrt y))) (- x 1.0)) (* (- x 1.0) (log (cbrt y))))
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series773.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (- x 1.0) (log (cbrt y)))
295.0ms
(+ (* (* 2 (log (cbrt y))) (- x 1.0)) (* (- x 1.0) (log (cbrt y))))
181.0ms
(cbrt y)
178.0ms
(cbrt y)

simplify79.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05421129
12640925
25002878

prune742.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes448.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03428
13428

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.2s23975×body80nan
325.0ms5915×body80valid
228.0ms726×body640valid
172.0ms279×body1280valid
131.0ms702×body320valid
46.0ms403×body160valid