Details

Time bar (total: 11.5s)

sample179.0ms

Algorithm
intervals
Results
75.0ms1446×body80nan
29.0ms465×body80valid

simplify54.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.3b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
7.0ms
(* (- t 1.0) (log a))
5.0ms
(* y (log z))
12.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
8.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

series386.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (- t 1.0) (log a))
37.0ms
(* y (log z))
170.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
116.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

simplify63.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05801143
12309897
25002860

prune431.0ms

Pruning

5 alts after pruning (5 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)

rewrite45.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:
22.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
1.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
1.0ms
(fma (log (/ 1 a)) t b)
14.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:
528.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
84.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
80.0ms
(fma (log (/ 1 a)) t b)
339.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify95.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
09042177
141411915
250011905

prune724.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
267×add-exp-log
146×div-exp
95×prod-exp
43×pow-exp
33×add-cbrt-cube
14×pow-to-exp
12×cbrt-undiv add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity 1-exp cbrt-unprod
sqrt-pow1 sqrt-prod
pow1 exp-prod
expm1-log1p-u log1p-expm1-u add-log-exp
times-frac associate-*r/ associate-/r* fma-udef associate-/l/
rem-sqrt-square pow1/2 exp-sum
frac-times frac-2neg associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 123
Calls
4 calls:
1.0ms
(fma (log (/ 1 a)) t b)
2.0ms
(sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
2.0ms
(sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
38.0ms
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (/ (pow (/ (cbrt 1) a) 1.0) (sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

series691.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(fma (log (/ 1 a)) t b)
140.0ms
(sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
142.0ms
(sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
332.0ms
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) (/ (pow (/ (cbrt 1) a) 1.0) (sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

simplify81.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
08433107
129792674
250012623

prune556.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

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

series767.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
143.0ms
(sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
142.0ms
(sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))
338.0ms
(/ (* (* x (/ (pow (/ (* (cbrt 1) (cbrt 1)) 1) 1.0) (* (sqrt (sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) (sqrt (sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))) (/ (pow (/ (cbrt 1) a) 1.0) (sqrt (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

simplify103.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
011415298
135474097
250013916

prune603.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes177.0ms

Accuracy

0% (1.1b remaining)

Error of 1.2b against oracle of 0.1b and baseline of 1.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03340
13340

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.2s44920×body80nan
898.0ms14976×body80valid