Details

Time bar (total: 8.8s)

sample99.0ms

Algorithm
intervals
Results
22.0ms313×body80nan
13.0ms27×body640valid
13.0ms180×body80valid
8.0ms24×body1280valid
6.0ms17×body1280nan
4.0ms16×body640nan
3.0ms13×body320valid
2.0msbody320nan
2.0ms12×body160valid
1.0msbody160nan

simplify98.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune10.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: 41.9b

Counts
2 → 1

localize19.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)
12.2b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
22.5b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite54.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:
17.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.9s

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

simplify66.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04461290
122061177
250021172

prune352.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: 5.0b

Counts
103 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

3.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
7.3b
(/ (pow l 2) x)
9.2b
(/ (pow t 2) x)
26.6b
(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)
2.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

series375.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
24.0ms
(/ (pow l 2) x)
19.0ms
(/ (pow t 2) x)
268.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

simplify51.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0377837
11450724
25001715

prune450.0ms

Filtered
139 candidates to 96 candidates (69.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1345139
Fresh044
Picked101
Done000
Total1359144

Merged error: 1.9b

Counts
144 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
3.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
9.2b
(/ (pow t 2) x)
26.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:
4.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)))))

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

simplify45.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0322653
11220592
25001586

prune368.0ms

Filtered
112 candidates to 78 candidates (69.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1075112
Fresh358
Picked011
Done000
Total11011121

Merged error: 1.9b

Counts
121 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
3.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
9.2b
(/ (pow t 2) x)
26.6b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

rewrite19.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 (/ 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)))))

series411.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
70.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
272.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
114 → 114
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0359733
11286640
25001630

prune351.0ms

Filtered
114 candidates to 78 candidates (68.4%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1104114
Fresh189
Picked011
Done101
Total11213125

Merged error: 1.9b

Counts
125 → 13

regimes547.0ms

Accuracy

76.5% (5.7b remaining)

Error of 9.5b against oracle of 3.7b and baseline of 28.2b

bsearch363.0ms

Steps
ItersRangePoint
8
1.432459265546787e+83
5.5169350175537886e+85
2.1993251903526813e+85
7
-1.9014569726683186e-283
-3.019842982184082e-285
-2.3649775096023287e-284
3
-9.137979276603949e-166
-7.229263141007501e-166
-8.54150548423006e-166
5
-4.492037802898764e+71
-2.076790252128248e+71
-4.4153659189983183e+71

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05895
15895

end0.0ms

sample2.8s

Algorithm
intervals
Results
714.0ms10042×body80nan
368.0ms5137×body80valid
288.0ms824×body1280valid
286.0ms1007×body640valid
195.0ms561×body1280nan
174.0ms640×body640nan
142.0ms684×body320valid
73.0ms357×body320nan
50.0ms348×body160valid
25.0ms170×body160nan