Details

Time bar (total: 6.2s)

sample39.0ms

Algorithm
intervals
Results
11.0ms294×body80valid
6.0ms91×body80nan

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0227
1467
2727
3997
41207
51207

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
5.5b
(* (* x y) z)
9.3b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
23.9b
(sqrt (- (* z z) (* t a)))

rewrite81.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:
9.0ms
(- (* z z) (* t a))
19.0ms
(* (* x y) z)
36.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
13.0ms
(sqrt (- (* z z) (* t a)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* z z) (* t a))
24.0ms
(* (* x y) z)
92.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
71.0ms
(sqrt (- (* z z) (* t a)))

simplify64.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0368631
11935560
25002551

prune310.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.7b

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.4b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
23.9b
(sqrt (- (* z z) (* t a)))

rewrite70.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:
17.0ms
(/ (sqrt (- (* z z) (* t a))) z)
9.0ms
(- (* z z) (* t a))
22.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
16.0ms
(sqrt (- (* z z) (* t a)))

series274.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05431379
124481281
250011260

prune461.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 3.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
2.0b
(/ y (/ (sqrt (- (* z z) (* t a))) z))
2.1b
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
23.9b
(sqrt (- (* z z) (* t a)))

rewrite108.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:
9.0ms
(- (* z z) (* t a))
18.0ms
(/ y (/ (sqrt (- (* z z) (* t a))) z))
56.0ms
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
12.0ms
(sqrt (- (* z z) (* t a)))

series255.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* z z) (* t a))
56.0ms
(/ y (/ (sqrt (- (* z z) (* t a))) z))
91.0ms
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
70.0ms
(sqrt (- (* z z) (* t a)))

simplify128.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08392556
140712400
250022396

prune733.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 3.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* z z) (* t a))
1.9b
(/ (/ (sqrt (- (* z z) (* t a))) z) y)
2.1b
(* x (/ 1 (/ (/ (sqrt (- (* z z) (* t a))) z) y)))
23.9b
(sqrt (- (* z z) (* t a)))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
726×times-frac
371×add-sqr-sqrt
342×*-un-lft-identity
338×add-cube-cbrt
215×associate-*r*
122×sqrt-prod
41×add-exp-log
23×add-cbrt-cube
22×associate-/l*
18×div-exp div-inv
10×prod-exp
cbrt-undiv unswap-sqr
pow1
add-log-exp
expm1-log1p-u cbrt-unprod log1p-expm1-u
rec-exp 1-exp associate-*l* associate-/r*
flip3-- sqrt-div 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 associate-/r/ un-div-inv *-commutative associate-/l/
Counts
4 → 395
Calls
4 calls:
9.0ms
(- (* z z) (* t a))
26.0ms
(/ (/ (sqrt (- (* z z) (* t a))) z) y)
121.0ms
(* x (/ 1 (/ (/ (sqrt (- (* z z) (* t a))) z) y)))
12.0ms
(sqrt (- (* z z) (* t a)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* z z) (* t a))
70.0ms
(/ (/ (sqrt (- (* z z) (* t a))) z) y)
92.0ms
(* x (/ 1 (/ (/ (sqrt (- (* z z) (* t a))) z) y)))
70.0ms
(sqrt (- (* z z) (* t a)))

simplify87.0ms

Algorithm
egg-herbie
Counts
407 → 407
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
018484586
150014248

prune1.3s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 3.2b

regimes501.0ms

Accuracy

85% (3.0b remaining)

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

bsearch67.0ms

Steps
ItersRangePoint
6
6.554426983178909e+120
6.504069070328982e+121
1.5848429024938848e+121
6
-1.176493073943078e+144
-9.600945552693004e+142
-1.0685989201997895e+144

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12710
23010
33010

end0.0ms

sample922.0ms

Algorithm
intervals
Results
338.0ms8892×body80valid
98.0ms2907×body80nan