Details

Time bar (total: 10.1s)

sample122.0ms

Algorithm
intervals
Results
24.0ms346×body80nan
11.0ms158×body80valid
9.0ms31×body640valid
9.0ms25×body1280valid
8.0ms21×body1280nan
6.0ms28×body320valid
4.0ms14×body640nan
2.0ms14×body160valid
2.0msbody320nan
1.0msbody160nan

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

prune7.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: 45.0b

Counts
2 → 1

localize26.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.8b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.7b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite53.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))))
5.0ms
(* (sqrt 2.0) t)
13.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
15.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.8s

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

simplify60.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04171207
120511099
250021094

prune442.0ms

Filtered
92 candidates to 65 candidates (70.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New86692
Fresh000
Picked101
Done000
Total87693

Merged error: 6.9b

Counts
93 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

4.2b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
5.3b
(/ (pow l 2) x)
10.5b
(/ (pow t 2) x)
30.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

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

series263.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
17.0ms
(/ (pow l 2) x)
17.0ms
(/ (pow t 2) x)
163.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05261093
12235984
25001978

prune653.0ms

Filtered
142 candidates to 97 candidates (68.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1366142
Fresh055
Picked101
Done000
Total13711148

Merged error: 4.7b

Counts
148 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (* l (/ l x)))
4.2b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
10.5b
(/ (pow t 2) x)
30.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
23×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
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
Counts
4 → 92
Calls
4 calls:
4.0ms
(+ (pow t 2) (* l (/ l x)))
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (pow t 2) (* l (/ l x)))
63.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
18.0ms
(/ (pow t 2) x)
158.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0456938
12000858
25001855

prune495.0ms

Filtered
104 candidates to 75 candidates (72.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh01010
Picked011
Done000
Total10312115

Merged error: 4.7b

Counts
115 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))
4.2b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
10.5b
(/ (pow t 2) x)
30.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
23×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
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
Counts
4 → 92
Calls
4 calls:
4.0ms
(+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

series328.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))
75.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
22.0ms
(/ (pow t 2) x)
175.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04631308
119651213
250011210

prune466.0ms

Filtered
104 candidates to 75 candidates (72.1%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh01010
Picked011
Done011
Total10412116

Merged error: 4.7b

Counts
116 → 12

regimes929.0ms

Accuracy

73.5% (6.4b remaining)

Error of 10.1b against oracle of 3.8b and baseline of 27.8b

bsearch854.0ms

Steps
ItersRangePoint
9
1.2832663863885823e+67
1.1167984712290194e+73
8.587774942304218e+72
8
7.562549325905802e-235
4.7466464679971556e-231
1.2376519658544273e-234
10
4.226853022474509e-285
6.548260687977725e-269
4.920189609345376e-277
8
-1.4699562340631954e-183
-3.9551447328947164e-188
-1.0835356039182397e-185
10
-2.7910480023246697e-160
-1.4441076766830986e-171
-7.817054076582272e-169
6
-2.1168794742175983e-16
-3.4634588385797854e-17
-2.0938174274360673e-16

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
086130
186130

end0.0ms

sample2.9s

Algorithm
intervals
Results
683.0ms10043×body80nan
349.0ms5094×body80valid
303.0ms898×body1280valid
262.0ms984×body640valid
186.0ms557×body1280nan
151.0ms578×body640nan
133.0ms664×body320valid
62.0ms321×body320nan
49.0ms360×body160valid
22.0ms169×body160nan

Profiling

Loading profile data...