Details

Time bar (total: 2.8s)

analyze228.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
15.0ms256×body80valid
1.0ms10×body80invalid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
0520121

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: 16.7b

Counts
2 → 2

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 b) (* a a))))))
5.4b
(- (* b b) (* a a))
10.6b
(/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (- (* b b) (* a a))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
42×times-frac
37×*-un-lft-identity
23×add-exp-log add-cbrt-cube
15×distribute-lft-out--
13×add-cube-cbrt difference-of-squares
12×associate-/l*
pow1 prod-exp cbrt-unprod
add-log-exp
div-inv
cbrt-undiv flip3-- associate-*r/ div-exp flip--
associate-*l* pow-prod-down associate-/l/
sub-neg diff-log associate-/r/ frac-sub
frac-2neg div-sub associate-*r* clear-num associate-/r* *-commutative
Counts
4 → 101
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
23.0ms
(* PI (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (- (* b b) (* a a))))))
3.0ms
(- (* b b) (* a a))
18.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (- (* b b) (* a a))))

series31.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
054741818

prune185.0ms

Filtered
83 candidates to 113 candidates (-36.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1049113
Fresh011
Picked101
Done000
Total10510115

Merged error: 10.5b

Counts
115 → 10

localize13.0ms

Local error

Found 3 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 (* (+ a b) (- b a))))))
10.6b
(/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (* (+ a b) (- b a))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×times-frac
36×*-un-lft-identity
32×add-exp-log add-cbrt-cube
15×prod-exp cbrt-unprod distribute-lft-out--
12×add-cube-cbrt associate-*r/ associate-/l* difference-of-squares
pow1 associate-/r/
div-inv
cbrt-undiv div-exp
flip3-- flip-- add-log-exp
frac-times
flip3-+ associate-*l* pow-prod-down flip-+ associate-/l/
associate-*l/ frac-sub
sub-neg frac-2neg diff-log div-sub associate-*r* clear-num associate-/r* *-commutative
Counts
3 → 99
Calls
3 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
25.0ms
(* PI (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (* (+ a b) (- b a))))))
26.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (* (+ a b) (- b a))))

series27.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
12.0ms
(* PI (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (* (+ a b) (- b a))))))
11.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (* 2.0 (* (+ a b) (- b a))))

simplify33.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
059771909

prune141.0ms

Filtered
72 candidates to 108 candidates (-50.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh099
Picked011
Done000
Total10810118

Merged error: 10.5b

Counts
118 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 a) (/ 1.0 b))
0.3b
(* PI (- (/ 1.0 a) (/ 1.0 b)))
5.4b
(- (* b b) (* a a))
10.6b
(/ (* 1.0 (* PI (- (/ 1.0 a) (/ 1.0 b)))) (* 2.0 (- (* b b) (* a a))))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
27×add-exp-log add-cbrt-cube
26×*-un-lft-identity
21×times-frac
12×associate-*r*
11×associate-*r/
10×add-cube-cbrt prod-exp cbrt-unprod distribute-lft-out--
difference-of-squares
add-log-exp
pow1 cbrt-undiv div-exp
flip3-- flip-- div-inv
sub-neg
associate-*l* frac-sub associate-/l/
diff-log associate-/r/
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l* unswap-sqr
Counts
4 → 95
Calls
4 calls:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
15.0ms
(* PI (- (/ 1.0 a) (/ 1.0 b)))
3.0ms
(- (* b b) (* a a))
22.0ms
(/ (* 1.0 (* PI (- (/ 1.0 a) (/ 1.0 b)))) (* 2.0 (- (* b b) (* a a))))

series27.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049961420
149961420

prune158.0ms

Filtered
76 candidates to 107 candidates (-40.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1025107
Fresh538
Picked101
Done101
Total1098117

Merged error: 0.0b

Counts
117 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
281×add-sqr-sqrt
267×times-frac
239×*-un-lft-identity
87×add-cube-cbrt
80×distribute-lft-out--
69×difference-of-squares
67×associate-*r*
61×add-exp-log add-cbrt-cube
31×associate-*l*
27×div-inv
22×prod-exp cbrt-unprod
19×cbrt-undiv div-exp
15×associate-/l*
11×pow1
associate-/r*
associate-/r/
distribute-lft-out
frac-times associate-*r/
pow-prod-down associate-*l/ add-log-exp unswap-sqr
flip3-- flip-- associate-/l/
frac-2neg flip3-+ clear-num *-commutative flip-+
div-sub frac-sub
Counts
4 → 287
Calls
4 calls:
27.0ms
(* (/ 1.0 2.0) (* (/ PI (+ a b)) (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))))
43.0ms
(* (/ PI (+ a b)) (/ (- (/ 1.0 a) (/ 1.0 b)) (- b a)))
17.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (- b a))
5.0ms
(/ PI (+ a b))

series40.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
299 → 299
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050055176

prune376.0ms

Filtered
201 candidates to 299 candidates (-48.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2945299
Fresh437
Picked101
Done000
Total2998307

Merged error: 0b

Counts
307 → 8

regimes102.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
01921
11921

end0.0ms

analyze216.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

sample631.0ms

Algorithm
intervals
Results
473.0ms8000×body80valid
22.0ms376×body80invalid

Profiling

Loading profile data...