Details

Time bar (total: 4.8s)

analyze2.7s

Algorithm
search
sampling

Space saved by range analysis: 0.243902%

Space saved by search: 11.93407%

Guaranteed chance to sample good point: 34.706858%

sample34.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
2.0ms40×body80nan
1.0ms28×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: 26.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
4.9b
(* (* x y) z)
8.4b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite27.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))
5.0ms
(* (* x y) z)
9.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
8.0ms
(sqrt (- (* z z) (* t a)))

series57.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0343583
11850515
25003510

prune132.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New80888
Fresh000
Picked101
Done000
Total81889

Merged error: 2.8b

Counts
89 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ z (sqrt (- (* z z) (* t a))))
0.8b
(- (* z z) (* t a))
1.5b
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite30.0ms

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

series66.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04281014
12153912
25002894

prune124.0ms

Filtered
82 candidates to 124 candidates (-51.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh257
Picked011
Done000
Total1248132

Merged error: 2.8b

Counts
132 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.7b
(* y (/ z (sqrt (- (* z z) (* t a)))))
0.8b
(- (* z z) (* t a))
1.5b
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
25×associate-*r*
20×add-cube-cbrt *-un-lft-identity times-frac
18×add-exp-log add-cbrt-cube
13×sqrt-prod
12×pow1
prod-exp cbrt-unprod
associate-*l* add-log-exp
sqrt-div pow-prod-down
flip3-- associate-*r/ flip-- unswap-sqr
cbrt-undiv div-exp associate-/r/ *-commutative
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log div-inv
Counts
4 → 92
Calls
4 calls:
12.0ms
(* y (/ z (sqrt (- (* z z) (* t a)))))
3.0ms
(- (* z z) (* t a))
11.0ms
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
4.0ms
(sqrt (- (* z z) (* t a)))

series74.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0400774
11768676
25001668

prune110.0ms

Filtered
67 candidates to 104 candidates (-55.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh156
Picked011
Done011
Total1048112

Merged error: 2.8b

Counts
112 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* z z) (* t a))) z)
0.8b
(- (* z z) (* t a))
1.5b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite27.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)
3.0ms
(- (* z z) (* t a))
9.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
4.0ms
(sqrt (- (* z z) (* t a)))

series68.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))
16.0ms
(sqrt (- (* z z) (* t a)))

simplify63.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05121325
123581230
250021214

prune109.0ms

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

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1431144
Fresh145
Picked011
Done022
Total1448152

Merged error: 2.8b

Counts
152 → 8

regimes866.0ms

bsearch1.0ms

Profiling

Loading profile data...