Details

Time bar (total: 8.1s)

sample80.0ms

Algorithm
intervals
Results
16.0ms338×body80nan
8.0ms159×body80valid
7.0ms30×body1280valid
6.0ms34×body640valid
5.0ms22×body1280nan
5.0ms26×body640nan
3.0ms21×body320valid
2.0ms14×body320nan
1.0ms12×body160valid
0.0msbody160nan

simplify101.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
0.4b
(* (sqrt 2.0) t)
14.5b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
18.8b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×sqrt-prod
12×add-cube-cbrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
pow1
times-frac associate-*l* associate-/r* add-log-exp
expm1-log1p-u sqrt-div log1p-expm1-u
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate--l+ associate-/r/ cbrt-unprod unswap-sqr
distribute-rgt-in sub-neg rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative div-inv associate-/l*
Counts
4 → 90
Calls
4 calls:
55.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
9.0ms
(* (sqrt 2.0) t)
30.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
51.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.7s

Counts
4 → 12
Calls
4 calls:
396.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
43.0ms
(* (sqrt 2.0) t)
200.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
1.1s
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

simplify64.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04461290
122061177
250021172

prune352.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 7.3b

localize19.0ms

Local error

Found 4 expressions with local error:

5.4b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
7.6b
(/ (pow t 2) x)
7.9b
(/ (pow l 2) x)
24.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
40×add-sqr-sqrt
39×add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
16×associate-/l*
14×add-exp-log
add-cbrt-cube unpow2 sqr-pow
div-exp associate-/r*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-prod
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 127
Calls
4 calls:
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
8.0ms
(/ (pow t 2) x)
12.0ms
(/ (pow l 2) x)
2.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

series349.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
18.0ms
(/ (pow l 2) x)
249.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377811
11351724
25001715

prune494.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.5b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
5.4b
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
7.6b
(/ (pow t 2) x)
24.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
24×times-frac
12×unpow-prod-down
11×add-exp-log
add-cbrt-cube associate-/l*
pow1 sqrt-prod
associate-*l*
expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
div-exp associate-*r* associate-/r*
unswap-sqr
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-prod-down pow-exp prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
4 → 100
Calls
4 calls:
9.0ms
(* (sqrt 2.0) t)
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
8.0ms
(/ (pow t 2) x)
2.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

series252.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (sqrt 2.0) t)
53.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
17.0ms
(/ (pow t 2) x)
140.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0356740
11496654
25001649

prune424.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.5b

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
5.4b
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
7.6b
(/ (pow t 2) x)
24.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
23×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
21×add-exp-log
17×pow1
12×unpow-prod-down add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
div-exp associate-/r* sqrt-prod
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r* associate-*l* pow-exp clear-num *-commutative fma-udef div-inv
Counts
4 → 100
Calls
4 calls:
45.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
8.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

series257.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
53.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
22.0ms
(/ (pow t 2) x)
134.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

simplify51.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0407917
11622753
25001704

prune403.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.5b

regimes500.0ms

Accuracy

79.3% (5.0b remaining)

Error of 8.5b against oracle of 3.5b and baseline of 27.8b

bsearch473.0ms

Steps
ItersRangePoint
8
1.778488394454948e+134
4.055979505818024e+138
1.1833381242405325e+138
10
-2.0101666735443658e-237
-6.712575769720652e-252
-2.531223176821921e-239
9
-1.9225116482125733e-150
-1.702077891172936e-155
-1.7173256022551054e-155
7
-1.5556122026010662e+121
-7.893234232371506e+119
-9.081399267380478e+119

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066107
168107
268107

end0.0ms

sample2.1s

Algorithm
intervals
Results
470.0ms10043×body80nan
253.0ms5120×body80valid
203.0ms862×body1280valid
177.0ms981×body640valid
141.0ms621×body1280nan
109.0ms633×body640nan
89.0ms648×body320valid
40.0ms307×body320nan
37.0ms389×body160valid
15.0ms175×body160nan