Details

sample6.6m (74.3%)

Algorithm
78×intervals
Results
5.2m38931×body10240exit
34.6s43788×body1280valid
11.6s30551×body640valid
7.2s204235×body80valid
4.9s153743×body80nan
4.7s28034×body320valid
3.2s177150×pre80true
3.1s35783×body160valid
761.0ms3059×body2560valid
398.0ms4105×pre10240exit
377.0ms7992×body160nan
121.0ms228×body5120valid
94.0ms7991×pre80false
2.0msbody640nan

prune51.1s (9.6%)

series44.5s (8.4%)

Calls

513 calls:

753.0ms
(- (pow (cos delta) 3) (pow (* (sin phi1) (sin (asin (+ (* (sin phi1) (cos delta)) (* (* (cos phi1) (sin delta)) (cos theta)))))) 3))
699.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))
619.0ms
(exp (log (sqrt (+ (* (* (- lambda1 lambda2) (- lambda1 lambda2)) (* (log (exp (cos (/ (+ phi1 phi2) 2.0)))) (cos (/ (+ phi1 phi2) 2.0)))) (* (- phi1 phi2) (- phi1 phi2))))))
579.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))
477.0ms
(* (+ (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) (* (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) (- (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) (* (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))))

rewrite15.2s (2.9%)

Algorithm
146×rewrite-expression-head
Calls

513 calls:

670.0ms
(* (+ (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) (* (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) (- (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) (* (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))))
665.0ms
(* (+ (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) (* (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) (- (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) (* (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))))
664.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))
540.0ms
(* (- (/ 1 (/ (/ v (- 1.0 m)) m)) 1.0) m)
354.0ms
(log (exp (- (pow (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3) (pow (sqrt 1.0) 3))))
Rules
8866×times-frac
8021×*-un-lft-identity
7703×add-sqr-sqrt
4377×add-cube-cbrt
3019×add-exp-log
1844×add-cbrt-cube
1495×difference-of-squares
1193×distribute-lft-out--
1151×associate-*r*
1136×pow1
970×prod-exp
960×div-exp
943×unpow-prod-down
934×associate-/l*
897×flip--
896×flip3--
848×add-log-exp
809×sqrt-prod
715×associate-*l*
699×cube-prod
686×distribute-rgt-neg-in
681×associate-*l/
658×associate-/r*
591×distribute-lft-out
577×frac-times
491×sqrt-div
458×cbrt-undiv
444×cbrt-unprod
423×frac-add
385×pow-exp
384×log-prod
355×sqr-pow
337×associate-/r/
336×div-inv
324×cbrt-prod
323×associate-*r/
306×distribute-lft-neg-in
286×pow-to-exp
245×pow-prod-down
210×neg-mul-1
209×flip-+
208×flip3-+
204×log-pow
201×exp-prod
196×unswap-sqr
131×sub-neg
119×clear-num frac-2neg
116×log-div
112×associate-+l+ *-commutative
107×diff-log
103×associate-/l/
99×cos-mult
74×cbrt-div exp-diff
73×sum-log
71×div-sub
69×pow-unpow
67×unpow3 cube-mult
58×unpow2
57×frac-sub
53×distribute-rgt-in distribute-lft-in
51×pow-pow
50×pow1/3
45×1-exp
44×+-commutative
43×neg-sub0
42×rec-exp
41×swap-sqr
38×exp-sum
35×pow1/2 sqrt-pow1
32×associate-+l-
31×rem-sqrt-square
30×cube-div
29×pow-prod-up pow-sqr rem-log-exp
28×tan-quot
26×sin-mult
24×neg-log
22×associate--l+
21×rem-cube-cbrt difference-cubes associate--l-
18×pow-plus sin-diff
17×cos-diff distribute-rgt-out
16×associate-+r+
14×pow2
12×rem-exp-log cos-sum associate--r+
11×distribute-frac-neg
10×sin-cos-mult
associate--r- associate-+r-
distribute-lft-neg-out
pow-flip acos-asin
sin-sum inv-pow unsub-neg asin-acos
sub-div tanh-def rem-cbrt-cube
acos-neg sqrt-pow2
distribute-lft1-in
un-div-inv exp-neg tanh-undef sqr-cos distribute-rgt-neg-out exp-to-pow

simplify13.1s (2.5%)

Algorithm
224×egg-herbie

regimes9.1s (1.7%)

Accuracy

Total 29.5b remaining (24.7%)

Threshold costs 6.9b (5.8%)

8.6b39%Equirectangular approximation to distance on a great circle
4.2b46.7%Quotient of products
4.0b86.1%Cubic critical
3.5b87.8%Quadratic roots, full range
1.3b59%2-ancestry mixing, positive discriminant

localize2.4s (0.5%)

bsearch1.0s (0.2%)

end1.0ms (0.0%)