Details

Time bar (total: 8.3s)

sample94.0ms

Algorithm
intervals
Results
23.0ms167×body80valid
15.0ms288×body80nan
7.0ms27×body1280valid
7.0ms30×body640valid
6.0ms24×body1280nan
4.0ms20×body640nan
3.0ms20×body320valid
2.0ms15×body320nan
1.0ms12×body160valid
0.0msbody160nan

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: 44.6b

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

rewrite67.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:
19.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)
22.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
17.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series2.0s

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

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04461290
122061177
250021172

prune378.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New984102
Fresh000
Picked101
Done000
Total994103

Merged error: 5.6b

Counts
103 → 4

localize19.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))))
4.1b
(/ (pow l 2) x)
10.2b
(/ (pow t 2) x)
29.3b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

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

series409.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
20.0ms
(/ (pow l 2) x)
20.0ms
(/ (pow t 2) x)
294.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
0377811
11351724
25001715

prune523.0ms

Filtered
139 candidates to 96 candidates (69.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New12811139
Fresh123
Picked101
Done000
Total13013143

Merged error: 3.7b

Counts
143 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
3.6b
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
10.2b
(/ (pow t 2) x)
29.3b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs 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 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
6.0ms
(/ (pow t 2) x)
2.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

series290.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (sqrt 2.0) t)
69.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
19.0ms
(/ (pow t 2) x)
161.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0356740
11496654
25001649

prune440.0ms

Filtered
112 candidates to 79 candidates (70.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1075112
Fresh6612
Picked101
Done000
Total11411125

Merged error: 3.7b

Counts
125 → 11

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
3.6b
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
10.2b
(/ (pow t 2) x)
29.3b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs 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 (* (fabs l) (/ (fabs 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 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

series293.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (sqrt 2.0) t)
63.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
25.0ms
(/ (pow t 2) x)
158.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0356727
11467654
25001649

prune445.0ms

Filtered
112 candidates to 79 candidates (70.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1093112
Fresh3710
Picked011
Done000
Total11211123

Merged error: 3.7b

Counts
123 → 11

regimes517.0ms

Accuracy

75.4% (5.9b remaining)

Error of 9.5b against oracle of 3.6b and baseline of 27.6b

bsearch205.0ms

Steps
ItersRangePoint
8
6.579057016525835e+22
7.600174258345873e+26
7.079201139562713e+25
8
-1.6408449466155826e+50
-5.3445759829939045e+45
-1.6136575442583857e+50

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05453
15453

end0.0ms

sample2.1s

Algorithm
intervals
Results
508.0ms10006×body80nan
268.0ms5131×body80valid
214.0ms833×body1280valid
196.0ms971×body640valid
148.0ms603×body1280nan
119.0ms606×body640nan
102.0ms687×body320valid
48.0ms331×body320nan
39.0ms378×body160valid
16.0ms163×body160nan