Details

Time bar (total: 2.6s)

analyze217.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
15.6%84.3%0.1%6
37.5%62.4%0.1%7
46.8%53.1%0.1%8
57.8%39.8%2.4%9
64.6%30.4%5%10
71.8%20.3%7.9%11
74.1%16.2%9.7%12
77.4%10.7%12%13
78.6%8.4%13%14

sample25.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
1.0ms15×body80invalid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
0516721

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.4b

Counts
2 → 2

localize12.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)))
4.2b
(- (* b b) (* a a))
8.3b
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite53.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*
*-commutative
distribute-rgt-in frac-2neg distribute-lft-in diff-log clear-num
Counts
4 → 150
Calls
4 calls:
16.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
23.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a))))
7.0ms
(/ 1.0 (- (* b b) (* a a)))
6.0ms
(- (* b b) (* a a))
13.0ms
(* (* (/ PI 2.0) (/ 1.0 (- (* b b) (* a a)))) (- (/ 1.0 a) (/ 1.0 b)))

simplify50.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050182608

prune250.0ms

Filtered
119 candidates to 162 candidates (-36.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15210162
Fresh101
Picked101
Done000
Total15410164

Merged error: 8.2b

Counts
164 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log add-sqr-sqrt add-cbrt-cube
52×*-un-lft-identity
47×times-frac
33×associate-*r*
30×add-cube-cbrt
24×prod-exp cbrt-unprod
17×cbrt-undiv div-exp
14×frac-times
12×associate-*l/ distribute-lft-out--
11×pow1 difference-of-squares
10×associate-*l*
associate-*r/ associate-/r/
flip3-- associate-/r* flip-- div-inv associate-/l*
pow-prod-down frac-sub add-log-exp
sub-neg frac-2neg flip3-+ clear-num *-commutative flip-+ unswap-sqr
distribute-rgt-in distribute-lft-in
Counts
4 → 170
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
16.0ms
(* (/ PI (* (+ b a) 2.0)) (/ 1.0 (- b a)))
6.0ms
(/ PI (* (+ b a) 2.0))
28.0ms
(* (* (/ PI (* (+ b a) 2.0)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (- b a))
12.0ms
(* (/ PI (* (+ b a) 2.0)) (/ 1.0 (- b a)))
7.0ms
(/ PI (* (+ b a) 2.0))
13.0ms
(* (* (/ PI (* (+ b a) 2.0)) (/ 1.0 (- b a))) (- (/ 1.0 a) (/ 1.0 b)))

simplify41.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
056082626

prune239.0ms

Filtered
122 candidates to 182 candidates (-49.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1739182
Fresh729
Picked101
Done000
Total18111192

Merged error: 0.0b

Counts
192 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
59×add-exp-log add-cbrt-cube
28×add-sqr-sqrt
24×*-un-lft-identity
23×prod-exp cbrt-unprod
21×times-frac
18×associate-*r/
17×cbrt-undiv div-exp
12×add-cube-cbrt
pow1 associate-*l*
associate-/l/ distribute-lft-out--
frac-times flip3-- associate-*l/ associate-/r* associate-/r/ flip-- add-log-exp difference-of-squares
sub-neg frac-sub div-inv
distribute-rgt-in distribute-lft-in associate-/l*
pow-prod-down
frac-2neg flip3-+ clear-num flip-+
diff-log associate-*r* *-commutative
Counts
4 → 131
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
25.0ms
(/ (* (/ PI (* (+ b a) 2.0)) (* 1.0 (- (/ 1.0 a) (/ 1.0 b)))) (- b a))
6.0ms
(/ PI (* (+ b a) 2.0))
21.0ms
(* (/ PI (* (+ b a) 2.0)) (* 1.0 (- (/ 1.0 a) (/ 1.0 b))))

series39.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
13.0ms
(/ (* (/ PI (* (+ b a) 2.0)) (* 1.0 (- (/ 1.0 a) (/ 1.0 b)))) (- b a))
7.0ms
(/ PI (* (+ b a) 2.0))
15.0ms
(* (/ PI (* (+ b a) 2.0)) (* 1.0 (- (/ 1.0 a) (/ 1.0 b))))

simplify37.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
050232273

prune184.0ms

Filtered
93 candidates to 143 candidates (-53.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1394143
Fresh4610
Picked101
Done000
Total14410154

Merged error: 0b

Counts
154 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
151×add-sqr-sqrt
136×times-frac
123×*-un-lft-identity
48×distribute-lft-out--
47×add-exp-log add-cbrt-cube
41×add-cube-cbrt difference-of-squares
19×prod-exp cbrt-unprod
17×div-inv
15×associate-/l*
12×cbrt-undiv div-exp
pow1 associate-*l*
associate-*l/
associate-/r* associate-/r/ add-log-exp
flip3-- pow-prod-down flip-- associate-/l/
frac-2neg flip3-+ clear-num frac-sub flip-+
frac-times sub-neg diff-log div-sub associate-*r/ associate-*r* *-commutative
Counts
4 → 180
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
20.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
28.0ms
(* (/ PI (* (+ b a) 2.0)) (* (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a)) 1.0))
6.0ms
(/ PI (* (+ b a) 2.0))

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
7.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
13.0ms
(* (/ PI (* (+ b a) 2.0)) (* (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a)) 1.0))
7.0ms
(/ PI (* (+ b a) 2.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049833246
149833246

prune234.0ms

Filtered
130 candidates to 192 candidates (-47.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1902192
Fresh369
Picked101
Done000
Total1948202

Merged error: 0b

Counts
202 → 8

regimes107.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01715
11715

end0.0ms

sample645.0ms

Algorithm
intervals
Results
473.0ms8000×body80valid
21.0ms362×body80invalid

Profiling

Loading profile data...