Details

Time bar (total: 10.5s)

sample146.0ms

Algorithm
intervals
Results
39.0ms307×body80nan
19.0ms151×body80valid
17.0ms37×body1280valid
12.0ms33×body640valid
8.0ms20×body1280nan
7.0ms20×body640nan
6.0ms23×body320valid
3.0ms10×body320nan
2.0ms12×body160valid
2.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.9b

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

rewrite77.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:
25.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)
19.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
25.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))))
41.0ms
(* (sqrt 2.0) t)
227.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)))

simplify62.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04461290
122061177
250021172

prune373.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.3b

localize20.0ms

Local error

Found 4 expressions with local error:

3.0b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
6.0b
(/ (pow t 2) x)
7.8b
(/ (pow l 2) x)
22.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

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

series378.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
18.0ms
(/ (pow l 2) x)
273.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0377837
11450724
25001715

prune514.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 2.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
3.0b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
6.0b
(/ (pow t 2) x)
22.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

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

series400.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sqrt 2.0) t)
65.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
23.0ms
(/ (pow t 2) x)
267.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0325681
11256616
25002609

prune449.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.9b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
3.0b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
6.0b
(/ (pow t 2) x)
22.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

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

series406.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
71.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
19.0ms
(/ (pow t 2) x)
274.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0362761
11328665
25002653

prune471.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 2.9b

regimes517.0ms

Accuracy

75.4% (5.8b remaining)

Error of 9.7b against oracle of 3.9b and baseline of 27.5b

bsearch485.0ms

Steps
ItersRangePoint
8
1.9372072903628634e-21
1.2375722832681644e-17
1.2204418831474139e-17
6
-2.0748491210081147e-186
-1.8511898220290854e-187
-3.109382252226426e-187
5
-6.0145826622498916e-164
-1.736922533320964e-164
-5.732685874358717e-164
9
-7.025925476699672e+159
-5.0418852855389434e+151
-9.415948040224565e+151

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07382
19382
29482
39482

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.2s10151×body80nan
649.0ms5105×body80valid
382.0ms853×body1280valid
380.0ms1055×body640valid
260.0ms608×body1280nan
216.0ms619×body640nan
182.0ms648×body320valid
94.0ms341×body320nan
74.0ms339×body160valid
32.0ms159×body160nan