Details

Time bar (total: 8.7m)

sample49.0ms

Algorithm
intervals
Results
36.0ms298×body80valid

simplify443.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
443.0ms
(* (* (/ PI 2) (/ 1 (- (* b b) (* a a)))) (- (/ 1 a) (/ 1 b)))

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.7b

localize27.0ms

Local error

Found 4 expressions with local error:

8.8b
(/ (/ PI (- (* b b) (* a a))) (/ 2 (- (/ 1 a) (/ 1 b))))
3.8b
(- (* b b) (* a a))
0.8b
(/ PI (- (* b b) (* a a)))
0.2b
(/ 2 (- (/ 1 a) (/ 1 b)))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
4182×times-frac
2580×add-sqr-sqrt
2092×*-un-lft-identity
1116×add-cube-cbrt
749×difference-of-squares
427×distribute-lft-out--
331×div-inv
193×associate-/r/
87×associate-/r* flip3-- flip--
24×associate-/l*
20×add-cbrt-cube add-exp-log frac-sub
10×cbrt-undiv div-exp
add-log-exp
pow1 insert-posit16
clear-num frac-2neg
sub-neg diff-log associate-/l/
Counts
4 → 1398
Calls
4 calls:
Slowest
38.0ms
(/ (/ PI (- (* b b) (* a a))) (/ 2 (- (/ 1 a) (/ 1 b))))
32.0ms
(/ 2 (- (/ 1 a) (/ 1 b)))
14.0ms
(/ PI (- (* b b) (* a a)))
12.0ms
(- (* b b) (* a a))

series340.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
152.0ms
(/ (/ PI (- (* b b) (* a a))) (/ 2 (- (/ 1 a) (/ 1 b))))
79.0ms
(/ 2 (- (/ 1 a) (/ 1 b)))
74.0ms
(/ PI (- (* b b) (* a a)))
35.0ms
(- (* b b) (* a a))

simplify8.2m

Counts
2582 → 1410
Calls
2582 calls:
Slowest
825.0ms
(/ (/ (* (cbrt PI) (cbrt PI)) 1) (/ (* (cbrt 2) (cbrt 2)) 1))
792.0ms
(/ (/ (* (cbrt PI) (cbrt PI)) 1) (/ (* (cbrt 2) (cbrt 2)) 1))
785.0ms
(/ (/ (* (cbrt PI) (cbrt PI)) (* (cbrt (- (* b b) (* a a))) (cbrt (- (* b b) (* a a))))) (/ 2 (- (* (/ 1 a) (/ 1 a)) (* (/ 1 b) (/ 1 b)))))
772.0ms
(/ (/ (* (cbrt PI) (cbrt PI)) 1) (/ (* (cbrt 2) (cbrt 2)) 1))
760.0ms
(/ (/ (* (cbrt PI) (cbrt PI)) 1) (/ (* (cbrt 2) (cbrt 2)) 1))

prune10.2s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ PI (- b a))
0.2b
(/ (/ PI (- b a)) (* a b))
0.0b
(/ (* (- b a) 1/2) (+ b a))
0.0b
(* (/ (* (- b a) 1/2) (+ b a)) (/ (/ PI (- b a)) (* a b)))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
92×add-cbrt-cube add-exp-log
78×*-un-lft-identity
74×add-sqr-sqrt
46×add-cube-cbrt
37×cbrt-undiv div-exp
29×prod-exp cbrt-unprod
25×associate-*r* associate-/l*
13×distribute-lft-out-- difference-of-squares
12×associate-/r/
10×associate-/r* associate-*l*
div-inv
pow1
flip3-- flip--
insert-posit16 add-log-exp
clear-num frac-2neg associate-*l/ distribute-lft-out associate-/l/
flip3-+ flip-+
frac-times pow-prod-down associate-*r/ *-commutative unswap-sqr
Counts
4 → 208
Calls
4 calls:
Slowest
54.0ms
(* (/ (* (- b a) 1/2) (+ b a)) (/ (/ PI (- b a)) (* a b)))
17.0ms
(/ (* (- b a) 1/2) (+ b a))
16.0ms
(/ (/ PI (- b a)) (* a b))
7.0ms
(/ PI (- b a))

