Details

Time bar (total: 8.3s)

sample90.0ms

Algorithm
intervals
Results
26.0ms352×body80nan
9.0ms45×body640valid
8.0ms148×body80valid
7.0ms26×body1280valid
5.0ms24×body640nan
4.0ms28×body320valid
3.0ms14×body1280nan
2.0ms12×body320nan
1.0msbody160valid
0.0msbody160nan

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.4b

localize19.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.5b
(* (sqrt 2.0) t)
14.8b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
18.6b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite75.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:
30.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
5.0ms
(* (sqrt 2.0) t)
13.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
23.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

Counts
4 → 12
Calls
4 calls:
439.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)
217.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
1.2s
(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 (50.0ms)

IterNodesCost
04461290
122061177
250021172

prune359.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.3b

localize18.0ms

Local error

Found 4 expressions with local error:

3.2b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
8.7b
(/ (pow l 2) x)
12.4b
(/ (pow t 2) x)
27.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

rewrite14.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))))
4.0ms
(/ (pow l 2) x)
4.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

series388.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
19.0ms
(/ (pow l 2) x)
19.0ms
(/ (pow t 2) x)
280.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0377837
11450724
25001715

prune481.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.3b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
3.2b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
12.4b
(/ (pow t 2) x)
27.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

rewrite13.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:
5.0ms
(* (sqrt 2.0) t)
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
4.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

series403.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0321653
11261592
25001586

prune385.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
3.2b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
12.4b
(/ (pow t 2) x)
27.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

rewrite33.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:
21.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 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
7.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

series405.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
70.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
19.0ms
(/ (pow t 2) x)
270.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0371843
11422691
25002641

prune372.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 3.3b

regimes477.0ms

Accuracy

77.8% (5.3b remaining)

Error of 9.2b against oracle of 3.8b and baseline of 27.7b

bsearch447.0ms

Steps
ItersRangePoint
9
2.890177050304623e+152
3.961245111978917e+157
3.553442241630424e+152
5
-4.191452554448228e-265
-1.987415230868146e-265
-4.064999631743418e-265
10
-5.85728134147208e-203
-2.9712781077565054e-217
-4.873148602505656e-210
9
-1.7065839339117034e+154
-1.7413215916897266e+149
-2.2522082819353025e+152

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05989
15989

end0.0ms

sample2.1s

Algorithm
intervals
Results
518.0ms10277×body80nan
276.0ms5086×body80valid
220.0ms846×body1280valid
212.0ms1043×body640valid
141.0ms582×body1280nan
121.0ms623×body640nan
101.0ms682×body320valid
52.0ms366×body320nan
34.0ms343×body160valid
16.0ms170×body160nan