Details

Time bar (total: 10.0m)

sample420.0ms

Algorithm
intervals
Results
132.0ms120×body10240exit
104.0ms115×body1280valid
45.0ms73×body640valid
33.0ms51×body1280nan
24.0ms47×body640nan
16.0ms37×body320valid
6.0ms20×body160valid
6.0ms15×body320nan
3.0ms11×body160nan
2.0ms15×body80valid
2.0ms13×body80nan

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
013348
145548
2279747
3500147

prune27.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 61.3b

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

rewrite1.2s

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:
520.0ms
(exp (- (+ (+ (- z 1.0) 7.0) 0.5)))
601.0ms
(* (sqrt (* PI 2.0)) (pow (+ (+ (- z 1.0) 7.0) 0.5) (+ (- z 1.0) 0.5)))
5.0ms
(sqrt (* PI 2.0))
36.0ms
(+ (- z 1.0) 1.0)

series295.0ms

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

simplify79.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: 1.1b

localize56.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)) (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 (* 1 z))) (/ -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))

rewrite9.9m

Algorithm
rewrite-expression-head
Calls
1 calls:
5.0ms
(sqrt (* PI 2.0))