Details

Time bar (total: 9.7s)

sample2.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 43.75%

Guaranteed chance to sample good point: 36.458333%

Results
12.0ms166×body80valid
11.0ms25×body1280nan
9.0ms26×body1280valid
9.0ms32×body640valid
5.0ms20×body640nan
5.0ms24×body320valid
3.0ms50×body80nan
2.0ms11×body320nan
1.0msbody160nan
1.0msbody160valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 44.6b

Counts
2 → 1

localize16.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)
12.1b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.8b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite50.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:
19.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)
12.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
12.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series348.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
4.0ms
(* (sqrt 2.0) t)
56.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
194.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

simplify58.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04171207
120511099
250021094

prune215.0ms

Filtered
65 candidates to 92 candidates (-41.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New86692
Fresh000
Picked101
Done000
Total87693

Merged error: 4.1b

Counts
93 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
5.4b
(/ (pow l 2) x)
11.3b
(/ (pow t 2) x)
29.9b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

rewrite32.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:
11.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)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

series46.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
3.0ms
(/ (pow l 2) x)
3.0ms
(/ (pow t 2) x)
25.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05261067
12113984
25001978

prune384.0ms

Filtered
97 candidates to 142 candidates (-46.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1357142
Fresh055
Picked101
Done000
Total13612148

Merged error: 3.0b

Counts
148 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
11.3b
(/ (pow t 2) x)
29.9b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

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) (/ l (/ x l)))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

series49.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (sqrt 2.0) t)
15.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
3.0ms
(/ (pow t 2) x)
27.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0477917
12140851
25001848

prune280.0ms

Filtered
80 candidates to 115 candidates (-43.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1123115
Fresh2911
Picked101
Done000
Total11512127

Merged error: 3.0b

Counts
127 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (pow t 2) (/ l (/ x l)))
3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
11.3b
(/ (pow t 2) x)
29.9b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity times-frac
23×add-sqr-sqrt
22×add-cube-cbrt
12×unpow-prod-down
add-exp-log
associate-*r/ associate-/l* add-log-exp
add-cbrt-cube
pow1 flip3-+ flip-+
sqrt-div frac-add unpow2 sqr-pow
div-exp associate-/r* sqrt-prod
+-commutative associate-+r+ sum-log
cbrt-undiv distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-exp clear-num div-inv distribute-lft-out
Counts
4 → 93
Calls
4 calls:
21.0ms
(+ (pow t 2) (/ l (/ x l)))
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

series52.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (pow t 2) (/ l (/ x l)))
14.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
3.0ms
(/ (pow t 2) x)
25.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

simplify55.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0453932
11835862
25001859

prune311.0ms

Filtered
76 candidates to 105 candidates (-38.2%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh01111
Picked011
Done000
Total10314117

Merged error: 3.0b

Counts
117 → 14

regimes788.0ms

Accuracy

77.1% (5.5b remaining)

Error of 9.0b against oracle of 3.5b and baseline of 27.5b

bsearch117.0ms

Steps
ItersRangePoint
7
1.304297190455883e+88
4.0578969142307515e+89
6.1818169122754946e+88
6
-1.7808041198503912e+86
-3.438105017121717e+85
-1.3966866900389786e+86

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06564
16564

end0.0ms

sample4.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 43.75%

Guaranteed chance to sample good point: 36.458333%

Results
382.0ms5142×body80valid
302.0ms888×body1280valid
263.0ms954×body640valid
199.0ms567×body1280nan
165.0ms626×body640nan
133.0ms641×body320valid
104.0ms1450×body80nan
68.0ms340×body320nan
56.0ms375×body160valid
33.0ms218×body160nan

Profiling

Loading profile data...