Details

Time bar (total: 10.2s)

sample105.0ms

Algorithm
intervals
Results
39.0ms822×body80nan
9.0ms182×body80valid
9.0ms15×body1280valid
7.0ms23×body640valid
4.0ms22×body320valid
2.0ms15×body160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (log (- 1.0 y)))
0.0b
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
0.2b
(* x (log y))
4.2b
(log (- 1.0 y))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
log-div flip3-- associate--l+ *-commutative flip--
+-commutative sub-neg
Counts
4 → 10
Calls
4 calls:
3.0ms
(* z (log (- 1.0 y)))
6.0ms
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
2.0ms
(* x (log y))
2.0ms
(log (- 1.0 y))

series242.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0261178
1786173
22771156
35001156

prune76.0ms

Filtered
22 candidates to 18 candidates (81.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New19322
Fresh000
Picked011
Done000
Total19423

Merged error: 0.2b

Counts
23 → 4

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
associate--l+ unpow2 sqr-pow
sub-neg associate-*r*
distribute-rgt-in associate-+r+ distribute-lft-in times-frac
*-commutative
flip3-- clear-num associate-/r* flip-- associate-/l*
+-commutative frac-2neg un-div-inv div-inv
Counts
4 → 32
Calls
4 calls:
8.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
4.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
5.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
2.0ms
(* x (log y))

series386.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
110.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
50.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
44.0ms
(* x (log y))

simplify159.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0223304
1763304
23869287
35001287

prune135.0ms

Filtered
44 candidates to 29 candidates (65.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New42244
Fresh202
Picked011
Done011
Total44448

Merged error: 0.2b

Counts
48 → 4

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
20×distribute-rgt-in distribute-lft-in
16×associate-+r+
12×associate--l+
10×*-commutative
sub-neg
difference-of-squares
flip3-+ flip-+
+-commutative frac-times associate-/l*
flip3-- associate-*r/ associate-*l/ associate-/r/ flip-- associate-/l/
pow2 frac-2neg div-sub clear-num div-inv
Counts
4 → 55
Calls
4 calls:
2.0ms
(* x (log y))
11.0ms
(* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
15.0ms
(- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t))
20.0ms
(/ (- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t)) (+ (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))

series2.4s

Counts
4 → 12
Calls
4 calls:
37.0ms
(* x (log y))
244.0ms
(* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
1.2s
(- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t))
919.0ms
(/ (- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t)) (+ (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t))

simplify74.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04752032
118902006
250022001

prune239.0ms

Filtered
67 candidates to 37 candidates (55.2%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New64367
Fresh011
Picked011
Done022
Total64771

Merged error: 0.1b

Counts
71 → 7

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
20×distribute-rgt-in distribute-lft-in
16×associate-+r+
12×associate--l+
11×*-commutative
10×frac-times
sub-neg
difference-of-squares
flip3-+ flip-+
flip3-- associate-*r/ flip--
+-commutative associate-*l* associate-*l/ clear-num
frac-2neg associate-*r*
associate-/r/ un-div-inv
pow2 div-inv
Counts
4 → 64
Calls
4 calls:
2.0ms
(* x (log y))
10.0ms
(* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
15.0ms
(- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t))
19.0ms
(* (- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t)) (/ 1 (+ (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)))

series2.5s

Counts
4 → 12
Calls
4 calls:
37.0ms
(* x (log y))
249.0ms
(* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))))
1.3s
(- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t))
924.0ms
(* (- (* (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))) (* t t)) (/ 1 (+ (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)))

simplify92.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
05052486
122832381
250012369

prune254.0ms

Filtered
76 candidates to 41 candidates (53.9%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New75176
Fresh123
Picked011
Done033
Total76783

Merged error: 0.1b

Counts
83 → 7

regimes307.0ms

Accuracy

0% (0.2b 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

sample2.9s

Algorithm
intervals
Results
1.0s23996×body80nan
273.0ms5550×body80valid
248.0ms872×body640valid
235.0ms408×body1280valid
130.0ms758×body320valid
46.0ms444×body160valid