Details

Time bar (total: 9.7s)

sample93.0ms

Algorithm
intervals
Results
23.0ms38×body640valid
16.0ms308×body80nan
8.0ms155×body80valid
6.0ms23×body1280valid
4.0ms16×body1280nan
3.0ms21×body320valid
2.0ms12×body640nan
2.0ms19×body160valid
2.0ms11×body320nan
1.0msbody160nan

simplify103.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.3b

Counts
2 → 1

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)
15.1b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
22.1b
(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:
24.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))
15.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

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

simplify67.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04461290
122061177
250021172

prune348.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New975102
Fresh000
Picked101
Done000
Total985103

Merged error: 6.9b

Counts
103 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

5.0b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
6.4b
(/ (pow l 2) x)
9.5b
(/ (pow t 2) x)
30.4b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

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

series371.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0377811
11351724
25001715

prune474.0ms

Filtered
139 candidates to 96 candidates (69.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1327139
Fresh044
Picked101
Done000
Total13311144

Merged error: 4.3b

Counts
144 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
5.0b
(fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x))))
9.5b
(/ (pow t 2) x)
30.4b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
30×add-cube-cbrt *-un-lft-identity
24×times-frac
16×cbrt-prod
12×pow1 unpow-prod-down
11×add-exp-log
associate-/l*
pow1/3 swap-sqr associate-*r* associate-*l* add-cbrt-cube
expm1-log1p-u log1p-expm1-u unpow2 add-log-exp unswap-sqr sqr-pow
div-exp associate-/r* sqrt-prod
pow-prod-down pow-sqr pow-prod-up
cbrt-undiv pow2 pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow-plus pow1/2 pow-exp prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
4 → 118
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
1.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt 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 (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

series584.0ms

Counts
4 → 12
Calls
4 calls:
199.0ms
(* (cbrt x) (cbrt x))
83.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
284.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0363893
11416796
25001770

prune484.0ms

Filtered
130 candidates to 90 candidates (69.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1273130
Fresh3710
Picked011
Done000
Total13011141

Merged error: 4.3b

Counts
141 → 11

localize30.0ms

Local error

Found 4 expressions with local error:

9.5b
(/ (pow t 2) x)
30.4b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
30.4b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
30.4b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

rewrite12.0ms

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

series873.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ (pow t 2) x)
285.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
287.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
283.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

simplify171.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02421036
1803961
24668948
35001948

prune535.0ms

Filtered
108 candidates to 80 candidates (74.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1062108
Fresh099
Picked101
Done011
Total10712119

Merged error: 4.3b

Counts
119 → 12

regimes523.0ms

Accuracy

74.5% (6.1b remaining)

Error of 9.8b against oracle of 3.7b and baseline of 27.7b

bsearch618.0ms

Steps
ItersRangePoint
8
3.403568998745067e+87
4.905813436801621e+90
4.488332034392144e+90
8
1.7245540549261378e-174
7.545122391836811e-171
4.899761605523815e-171
10
3.871683063339351e-223
9.005404400815374e-213
6.311404485509687e-213
4
-6.914198310900146e-265
-3.618629021631408e-265
-6.769228911391228e-265
8
-9.505671634543452e-166
-2.1070939213285662e-168
-9.359052842342105e-167
6
-31565395626.252914
-3186624082.971198
-31115301794.108517

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
071115
193115
297115
397115

end0.0ms

sample2.2s

Algorithm
intervals
Results
547.0ms10323×body80nan
272.0ms5047×body80valid
239.0ms903×body1280valid
216.0ms1044×body640valid
156.0ms598×body1280nan
122.0ms604×body640nan
97.0ms635×body320valid
52.0ms335×body320nan
38.0ms371×body160valid
19.0ms188×body160nan