Details

Time bar (total: 8.2s)

sample85.0ms

Algorithm
intervals
Results
17.0ms150×body80valid
15.0ms296×body80nan
8.0ms32×body1280valid
8.0ms38×body640valid
4.0ms27×body320valid
4.0ms15×body1280nan
3.0ms17×body640nan
1.0ms10×body320nan
1.0msbody160valid
1.0msbody160nan

simplify96.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.7b

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.4b
(* (sqrt 2.0) t)
13.6b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
18.5b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite78.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:
31.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))
24.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series2.0s

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

IterNodesCost
04461290
122061177
250021172

prune365.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 6.7b

localize18.0ms

Local error

Found 4 expressions with local error:

3.0b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
8.1b
(/ (pow t 2) x)
9.0b
(/ (pow l 2) x)
25.2b
(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 t 2) x)
5.0ms
(/ (pow l 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

series390.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
19.0ms
(/ (pow t 2) x)
24.0ms
(/ (pow l 2) x)
277.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
0377837
11450724
25001715

prune482.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.8b

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
3.0b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
8.1b
(/ (pow t 2) x)
25.2b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 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 (/ x l)) (* 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 (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series409.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0322653
11220592
25001586

prune380.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.8b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
3.0b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
8.1b
(/ (pow t 2) x)
25.2b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

rewrite34.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:
25.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 (/ x l)) (* 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 (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series415.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
71.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
20.0ms
(/ (pow t 2) x)
278.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0372843
11378691
25001641

prune381.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 2.8b

regimes234.0ms

Accuracy

77.4% (5.4b remaining)

Error of 9.4b against oracle of 4.0b and baseline of 28.0b

bsearch481.0ms

Steps
ItersRangePoint
9
2.6592769027754192e+135
1.8532783499538848e+143
7.722608521135054e+139
10
-9.778626965008135e-213
-8.210541992257955e-227
-1.7566569001808303e-225
8
-3.4565761880404586e-184
-1.638967951047052e-187
-4.068393693236091e-186
6
-2.6172885721259074e+93
-4.5938591310774295e+92
-9.965065760536365e+92

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06598
16598

end0.0ms

sample2.1s

Algorithm
intervals
Results
511.0ms9975×body80nan
270.0ms4996×body80valid
219.0ms854×body1280valid
203.0ms1028×body640valid
148.0ms605×body1280nan
120.0ms623×body640nan
108.0ms726×body320valid
49.0ms331×body320nan
42.0ms396×body160valid
19.0ms179×body160nan