Details

Time bar (total: 9.3s)

sample105.0ms

Algorithm
intervals
Results
22.0ms310×body80nan
14.0ms23×body1280nan
11.0ms159×body80valid
10.0ms36×body640valid
10.0ms28×body1280valid
5.0ms18×body640nan
4.0ms22×body320valid
3.0ms14×body320nan
2.0ms13×body160nan
2.0ms11×body160valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 45.2b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* (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)
15.1b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.3b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite62.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:
25.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))
15.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.8s

Counts
4 → 12
Calls
4 calls:
420.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)
211.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)))

simplify70.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04461290
122061177
250021172

prune331.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New957102
Fresh000
Picked101
Done000
Total967103

Merged error: 6.5b

Counts
103 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

2.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
7.2b
(/ (pow l 2) x)
10.3b
(/ (pow t 2) x)
27.9b
(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)))))

series376.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0377811
11351724
25001715

prune445.0ms

Filtered
139 candidates to 96 candidates (69.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1327139
Fresh066
Picked101
Done000
Total13313146

Merged error: 3.5b

Counts
146 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
2.6b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
10.3b
(/ (pow t 2) x)
27.9b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

rewrite16.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)))))

series393.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (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)
261.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

prune343.0ms

Filtered
112 candidates to 78 candidates (69.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1093112
Fresh4812
Picked011
Done000
Total11312125

Merged error: 3.5b

Counts
125 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t)) (sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))))
2.6b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
10.3b
(/ (pow t 2) x)
27.9b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
30×times-frac
27×add-sqr-sqrt
26×add-cube-cbrt *-un-lft-identity
18×add-exp-log
15×add-cbrt-cube
12×unpow-prod-down
associate-/r* sqrt-prod associate-/l*
div-exp
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
prod-exp cbrt-unprod
frac-2neg clear-num div-inv
pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 pow-exp fma-udef
Counts
4 → 107
Calls
4 calls:
11.0ms
(/ (* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t)) (sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))))
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)))))

series507.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04271198
119861032
250011016

prune348.0ms

Filtered
119 candidates to 81 candidates (68.1%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1154119
Fresh3710
Picked011
Done011
Total11813131

Merged error: 3.5b

Counts
131 → 13

regimes495.0ms

Accuracy

73.5% (6.3b remaining)

Error of 9.8b against oracle of 3.5b and baseline of 27.2b

bsearch845.0ms

Steps
ItersRangePoint
10
4.303922473367365e+108
1.931316243244326e+118
8.28827763547494e+114
7
5.834548822037511e-190
5.310846843265014e-188
3.179593151054512e-188
8
2.0531948601770492e-296
1.9147608801785507e-293
1.8906625567539152e-293
9
1.602615327513597e-304
1.997368604160002e-299
1.617668931297377e-304
10
-1.3111885523472323e-180
-7.354709209583203e-196
-1.492381997315763e-189
9
-4.927324273936486e+121
-1.6988174615908472e+112
-1.5746361320052905e+118

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063120
166120
269120
369120

end0.0ms

sample2.7s

Algorithm
intervals
Results
693.0ms9963×body80nan
363.0ms5153×body80valid
291.0ms860×body1280valid
252.0ms937×body640valid
197.0ms591×body1280nan
158.0ms592×body640nan
144.0ms705×body320valid
70.0ms360×body320nan
50.0ms345×body160valid
25.0ms188×body160nan