Details

Time bar (total: 6.9s)

sample1.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 11.71875%

Guaranteed chance to sample good point: 68.362832%

Results
18.0ms279×body80valid
2.0ms50×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1457
2677
3947
41157
51157

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
5.0b
(* (* x y) z)
8.8b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
25.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)))

series58.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0343583
11850515
25003510

prune138.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New79988
Fresh000
Picked011
Done000
Total791089

Merged error: 5.5b

Counts
89 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

1.8b
(/ (* x y) (sqrt (sqrt (- (* z z) (* t a)))))
5.1b
(* (/ (* x y) (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
25.6b
(sqrt (- (* z z) (* t a)))
25.6b
(sqrt (- (* z z) (* t a)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
63×sqrt-prod
48×add-sqr-sqrt times-frac
35×add-cube-cbrt *-un-lft-identity
33×associate-*r*
30×add-exp-log add-cbrt-cube
16×sqrt-div
15×associate-*l*
cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod
pow1
associate-/r/
flip3-- flip--
add-log-exp unswap-sqr
div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l*
Counts
4 → 141
Calls
4 calls:
8.0ms
(/ (* x y) (sqrt (sqrt (- (* z z) (* t a)))))
27.0ms
(* (/ (* x y) (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
4.0ms
(sqrt (- (* z z) (* t a)))
4.0ms
(sqrt (- (* z z) (* t a)))

series117.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ (* x y) (sqrt (sqrt (- (* z z) (* t a)))))
55.0ms
(* (/ (* x y) (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
12.0ms
(sqrt (- (* z z) (* t a)))
13.0ms
(sqrt (- (* z z) (* t a)))

simplify82.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06611959
134241748
250021624

prune161.0ms

Filtered
100 candidates to 153 candidates (-53.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1512153
Fresh178
Picked011
Done011
Total15211163

Merged error: 5.5b

Counts
163 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

25.6b
(sqrt (- (* z z) (* t a)))
26.4b
(cbrt (- (* z z) (* t a)))
26.4b
(cbrt (- (* z z) (* t a)))
26.4b
(cbrt (- (* z z) (* t a)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log flip3-- add-cbrt-cube flip-- add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
3.0ms
(sqrt (- (* z z) (* t a)))
3.0ms
(cbrt (- (* z z) (* t a)))
3.0ms
(cbrt (- (* z z) (* t a)))
3.0ms
(cbrt (- (* z z) (* t a)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (- (* z z) (* t a)))
23.0ms
(cbrt (- (* z z) (* t a)))
22.0ms
(cbrt (- (* z z) (* t a)))
25.0ms
(cbrt (- (* z z) (* t a)))

simplify58.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0209545
1624515
22019496
35001471

prune135.0ms

Filtered
57 candidates to 66 candidates (-15.8%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh088
Picked011
Done022
Total661177

Merged error: 5.5b

Counts
77 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

3.5b
(/ x (/ (sqrt (sqrt (- (* z z) (* t a)))) y))
5.1b
(* (/ x (/ (sqrt (sqrt (- (* z z) (* t a)))) y)) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
25.6b
(sqrt (- (* z z) (* t a)))
25.6b
(sqrt (- (* z z) (* t a)))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
445×times-frac
307×add-sqr-sqrt
249×sqrt-prod
222×add-cube-cbrt *-un-lft-identity
98×associate-*l*
33×associate-*r*
31×associate-/r*
30×add-exp-log add-cbrt-cube
20×unswap-sqr
12×cbrt-undiv div-exp
10×div-inv
pow1 sqrt-div
prod-exp cbrt-unprod
associate-/r/ add-log-exp
flip3-- flip-- associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 347
Calls
4 calls:
11.0ms
(/ x (/ (sqrt (sqrt (- (* z z) (* t a)))) y))
64.0ms
(* (/ x (/ (sqrt (sqrt (- (* z z) (* t a)))) y)) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
3.0ms
(sqrt (- (* z z) (* t a)))
4.0ms
(sqrt (- (* z z) (* t a)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ x (/ (sqrt (sqrt (- (* z z) (* t a)))) y))
46.0ms
(* (/ x (/ (sqrt (sqrt (- (* z z) (* t a)))) y)) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
15.0ms
(sqrt (- (* z z) (* t a)))
17.0ms
(sqrt (- (* z z) (* t a)))

simplify72.0ms

Algorithm
egg-herbie
Counts
359 → 359
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013005690
150015371

prune241.0ms

Filtered
232 candidates to 359 candidates (-54.7%)
Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New3581359
Fresh167
Picked011
Done033
Total35911370

Merged error: 5.5b

Counts
370 → 11

regimes956.0ms

Accuracy

78% (4.5b remaining)

Error of 8.0b against oracle of 3.4b and baseline of 23.9b

bsearch53.0ms

Steps
ItersRangePoint
7
168272709785.2424
28333139580135.332
27825563271391.047
7
-7.756758232943268e+83
-4.367743922778447e+82
-2.559585537453544e+83

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02510
13110
23110

end0.0ms

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 11.71875%

Guaranteed chance to sample good point: 68.362832%

Results
480.0ms8819×body80valid
75.0ms1531×body80nan

Profiling

Loading profile data...