Details

Time bar (total: 8.3s)

sample106.0ms

Algorithm
intervals
Results
19.0ms286×body80nan
18.0ms20×body640nan
12.0ms169×body80valid
9.0ms28×body1280valid
7.0ms22×body1280nan
7.0ms28×body640valid
4.0ms18×body320valid
3.0ms15×body320nan
2.0ms13×body160valid
1.0msbody160nan

simplify90.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: 43.4b

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)
9.9b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
23.2b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite62.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:
24.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))
16.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

Counts
4 → 12
Calls
4 calls:
433.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
45.0ms
(* (sqrt 2.0) t)
216.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
1.2s
(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

prune301.0ms

Filtered
92 candidates to 65 candidates (70.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New87592
Fresh000
Picked101
Done000
Total88593

Merged error: 4.3b

Counts
93 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

4.5b
(/ (pow l 2) x)
5.1b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
8.4b
(/ (pow t 2) x)
28.9b
(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:
5.0ms
(/ (pow l 2) x)
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (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)))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (pow l 2) x)
67.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
18.0ms
(/ (pow t 2) x)
168.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 (50.0ms)

IterNodesCost
05261093
12235984
25001978

prune448.0ms

Filtered
142 candidates to 97 candidates (68.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1366142
Fresh044
Picked101
Done000
Total13710147

Merged error: 3.2b

Counts
147 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (pow t 2) (* l (/ l x)))
5.1b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
8.4b
(/ (pow t 2) x)
28.9b
(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))))))

series283.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0456925
11936858
25003855

prune324.0ms

Filtered
104 candidates to 75 candidates (72.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh099
Picked011
Done000
Total10311114

Merged error: 3.2b

Counts
114 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (pow t 2) (/ l (/ x l)))
5.1b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
8.4b
(/ (pow t 2) x)
28.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:
20.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))))))

series284.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0453932
11835862
25001859

prune298.0ms

Filtered
105 candidates to 76 candidates (72.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh099
Picked011
Done011
Total10511116

Merged error: 3.2b

Counts
116 → 11

regimes510.0ms

Accuracy

77.1% (5.5b remaining)

Error of 9.5b against oracle of 4.0b and baseline of 28.1b

bsearch391.0ms

Steps
ItersRangePoint
4
7.074877190395476e+115
1.3362163214547356e+116
1.0037408492812058e+116
5
5.407921931866727e-177
1.1047469913190166e-176
5.59843251304077e-177
7
3.7199243795292364e-243
1.2290871447370785e-241
5.085752571476383e-242
9
-1.5975468533931547e+66
-1.1037471309609089e+61
-2.201229618807778e+64

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06992
17292
27592
37592

end0.0ms

sample2.6s

Algorithm
intervals
Results
688.0ms10106×body80nan
349.0ms5123×body80valid
275.0ms842×body1280valid
266.0ms1049×body640valid
194.0ms606×body1280nan
154.0ms610×body640nan
120.0ms616×body320valid
70.0ms352×body320nan
47.0ms370×body160valid
21.0ms164×body160nan

Profiling

Loading profile data...