Details

Time bar (total: 4.1s)

sample30.0ms

Algorithm
intervals
Results
11.0ms280×body80valid
4.0ms102×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1467
2727
3997
41207
51207

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.4b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
5.6b
(* (* x y) z)
9.6b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
23.4b
(sqrt (- (* z z) (* t a)))

rewrite24.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
expm1-log1p-u sqrt-div log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-*r* pow-prod-down flip--
associate-/r/
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log associate-*l* prod-diff clear-num *-commutative div-inv associate-/l*
Counts
4 → 86
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
5.0ms
(* (* x y) z)
10.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
4.0ms
(sqrt (- (* z z) (* t a)))

series193.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* z z) (* t a))
22.0ms
(* (* x y) z)
78.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
59.0ms
(sqrt (- (* z z) (* t a)))

simplify55.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0368630
11941560
25001551

prune239.0ms

Filtered
98 candidates to 71 candidates (72.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New871198
Fresh000
Picked011
Done000
Total871299

Merged error: 4.7b

Counts
99 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* z z) (* t a))) z)
0.6b
(- (* z z) (* t a))
2.3b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
23.4b
(sqrt (- (* z z) (* t a)))

rewrite31.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
expm1-log1p-u sqrt-div log1p-expm1-u div-inv
flip3-- flip--
frac-2neg prod-exp clear-num cbrt-unprod associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff associate-/r/
Counts
4 → 142
Calls
4 calls:
6.0ms
(/ (sqrt (- (* z z) (* t a))) z)
4.0ms
(- (* z z) (* t a))
9.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
4.0ms
(sqrt (- (* z z) (* t a)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(/ (sqrt (- (* z z) (* t a))) z)
39.0ms
(- (* z z) (* t a))
86.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
55.0ms
(sqrt (- (* z z) (* t a)))

simplify100.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
05431379
124481281
250011260

prune328.0ms

Filtered
154 candidates to 109 candidates (70.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1504154
Fresh5510
Picked011
Done011
Total15511166

Merged error: 4.5b

Counts
166 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
0.6b
(- (* z z) (* t a))
2.3b
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
23.4b
(sqrt (- (* z z) (* t a)))

rewrite36.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
expm1-log1p-u frac-times associate-*l/ log1p-expm1-u
rec-exp 1-exp
associate-*r/ un-div-inv div-inv
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down clear-num associate-/r* *-commutative associate-/l*
Counts
4 → 118
Calls
4 calls:
11.0ms
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
4.0ms
(- (* z z) (* t a))
13.0ms
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
4.0ms
(sqrt (- (* z z) (* t a)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
33.0ms
(- (* z z) (* t a))
76.0ms
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
58.0ms
(sqrt (- (* z z) (* t a)))

simplify78.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05701066
12775940
25001915

prune260.0ms

Filtered
130 candidates to 88 candidates (67.7%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1291130
Fresh178
Picked011
Done022
Total13011141

Merged error: 4.5b

Counts
141 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
1.0b
(/ y (/ (sqrt (- (* z z) (* t a))) z))
3.0b
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
23.4b
(sqrt (- (* z z) (* t a)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
263×times-frac
157×add-sqr-sqrt
143×add-cube-cbrt *-un-lft-identity
71×associate-*r*
67×sqrt-prod
22×associate-/r*
18×add-exp-log add-cbrt-cube
div-inv
pow1
cbrt-undiv div-exp add-log-exp
expm1-log1p-u log1p-expm1-u unswap-sqr
associate-*l* prod-exp cbrt-unprod associate-/l*
flip3-- sqrt-div associate-/r/ flip--
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down clear-num *-commutative
Counts
4 → 237
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
10.0ms
(/ y (/ (sqrt (- (* z z) (* t a))) z))
23.0ms
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
7.0ms
(sqrt (- (* z z) (* t a)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* z z) (* t a))
52.0ms
(/ y (/ (sqrt (- (* z z) (* t a))) z))
84.0ms
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
64.0ms
(sqrt (- (* z z) (* t a)))

simplify107.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
08392556
140712400
250022396

prune529.0ms

Filtered
249 candidates to 171 candidates (68.7%)
Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New2490249
Fresh077
Picked011
Done033
Total24911260

Merged error: 4.5b

Counts
260 → 11

regimes368.0ms

Accuracy

85.3% (3.0b remaining)

Error of 6.4b against oracle of 3.4b and baseline of 23.5b

bsearch141.0ms

Steps
ItersRangePoint
7
4.904842434366931e+136
2.583983515518581e+138
1.998388355114222e+137
8
-5.198330287526027e-251
-6.309453960374173e-254
-8.504918652399411e-253
9
-3.291745184388977e+160
-2.9340887831229106e+153
-6.761458302909995e+153

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03017
13617
23617

end0.0ms

sample792.0ms

Algorithm
intervals
Results
340.0ms8850×body80valid
107.0ms2933×body80nan