Details

Time bar (total: 8.2s)

sample97.0ms

Algorithm
intervals
Results
32.0ms340×body80nan
9.0ms161×body80valid
8.0ms29×body1280valid
7.0ms32×body640valid
6.0ms27×body640nan
5.0ms21×body1280nan
4.0ms23×body320valid
2.0ms14×body320nan
1.0ms11×body160valid
0.0msbody160nan

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.7b

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.5b
(* (sqrt 2.0) t)
13.7b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
20.9b
(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:
23.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.8s

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

IterNodesCost
04461290
122061177
250021172

prune369.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.8b

localize18.0ms

Local error

Found 4 expressions with local error:

4.2b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
6.2b
(/ (pow l 2) x)
9.9b
(/ (pow t 2) x)
27.6b
(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:
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)
18.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)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0377837
11450724
25001715

prune517.0ms

Filtered
139 candidates to 96 candidates (69.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.8b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
4.2b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
9.9b
(/ (pow t 2) x)
27.6b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 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 (/ x l)) (* 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 (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series390.0ms

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

IterNodesCost
0322653
11220592
25001586

prune413.0ms

Filtered
112 candidates to 78 candidates (69.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.7b

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))
4.2b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
9.9b
(/ (pow t 2) x)
27.6b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

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

series395.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0372843
11378691
25001641

prune387.0ms

Filtered
112 candidates to 74 candidates (66.1%)
Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 4.7b

regimes554.0ms

Accuracy

76% (5.7b remaining)

Error of 9.7b against oracle of 3.9b and baseline of 27.8b

bsearch161.0ms

Steps
ItersRangePoint
8
5.216356433003023e+17
1.3896206539962956e+20
1.0056610449059809e+20
5
-8.662603811930578e+142
-2.4793126303145234e+142
-3.887249535662771e+142

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05361
15361

end0.0ms

sample2.2s

Algorithm
intervals
Results
513.0ms9863×body80nan
275.0ms5077×body80valid
235.0ms853×body1280valid
214.0ms1014×body640valid
156.0ms596×body1280nan
118.0ms570×body640nan
111.0ms701×body320valid
61.0ms393×body320nan
38.0ms355×body160valid
19.0ms189×body160nan