Details

Time bar (total: 2.7s)

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

sample22.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
1.0ms13×body80invalid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
0516721

prune11.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: 14.0b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 2.0) (* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b))))
0.6b
(/ 1.0 (- (* b b) (* a a)))
4.0b
(- (* b b) (* a a))
9.1b
(* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
44×times-frac
39×*-un-lft-identity
32×add-exp-log add-cbrt-cube
31×add-cube-cbrt associate-*l*
16×frac-times associate-*r/
13×associate-*r*
12×prod-exp cbrt-unprod difference-of-squares
11×pow1
flip3-- flip--
cbrt-undiv sub-neg div-exp
frac-sub add-log-exp
distribute-rgt-in distribute-lft-in div-inv distribute-lft-out--
pow-prod-down associate-*l/ associate-/r* associate-/r/
associate-/l*
*-commutative unswap-sqr
frac-2neg diff-log clear-num
Counts
4 → 154
Calls
4 calls:
24.0ms
(* (/ PI 2.0) (* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b))))
5.0ms
(/ 1.0 (- (* b b) (* a a)))
4.0ms
(- (* b b) (* a a))
24.0ms
(* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b)))

series34.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049972935
149972935

prune237.0ms

Filtered
125 candidates to 166 candidates (-32.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1597166
Fresh011
Picked101
Done000
Total1608168

Merged error: 0.1b

Counts
168 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
167×add-exp-log
95×add-cbrt-cube
88×prod-exp
68×add-sqr-sqrt
61×*-un-lft-identity
57×frac-times times-frac
46×cbrt-unprod
44×div-exp
43×associate-*r/ associate-*l*
33×add-cube-cbrt
25×associate-*l/
23×cbrt-undiv associate-*r*
20×pow1
16×flip3-- flip--
15×frac-sub
13×distribute-lft-out--
11×difference-of-squares
10×pow-prod-down
rec-exp 1-exp
div-inv
add-log-exp
associate-/r/
*-commutative distribute-lft-out
unswap-sqr
sub-neg flip3-+ diff-log flip-+
Counts
4 → 234
Calls
4 calls:
13.0ms
(- (/ 1.0 a) (/ 1.0 b))
27.0ms
(* (/ 1 (+ b a)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a))))
34.0ms
(* (/ PI 2.0) (* (/ 1 (+ b a)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))))
25.0ms
(* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))

series33.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
052014546

prune310.0ms

Filtered
158 candidates to 246 candidates (-55.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2406246
Fresh617
Picked101
Done000
Total2477254

Merged error: 0.0b

Counts
254 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
59×add-exp-log add-cbrt-cube
45×*-un-lft-identity
35×add-sqr-sqrt times-frac
23×add-cube-cbrt prod-exp cbrt-unprod
18×associate-*r*
17×cbrt-undiv div-exp
14×associate-*r/
pow1
associate-*l/
associate-/l/ distribute-lft-out
frac-times flip3-- associate-/r/ flip-- add-log-exp
associate-/r* frac-sub div-inv distribute-lft-out--
associate-/l* difference-of-squares
pow-prod-down
frac-2neg flip3-+ clear-num flip-+
sub-neg diff-log associate-*l* *-commutative
Counts
4 → 140
Calls
4 calls:
16.0ms
(- (/ 1.0 a) (/ 1.0 b))
26.0ms
(/ (* (* 1.0 (- (/ 1.0 a) (/ 1.0 b))) (/ PI (+ a b))) (* (- b a) 2.0))
5.0ms
(/ PI (+ a b))
22.0ms
(* (* 1.0 (- (/ 1.0 a) (/ 1.0 b))) (/ PI (+ a b)))

series34.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
053362222

prune157.0ms

Filtered
99 candidates to 152 candidates (-53.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1502152
Fresh156
Picked011
Done000
Total1518159

Merged error: 0b

Counts
159 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
128×add-sqr-sqrt times-frac
125×*-un-lft-identity
47×add-exp-log add-cbrt-cube
45×add-cube-cbrt
33×distribute-lft-out--
27×difference-of-squares
17×cbrt-undiv div-exp
16×div-inv
14×prod-exp cbrt-unprod
13×associate-*l* distribute-lft-out associate-/l*
11×associate-*r*
associate-/r*
pow1 associate-/r/ add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*r/ clear-num frac-sub unswap-sqr
frac-times sub-neg flip3-+ diff-log div-sub pow-prod-down associate-*l/ *-commutative flip-+
Counts
4 → 187
Calls
4 calls:
15.0ms
(- (/ 1.0 a) (/ 1.0 b))
23.0ms
(/ (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))) (- b a))
31.0ms
(* (/ PI 2.0) (/ (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))) (- b a)))
18.0ms
(/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))

series35.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049833560
149833560

prune235.0ms

Filtered
137 candidates to 199 candidates (-45.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1981199
Fresh156
Picked011
Done011
Total1998207

Merged error: 0b

Counts
207 → 8

regimes96.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 (1.0ms)

IterNodesCost
04421
14421

end0.0ms

sample614.0ms

Algorithm
intervals
Results
458.0ms8000×body80valid
20.0ms365×body80invalid

Profiling

Loading profile data...