Details

Time bar (total: 8.3s)

sample82.0ms

Algorithm
intervals
Results
18.0ms360×body80nan
8.0ms158×body80valid
8.0ms40×body640valid
7.0ms27×body1280valid
4.0ms16×body1280nan
3.0ms20×body320valid
3.0ms15×body640nan
2.0ms12×body320nan
1.0ms11×body160valid
1.0msbody160nan

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.3b

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

rewrite158.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:
58.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
11.0ms
(* (sqrt 2.0) t)
37.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
49.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

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

simplify63.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04461291
122061177
250021172

prune339.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 7.6b

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.4b
(/ (pow l 2) x)
10.0b
(/ (pow t 2) x)
26.1b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

rewrite23.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:
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
9.0ms
(/ (pow l 2) x)
9.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)))))

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

simplify43.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377811
11351724
25001715

prune454.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.0b

localize17.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 (/ x l)) (* 4.0 (/ (pow t 2) x))))
10.0b
(/ (pow t 2) x)
26.1b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

rewrite27.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:
13.0ms
(* (sqrt 2.0) t)
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 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 (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series404.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (sqrt 2.0) t)
67.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
24.0ms
(/ (pow t 2) x)
267.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify39.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0322666
11250592
25001586

prune362.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.0b

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

rewrite27.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:
13.0ms
(* (sqrt 2.0) t)
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 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 (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series407.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0322653
11220592
25001586

prune376.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.0b

regimes384.0ms

Accuracy

78.6% (5.0b remaining)

Error of 8.7b against oracle of 3.7b and baseline of 27.1b

bsearch361.0ms

Steps
ItersRangePoint
2
4.3067122179417807e+123
4.913524705181093e+123
4.8376731442761786e+123
9
1.0846989892862971e-161
2.8171998045751283e-154
5.748160003020186e-158
6
4.682543563979993e-265
3.712032090684813e-264
2.5556856337554223e-264
10
-4.736252822648865e+153
-5.454035013448908e+141
-8.703772595808916e+141

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06291
16591
26891
36891

end0.0ms

sample2.3s

Algorithm
intervals
Results
505.0ms10138×body80nan
266.0ms5101×body80valid
224.0ms845×body1280valid
208.0ms1039×body640valid
148.0ms601×body1280nan
115.0ms600×body640nan
107.0ms677×body320valid
48.0ms328×body320nan
35.0ms338×body160valid
17.0ms183×body160nan