Details

Time bar (total: 8.7s)

sample2.7s

Algorithm
intervals
sampling

Space saved by range analysis: 11.93407%

Space saved by search: 0.243902%

Guaranteed chance to sample good point: 0%

Results
19.0ms256×body80valid
3.0ms56×body80nan
1.0ms24×body80invalid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1457
2677
3947
41157
51157

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
4.9b
(* (* x y) z)
9.3b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
23.6b
(sqrt (- (* z z) (* t a)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
11×add-sqr-sqrt
10×pow1 add-cube-cbrt *-un-lft-identity
sqrt-prod
times-frac prod-exp associate-/r* cbrt-unprod add-log-exp
sqrt-div
cbrt-undiv flip3-- div-exp associate-*r* pow-prod-down flip--
associate-/r/
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log associate-*l* clear-num *-commutative div-inv associate-/l*
Counts
4 → 76
Calls
4 calls:
3.0ms
(- (* z z) (* t a))
4.0ms
(* (* x y) z)
9.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
3.0ms
(sqrt (- (* z z) (* t a)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* z z) (* t a))
6.0ms
(* (* x y) z)
34.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
13.0ms
(sqrt (- (* z z) (* t a)))

simplify53.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0343583
11850515
25003510

prune142.0ms

Filtered
60 candidates to 88 candidates (-46.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New771188
Fresh000
Picked101
Done000
Total781189

Merged error: 2.4b

Counts
89 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* z z) (* t a))) z)
0.8b
(- (* z z) (* t a))
2.0b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
23.6b
(sqrt (- (* z z) (* t a)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
76×times-frac
47×add-sqr-sqrt
46×add-cube-cbrt *-un-lft-identity
33×sqrt-prod
25×associate-/r*
18×add-exp-log add-cbrt-cube
cbrt-undiv div-exp associate-/l*
add-log-exp
pow1
sqrt-div div-inv
flip3-- flip--
frac-2neg prod-exp clear-num cbrt-unprod associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/r/
Counts
4 → 132
Calls
4 calls:
6.0ms
(/ (sqrt (- (* z z) (* t a))) z)
5.0ms
(- (* z z) (* t a))
9.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
4.0ms
(sqrt (- (* z z) (* t a)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(/ (sqrt (- (* z z) (* t a))) z)
7.0ms
(- (* z z) (* t a))
31.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
12.0ms
(sqrt (- (* z z) (* t a)))

simplify67.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05121325
123581230
250021214

prune156.0ms

Filtered
99 candidates to 144 candidates (-45.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1404144
Fresh5510
Picked011
Done000
Total14510155

Merged error: 2.4b

Counts
155 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

1.5b
(* (/ x (/ (* (cbrt (sqrt (- (* z z) (* t a)))) (cbrt (sqrt (- (* z z) (* t a))))) (* (cbrt z) (cbrt z)))) (/ y (/ (cbrt (sqrt (- (* z z) (* t a)))) (cbrt z))))
23.6b
(sqrt (- (* z z) (* t a)))
23.6b
(sqrt (- (* z z) (* t a)))
23.6b
(sqrt (- (* z z) (* t a)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
417×times-frac
284×add-sqr-sqrt
210×cbrt-prod
186×add-cube-cbrt *-un-lft-identity
179×associate-*r*
97×add-exp-log
69×sqrt-prod
61×add-cbrt-cube
45×cbrt-undiv div-exp
30×prod-exp cbrt-unprod
24×unswap-sqr
20×associate-*l*
pow1
div-inv
sqrt-div
add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
associate-/r/
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 316
Calls
4 calls:
97.0ms
(* (/ x (/ (* (cbrt (sqrt (- (* z z) (* t a)))) (cbrt (sqrt (- (* z z) (* t a))))) (* (cbrt z) (cbrt z)))) (/ y (/ (cbrt (sqrt (- (* z z) (* t a)))) (cbrt z))))
4.0ms
(sqrt (- (* z z) (* t a)))
4.0ms
(sqrt (- (* z z) (* t a)))
6.0ms
(sqrt (- (* z z) (* t a)))

series77.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (/ x (/ (* (cbrt (sqrt (- (* z z) (* t a)))) (cbrt (sqrt (- (* z z) (* t a))))) (* (cbrt z) (cbrt z)))) (/ y (/ (cbrt (sqrt (- (* z z) (* t a)))) (cbrt z))))
13.0ms
(sqrt (- (* z z) (* t a)))
13.0ms
(sqrt (- (* z z) (* t a)))
19.0ms
(sqrt (- (* z z) (* t a)))

simplify106.0ms

Algorithm
egg-herbie
Counts
328 → 328
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
020838844
150018266

prune308.0ms

Filtered
237 candidates to 328 candidates (-38.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New3280328
Fresh088
Picked011
Done011
Total32810338

Merged error: 2.4b

Counts
338 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
0.8b
(- (* z z) (* t a))
2.0b
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
23.6b
(sqrt (- (* z z) (* t a)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
48×add-exp-log
30×add-cbrt-cube
29×add-sqr-sqrt
17×prod-exp
16×*-un-lft-identity div-exp
14×add-cube-cbrt times-frac
13×associate-*r*
10×sqrt-div
cbrt-undiv sqrt-prod cbrt-unprod
pow1
flip3-- associate-*l* associate-/r/ flip-- add-log-exp unswap-sqr
frac-times associate-*l/
rec-exp 1-exp
associate-*r/ un-div-inv div-inv
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log pow-prod-down clear-num associate-/r* *-commutative associate-/l*
Counts
4 → 108
Calls
4 calls:
11.0ms
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
4.0ms
(- (* z z) (* t a))
11.0ms
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
4.0ms
(sqrt (- (* z z) (* t a)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
7.0ms
(- (* z z) (* t a))
31.0ms
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
13.0ms
(sqrt (- (* z z) (* t a)))

simplify67.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05391009
12688885
25001865

prune102.0ms

Filtered
77 candidates to 120 candidates (-55.8%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1200120
Fresh077
Picked011
Done022
Total12010130

Merged error: 2.4b

Counts
130 → 10

regimes800.0ms

Accuracy

84% (3.2b remaining)

Error of 6.4b against oracle of 3.2b and baseline of 23.1b

bsearch79.0ms

Steps
ItersRangePoint
5
4.733393946842807e+64
1.8879565359672707e+65
1.8551308361141253e+65
9
-3.212479424722412e+154
-3.3196878575542664e+148
-2.4256844019273195e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
13010
23010

end0.0ms

sample3.5s

Algorithm
intervals
sampling

Space saved by range analysis: 11.93407%

Space saved by search: 0.243902%

Guaranteed chance to sample good point: 0%

Results
423.0ms8000×body80valid
75.0ms1588×body80nan
47.0ms843×body80invalid

Profiling

Loading profile data...