Details

Time bar (total: 7.9s)

sample101.0ms

Algorithm
intervals
Results
20.0ms299×body80nan
13.0ms38×body1280valid
11.0ms166×body80valid
8.0ms12×body320nan
8.0ms29×body640valid
7.0ms22×body1280nan
6.0ms22×body640nan
2.0ms11×body320valid
2.0ms12×body160valid
1.0msbody160nan

simplify89.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: 42.2b

Counts
2 → 1

localize25.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)
14.9b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
20.1b
(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:
422.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
40.0ms
(* (sqrt 2.0) t)
211.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)))

simplify63.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04171208
120511099
250021094

prune293.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: 7.1b

Counts
93 → 6

localize16.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))))
7.4b
(/ (pow l 2) x)
9.3b
(/ (pow t 2) x)
27.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)
7.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))))
18.0ms
(/ (pow l 2) x)
24.0ms
(/ (pow t 2) x)
156.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

prune421.0ms

Filtered
142 candidates to 97 candidates (68.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1357142
Fresh055
Picked101
Done000
Total13612148

Merged error: 4.9b

Counts
148 → 12

localize19.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)))))
9.3b
(/ (pow t 2) x)
27.3b
(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:
5.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))))))

series281.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0456925
11936858
25001855

prune315.0ms

Filtered
104 candidates to 75 candidates (72.1%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh01111
Picked011
Done000
Total10313116

Merged error: 4.9b

Counts
116 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
4.2b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
9.3b
(/ (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)))))))

rewrite32.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:
5.0ms
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
9.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)))))))

series290.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
66.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
22.0ms
(/ (pow t 2) x)
156.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04991468
121151360
250021357

prune340.0ms

Filtered
104 candidates to 77 candidates (74.0%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh01111
Picked011
Done011
Total10314117

Merged error: 4.9b

Counts
117 → 14

regimes471.0ms

Accuracy

78.4% (5.2b remaining)

Error of 9.1b against oracle of 3.9b and baseline of 28.0b

bsearch114.0ms

Steps
ItersRangePoint
7
2.428002561672062e+78
5.363859432985812e+80
1.1269602960894555e+80
1
-4.3651366941439665e+140
-3.967062851698274e+140
-4.066581312309697e+140

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06057
16057

end0.0ms

sample2.7s

Algorithm
intervals
Results
673.0ms9985×body80nan
348.0ms5101×body80valid
302.0ms909×body1280valid
259.0ms989×body640valid
197.0ms597×body1280nan
160.0ms616×body640nan
125.0ms631×body320valid
68.0ms326×body320nan
48.0ms370×body160valid
25.0ms200×body160nan

Profiling

Loading profile data...