Details

Time bar (total: 3.0s)

sample30.0ms

Algorithm
intervals
Results
10.0ms277×body80valid
4.0ms116×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1467
2727
3997
41207
51207

prune2.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: 23.6b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
3.8b
(* (* x y) z)
10.5b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
sqrt-div associate-*l* prod-diff associate-/l*
flip3-- flip--
fma-neg associate-/r/
sub-neg frac-2neg pow1/2 clear-num div-inv
Counts
4 → 25
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
3.0ms
(* (* x y) z)
7.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
7.0ms
(sqrt (- (* z z) (* t a)))

series192.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* z z) (* t a))
23.0ms
(* (* x y) z)
80.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
56.0ms
(sqrt (- (* z z) (* t a)))

simplify116.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0165180
1504177
21451172
34133160
45001160

prune113.0ms

Filtered
37 candidates to 29 candidates (78.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New271037
Fresh000
Picked101
Done000
Total281038

Merged error: 3.9b

Counts
38 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* z z) (* t a))) z)
0.2b
(- (* z z) (* t a))
3.4b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
sqrt-div
associate-/r/ div-inv
flip3-- prod-diff flip-- associate-/l/
frac-2neg clear-num
times-frac fma-neg associate-/l*
sub-neg pow1/2 associate-/r*
Counts
4 → 31
Calls
4 calls:
5.0ms
(/ (sqrt (- (* z z) (* t a))) z)
4.0ms
(- (* z z) (* t a))
7.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
4.0ms
(sqrt (- (* z z) (* t a)))

series237.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0212243
1643237
22450230
35001230

prune141.0ms

Filtered
43 candidates to 33 candidates (76.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New41243
Fresh369
Picked011
Done000
Total44953

Merged error: 3.9b

Counts
53 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
1.8b
(/ x (/ (sqrt (- (* z z) (* t a))) (* y z)))
9.4b
(/ (sqrt (- (* z z) (* t a))) (* y z))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/ *-commutative
sqrt-div
associate-/r*
flip3-- prod-diff flip-- associate-/l/
frac-2neg clear-num div-inv
fma-neg
sub-neg pow1/2
Counts
4 → 31
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
7.0ms
(/ x (/ (sqrt (- (* z z) (* t a))) (* y z)))
6.0ms
(/ (sqrt (- (* z z) (* t a))) (* y z))
4.0ms
(sqrt (- (* z z) (* t a)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* z z) (* t a))
83.0ms
(/ x (/ (sqrt (- (* z z) (* t a))) (* y z)))
66.0ms
(/ (sqrt (- (* z z) (* t a))) (* y z))
62.0ms
(sqrt (- (* z z) (* t a)))

simplify54.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0202231
1666227
22282220
35001208

prune121.0ms

Filtered
43 candidates to 32 candidates (74.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New42143
Fresh167
Picked011
Done011
Total43952

Merged error: 3.9b

Counts
52 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
3.8b
(* (* x y) z)
10.6b
(* (* (* x y) z) (/ 1 (sqrt (- (* z z) (* t a)))))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
associate-*l*
sqrt-div prod-diff
flip3-- associate-*r/ associate-*r* flip--
fma-neg clear-num associate-/r/ un-div-inv
sub-neg frac-2neg pow1/2 div-inv
Counts
4 → 29
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
3.0ms
(* (* x y) z)
9.0ms
(* (* (* x y) z) (/ 1 (sqrt (- (* z z) (* t a)))))
5.0ms
(sqrt (- (* z z) (* t a)))

series202.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* z z) (* t a))
23.0ms
(* (* x y) z)
83.0ms
(* (* (* x y) z) (/ 1 (sqrt (- (* z z) (* t a)))))
60.0ms
(sqrt (- (* z z) (* t a)))

simplify71.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0185173
1707166
23127161
35001161

prune87.0ms

Filtered
41 candidates to 27 candidates (65.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New41041
Fresh066
Picked011
Done022
Total41950

Merged error: 3.9b

Counts
50 → 9

regimes297.0ms

Accuracy

83.1% (3.3b remaining)

Error of 6.2b against oracle of 2.9b and baseline of 22.5b

bsearch86.0ms

Steps
ItersRangePoint
8
6.3736077767258876e+97
2.771218538638004e+101
3.0412120532343217e+100
10
-4.092990931352707e+163
-1.865346764731705e+152
-8.062579297869621e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
13010
23010

end0.0ms

sample792.0ms

Algorithm
intervals
Results
342.0ms8834×body80valid
112.0ms2807×body80nan