Details

Time bar (total: 8.1s)

sample168.0ms

Algorithm
intervals
Results
85.0ms1813×body80nan
14.0ms257×body80valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune9.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

localize14.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))

rewrite10.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:
5.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))

series339.0ms

Counts
3 → 9
Calls
3 calls:
182.0ms
(- (+ (log (+ x y)) (log z)) t)
87.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
69.0ms
(+ (log (+ x y)) (log z))

simplify56.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0267184
1736176
22829170
35001166

prune96.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

localize16.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))

series262.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ x y) z)
117.0ms
(- (log (* (+ x y) z)) t)
78.0ms
(fma (log t) (- a 0.5) (- (log (* (+ x y) z)) t))
45.0ms
(log (* (+ x y) z))

simplify50.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0244160
1644153
22531148
35002146

prune97.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

localize13.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))

series392.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(fma (log t) 0.5 t)
69.0ms
(+ (fma a (log t) (log z)) (- (log y) (fma (log t) 0.5 t)))
48.0ms
(fma a (log t) (log z))
106.0ms
(- (log y) (fma (log t) 0.5 t))

simplify77.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0256222
1878216
24080199
35001196

prune102.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))

series358.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(fma (log t) 0.5 t)
70.0ms
(+ (- (- (fma a (log t) (log z))) (log x)) (fma (log t) 0.5 t))
45.0ms
(fma a (log t) (log z))
72.0ms
(- (- (fma a (log t) (log z))) (log x))

simplify89.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (85.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

regimes671.0ms

Accuracy

63.5% (5.7b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04145
14145

end0.0ms

sample5.1s

Algorithm
intervals
Results
2.6s55788×body80nan
456.0ms8027×body80valid