Details

Time bar (total: 3.2s)

sample29.0ms

Algorithm
intervals
Results
8.0ms260×body80valid
6.0ms274×body80nan

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1164
2234
3414
4644
5744
6864
71124
81904
92534
103584
113604
123614
133614

prune2.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: 14.1b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x (log (/ x y))) z)
0.2b
(* x (log (/ x y)))
13.8b
(log (/ x y))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
log-prod div-inv
log-div clear-num
distribute-rgt-in distribute-lft-in log-rec associate--l+
sub-neg flip3-- frac-2neg *-commutative distribute-rgt-neg-out flip--
Counts
3 → 15
Calls
3 calls:
4.0ms
(- (* x (log (/ x y))) z)
3.0ms
(* x (log (/ x y)))
2.0ms
(log (/ x y))

series156.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(- (* x (log (/ x y))) z)
47.0ms
(* x (log (/ x y)))
38.0ms
(log (/ x y))

simplify132.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 4 (129.0ms)

IterNodesCost
0130118
1283109
2935101
34682101
4500192

prune45.0ms

Filtered
24 candidates to 13 candidates (54.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New20424
Fresh000
Picked011
Done000
Total20525

Merged error: 0.1b

Counts
25 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x (- (log x) (log y))) z)
0.1b
(* x (- (log x) (log y)))
0.3b
(- (log x) (log y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg
distribute-rgt-in distribute-lft-in associate--l+
flip3-- flip--
associate-*r/
diff-log *-commutative
Counts
3 → 20
Calls
3 calls:
5.0ms
(- (* x (- (log x) (log y))) z)
3.0ms
(* x (- (log x) (log y)))
2.0ms
(- (log x) (log y))

series255.0ms

Counts
3 → 9
Calls
3 calls:
106.0ms
(- (* x (- (log x) (log y))) z)
82.0ms
(* x (- (log x) (log y)))
67.0ms
(- (log x) (log y))

simplify53.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0163172
1377166
21767158
35001158

prune54.0ms

Filtered
29 candidates to 13 candidates (44.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New27229
Fresh033
Picked011
Done011
Total27734

Merged error: 0.1b

Counts
34 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* x (log x)) (* x (log (/ 1 y)))) z)
0.1b
(* x (log (/ 1 y)))
0.1b
(* x (log x))
0.3b
(+ (* x (log x)) (* x (log (/ 1 y))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×log-rec distribute-rgt-neg-out
log-prod div-inv
clear-num
associate--l- associate-+r+ unsub-neg associate--l+ *-commutative
distribute-rgt-in distribute-lft-in
+-commutative
sub-neg distribute-rgt-out flip3-- flip3-+ associate-*r* log-pow flip-- flip-+ distribute-lft-out inv-pow
Counts
4 → 30
Calls
4 calls:
8.0ms
(- (+ (* x (log x)) (* x (log (/ 1 y)))) z)
3.0ms
(* x (log (/ 1 y)))
2.0ms
(* x (log x))
6.0ms
(+ (* x (log x)) (* x (log (/ 1 y))))

series418.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(- (+ (* x (log x)) (* x (log (/ 1 y)))) z)
39.0ms
(* x (log (/ 1 y)))
179.0ms
(* x (log x))
87.0ms
(+ (* x (log x)) (* x (log (/ 1 y))))

simplify124.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
0223219
1676199
23590181
35002173

prune92.0ms

Filtered
42 candidates to 23 candidates (54.8%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New40242
Fresh044
Picked011
Done022
Total40949

Merged error: 0.0b

Counts
49 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log x) (log x))
0.3b
(+ (log y) (log x))
0.3b
(pow (log x) 3)
0.4b
(pow (log y) 3)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow-to-exp unpow3 sqr-pow
+-commutative pow2 flip3-+ sum-log *-commutative flip-+
Counts
4 → 12
Calls
4 calls:
2.0ms
(* (log x) (log x))
3.0ms
(+ (log y) (log x))
1.0ms
(pow (log x) 3)
2.0ms
(pow (log y) 3)

series579.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* (log x) (log x))
65.0ms
(+ (log y) (log x))
177.0ms
(pow (log x) 3)
188.0ms
(pow (log y) 3)

simplify46.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
012893
135084
2139181
3500275

prune47.0ms

Filtered
24 candidates to 12 candidates (50.0%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New24024
Fresh055
Picked011
Done033
Total24933

Merged error: 0.0b

Counts
33 → 9

regimes235.0ms

Accuracy

98.3% (0.3b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
9
-3.5092177994486754e-304
1.2144307814005946e-307
-2.50299343895823e-310

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample774.0ms

Algorithm
intervals
Results
250.0ms8036×body80valid
192.0ms8180×body80nan