series230.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
68.0ms
(* (/ (* (- b a) 1/2) (+ b a)) (/ (/ PI (- b a)) (* a b)))
60.0ms
(/ (/ PI (- b a)) (* a b))
58.0ms
(/ (* (- b a) 1/2) (+ b a))
44.0ms
(/ PI (- b a))

simplify15.3s

Counts
214 → 220
Calls
214 calls:
Slowest
652.0ms
(* (* (* (/ (* (- b a) 1/2) (+ b a)) (/ (* (- b a) 1/2) (+ b a))) (/ (* (- b a) 1/2) (+ b a))) (/ (/ (* (* PI PI) PI) (* (* (- b a) (- b a)) (- b a))) (* (* (* a a) a) (* (* b b) b))))
647.0ms
(* (* (* (/ (* (- b a) 1/2) (+ b a)) (/ (* (- b a) 1/2) (+ b a))) (/ (* (- b a) 1/2) (+ b a))) (/ (/ (* (* PI PI) PI) (* (* (- b a) (- b a)) (- b a))) (* (* (* a b) (* a b)) (* a b))))
617.0ms
(+ (- (log (* (- b a) 1/2)) (log (+ b a))) (- (log (/ PI (- b a))) (+ (log a) (log b))))
579.0ms
(* (* (* (/ (* (- b a) 1/2) (+ b a)) (/ (* (- b a) 1/2) (+ b a))) (/ (* (- b a) 1/2) (+ b a))) (/ (* (* (/ PI (- b a)) (/ PI (- b a))) (/ PI (- b a))) (* (* (* a b) (* a b)) (* a b))))
534.0ms
(* (/ (* (* (* (- b a) 1/2) (* (- b a) 1/2)) (* (- b a) 1/2)) (* (* (+ b a) (+ b a)) (+ b a))) (* (* (/ (/ PI (- b a)) (* a b)) (/ (/ PI (- b a)) (* a b))) (/ (/ PI (- b a)) (* a b))))

prune1.3s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ PI (- b a))
0.2b
(/ (/ 1 (+ b a)) (/ (/ 2 (- (/ 1 a) (/ 1 b))) (/ PI (- b a))))
0.2b
(/ (/ 2 (- (/ 1 a) (/ 1 b))) (/ PI (- b a)))
0.2b
(/ 2 (- (/ 1 a) (/ 1 b)))

rewrite2.9s

Algorithm
rewrite-expression-head
Rules
133452×times-frac
72705×add-sqr-sqrt
70669×*-un-lft-identity
34603×add-cube-cbrt
15250×difference-of-squares
12716×distribute-lft-out--
8143×div-inv
6551×associate-/r/
4050×distribute-lft-out
1704×flip3-- flip--
1394×associate-/r*
1350×flip3-+ flip-+
422×frac-sub
97×add-exp-log
88×associate-/l*
72×div-exp
61×add-cbrt-cube
41×cbrt-undiv
rec-exp 1-exp
pow1 clear-num frac-2neg insert-posit16 add-log-exp
associate-/l/
Counts
4 → 27275
Calls
4 calls:
Slowest
72.0ms
(/ (/ 1 (+ b a)) (/ (/ 2 (- (/ 1 a) (/ 1 b))) (/ PI (- b a))))
52.0ms
(/ (/ 2 (- (/ 1 a) (/ 1 b))) (/ PI (- b a)))
15.0ms
(/ 2 (- (/ 1 a) (/ 1 b)))
10.0ms
(/ PI (- b a))

series212.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
78.0ms
(/ (/ 1 (+ b a)) (/ (/ 2 (- (/ 1 a) (/ 1 b))) (/ PI (- b a))))
52.0ms
(/ (/ 2 (- (/ 1 a) (/ 1 b))) (/ PI (- b a)))
41.0ms
(/ 2 (- (/ 1 a) (/ 1 b)))
40.0ms
(/ PI (- b a))