Details

Time bar (total: 7.7s)

sample86.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

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)))

rewrite59.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
sqrt-div
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 diff-log pow-prod-down clear-num *-commutative div-inv associate-/l*
Counts
4 → 80
Calls
4 calls:
17.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
12.0ms
(* (sqrt 2.0) t)
13.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
14.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

Counts
4 → 12
Calls
4 calls:
432.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
44.0ms
(* (sqrt 2.0) t)
214.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
92 → 92
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04171207
120511099
250021094

prune314.0ms

Filtered
92 candidates to 65 candidates (70.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New88492
Fresh000
Picked101
Done000
Total89493

Merged error: 5.6b

Counts
93 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

3.4b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
4.1b
(/ (pow l 2) x)
10.2b
(/ (pow t 2) x)
29.3b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

rewrite35.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
associate-*r/ add-cbrt-cube unpow2 sqr-pow
div-exp associate-/r* add-log-exp
pow1
flip3-+ sqrt-div frac-add flip-+
sqrt-prod
cbrt-undiv pow-to-exp associate-+r+ frac-2neg pow-exp clear-num div-inv
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 130
Calls
4 calls:
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
5.0ms
(/ (pow l 2) x)
5.0ms
(/ (pow t 2) x)
11.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

series278.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
19.0ms
(/ (pow l 2) x)
19.0ms
(/ (pow t 2) x)
171.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05261093
12235984
25001978

prune485.0ms

Filtered
142 candidates to 97 candidates (68.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1339142
Fresh033
Picked101
Done000
Total13412146

Merged error: 3.7b

Counts
146 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
3.4b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x)))))
10.2b
(/ (pow t 2) x)
29.3b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x))))))

rewrite29.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
associate-*r/ add-cbrt-cube associate-/l*
pow1 sqrt-prod
associate-*l* add-log-exp
flip3-+ sqrt-div frac-add flip-+ unpow2 sqr-pow
div-exp associate-*r* associate-/r*
associate-+r+ unswap-sqr
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down pow-exp prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv
Counts
4 → 103
Calls
4 calls:
4.0ms
(* (sqrt 2.0) t)
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x)))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x))))))

series256.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (sqrt 2.0) t)
54.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x)))))
18.0ms
(/ (pow t 2) x)
145.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x))))))

simplify70.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05151060
12381972
25002969

prune423.0ms

Filtered
115 candidates to 81 candidates (70.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1114115
Fresh5611
Picked101
Done000
Total11710127

Merged error: 3.7b

Counts
127 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) t)
3.4b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x)))))
10.2b
(/ (pow t 2) x)
29.3b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x))))))

rewrite29.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
associate-*r/ add-cbrt-cube associate-/l*
pow1 sqrt-prod
associate-*l* add-log-exp
flip3-+ sqrt-div frac-add flip-+ unpow2 sqr-pow
div-exp associate-*r* associate-/r*
associate-+r+ unswap-sqr
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down pow-exp prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv
Counts
4 → 103
Calls
4 calls:
5.0ms
(* (sqrt 2.0) t)
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x)))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x))))))

series254.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (sqrt 2.0) t)
54.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x)))))
18.0ms
(/ (pow t 2) x)
143.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (fabs l) (/ (fabs l) x))))))

simplify70.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05151047
12338972
25002969

prune428.0ms

Filtered
115 candidates to 81 candidates (70.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1141115
Fresh189
Picked011
Done000
Total11510125

Merged error: 3.7b

Counts
125 → 10

regimes452.0ms

Accuracy

75.5% (5.9b remaining)

Error of 9.4b 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
06761
16761

end0.0ms

sample2.0s

Algorithm
intervals
Results
497.0ms10006×body80nan
267.0ms5131×body80valid
206.0ms833×body1280valid
186.0ms971×body640valid
145.0ms603×body1280nan
115.0ms606×body640nan
100.0ms687×body320valid
46.0ms331×body320nan
40.0ms378×body160valid
17.0ms163×body160nan