Details

Time bar (total: 7.3s)

sample115.0ms

Algorithm
intervals
Results
35.0ms620×body80nan
14.0ms181×body80valid
11.0ms32×body640valid
6.0ms10×body1280valid
5.0ms23×body320valid
1.0ms11×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1307
2397
3457
4607
5887
61257
71767
82087
92257
102937
112937

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
0.0b
(* z (log (- 1.0 y)))
0.3b
(* x (log y))
4.6b
(log (- 1.0 y))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
21×log-prod *-un-lft-identity
13×add-cube-cbrt
11×pow1
add-exp-log add-log-exp
distribute-rgt-in distribute-lft-in associate-*r* add-cbrt-cube
associate-*l*
distribute-lft-out-- difference-of-squares
log-pow
log-div flip3-- diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
sub-neg rem-log-exp associate--l+ sum-log
Counts
4 → 86
Calls
4 calls:
6.0ms
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
6.0ms
(* z (log (- 1.0 y)))
4.0ms
(* x (log y))
3.0ms
(log (- 1.0 y))

series39.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
8.0ms
(* z (log (- 1.0 y)))
7.0ms
(* x (log y))
3.0ms
(log (- 1.0 y))

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0458643
11650563
25002529

prune174.0ms

Filtered
66 candidates to 98 candidates (-48.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New90898
Fresh000
Picked101
Done000
Total91899

Merged error: 0.1b

Counts
99 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt log-prod
21×*-un-lft-identity
16×distribute-rgt-in add-cube-cbrt distribute-lft-in
13×associate--l+
11×add-log-exp
10×pow1 associate-+r+ associate-*r*
add-exp-log add-cbrt-cube
associate-+l+ associate-*l*
sub-neg
distribute-lft-out--
flip3-- diff-log associate-*r/ pow-prod-down prod-exp sum-log log-pow *-commutative flip-- cbrt-unprod difference-of-squares unswap-sqr
+-commutative flip3-+ flip-+
Counts
4 → 101
Calls
4 calls:
6.0ms
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
6.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
9.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
4.0ms
(* x (log y))

series89.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
38.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
18.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
7.0ms
(* x (log y))

simplify53.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04441211
116861142
250021110

prune259.0ms

Filtered
75 candidates to 113 candidates (-50.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh077
Picked011
Done000
Total1129121

Merged error: 0.1b

Counts
121 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
5.0ms
(cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))
6.0ms
(cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))
5.0ms
(cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))
15.0ms
(* (cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)) (cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)))

series1.2s

Counts
4 → 12
Calls
4 calls:
252.0ms
(cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))
250.0ms
(cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))
253.0ms
(cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))
475.0ms
(* (cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)) (cbrt (- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)))

simplify69.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04123492
113833284
250012974

prune770.0ms

Filtered
81 candidates to 113 candidates (-39.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh077
Picked011
Done011
Total11210122

Merged error: 0.1b

Counts
122 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* x (log y))
6.8b
(+ (log (+ (sqrt 1.0) (sqrt y))) (log (- (sqrt 1.0) (sqrt y))))
10.4b
(log (+ (sqrt 1.0) (sqrt y)))
10.5b
(log (- (sqrt 1.0) (sqrt y)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
34×log-prod
32×*-un-lft-identity
30×add-sqr-sqrt
16×sqrt-prod
13×pow1
12×add-cube-cbrt
associate-+r+
add-exp-log log-div distribute-lft-out difference-of-squares
log-pow
add-cbrt-cube
associate-+l+
associate-*r* distribute-lft-out-- add-log-exp
distribute-rgt-in distribute-lft-in flip3-+ associate-*l* flip-+
associate-+l- associate-+r- flip3-- rem-log-exp flip--
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 94
Calls
4 calls:
4.0ms
(* x (log y))
15.0ms
(+ (log (+ (sqrt 1.0) (sqrt y))) (log (- (sqrt 1.0) (sqrt y))))
5.0ms
(log (+ (sqrt 1.0) (sqrt y)))
6.0ms
(log (- (sqrt 1.0) (sqrt y)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* x (log y))
20.0ms
(+ (log (+ (sqrt 1.0) (sqrt y))) (log (- (sqrt 1.0) (sqrt y))))
7.0ms
(log (+ (sqrt 1.0) (sqrt y)))
8.0ms
(log (- (sqrt 1.0) (sqrt y)))

simplify49.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05221022
11941953
25002931

prune220.0ms

Filtered
70 candidates to 106 candidates (-51.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1051106
Fresh167
Picked011
Done022
Total10610116

Merged error: 0.1b

Counts
116 → 10

regimes649.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.1s19150×body80nan
368.0ms5561×body80valid
317.0ms883×body640valid
265.0ms395×body1280valid
159.0ms721×body320valid
66.0ms473×body160valid

Profiling

Loading profile data...