Details

Time bar (total: 10.0m)

sample441.0ms

Algorithm
intervals
Results
136.0ms130×body10240exit
97.0ms111×body1280valid
44.0ms71×body640valid
43.0ms56×body1280nan
26.0ms49×body640nan
26.0ms42×body320valid
6.0ms21×body160valid
5.0ms21×body160nan
5.0ms13×body320nan
2.0ms14×body80valid
1.0ms10×body80nan

simplify73.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.4b

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

rewrite1.1s

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:
496.0ms
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
573.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
4.0ms
(sqrt (* PI 2.0))
30.0ms
(+ (- z 1.0) 1.0)

series313.0ms

Counts
4 → 10
Calls
4 calls:
17.0ms
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
285.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 (62.0ms)

IterNodesCost
0595821
12411692
25001670

prune1.3s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

localize55.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
0.6b
(* (* (* (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))

rewrite9.9m

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