Details

Time bar (total: 10.2s)

sample144.0ms

Algorithm
intervals
Results
67.0ms819×body80nan
18.0ms195×body80valid
10.0ms21×body640valid
7.0msbody1280valid
5.0ms16×body320valid
3.0ms17×body160valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1578
21368
33128
47098
516298
635648
750018

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.5b

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

rewrite73.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:
15.0ms
(* (- z 1.0) (log (- 1.0 y)))
40.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
11.0ms
(* (- x 1.0) (log y))
3.0ms
(log (- 1.0 y))

series299.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (- z 1.0) (log (- 1.0 y)))
156.0ms
(- (+ (* (- x 1.0) (log y)) (* (- z 1.0) (log (- 1.0 y)))) t)
58.0ms
(* (- x 1.0) (log y))
43.0ms
(log (- 1.0 y))

simplify59.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05871089
12183902
25001886

prune372.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 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.0b
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.2b
(* (- x 1.0) (log y))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
122×add-sqr-sqrt
85×*-un-lft-identity
80×times-frac
78×add-cube-cbrt associate-*r*
56×unpow-prod-down
48×prod-diff
40×distribute-rgt-in distribute-lft-in
34×associate-+r+
31×add-exp-log
27×flip3-- flip--
24×pow1 log-prod associate-*l/ unpow2 sqr-pow
19×unswap-sqr
16×frac-add
14×log-pow
13×associate-*l* add-cbrt-cube
12×frac-times prod-exp associate--l+
div-exp
associate-*r/
pow-to-exp associate-+l+ pow-exp add-log-exp
expm1-log1p-u sub-neg cbrt-unprod log1p-expm1-u distribute-lft-out--
pow-prod-down *-commutative difference-of-squares
cbrt-undiv +-commutative fma-def flip3-+ sum-log flip-+ div-inv
Counts
4 → 280
Calls
4 calls:
25.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
38.0ms
(* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
19.0ms
(+ (* (- x 1.0) (log y)) (* (- z 1.0) (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
11.0ms
(* (- x 1.0) (log y))

series322.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015234441
150023593

prune1.1s

Pruning

7 alts after pruning (7 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
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.2b
(* (- x 1.0) (log y))
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)))))))

rewrite160.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:
3.0ms
(sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))
46.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
11.0ms
(* (- x 1.0) (log y))
89.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)))))))

series572.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))
162.0ms
(* (- z 1.0) (+ (sqrt (log 1.0)) (sqrt (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
62.0ms
(* (- x 1.0) (log y))
285.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)))))))

simplify101.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012579614
150027109

prune939.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt y) (cbrt y))
0.7b
(cbrt y)
0.7b
(cbrt y)
0.7b
(cbrt y)

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:
5.0ms
(* (cbrt y) (cbrt y))
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(cbrt y)

series737.0ms

Counts
4 → 12
Calls
4 calls:
202.0ms
(* (cbrt y) (cbrt y))
175.0ms
(cbrt y)
181.0ms
(cbrt y)
178.0ms
(cbrt y)

simplify85.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune473.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes254.0ms

Accuracy

0% (0.3b 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
04223
14223

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.9s24353×body80nan
525.0ms5853×body80valid
359.0ms817×body640valid
191.0ms245×body1280valid
189.0ms660×body320valid
86.0ms464×body160valid