Details

Time bar (total: 7.8s)

sample65.0ms

Algorithm
intervals
Results
13.0ms294×body80nan
8.0ms172×body80valid
5.0ms26×body640valid
5.0ms20×body1280valid
4.0ms18×body1280nan
4.0ms22×body640nan
3.0ms21×body320valid
2.0ms17×body160valid
0.0msbody320nan
0.0msbody160nan

simplify96.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: 39.8b

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

rewrite69.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:
24.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))
23.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

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

simplify64.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04461290
122061177
250021172

prune360.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 5.6b

localize18.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))))
6.2b
(/ (pow l 2) x)
7.6b
(/ (pow t 2) x)
25.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

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

series381.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0377811
11351724
25001715

prune490.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
3.8b
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
7.6b
(/ (pow t 2) x)
25.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 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 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
4.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

series270.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (sqrt 2.0) t)
57.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
150.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

simplify46.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0356727
11467654
25001649

prune412.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 3.0b

localize21.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 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
7.6b
(/ (pow t 2) x)
25.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 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:
16.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
4.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

series274.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) t))
64.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
150.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (fabs l) (/ (fabs l) x)) (* 4.0 (/ (pow t 2) x)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0396807
11531702
25001693

prune437.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 3.0b

regimes280.0ms

Accuracy

76.6% (5.6b remaining)

Error of 9.6b against oracle of 4.0b and baseline of 27.8b

bsearch396.0ms

Steps
ItersRangePoint
8
1.4591158696880328e+67
1.7338095287963284e+70
1.4317046531863695e+69
4
5.22704864018108e-184
9.35606991427528e-184
6.130272043889186e-184
10
1.1752848982477834e-269
1.4105351624002533e-257
3.925962295462325e-260
7
-1.7966828149896192e+96
-1.0031096457801407e+94
-8.08866278392022e+94

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05786
16086
26386
36386

end0.0ms

sample2.0s

Algorithm
intervals
Results
475.0ms10129×body80nan
259.0ms5110×body80valid
212.0ms877×body1280valid
191.0ms1006×body640valid
154.0ms658×body1280nan
106.0ms564×body640nan
87.0ms620×body320valid
49.0ms339×body320nan
37.0ms387×body160valid
18.0ms188×body160nan