Details

Time bar (total: 5.3s)

sample28.0ms

Algorithm
intervals
Results
16.0ms298×body80valid

simplify39.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03010
18910
237710
3177910
4500110
done500110

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.7b
(/ 1.0 (- (* b b) (* a a)))
4.1b
(- (* b b) (* a a))
11.1b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
47×times-frac
39×*-un-lft-identity
36×add-exp-log add-cbrt-cube
31×add-cube-cbrt
30×associate-*r*
14×frac-times associate-*l*
13×prod-exp cbrt-unprod
12×difference-of-squares
11×pow1
cbrt-undiv div-exp
associate-*r/ associate-*l/
flip3-- flip--
add-log-exp
div-inv distribute-lft-out--
pow-prod-down associate-/r* associate-/r/ frac-sub unswap-sqr
sub-neg associate-/l*
distribute-rgt-in distribute-lft-in *-commutative
frac-2neg diff-log clear-num
Counts
4 → 153
Calls
4 calls:
47.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
14.0ms
(/ 1.0 (- (* b b) (* a a)))
8.0ms
(- (* b b) (* a a))
122.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
48.0ms
(/ 1.0 (- (* b b) (* a a)))
32.0ms
(- (* b b) (* a a))
91.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify110.0ms

Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08041567
145031342
250021342
done50021342

prune398.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 11.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ b a))
0.1b
(/ (/ 1.0 (+ b a)) (- b a))
0.1b
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
11.1b
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite314.0ms

Algorithm
rewrite-expression-head
Rules
352×times-frac
305×*-un-lft-identity
256×add-sqr-sqrt
149×add-cube-cbrt
108×associate-*r*
61×add-exp-log add-cbrt-cube
42×distribute-lft-out--
41×difference-of-squares
37×distribute-lft-out
28×associate-/r/
22×cbrt-undiv div-exp
21×associate-/l*
19×prod-exp cbrt-unprod
17×div-inv
14×frac-times associate-*l*
12×flip3-+ flip-+
11×pow1
associate-/r*
associate-*r/ associate-*l/
flip3-- flip-- unswap-sqr
pow-prod-down frac-sub add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in clear-num *-commutative
associate-/l/
Counts
4 → 358
Calls
4 calls:
12.0ms
(/ 1.0 (+ b a))
30.0ms
(/ (/ 1.0 (+ b a)) (- b a))
90.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
158.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ 1.0 (+ b a))
54.0ms
(/ (/ 1.0 (+ b a)) (- b a))
67.0ms
(* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a)))
100.0ms
(* (* (/ PI 2.0) (/ (/ 1.0 (+ b a)) (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify59.0ms

Counts
370 → 370
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
014673480
150023169
done50023169

prune813.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ b a))
0.2b
(/ (* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
0.3b
(* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
0.3b
(* (/ PI 2.0) (/ 1.0 (+ b a)))

rewrite263.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log add-sqr-sqrt add-cbrt-cube
59×*-un-lft-identity
52×times-frac
33×add-cube-cbrt
30×associate-*r*
27×frac-times
22×prod-exp cbrt-unprod
19×cbrt-undiv div-exp
15×associate-*r/ associate-*l/ associate-/l/
14×associate-*l*
11×pow1
flip3-- associate-/r* flip--
frac-sub
distribute-lft-out distribute-lft-out--
associate-/r/ div-inv difference-of-squares
pow-prod-down associate-/l* add-log-exp unswap-sqr
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ clear-num *-commutative flip-+
Counts
4 → 190
Calls
4 calls:
12.0ms
(/ 1.0 (+ b a))
91.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
113.0ms
(* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
38.0ms
(* (/ PI 2.0) (/ 1.0 (+ b a)))

series295.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ 1.0 (+ b a))
96.0ms
(/ (* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
104.0ms
(* (* (/ PI 2.0) (/ 1.0 (+ b a))) (- (/ 1.0 a) (/ 1.0 b)))
56.0ms
(* (/ PI 2.0) (/ 1.0 (+ b a)))

simplify38.0ms

Counts
202 → 202
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09631767
150011458
done50011458

prune448.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 a) (/ 1.0 b))
0.2b
(/ (/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (+ b a))) (- b a))
0.2b
(/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (+ b a)))
0.4b
(* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b)))

rewrite226.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
62×times-frac
59×add-exp-log add-cbrt-cube
55×*-un-lft-identity
23×add-cube-cbrt
21×prod-exp cbrt-unprod
20×associate-*r/
19×cbrt-undiv div-exp
18×distribute-lft-out--
16×associate-/r/ difference-of-squares
12×associate-*r* div-inv
pow1
associate-/l*
flip3-+ flip-+
associate-/r* add-log-exp
flip3-- flip-- associate-/l/
sub-neg pow-prod-down frac-sub
distribute-rgt-in frac-2neg distribute-lft-in clear-num
diff-log associate-*l* *-commutative
Counts
4 → 160
Calls
4 calls:
26.0ms
(- (/ 1.0 a) (/ 1.0 b))
62.0ms
(/ (/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (+ b a))) (- b a))
53.0ms
(/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (+ b a)))
76.0ms
(* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series301.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (/ 1.0 a) (/ 1.0 b))
96.0ms
(/ (/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (+ b a))) (- b a))
103.0ms
(/ (* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b))) (* 2.0 (+ b a)))
64.0ms
(* (* PI 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify39.0ms

Counts
172 → 172
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08542012
150021679
done50021679

prune358.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes201.0ms

Accuracy

0% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810
done1810

end0.0ms

sample631.0ms

Algorithm
intervals
Results
412.0ms9590×body80valid