Details

sample4.5m (67.7%)

Algorithm
78×intervals
Results
2.7m18282×body10240exit
38.8s44037×body1280valid
14.1s30370×body640valid
12.2s204772×body80valid
8.8s152067×body80nan
6.8s27662×body320valid
5.2s36029×body160valid
5.1s195433×pre80true
3.7s33635×body80overflowed
1.3s3004×body2560valid
676.0ms7951×body160nan
408.0ms16481×pre80false
103.0ms210×body5120valid

prune47.0s (11.7%)

series42.4s (10.6%)

Calls

488 calls:

696.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)))
695.0ms
(pow E (log (sqrt (+ (* (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- lambda1 lambda2)) (cos (/ (+ phi1 phi2) 2.0))) (* (- phi1 phi2) (- phi1 phi2))))))
624.0ms
(/ (* (+ 1 (* c_p (+ (log 0.5) (* 0.5 s)))) (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)))
593.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
571.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)))

rewrite14.2s (3.5%)

Algorithm
144×rewrite-expression-head
Calls

488 calls:

815.0ms
(* (+ (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)) (- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3)))
653.0ms
(* (+ (cbrt (sqrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3))) (sqrt 1.0)) (- (cbrt (sqrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3))) (sqrt 1.0)))
565.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
397.0ms
(- (pow (pow (sqrt (/ x0 (- 1.0 x1))) 3) 3) (pow (pow (sqrt x0) 3) 3))
325.0ms
(+ (pow (pow (sqrt (/ x0 (- 1.0 x1))) 3) 3) (pow (pow (sqrt x0) 3) 3))
Rules
7020×*-un-lft-identity
6786×times-frac
6649×add-sqr-sqrt
3703×add-exp-log
3652×add-cube-cbrt
2077×add-cbrt-cube
1657×frac-times
1449×unpow-prod-down
1417×sqrt-prod
1346×associate-*l/
1341×prod-exp
1276×difference-of-squares
1262×div-exp
1227×cube-prod
1052×pow1
1024×distribute-lft-out--
991×flip--
990×flip3--
960×associate-*r*
857×associate-*r/
830×associate-/l*
829×cbrt-prod
802×add-log-exp
615×distribute-lft-out
598×cbrt-unprod
592×flip-+
591×flip3-+
547×cbrt-undiv
510×associate-/r*
481×associate-*l*
477×sqrt-div
432×frac-add
370×log-prod
365×pow-exp div-inv
347×frac-sub
309×sqr-pow
295×associate-/r/
266×pow-to-exp
243×pow-prod-down
240×distribute-rgt-neg-in
234×cbrt-div
179×unswap-sqr
155×log-div
140×1-exp
132×sub-neg
124×sin-cos-mult
120×associate-/l/
116×*-commutative
115×frac-2neg clear-num
108×sin-mult
107×cos-mult
99×diff-log
97×exp-prod
81×rec-exp
78×log-pow
72×distribute-rgt-in distribute-lft-in
68×exp-diff
66×pow-sub
63×sum-log
55×div-sub
51×unpow3 cube-mult sub-div
42×pow1/3 +-commutative
39×pow1/2 pow-unpow sqrt-pow1
32×neg-sub0
30×rem-sqrt-square swap-sqr
29×unpow2 distribute-rgt-out rem-log-exp
27×distribute-lft-neg-in
26×tan-quot
25×associate-+l-
23×cos-diff pow-flip
21×pow-prod-up pow-sqr neg-log pow-pow
19×acos-asin
18×sin-diff
17×sin-sum
15×cos-sum
14×associate--l-
13×associate--r+
12×pow-plus
11×cube-div rem-cube-cbrt inv-pow
10×associate-+l+ pow2 associate-+r+ distribute-rgt-neg-out
exp-sum neg-mul-1
difference-cubes sin-neg distribute-frac-neg associate--r-
rem-exp-log
unpow-prod-up distribute-neg-frac
distribute-lft1-in log-rec associate--l+
exp-neg associate-+r- sum-cubes
acos-neg distribute-lft-neg-out
sqrt-pow2 un-div-inv cos-acos cos-PI/2 distribute-rgt-out-- exp-to-pow rem-cbrt-cube
e-exp-1 unsub-neg sqrt-unprod tanh-undef asin-acos tanh-def

simplify13.6s (3.4%)

Algorithm
222×egg-herbie

regimes9.1s (2.3%)

Accuracy

Total 28.9b remaining (25.1%)

Threshold costs 7.0b (6.1%)

13.7b25.5%Equirectangular approximation to distance on a great circle
3.0b63.9%Quotient of products
1.6b94.7%Logistic function from Lakshay Garg
1.2b0%2-ancestry mixing, positive discriminant
1.2b95.1%Cubic critical

localize2.3s (0.6%)

bsearch676.0ms (0.2%)

end1.0ms (0.0%)