Details

Time bar (total: 9.2s)

sample208.0ms

Algorithm
intervals
Results
91.0ms1421×body80nan
30.0ms428×body80valid
5.0ms12×body640valid
2.0msbody1280valid
2.0msbody320valid
1.0ms10×body160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03110
16210
213710
334410
4115510
5500110

prune3.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: 2.2b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* a (- (log (- 1.0 z)) b))
0.0b
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
0.2b
(* y (- (log z) t))
6.5b
(log (- 1.0 z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
distribute-rgt-in sub-neg distribute-lft-in
flip3-- flip--
associate-+l+ associate-+r+ frac-add
*-commutative
log-div fma-def
+-commutative flip3-+ flip-+
Counts
4 → 33
Calls
4 calls:
4.0ms
(* a (- (log (- 1.0 z)) b))
8.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
3.0ms
(* y (- (log z) t))
2.0ms
(log (- 1.0 z))

series374.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* a (- (log (- 1.0 z)) b))
184.0ms
(+ (* y (- (log z) t)) (* a (- (log (- 1.0 z)) b)))
68.0ms
(* y (- (log z) t))
46.0ms
(log (- 1.0 z))

simplify47.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0489416
11801406
25001402

prune174.0ms

Filtered
45 candidates to 33 candidates (73.3%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New44145
Fresh000
Picked101
Done000
Total45146

Merged error: 0.0b

Counts
46 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma a b (* 1.0 (* a z)))
0.0b
(* x (exp (+ (* y (- (log z) t)) (fma a (log 1.0) (- (fma a b (* 1.0 (* a z))))))))
0.0b
(+ (* y (- (log z) t)) (fma a (log 1.0) (- (fma a b (* 1.0 (* a z))))))
0.2b
(* y (- (log z) t))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
associate-+l+
associate-*r* exp-sum
distribute-rgt-in sub-neg distribute-lft-in
*-commutative fma-udef
+-commutative associate-+r+ fma-def associate-*r/
flip3-- flip3-+ flip-- flip-+
Counts
4 → 26
Calls
4 calls:
1.0ms
(fma a b (* 1.0 (* a z)))
6.0ms
(* x (exp (+ (* y (- (log z) t)) (fma a (log 1.0) (- (fma a b (* 1.0 (* a z))))))))
5.0ms
(+ (* y (- (log z) t)) (fma a (log 1.0) (- (fma a b (* 1.0 (* a z))))))
4.0ms
(* y (- (log z) t))

series439.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(fma a b (* 1.0 (* a z)))
169.0ms
(* x (exp (+ (* y (- (log z) t)) (fma a (log 1.0) (- (fma a b (* 1.0 (* a z))))))))
149.0ms
(+ (* y (- (log z) t)) (fma a (log 1.0) (- (fma a b (* 1.0 (* a z))))))
72.0ms
(* y (- (log z) t))

simplify69.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0225232
1708214
22866211
35002211

prune124.0ms

Filtered
38 candidates to 24 candidates (63.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh000
Picked011
Done000
Total37239

Merged error: 0.0b

Counts
39 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma a b (* 1.0 (* a z)))
0.0b
(* x (* (pow z y) (pow 1.0 a)))
0.0b
(fma t y (fma a b (* 1.0 (* a z))))
1.0b
(/ (* x (* (pow z y) (pow 1.0 a))) (exp (fma t y (fma a b (* 1.0 (* a z))))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*r*
12×sqr-pow
10×fma-udef
exp-sum
times-frac associate-/l*
*-commutative
associate-*l* unswap-sqr
frac-2neg clear-num associate-/r* div-inv
Counts
4 → 26
Calls
4 calls:
1.0ms
(fma a b (* 1.0 (* a z)))
4.0ms
(* x (* (pow z y) (pow 1.0 a)))
1.0ms
(fma t y (fma a b (* 1.0 (* a z))))
7.0ms
(/ (* x (* (pow z y) (pow 1.0 a))) (exp (fma t y (fma a b (* 1.0 (* a z))))))

series521.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(fma a b (* 1.0 (* a z)))
133.0ms
(* x (* (pow z y) (pow 1.0 a)))
54.0ms
(fma t y (fma a b (* 1.0 (* a z))))
286.0ms
(/ (* x (* (pow z y) (pow 1.0 a))) (exp (fma t y (fma a b (* 1.0 (* a z))))))

simplify89.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0207278
1580278
23400264
35001260

prune152.0ms

Filtered
38 candidates to 30 candidates (78.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh000
Picked101
Done011
Total38240

Merged error: 0b

Counts
40 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma a b (* 1.0 (* a z)))
0.0b
(/ x (/ (exp (fma t y (fma a b (* 1.0 (* a z))))) (* (pow z y) (pow 1.0 a))))
0.0b
(fma t y (fma a b (* 1.0 (* a z))))
0.8b
(/ (exp (fma t y (fma a b (* 1.0 (* a z))))) (* (pow z y) (pow 1.0 a)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-/r* sqr-pow
14×fma-udef
12×exp-sum
10×times-frac
associate-/r/
associate-*r* associate-*l* *-commutative unswap-sqr
frac-2neg clear-num div-inv
pow-to-exp associate-/l*
div-exp prod-exp
Counts
4 → 35
Calls
4 calls:
1.0ms
(fma a b (* 1.0 (* a z)))
5.0ms
(/ x (/ (exp (fma t y (fma a b (* 1.0 (* a z))))) (* (pow z y) (pow 1.0 a))))
1.0ms
(fma t y (fma a b (* 1.0 (* a z))))
5.0ms
(/ (exp (fma t y (fma a b (* 1.0 (* a z))))) (* (pow z y) (pow 1.0 a)))

series571.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(fma a b (* 1.0 (* a z)))
261.0ms
(/ x (/ (exp (fma t y (fma a b (* 1.0 (* a z))))) (* (pow z y) (pow 1.0 a))))
54.0ms
(fma t y (fma a b (* 1.0 (* a z))))
208.0ms
(/ (exp (fma t y (fma a b (* 1.0 (* a z))))) (* (pow z y) (pow 1.0 a)))

simplify114.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0235375
1742374
24136359
35001354

prune191.0ms

Filtered
47 candidates to 38 candidates (80.9%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New47047
Fresh000
Picked011
Done011
Total47249

Merged error: 0b

Counts
49 → 2

regimes133.0ms

Accuracy

0% (0.1b remaining)

Error of 0.5b against oracle of 0.4b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12412

end0.0ms

sample5.8s

Algorithm
intervals
Results
2.5s40968×body80nan
862.0ms12457×body80valid
139.0ms366×body640valid
104.0ms422×body320valid
60.0ms80×body1280valid
39.0ms265×body160valid