Details

Time bar (total: 2.2s)

sample81.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 93.756105%

Space saved by search: 96.853662%

Guaranteed chance to sample good point: 98.449612%

Results
9.0ms256×body80valid
5.0ms256×pre80true
0.0mspre80false

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1477
21067
32657
414957
550017

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.6b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (fabs (/ (- (* a a) (* b b)) (* a a))))
13.1b
(/ (- (* a a) (* b b)) (* a a))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 sqrt-prod
cbrt-undiv div-exp associate-/l/ add-log-exp difference-of-squares
rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* flip-- cbrt-unprod div-inv
Counts
2 → 39
Calls
2 calls:
1.0ms
(sqrt (fabs (/ (- (* a a) (* b b)) (* a a))))
7.0ms
(/ (- (* a a) (* b b)) (* a a))

series19.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(sqrt (fabs (/ (- (* a a) (* b b)) (* a a))))
9.0ms
(/ (- (* a a) (* b b)) (* a a))

simplify141.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (136.0ms)

IterNodesCost
0197340
1816296
24110295
35001292

prune67.0ms

Filtered
34 candidates to 45 candidates (-32.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New43245
Fresh000
Picked101
Done000
Total44246

Merged error: 0.0b

Counts
46 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (fabs (* (/ (+ a b) a) (/ (- a b) a))))
0.0b
(/ (+ a b) a)
0.0b
(/ (- a b) a)
0.0b
(* (/ (+ a b) a) (/ (- a b) a))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
68×add-sqr-sqrt
58×times-frac
41×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*r*
16×associate-*l*
associate-/l*
pow1 distribute-lft-out distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-/r*
prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
sqrt-prod
frac-2neg clear-num
frac-times rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 143
Calls
4 calls:
1.0ms
(sqrt (fabs (* (/ (+ a b) a) (/ (- a b) a))))
5.0ms
(/ (+ a b) a)
7.0ms
(/ (- a b) a)
16.0ms
(* (/ (+ a b) a) (/ (- a b) a))

series27.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(sqrt (fabs (* (/ (+ a b) a) (/ (- a b) a))))
4.0ms
(/ (+ a b) a)
4.0ms
(/ (- a b) a)
9.0ms
(* (/ (+ a b) a) (/ (- a b) a))

simplify64.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0493951
12505870
25002867

prune161.0ms

Filtered
106 candidates to 155 candidates (-46.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1541155
Fresh011
Picked011
Done000
Total1543157

Merged error: 0b

Counts
157 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (/ (- a b) a)) (cbrt (/ (- a b) a)))
0.1b
(cbrt (/ (- a b) a))
0.1b
(cbrt (/ (- a b) a))
0.1b
(cbrt (/ (- a b) a))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
157×cbrt-prod
141×add-sqr-sqrt
135×*-un-lft-identity
123×times-frac
75×add-cube-cbrt
28×swap-sqr
27×distribute-lft-out--
22×associate-*r* associate-*l*
21×difference-of-squares
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 186
Calls
4 calls:
20.0ms
(* (cbrt (/ (- a b) a)) (cbrt (/ (- a b) a)))
4.0ms
(cbrt (/ (- a b) a))
4.0ms
(cbrt (/ (- a b) a))
4.0ms
(cbrt (/ (- a b) a))

series129.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (cbrt (/ (- a b) a)) (cbrt (/ (- a b) a)))
34.0ms
(cbrt (/ (- a b) a))
31.0ms
(cbrt (/ (- a b) a))
32.0ms
(cbrt (/ (- a b) a))

simplify51.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02921818
110361763
250011712

prune228.0ms

Filtered
144 candidates to 198 candidates (-37.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1980198
Fresh011
Picked011
Done011
Total1983201

Merged error: 0b

Counts
201 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (fabs (/ (- a (/ (pow b 2) a)) a)))
0.0b
(/ (- a (/ (pow b 2) a)) a)
14.8b
(/ (pow b 2) a)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
84×add-sqr-sqrt
67×times-frac
43×*-un-lft-identity
35×add-cube-cbrt
20×difference-of-squares
17×associate-/l*
16×unpow-prod-down
10×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
associate-/r*
pow1 div-exp distribute-lft-out--
sqrt-prod add-log-exp
cbrt-undiv frac-2neg clear-num div-inv associate-/l/
pow-to-exp rem-sqrt-square flip3-- sqrt-pow1 pow1/2 div-sub pow-exp flip--
Counts
3 → 116
Calls
3 calls:
1.0ms
(sqrt (fabs (/ (- a (/ (pow b 2) a)) a)))
15.0ms
(/ (- a (/ (pow b 2) a)) a)
5.0ms
(/ (pow b 2) a)

series20.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(sqrt (fabs (/ (- a (/ (pow b 2) a)) a)))
9.0ms
(/ (- a (/ (pow b 2) a)) a)
3.0ms
(/ (pow b 2) a)

simplify42.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0381856
11225786
25001768

prune170.0ms

Filtered
84 candidates to 125 candidates (-48.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done022
Total1253128

Merged error: 0b

Counts
128 → 3

regimes80.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0117
1117

end0.0ms

sample700.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 93.756105%

Space saved by search: 96.853662%

Guaranteed chance to sample good point: 98.449612%

Results
275.0ms8000×body80valid
153.0ms8000×pre80true
1.0ms62×pre80false

Profiling

Loading profile data...