Details

Time bar (total: 5.2s)

sample95.0ms

Algorithm
intervals
Results
34.0ms788×body80nan
9.0ms180×body80valid
8.0ms29×body640valid
7.0ms12×body1280valid
4.0ms22×body320valid
2.0ms15×body160valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0227
1386
2536
3616
4786
51106
61756
72846
83636
93926
104766
114766

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.8b

Counts
2 → 2

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.3b
(* x (log y))
5.4b
(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))

series231.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0288166
1891161
23174148
35002146

prune83.0ms

Filtered
22 candidates to 18 candidates (81.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New19322
Fresh011
Picked101
Done000
Total20424

Merged error: 0.1b

Counts
24 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
fma-def associate-*r* fma-udef
+-commutative associate-+r+ flip3-+ flip-+ unpow2 sqr-pow
Counts
4 → 11
Calls
4 calls:
1.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
4.0ms
(+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
2.0ms
(* x (log y))
3.0ms
(* z (pow y 2))

series314.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
127.0ms
(+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
39.0ms
(* x (log y))
34.0ms
(* z (pow y 2))

simplify54.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0141151
1441146
21804141
35002140

prune82.0ms

Filtered
23 candidates to 14 candidates (60.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New21223
Fresh123
Picked101
Done000
Total23427

Merged error: 0.1b

Counts
27 → 4

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
0.0b
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
0.2b
(fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
7.9b
(* z (pow y 2))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
associate-*r*
sub-neg flip3-- associate--l+ *-commutative flip-- unpow2 sqr-pow
Counts
4 → 10
Calls
4 calls:
3.0ms
(- (fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
1.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
1.0ms
(fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
5.0ms
(* z (pow y 2))

series471.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(- (fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
110.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
130.0ms
(fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
47.0ms
(* z (pow y 2))

simplify48.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0121180
1372176
21505165
35002163

prune77.0ms

Filtered
22 candidates to 14 candidates (63.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New22022
Fresh033
Picked011
Done000
Total22426

Merged error: 0.1b

Counts
26 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log (- (* 1.0 1.0) (* y y))) (log (+ 1.0 y)))
0.3b
(* x (log y))
2.4b
(log (- (* 1.0 1.0) (* y y)))
5.5b
(log (+ 1.0 y))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
log-div log-prod difference-of-squares
associate--l+
flip3-- flip--
associate--l- flip3-+ flip-+ associate--r-
sub-neg diff-log
Counts
4 → 22
Calls
4 calls:
7.0ms
(- (log (- (* 1.0 1.0) (* y y))) (log (+ 1.0 y)))
2.0ms
(* x (log y))
5.0ms
(log (- (* 1.0 1.0) (* y y)))
2.0ms
(log (+ 1.0 y))

series309.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(- (log (- (* 1.0 1.0) (* y y))) (log (+ 1.0 y)))
42.0ms
(* x (log y))
109.0ms
(log (- (* 1.0 1.0) (* y y)))
45.0ms
(log (+ 1.0 y))

simplify131.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0317277
11081273
24203255
35001252

prune111.0ms

Filtered
34 candidates to 23 candidates (67.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New34034
Fresh022
Picked011
Done011
Total34438

Merged error: 0.1b

Counts
38 → 4

regimes115.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02313
12313

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.1s23898×body80nan
278.0ms5560×body80valid
254.0ms873×body640valid
240.0ms409×body1280valid
121.0ms713×body320valid
50.0ms473×body160valid