Details

Time bar (total: 10.3s)

sample3.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 11.71875%

Guaranteed chance to sample good point: 24.612832%

Results
13.0ms256×body80valid
3.0ms59×body80nan
2.0ms35×body80invalid

simplify9.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: 24.2b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
5.9b
(* (* x y) z)
9.8b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
25.6b
(sqrt (- (* z z) (* t a)))

rewrite21.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)))

series54.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0343583
11850515
25003510

prune133.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New80888
Fresh000
Picked011
Done000
Total80989

Merged error: 2.3b

Counts
89 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ z (sqrt (- (* z z) (* t a))))
0.6b
(- (* z z) (* t a))
2.4b
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
25.6b
(sqrt (- (* z z) (* t a)))

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

series62.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04281014
12153912
25002894

prune125.0ms

Filtered
81 candidates to 124 candidates (-53.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh167
Picked101
Done011
Total1249133

Merged error: 2.3b

Counts
133 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (/ z (sqrt (- (* z z) (* t a)))))
0.6b
(- (* z z) (* t a))
2.1b
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
25.6b
(sqrt (- (* z z) (* t a)))

rewrite32.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:
11.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)))

series68.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0400775
11756676
25001668

prune111.0ms

Filtered
68 candidates to 104 candidates (-52.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1022104
Fresh257
Picked101
Done011
Total1058113

Merged error: 2.3b

Counts
113 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series91.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06611959
134241748
250021624

prune115.0ms

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

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1530153
Fresh066
Picked011
Done011
Total1538161

Merged error: 2.3b

Counts
161 → 8

regimes863.0ms

Accuracy

79% (4.3b remaining)

Error of 7.5b against oracle of 3.2b and baseline of 23.5b

bsearch56.0ms

Steps
ItersRangePoint
8
6.046224563230577e+64
4.280697951522181e+67
2.1280368556537537e+65
6
-3.2303978612255717e+47
-3.3889518445468483e+46
-2.8085321758333e+47

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02710
13310
23310

end0.0ms

sample4.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 11.71875%

Guaranteed chance to sample good point: 24.612832%

Results
472.0ms8000×body80valid
76.0ms1579×body80nan
44.0ms827×body80invalid

Profiling

Loading profile data...