Details

Time bar (total: 10.1s)

sample101.0ms

Algorithm
intervals
Results
33.0ms358×body80nan
10.0ms172×body80valid
8.0ms29×body1280valid
6.0ms23×body1280nan
6.0ms28×body640valid
5.0ms25×body640nan
2.0ms14×body320valid
2.0ms14×body320nan
2.0msbody160nan
1.0ms13×body160valid

simplify99.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.6b

Counts
2 → 1

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

rewrite422.0ms

Algorithm
rewrite-expression-head
Rules
1790×add-sqr-sqrt
1106×*-un-lft-identity
838×associate-*l*
831×times-frac
600×prod-diff
538×add-cube-cbrt
504×sqrt-prod
373×unswap-sqr
349×difference-of-squares
313×associate-*r*
177×swap-sqr
144×distribute-lft-out
140×*-commutative distribute-lft-out--
40×fma-neg
34×associate-/r/
25×associate-/r*
19×flip3-- flip--
17×div-inv
16×associate-/l*
11×add-exp-log add-cbrt-cube
pow1
add-log-exp
expm1-log1p-u sqrt-div associate--l+ log1p-expm1-u
cbrt-undiv +-commutative distribute-rgt-in distribute-lft-in div-exp prod-exp cbrt-unprod
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log pow-prod-down clear-num
Counts
4 → 1196
Calls
4 calls:
92.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)
86.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
117.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series2.0s

Counts
4 → 12
Calls
4 calls:
452.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
41.0ms
(* (sqrt 2.0) t)
223.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
1.3s
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

simplify305.0ms

Algorithm
egg-herbie
Counts
1208 → 1208
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
0218928856
1500226621

prune1.3s

Filtered
1208 candidates to 308 candidates (74.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New120171208
Fresh000
Picked101
Done000
Total120271209

Merged error: 4.8b

Counts
1209 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

3.8b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
7.7b
(/ (pow l 2) x)
10.2b
(/ (pow t 2) x)
25.0b
(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)))))

series400.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0377837
11450724
25001715

prune400.0ms

Filtered
139 candidates to 96 candidates (30.9%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1327139
Fresh156
Picked011
Done000
Total13313146

Merged error: 2.0b

Counts
146 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
3.8b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
10.2b
(/ (pow t 2) x)
25.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

rewrite19.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))))
9.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)))))

series424.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (sqrt 2.0) t)
74.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
20.0ms
(/ (pow t 2) x)
283.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0321653
11261592
25002586

prune313.0ms

Filtered
112 candidates to 76 candidates (32.1%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1084112
Fresh3811
Picked011
Done011
Total11114125

Merged error: 2.0b

Counts
125 → 14

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
3.8b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
10.2b
(/ (pow t 2) x)
25.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
45×sqrt-prod
30×add-cube-cbrt *-un-lft-identity
24×times-frac unswap-sqr
23×associate-*r*
18×associate-*l*
14×add-exp-log
12×unpow-prod-down
11×add-cbrt-cube
10×pow1
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
*-commutative
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-exp clear-num fma-udef div-inv
Counts
4 → 133
Calls
4 calls:
15.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (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)
5.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

series432.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
68.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
26.0ms
(/ (pow t 2) x)
288.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04171052
11713864
25001845

prune356.0ms

Filtered
145 candidates to 90 candidates (37.9%)
Pruning

17 alts after pruning (14 fresh and 3 done)

PrunedKeptTotal
New1387145
Fresh4711
Picked011
Done022
Total14217159

Merged error: 2.0b

Counts
159 → 17

regimes578.0ms

Accuracy

78% (5.3b remaining)

Error of 9.0b against oracle of 3.7b and baseline of 27.6b

bsearch449.0ms

Steps
ItersRangePoint
11
1.983077860352827e+74
1.2169948632822941e+95
1.1832275687710057e+95
10
-5.3392545773226386e-192
-6.0224735533564614e-204
-7.939779379132041e-199
4
-1.7040716024172982e-155
-1.0301582289462479e-155
-1.0512180218672182e-155
10
-6.413539866615064e+58
-1.0208429830464386e+44
-8.721903761098746e+56

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06475
18375
28475
38475

end0.0ms

sample2.2s

Algorithm
intervals
Results
549.0ms10089×body80nan
287.0ms5160×body80valid
228.0ms1052×body640valid
226.0ms829×body1280valid
164.0ms605×body1280nan
134.0ms630×body640nan
102.0ms628×body320valid
57.0ms363×body320nan
36.0ms331×body160valid
20.0ms181×body160nan