Details

Time bar (total: 8.1s)

sample174.0ms

Algorithm
intervals
Results
90.0ms1813×body80nan
15.0ms257×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.3b

Counts
2 → 1

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (log (+ x y)) (log z)) t)
0.2b
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
0.5b
(+ (log (+ x y)) (log z))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
associate-+l- log-div
flip3-+ flip-+
+-commutative associate--l- associate--l+
sub-neg flip3-- sum-log flip-- fma-udef
Counts
3 → 15
Calls
3 calls:
6.0ms
(- (+ (log (+ x y)) (log z)) t)
1.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
4.0ms
(+ (log (+ x y)) (log z))

series326.0ms

Counts
3 → 9
Calls
3 calls:
164.0ms
(- (+ (log (+ x y)) (log z)) t)
89.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
73.0ms
(+ (log (+ x y)) (log z))

simplify58.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0267184
1736176
22829170
35001166

prune99.0ms

Filtered
24 candidates to 21 candidates (87.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New20424
Fresh000
Picked101
Done000
Total21425

Merged error: 0.2b

Counts
25 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.0b
(- (log (* (+ x y) z)) t)
0.2b
(fma (log t) (- a 0.5) (- (log (* (+ x y) z)) t))
11.6b
(log (* (+ x y) z))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
log-div log-prod
flip3-+ *-commutative flip-+
associate--l- associate--l+
sub-neg flip3-- flip-- fma-udef
Counts
4 → 16
Calls
4 calls:
3.0ms
(* (+ x y) z)
4.0ms
(- (log (* (+ x y) z)) t)
1.0ms
(fma (log t) (- a 0.5) (- (log (* (+ x y) z)) t))
3.0ms
(log (* (+ x y) z))

series277.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ x y) z)
127.0ms
(- (log (* (+ x y) z)) t)
79.0ms
(fma (log t) (- a 0.5) (- (log (* (+ x y) z)) t))
50.0ms
(log (* (+ x y) z))

simplify52.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0244160
1644153
22531148
35002146

prune95.0ms

Filtered
28 candidates to 22 candidates (78.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New28028
Fresh033
Picked011
Done000
Total28432

Merged error: 0.2b

Counts
32 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (log t) 0.5 t)
0.1b
(+ (fma a (log t) (log z)) (- (log y) (fma (log t) 0.5 t)))
0.2b
(fma a (log t) (log z))
0.2b
(- (log y) (fma (log t) 0.5 t))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
associate-+r- sub-neg associate-+r+ associate--r+
+-commutative associate-+l+ flip3-- flip3-+ flip-- flip-+
Counts
4 → 15
Calls
4 calls:
1.0ms
(fma (log t) 0.5 t)
3.0ms
(+ (fma a (log t) (log z)) (- (log y) (fma (log t) 0.5 t)))
1.0ms
(fma a (log t) (log z))
2.0ms
(- (log y) (fma (log t) 0.5 t))

series402.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(fma (log t) 0.5 t)
75.0ms
(+ (fma a (log t) (log z)) (- (log y) (fma (log t) 0.5 t)))
49.0ms
(fma a (log t) (log z))
110.0ms
(- (log y) (fma (log t) 0.5 t))

simplify78.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0256222
1878216
24080199
35001196

prune99.0ms

Filtered
27 candidates to 20 candidates (74.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New25227
Fresh022
Picked011
Done011
Total25631

Merged error: 0.2b

Counts
31 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (log t) 0.5 t)
0.1b
(+ (- (- (fma a (log t) (log z))) (log x)) (fma (log t) 0.5 t))
0.2b
(fma a (log t) (log z))
0.2b
(- (- (fma a (log t) (log z))) (log x))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
associate-+l+
associate--l- neg-sub0 associate-+l- sub-neg distribute-neg-in associate--l+
+-commutative neg-mul-1 associate-+r+ flip3-- flip3-+ fma-neg flip-- flip-+
Counts
4 → 18
Calls
4 calls:
1.0ms
(fma (log t) 0.5 t)
5.0ms
(+ (- (- (fma a (log t) (log z))) (log x)) (fma (log t) 0.5 t))
1.0ms
(fma a (log t) (log z))
3.0ms
(- (- (fma a (log t) (log z))) (log x))

series374.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(fma (log t) 0.5 t)
69.0ms
(+ (- (- (fma a (log t) (log z))) (log x)) (fma (log t) 0.5 t))
50.0ms
(fma a (log t) (log z))
74.0ms
(- (- (fma a (log t) (log z))) (log x))

simplify92.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0273265
1947248
24912231
35001229

prune107.0ms

Filtered
30 candidates to 24 candidates (80.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New28230
Fresh033
Picked101
Done022
Total29736

Merged error: 0.1b

Counts
36 → 7

regimes673.0ms

Accuracy

63.5% (5.7b remaining)

Error of 5.9b against oracle of 0.1b and baseline of 15.9b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04145
14145

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.7s55788×body80nan
468.0ms8027×body80valid