Details

Time bar (total: 9.2s)

sample133.0ms

Algorithm
intervals
Results
24.0ms330×body80nan
11.0ms153×body80valid
10.0ms37×body640valid
9.0ms25×body1280valid
7.0ms21×body1280nan
6.0ms31×body320valid
6.0ms22×body640nan
2.0msbody320nan
2.0ms10×body160valid
0.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 42.6b

Counts
2 → 1

localize18.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)
15.1b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
17.5b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite49.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)
12.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)))

series348.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04171207
120511099
250021094

prune409.0ms

Filtered
92 candidates to 65 candidates (29.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New86692
Fresh000
Picked101
Done000
Total87693

Merged error: 7.1b

Counts
93 → 6

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))))
7.1b
(/ (pow l 2) x)
8.8b
(/ (pow t 2) x)
27.3b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

rewrite31.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:
8.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
7.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)))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
14.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)
24.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 (50.0ms)

IterNodesCost
05261067
12113984
25001978

prune1.5s

Filtered
142 candidates to 97 candidates (31.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1357142
Fresh145
Picked101
Done000
Total13711148

Merged error: 5.0b

Counts
148 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (/ l (/ x l)))
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
8.8b
(/ (pow t 2) x)
27.3b
(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)))
8.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))))))

series53.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0453932
11835862
25001859

prune848.0ms

Filtered
105 candidates to 75 candidates (28.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1041105
Fresh01010
Picked011
Done000
Total10412116

Merged error: 5.0b

Counts
116 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
8.8b
(/ (pow t 2) x)
27.3b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs 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) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
8.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

series66.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
16.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
3.0ms
(/ (pow t 2) x)
35.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05031467
121091364
250011361

prune856.0ms

Filtered
104 candidates to 76 candidates (26.9%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh01010
Picked011
Done011
Total10412116

Merged error: 5.0b

Counts
116 → 12

regimes888.0ms

Accuracy

75.6% (5.9b remaining)

Error of 9.4b against oracle of 3.6b and baseline of 27.6b

bsearch454.0ms

Steps
ItersRangePoint
7
170944420.23003155
31758135781.48978
31249790725.70835
5
-1.1969216870013192e-226
-5.357956737431025e-227
-1.060573853885792e-226
7
-2.0333243807409097e-166
-6.306664583020209e-168
-9.115719210485137e-167
9
-1.6051477223929174e+78
-1.9952384834306187e+70
-3.9137323456954534e+75

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06187
16387
26387

end0.0ms

sample3.0s

Algorithm
intervals
Results
704.0ms10150×body80nan
357.0ms5109×body80valid
299.0ms881×body1280valid
281.0ms1039×body640valid
208.0ms626×body1280nan
165.0ms630×body640nan
127.0ms601×body320valid
68.0ms341×body320nan
53.0ms370×body160valid
24.0ms179×body160nan

Profiling

Loading profile data...