Details

Time bar (total: 17.9s)

sample280.0ms

Algorithm
intervals
Results
145.0ms1395×body80nan
62.0ms461×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune9.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.8b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
1.9b
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

rewrite143.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:
11.0ms
(* (- t 1.0) (log a))
4.0ms
(* y (log z))
33.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
93.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

series381.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05801143
12309897
25002860

prune407.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 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.2b
(fma (log (/ 1 a)) t b)
1.9b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

rewrite72.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:
51.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)
13.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series837.0ms

Counts
4 → 12
Calls
4 calls:
334.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
83.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
72.0ms
(fma (log (/ 1 a)) t b)
347.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify92.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09042177
141411915
250011905

prune707.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
108×add-exp-log
82×div-exp
39×times-frac
28×prod-exp
27×add-cbrt-cube
23×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×pow-exp
13×rec-exp 1-exp
12×cbrt-undiv
associate-/r*
associate-/r/ div-inv associate-/l*
pow1 associate-*r/
expm1-log1p-u pow-to-exp cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num fma-udef
pow-flip inv-pow
Counts
4 → 132
Calls
4 calls:
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
26.0ms
(/ 1 (/ y (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))
12.0ms
(/ y (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

series907.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
72.0ms
(fma (log (/ 1 a)) t b)
394.0ms
(/ 1 (/ y (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))
357.0ms
(/ y (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

simplify85.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06902149
129021832
250011722

prune429.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
1173×times-frac
526×add-sqr-sqrt
502×*-un-lft-identity
501×add-cube-cbrt
367×unpow-prod-down
220×associate-*r*
121×fma-udef
119×exp-sum
72×associate-/l*
41×add-exp-log
37×div-inv
30×div-exp
29×sqr-pow
18×add-cbrt-cube
pow-exp prod-exp
unswap-sqr
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* associate-/r* cbrt-unprod
pow-to-exp rec-exp 1-exp
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative associate-/l/
Counts
4 → 586
Calls
4 calls:
31.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y)
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
90.0ms
(* x (/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y))

series963.0ms

Counts
4 → 12
Calls
4 calls:
311.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y)
77.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
73.0ms
(fma (log (/ 1 a)) t b)
502.0ms
(* x (/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y))

simplify136.0ms

Algorithm
egg-herbie
Counts
598 → 598
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
0244010914
1500110493

prune2.7s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes232.0ms

Accuracy

96.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.3b

bsearch143.0ms

Steps
ItersRangePoint
7
3.64179571105177e-06
0.00021676197972913278
3.20059611652944e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02824
12824

end0.0ms

sample9.0s

Algorithm
intervals
Results
4.7s44680×body80nan
2.0s15081×body80valid