Details

Time bar (total: 3.1s)

sample49.0ms

Algorithm
intervals
Results
18.0ms285×body80valid
6.0ms108×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 24.7b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
6.7b
(* (* x y) z)
8.0b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
24.5b
(sqrt (- (* z z) (* t a)))

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

series204.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0165180
1504177
21451172
34133160
45001160

prune104.0ms

Filtered
37 candidates to 29 candidates (78.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New30737
Fresh000
Picked101
Done000
Total31738

Merged error: 2.7b

Counts
38 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* z z) (* t a))) z)
0.2b
(- (* z z) (* t a))
3.6b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
24.5b
(sqrt (- (* z z) (* t a)))

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

series253.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ (sqrt (- (* z z) (* t a))) z)
46.0ms
(- (* z z) (* t a))
80.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
58.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

prune115.0ms

Filtered
43 candidates to 33 candidates (76.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh246
Picked101
Done000
Total43750

Merged error: 2.6b

Counts
50 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
1.5b
(/ (/ (sqrt (- (* z z) (* t a))) z) x)
1.8b
(/ y (/ (/ (sqrt (- (* z z) (* t a))) z) x))
24.5b
(sqrt (- (* z z) (* t a)))

rewrite23.0ms

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

series231.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0211238
1651233
22568226
35002226

prune119.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh246
Picked011
Done000
Total46854

Merged error: 2.6b

Counts
54 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
1.5b
(* x (/ z (sqrt (- (* z z) (* t a)))))
1.6b
(* y (* x (/ z (sqrt (- (* z z) (* t a))))))
24.5b
(sqrt (- (* z z) (* t a)))

rewrite23.0ms

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

series223.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* z z) (* t a))
53.0ms
(* x (/ z (sqrt (- (* z z) (* t a)))))
78.0ms
(* y (* x (/ z (sqrt (- (* z z) (* t a))))))
58.0ms
(sqrt (- (* z z) (* t a)))

simplify51.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0170170
1583167
22117162
35002149

prune107.0ms

Filtered
43 candidates to 32 candidates (74.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New41243
Fresh156
Picked011
Done011
Total42951

Merged error: 2.6b

Counts
51 → 9

regimes432.0ms

Accuracy

78.8% (4.2b remaining)

Error of 7.7b against oracle of 3.4b and baseline of 23.4b

bsearch52.0ms

Steps
ItersRangePoint
7
2.2820637225313194e+75
5.904464187258918e+76
2.3156939502955866e+75
3
-6.017134225162489e+36
-4.822947343404439e+36
-5.192230488731093e+36

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03715
14115
24415
34415

end0.0ms

sample811.0ms

Algorithm
intervals
Results
355.0ms8835×body80valid
108.0ms2946×body80nan