Details

Time bar (total: 8.1s)

sample88.0ms

Algorithm
intervals
Results
26.0ms340×body80nan
9.0ms156×body80valid
8.0ms42×body640valid
6.0ms22×body1280nan
6.0ms22×body1280valid
4.0ms21×body640nan
4.0ms23×body320valid
1.0ms13×body160valid
1.0msbody320nan
1.0msbody160nan

simplify97.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.1b

localize18.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)
12.9b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.0b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite61.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:
18.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)
14.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
16.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

Counts
4 → 12
Calls
4 calls:
429.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
44.0ms
(* (sqrt 2.0) t)
215.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)))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04461290
122061177
250021172

prune349.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 7.1b

localize17.0ms

Local error

Found 4 expressions with local error:

4.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
5.9b
(/ (pow l 2) x)
9.9b
(/ (pow t 2) x)
29.1b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

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

series383.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))))
25.0ms
(/ (pow l 2) x)
19.0ms
(/ (pow t 2) x)
275.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377837
11450724
25001715

prune468.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.6b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
4.6b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
9.9b
(/ (pow t 2) x)
29.1b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

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

series397.0ms

Counts
4 → 12
Calls
4 calls:
40.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)
269.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0321653
11261592
25001586

prune378.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.6b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
4.6b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
9.9b
(/ (pow t 2) x)
29.1b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

rewrite20.0ms

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

series399.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
69.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)
263.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
114 → 114
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0358746
11367640
25001634

prune380.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.6b

regimes360.0ms

Accuracy

77.9% (5.2b remaining)

Error of 8.7b against oracle of 3.6b and baseline of 26.9b

bsearch395.0ms

Steps
ItersRangePoint
6
4.78543668174494e+90
3.165910293729609e+91
8.647366978067528e+90
9
-1.2121149253887828e-221
-4.578360144249185e-227
-1.0069231603376872e-226
8
-1.8894950264995623e-157
-6.055389811834972e-162
-1.3093127471214333e-159
6
-8.705958973764969e+134
-8.61730005133688e+133
-2.8585639207837988e+134

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07887
19787
29887
39887

end0.0ms

sample2.1s

Algorithm
intervals
Results
497.0ms9987×body80nan
266.0ms5065×body80valid
218.0ms862×body1280valid
214.0ms1060×body640valid
152.0ms616×body1280nan
118.0ms618×body640nan
99.0ms668×body320valid
46.0ms322×body320nan
36.0ms345×body160valid
22.0ms188×body160nan