Details

Time bar (total: 18.6s)

sample293.0ms

Algorithm
intervals
Results
152.0ms1395×body80nan
68.0ms461×body80valid

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

rewrite130.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))
34.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))
79.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)

series386.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05801143
12309897
25002860

prune439.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

rewrite61.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:
39.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)

series849.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
09042177
141411915
250011905

prune920.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

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

series865.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
78.0ms
(fma (log (/ 1 a)) t b)
354.0ms
(/ 1 (/ y (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))
350.0ms
(/ y (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

simplify77.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06902149
129021832
250011722

prune433.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

series814.0ms

Counts
4 → 12
Calls
4 calls:
314.0ms
(/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y)
84.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
78.0ms
(fma (log (/ 1 a)) t b)
337.0ms
(* x (/ (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))) y))

simplify140.0ms

Algorithm
egg-herbie
Counts
598 → 598
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0244010914
1500110493

prune2.8s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes208.0ms

Accuracy

96.7% (0.0b remaining)

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

bsearch137.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02824
12824

end0.0ms

sample9.5s

Algorithm
intervals
Results
5.1s44680×body80nan
2.2s15081×body80valid