Details

Time bar (total: 10.0m)

sample390.0ms

Algorithm
intervals
Results
115.0ms112×body10240exit
93.0ms106×body1280valid
45.0ms76×body640valid
32.0ms49×body1280nan
20.0ms42×body640nan
19.0ms45×body320valid
9.0ms25×body320nan
5.0ms18×body160valid
3.0ms11×body160nan
2.0ms15×body80valid
1.0ms11×body80nan

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
013348
145548
2279747
3500147

prune61.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 61.1b

localize45.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.7b
(+ (- z 1.0) 1.0)

rewrite603.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:
269.0ms
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
308.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
2.0ms
(sqrt (* PI 2.0))
20.0ms
(+ (- z 1.0) 1.0)

series310.0ms

Counts
4 → 10
Calls
4 calls:
16.0ms
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
283.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
0.0ms
(sqrt (* PI 2.0))
11.0ms
(+ (- z 1.0) 1.0)

simplify71.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0595821
12411692
25001670

prune990.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.9b

localize45.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
0.8b
(* (* (* (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 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:
310.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
2.0ms
(sqrt (* PI 2.0))