Details

Time bar (total: 3.0s)

sample29.0ms

Algorithm
intervals
Results
8.0ms257×body80valid
7.0ms276×body80nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1184
2254
3454
4764
51024
61224
71524
82464
93534
105594
115624
125634
135634

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.2b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x (log (/ x y))) z)
0.3b
(* x (log (/ x y)))
13.7b
(log (/ x y))

rewrite10.0ms

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

series148.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(- (* x (log (/ x y))) z)
49.0ms
(* x (log (/ x y)))
35.0ms
(log (/ x y))

simplify31.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0140116
1329104
2106998
3500197

prune50.0ms

Filtered
26 candidates to 16 candidates (61.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New22426
Fresh000
Picked011
Done000
Total22527

Merged error: 0.1b

Counts
27 → 5

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (log (/ x y)) x (- z))
13.7b
(log (/ x y))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
log-div
clear-num
log-prod frac-2neg log-rec fma-udef div-inv
Counts
2 → 6
Calls
2 calls:
1.0ms
(fma (log (/ x y)) x (- z))
4.0ms
(log (/ x y))

series104.0ms

Counts
2 → 6
Calls
2 calls:
66.0ms
(fma (log (/ x y)) x (- z))
38.0ms
(log (/ x y))

simplify62.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 4 (27.0ms)

IterNodesCost
08150
114246
230141
384140
4425934
5500134

prune24.0ms

Filtered
12 candidates to 7 candidates (58.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New11112
Fresh123
Picked011
Done011
Total12517

Merged error: 0.1b

Counts
17 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (/ -1 x))
0.0b
(log (/ -1 y))
0.1b
(* x (- (log (/ -1 y)) (log (/ -1 x))))
0.2b
(- (log (/ -1 y)) (log (/ -1 x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
18×log-div
associate--r-
clear-num
distribute-rgt-in log-prod frac-2neg distribute-lft-in div-inv
associate--l- sub-neg associate--l+
flip3-- associate-*r/ log-rec flip--
diff-log *-commutative associate--r+
Counts
4 → 38
Calls
4 calls:
2.0ms
(log (/ -1 x))
2.0ms
(log (/ -1 y))
4.0ms
(* x (- (log (/ -1 y)) (log (/ -1 x))))
4.0ms
(- (log (/ -1 y)) (log (/ -1 x)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(log (/ -1 x))
291.0ms
(log (/ -1 y))
81.0ms
(* x (- (log (/ -1 y)) (log (/ -1 x))))
70.0ms
(- (log (/ -1 y)) (log (/ -1 x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0138263
1419250
22035226
35001224

prune89.0ms

Filtered
50 candidates to 28 candidates (56.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New49150
Fresh022
Picked101
Done022
Total50555

Merged error: 0.1b

Counts
55 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
log-prod
distribute-rgt-in distribute-lft-in
associate-+l+
*-commutative div-inv
neg-mul-1 sub-neg associate--l+
log-div
associate-+r+ fma-def associate-*r/ clear-num
+-commutative distribute-rgt-out flip3-- frac-2neg flip3-+ log-rec flip-- flip-+ distribute-lft-out
Counts
4 → 32
Calls
4 calls:
2.0ms
(log (/ -1 y))
4.0ms
(* x (- (log (/ -1 y)) (log (- -1))))
3.0ms
(* x (log (- x)))
8.0ms
(+ (* x (- (log (/ -1 y)) (log (- -1)))) (* x (log (- x))))

series511.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(log (/ -1 y))
40.0ms
(* x (- (log (/ -1 y)) (log (- -1))))
233.0ms
(* x (log (- x)))
115.0ms
(+ (* x (- (log (/ -1 y)) (log (- -1)))) (* x (log (- x))))

simplify65.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0220285
1638278
22626269
35003268

prune99.0ms

Filtered
44 candidates to 28 candidates (63.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New42244
Fresh022
Picked101
Done022
Total43649

Merged error: 0.0b

Counts
49 → 6

regimes178.0ms

Accuracy

97% (0.5b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 15.1b

bsearch56.0ms

Steps
ItersRangePoint
9
-4.6312562838885145e-303
1.301254076323289e-305
-5.938028204278827e-309

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04137
14137

end0.0ms

sample803.0ms

Algorithm
intervals
Results
262.0ms8035×body80valid
206.0ms7902×body80nan