Details

Time bar (total: 3.0s)

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

sample21.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
0.0msbody80invalid

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.2b

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.4b
(/ 1.0 (- (* b b) (* a a)))
4.4b
(- (* b b) (* a a))
8.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))
26.0ms
(* (/ 1.0 (- (* b b) (* a a))) (- (/ 1.0 a) (/ 1.0 b)))

series36.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049972935
149972935

prune266.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15610166
Fresh101
Picked101
Done000
Total15810168

Merged error: 0.1b

Counts
168 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ b a))
0.2b
(* (/ PI 2.0) (* (/ 1 (+ b a)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))))
0.2b
(* (/ 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)))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
97×add-cbrt-cube
88×prod-exp
68×*-un-lft-identity
63×add-sqr-sqrt
59×times-frac
57×frac-times
46×div-exp cbrt-unprod
43×associate-*r/ associate-*l*
40×add-cube-cbrt
25×associate-*l/
24×cbrt-undiv
23×associate-*r*
21×pow1
15×flip3-- flip--
14×frac-sub
10×rec-exp 1-exp pow-prod-down
distribute-lft-out--
distribute-lft-out difference-of-squares
associate-/r/ div-inv
associate-/r* add-log-exp
*-commutative associate-/l*
flip3-+ flip-+ unswap-sqr
pow-flip frac-2neg clear-num inv-pow
Counts
4 → 250
Calls
4 calls:
7.0ms
(/ 1 (+ b a))
33.0ms
(* (/ PI 2.0) (* (/ 1 (+ b a)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))))
27.0ms
(* (/ 1 (+ b a)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a))))
28.0ms
(* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))

series44.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
051864550

prune332.0ms

Filtered
162 candidates to 262 candidates (-61.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2566262
Fresh639
Picked101
Done000
Total2639272

Merged error: 0b

Counts
272 → 9

localize12.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)) (+ 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:
12.0ms
(- (/ 1.0 a) (/ 1.0 b))
23.0ms
(/ (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))) (- b a))
32.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))

series41.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (/ 1.0 a) (/ 1.0 b))
11.0ms
(/ (* 1.0 (/ (- (/ 1.0 a) (/ 1.0 b)) (+ a b))) (- b a))
16.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))

simplify72.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049833560
149833560

prune264.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1972199
Fresh358
Picked101
Done000
Total2017208

Merged error: 0b

Counts
208 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
226×times-frac
193×*-un-lft-identity
148×add-sqr-sqrt
117×add-cube-cbrt
70×associate-*l*
52×add-exp-log add-cbrt-cube
27×distribute-lft-out
22×associate-*r*
17×cbrt-undiv div-exp prod-exp cbrt-unprod
16×frac-times associate-/l*
15×div-inv
12×distribute-lft-out--
11×pow1 difference-of-squares
10×associate-*r/ associate-*l/
associate-/r*
flip3-- associate-/r/ flip--
frac-sub
pow-prod-down add-log-exp
frac-2neg flip3-+ clear-num *-commutative flip-+ unswap-sqr
associate-/l/
Counts
4 → 280
Calls
4 calls:
6.0ms
(/ 1.0 (- b a))
35.0ms
(* (/ (/ PI 2.0) (+ a b)) (* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a))))
8.0ms
(/ (/ PI 2.0) (+ a b))
25.0ms
(* (- (/ 1.0 a) (/ 1.0 b)) (/ 1.0 (- b a)))

series38.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049944720
149944720

prune378.0ms

Filtered
207 candidates to 292 candidates (-41.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2920292
Fresh066
Picked011
Done000
Total2927299

Merged error: 0b

Counts
299 → 7

regimes98.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
04321
14321

end0.0ms

sample590.0ms

Algorithm
intervals
Results
437.0ms8000×body80valid
20.0ms369×body80invalid

Profiling

Loading profile data...