Details

Time bar (total: 4.2s)

sample34.0ms

Algorithm
intervals
Results
12.0ms281×body80valid
4.0ms107×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1457
2677
3947
41157
51157

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
5.6b
(* (* x y) z)
8.3b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
22.3b
(sqrt (- (* z z) (* t a)))

rewrite37.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:
2.0ms
(- (* z z) (* t a))
6.0ms
(* (* x y) z)
20.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
6.0ms
(sqrt (- (* z z) (* t a)))

series193.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0346584
11863515
25002510

prune230.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* z z) (* t a))) z)
0.8b
(- (* z z) (* t a))
3.0b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
22.3b
(sqrt (- (* z z) (* t a)))

rewrite32.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:
7.0ms
(/ (sqrt (- (* z z) (* t a))) z)
3.0ms
(- (* z z) (* t a))
10.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
7.0ms
(sqrt (- (* z z) (* t a)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(/ (sqrt (- (* z z) (* t a))) z)
35.0ms
(- (* z z) (* t a))
76.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
63.0ms
(sqrt (- (* z z) (* t a)))

simplify60.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05191327
123801230
250011214

prune339.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 2.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
1.5b
(/ y (/ (sqrt (- (* z z) (* t a))) z))
2.0b
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
22.3b
(sqrt (- (* z z) (* t a)))

rewrite65.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
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 diff-log associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 227
Calls
4 calls:
2.0ms
(- (* z z) (* t a))
9.0ms
(/ y (/ (sqrt (- (* z z) (* t a))) z))
33.0ms
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
4.0ms
(sqrt (- (* z z) (* t a)))

series222.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08172502
140052347
250022347

prune618.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 2.9b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ z (sqrt (- (* z z) (* t a))))
0.8b
(- (* z z) (* t a))
3.0b
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
22.3b
(sqrt (- (* z z) (* t a)))

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

series218.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ z (sqrt (- (* z z) (* t a))))
35.0ms
(- (* z z) (* t a))
81.0ms
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
56.0ms
(sqrt (- (* z z) (* t a)))

simplify58.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04311015
12166912
25002893

prune301.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 2.9b

regimes375.0ms

Accuracy

85.9% (2.7b remaining)

Error of 6.1b against oracle of 3.3b and baseline of 22.8b

bsearch97.0ms

Steps
ItersRangePoint
11
6.7885585141402705e+103
1.0680580568755772e+124
2.63678430171191e+123
9
-5.753239068835225e+150
-4.934060275160021e+145
-3.0286624309368284e+146

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02810
12910
23210
33210

end0.0ms

sample841.0ms

Algorithm
intervals
Results
355.0ms8843×body80valid
107.0ms2918×body80nan