Details

Time bar (total: 10.0m)

sample439.0ms

Algorithm
intervals
Results
159.0ms150×body10240exit
84.0ms95×body1280valid
52.0ms87×body640valid
34.0ms54×body1280nan
27.0ms43×body320valid
18.0ms38×body640nan
8.0ms21×body320nan
6.0ms20×body160valid
2.0msbody160nan
2.0ms12×body80valid
2.0ms14×body80nan

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
013348
145548
2279747
3500147

prune27.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 61.0b

localize52.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
1.0b
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
1.0b
(sqrt (* PI 2.0))
5.4b
(+ (- z 1.0) 1.0)

rewrite614.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
24×add-sqr-sqrt
20×add-log-exp
17×add-cube-cbrt distribute-lft-out
16×exp-prod
11×associate-+l+ associate-*r*
add-exp-log prod-diff
pow1 unpow-prod-down sum-log
distribute-lft-neg-in distribute-rgt-neg-in add-cbrt-cube
fma-def rem-exp-log distribute-lft-out--
expm1-log1p-u associate-*l* neg-log log1p-expm1-u
prod-exp unswap-sqr
associate-+l- sqrt-pow1 diff-log sqrt-prod sqr-pow
unpow-prod-up +-commutative neg-sub0 exp-neg pow-to-exp neg-mul-1 sub-neg distribute-neg-in flip3-+ pow1/2 exp-diff associate-*r/ exp-sum pow-prod-down pow-exp *-commutative cbrt-unprod flip-+ pow-sub difference-of-squares
Counts
4 → 112
Calls
4 calls:
274.0ms
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
318.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
2.0ms
(sqrt (* PI 2.0))
16.0ms
(+ (- z 1.0) 1.0)

series310.0ms

Counts
4 → 10
Calls
4 calls:
17.0ms
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
282.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
0.0ms
(sqrt (* PI 2.0))
10.0ms
(+ (- z 1.0) 1.0)

simplify73.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0595821
12411692
25001670

prune1.0s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.8b

localize49.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
0.7b
(* (* (* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5))) (exp (- (+ (+ (- z 1.0) 7.0) 0.5)))) (+ (+ (+ (+ (+ (+ (+ (+ 0.9999999999998099 (/ 676.5203681218851 (/ (* (- (- z 1.0) 1.0) z) (- (- z 1.0) 1.0)))) (/ -1259.1392167224028 (+ (- z 1.0) 2.0))) (/ 771.3234287776531 (+ (- z 1.0) 3.0))) (/ -176.6150291621406 (+ (- z 1.0) 4.0))) (/ 12.507343278686905 (+ (- z 1.0) 5.0))) (/ -0.13857109526572012 (+ (- z 1.0) 6.0))) (/ 9.984369578019572e-06 (+ (- z 1.0) 7.0))) (/ 1.5056327351493116e-07 (+ (- z 1.0) 8.0))))
1.0b
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
1.0b
(sqrt (* PI 2.0))

rewrite10.0m

Algorithm
rewrite-expression-head
Calls
2 calls:
313.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
2.0ms
(sqrt (* PI 2.0))