Details

Time bar (total: 7.0s)

sample30.0ms

Algorithm
intervals
Results
18.0ms292×body80valid

simplify455.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01521
13021
28621
335221
4142821
done500121

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.4b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
0.7b
(/ 1.0 (- (* b b) (* a a)))
5.6b
(- (* b b) (* a a))
8.6b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite55.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:
14.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
6.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
25.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
12.0ms
(/ 1.0 (- (* b b) (* a a)))
6.0ms
(- (* b b) (* a a))
14.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify922.0ms

Counts
165 → 165
Iterations

Useful iterations: done (917.0ms)

IterNodesCost
02583239
18103186
238762730
done50002686

prune266.0ms

Filtered
124 candidates to 165 candidates (-33.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1587165
Fresh000
Picked101
Done000
Total1597166

Merged error: 8.5b

Counts
166 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
229×times-frac
185×*-un-lft-identity
160×add-sqr-sqrt
109×add-cube-cbrt
59×add-exp-log associate-*l* add-cbrt-cube
33×associate-*r*
27×distribute-lft-out
21×cbrt-undiv div-exp
19×prod-exp cbrt-unprod
16×div-inv
14×frac-times
13×associate-/l* distribute-lft-out--
11×pow1 difference-of-squares
associate-*r/ associate-*l/
flip3-- associate-/r/ flip-- add-log-exp unswap-sqr
frac-sub
pow-prod-down associate-/r*
sub-neg
distribute-rgt-in distribute-lft-in flip3-+ *-commutative flip-+
frac-2neg diff-log clear-num associate-/l/
Counts
4 → 273
Calls
4 calls:
13.0ms
(- (/ 1.0 a) (/ 1.0 b))
39.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
9.0ms
(/ (/ PI 2.0) (+ b a))
32.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (/ 1.0 a) (/ 1.0 b))
10.0ms
(* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a)))
8.0ms
(/ (/ PI 2.0) (+ b a))
14.0ms
(* (* (/ (/ PI 2.0) (+ b a)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify354.0ms

Counts
285 → 285
Iterations

Useful iterations: done (340.0ms)

IterNodesCost
04055259
112825118
done50005112

prune494.0ms

Filtered
219 candidates to 285 candidates (-30.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2814285
Fresh246
Picked101
Done000
Total2848292

Merged error: 0.0b

Counts
292 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
122×times-frac
108×*-un-lft-identity
88×add-sqr-sqrt
60×add-cube-cbrt
43×add-exp-log add-cbrt-cube
14×cbrt-undiv div-exp prod-exp cbrt-unprod distribute-lft-out associate-/l*
12×associate-*r* distribute-lft-out--
11×div-inv
10×associate-*l/ difference-of-squares
pow1 associate-/r*
associate-/l/
frac-times flip3-- associate-*r/ flip-- add-log-exp
frac-sub
associate-/r/
sub-neg pow-prod-down
distribute-rgt-in frac-2neg distribute-lft-in clear-num
flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 190
Calls
4 calls:
14.0ms
(- (/ 1.0 a) (/ 1.0 b))
31.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
9.0ms
(/ (/ PI 2.0) (+ b a))
32.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (/ 1.0 a) (/ 1.0 b))
14.0ms
(/ (* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (- b a))
8.0ms
(/ (/ PI 2.0) (+ b a))
19.0ms
(* (* (/ (/ PI 2.0) (+ b a)) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify1.2s

Counts
202 → 202
Iterations

Useful iterations: done (1.2s)

IterNodesCost
03363777
19433654
243163200
done50003168

prune304.0ms

Filtered
145 candidates to 202 candidates (-39.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1984202
Fresh257
Picked101
Done000
Total2019210

Merged error: 0b

Counts
210 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
98×times-frac
88×*-un-lft-identity
80×add-sqr-sqrt
47×add-exp-log add-cbrt-cube
34×add-cube-cbrt
21×distribute-lft-out--
19×difference-of-squares
16×cbrt-undiv div-exp associate-/r/
15×prod-exp cbrt-unprod
12×associate-*r* div-inv
11×associate-/l*
10×associate-*l/
pow1 associate-/r*
associate-/l/ distribute-lft-out
flip3-+ flip-+
frac-times flip3-- associate-*r/ flip-- add-log-exp
frac-sub
sub-neg pow-prod-down
distribute-rgt-in frac-2neg distribute-lft-in clear-num
diff-log associate-*l* *-commutative
Counts
4 → 186
Calls
4 calls:
14.0ms
(- (/ 1.0 a) (/ 1.0 b))
31.0ms
(/ (/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (- b a))
24.0ms
(/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
21.0ms
(* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (/ 1.0 a) (/ 1.0 b))
14.0ms
(/ (/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a)) (- b a))
14.0ms
(/ (* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b))) (+ b a))
8.0ms
(* (* (/ PI 2.0) 1.0) (- (/ 1.0 a) (/ 1.0 b)))

simplify1.1s

Counts
198 → 198
Iterations

Useful iterations: 2 (301.0ms)

IterNodesCost
03104791
19294644
248404120
done50004120

prune268.0ms

Filtered
142 candidates to 198 candidates (-39.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1971198
Fresh178
Picked011
Done000
Total1989207

Merged error: 0b

Counts
207 → 9

regimes113.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01521
11821
done1821

end0.0ms

sample886.0ms

Algorithm
intervals
Results
607.0ms9506×body80valid

Profiling

Loading profile data...