Details

Time bar (total: 12.1s)

sample168.0ms

Algorithm
intervals
Results
71.0ms1404×body80nan
27.0ms448×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- t 1.0) (log a))
0.3b
(* y (log z))
0.7b
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
0.8b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
13×add-cbrt-cube
12×add-exp-log log-prod exp-sum
10×pow1 add-log-exp
prod-diff
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in
exp-prod
expm1-log1p-u log1p-expm1-u
times-frac prod-exp associate-/r* cbrt-unprod rem-exp-log
cbrt-undiv exp-diff diff-log div-exp pow-prod-down associate-*l/ log-pow *-commutative distribute-lft-out-- difference-of-squares unswap-sqr
sub-neg flip3-- frac-2neg associate-*r/ associate--l+ clear-num sum-log flip-- div-inv associate-/l/ associate-/l*
Counts
4 → 112
Calls
4 calls:
10.0ms
(* (- t 1.0) (log a))
4.0ms
(* y (log z))
78.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
34.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

series373.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (- t 1.0) (log a))
41.0ms
(* y (log z))
167.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
111.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

simplify61.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05801143
12309897
25002860

prune439.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
0.1b
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.1b
(fma (log (/ 1 a)) t b)
0.7b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
74×add-sqr-sqrt
72×associate-*r*
58×*-un-lft-identity
57×add-cube-cbrt
55×unpow-prod-down
41×add-exp-log
24×div-exp
19×fma-udef
18×add-cbrt-cube
17×exp-sum
14×prod-exp
pow-exp
pow1 div-inv unswap-sqr
cbrt-undiv sqr-pow
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* associate-/r*
pow-to-exp rec-exp 1-exp associate-*r/
frac-2neg pow-prod-down clear-num *-commutative associate-/l/ associate-/l*
Counts
4 → 153
Calls
4 calls:
34.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
16.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series1.0s

Counts
4 → 12
Calls
4 calls:
511.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
82.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
79.0ms
(fma (log (/ 1 a)) t b)
332.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify98.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
09042177
141411915
250011905

prune727.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (log (/ 1 a)) t b)
0.1b
(fma (log (/ 1 a)) t b)
0.1b
(fma (log (/ 1 a)) t b)
0.7b
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (* (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (/ (pow (/ (cbrt 1) a) 1.0) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
520×add-exp-log
271×div-exp
210×prod-exp
82×pow-exp
38×add-cbrt-cube
26×pow-to-exp
20×1-exp
17×cbrt-undiv
16×cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
times-frac associate-*r/ associate-/r* fma-udef associate-/l/
frac-times frac-2neg associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 142
Calls
4 calls:
0.0ms
(fma (log (/ 1 a)) t b)
0.0ms
(fma (log (/ 1 a)) t b)
0.0ms
(fma (log (/ 1 a)) t b)
73.0ms
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (* (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (/ (pow (/ (cbrt 1) a) 1.0) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

series552.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(fma (log (/ 1 a)) t b)
74.0ms
(fma (log (/ 1 a)) t b)
74.0ms
(fma (log (/ 1 a)) t b)
328.0ms
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (* (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (/ (pow (/ (cbrt 1) a) 1.0) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

simplify107.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
011014774
134704002
250013747

prune469.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize39.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
0.7b
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (* (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (/ (pow (/ (cbrt 1) a) 1.0) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (* (cbrt y) (cbrt y)))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
1117×add-exp-log
542×div-exp
501×prod-exp
164×pow-exp
63×add-cbrt-cube
52×pow-to-exp
41×cbrt-unprod
40×1-exp
34×cbrt-undiv
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r/ associate-/l/
frac-times frac-2neg times-frac associate-*l/ clear-num associate-/r* div-inv associate-/l*
Counts
4 → 237
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(cbrt y)
77.0ms
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (* (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (/ (pow (/ (cbrt 1) a) 1.0) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (* (cbrt y) (cbrt y)))

series1.0s

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt y)
170.0ms
(cbrt y)
173.0ms
(cbrt y)
520.0ms
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (* (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (/ (pow (/ (cbrt 1) a) 1.0) (cbrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (* (cbrt y) (cbrt y)))

simplify169.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
014778720
147227233
250037232

prune612.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes361.0ms

Accuracy

0% (1.1b remaining)

Error of 1.1b against oracle of 0.0b and baseline of 1.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03238
13238

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.3s46228×body80nan
951.0ms15342×body80valid