Details

Time bar (total: 7.8s)

sample83.0ms

Algorithm
intervals
Results
15.0ms301×body80nan
9.0ms168×body80valid
6.0ms25×body1280valid
5.0ms19×body1280nan
4.0ms23×body640valid
4.0ms27×body320valid
4.0ms19×body640nan
2.0ms11×body320nan
1.0ms13×body160valid
0.0msbody160nan

simplify93.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: 45.5b

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

rewrite146.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:
53.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
9.0ms
(* (sqrt 2.0) t)
34.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
46.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.7s

Counts
4 → 12
Calls
4 calls:
397.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)
203.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
1.1s
(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 (52.0ms)

IterNodesCost
04461290
122061177
250021172

prune342.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 6.0b

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

rewrite26.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))))
8.0ms
(/ (pow l 2) x)
12.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)))))

series352.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0377811
11351724
25001715

prune463.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
3.6b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
10.9b
(/ (pow t 2) x)
28.9b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

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

series356.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (sqrt 2.0) t)
62.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
16.0ms
(/ (pow t 2) x)
241.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0321653
11261592
25001586

prune354.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.1b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
3.6b
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
10.9b
(/ (pow t 2) x)
28.9b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

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

series356.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (sqrt 2.0) t)
62.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x))))
17.0ms
(/ (pow t 2) x)
240.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* l (/ l x)) (* 4.0 (/ (pow t 2) x)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0321653
11261592
25001586

prune367.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.1b

regimes199.0ms

Accuracy

76.5% (5.6b remaining)

Error of 9.3b against oracle of 3.7b and baseline of 27.7b

bsearch371.0ms

Steps
ItersRangePoint
9
1.5857668524149876e+139
3.3871370366029876e+145
1.5597839040065577e+140
7
1.9608508377038696e-152
3.165380991848482e-151
1.9907526079810196e-152
5
2.6991616684855972e-269
8.390503247003019e-269
5.479403094569755e-269
9
-7.264661280073341e+84
-8.858485632047111e+76
-4.072364829113804e+83

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07083
17083

end0.0ms

sample2.2s

Algorithm
intervals
Results
498.0ms10341×body80nan
267.0ms5175×body80valid
209.0ms845×body1280valid
192.0ms1013×body640valid
139.0ms585×body1280nan
110.0ms598×body640nan
89.0ms613×body320valid
47.0ms343×body320nan
35.0ms354×body160valid
17.0ms181×body160nan