Details

Time bar (total: 6.0s)

sample101.0ms

Algorithm
intervals
Results
26.0ms307×body80nan
12.0ms170×body80valid
8.0ms23×body1280valid
7.0ms28×body640valid
6.0ms23×body640nan
5.0ms16×body1280nan
4.0ms22×body320valid
2.0ms12×body320nan
2.0ms13×body160valid
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

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.5b

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.4b
(* (sqrt 2.0) t)
11.4b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
19.4b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite56.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:
16.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)
18.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)))

series362.0ms

Counts
4 → 12
Calls
4 calls:
93.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)
60.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
205.0ms
(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 (47.0ms)

IterNodesCost
04171207
120511099
250021094

prune205.0ms

Filtered
92 candidates to 65 candidates (29.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New87592
Fresh000
Picked101
Done000
Total88593

Merged error: 5.2b

Counts
93 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
4.3b
(/ (pow l 2) x)
9.0b
(/ (pow t 2) x)
27.2b
(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)))))

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

simplify63.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05261067
12113984
25001978

prune346.0ms

Filtered
142 candidates to 97 candidates (31.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1357142
Fresh134
Picked101
Done000
Total13710147

Merged error: 3.7b

Counts
147 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (pow t 2) (/ l (/ x l)))
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
9.0b
(/ (pow t 2) x)
27.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

rewrite42.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:
19.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))))))

series55.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (pow t 2) (/ l (/ x l)))
15.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
3.0ms
(/ (pow t 2) x)
28.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

prune237.0ms

Filtered
105 candidates to 75 candidates (28.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1041105
Fresh189
Picked101
Done000
Total1069115

Merged error: 3.7b

Counts
115 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
9.0b
(/ (pow t 2) x)
27.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

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

series64.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))
18.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
3.0ms
(/ (pow t 2) x)
28.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

prune191.0ms

Filtered
104 candidates to 74 candidates (28.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh088
Picked011
Done000
Total1049113

Merged error: 3.7b

Counts
113 → 9

regimes670.0ms

Accuracy

77.8% (5.3b remaining)

Error of 9.3b against oracle of 4.0b and baseline of 27.9b

bsearch301.0ms

Steps
ItersRangePoint
8
4.4584509504148254e+117
2.014988041744762e+122
1.6228677408638016e+118
9
1.3892617505236337e-172
2.151363062123758e-164
8.031907269212886e-169
9
3.0634523743229993e-208
7.58646068059608e-202
2.793709138460994e-206
10
-7.856438459997595e+162
-1.0865824750122417e+149
-1.0894808688690318e+153

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
082105
184105
284105

end0.0ms

sample2.9s

Algorithm
intervals
Results
688.0ms9992×body80nan
354.0ms5069×body80valid
303.0ms886×body1280valid
267.0ms997×body640valid
187.0ms566×body1280nan
160.0ms606×body640nan
132.0ms658×body320valid
67.0ms341×body320nan
51.0ms390×body160valid
26.0ms199×body160nan

Profiling

Loading profile data...