Details

Time bar (total: 7.9s)

sample75.0ms

Algorithm
intervals
Results
15.0ms276×body80nan
9.0ms42×body640valid
8.0ms147×body80valid
8.0ms31×body1280valid
4.0ms14×body1280nan
4.0ms24×body320valid
3.0ms15×body640nan
1.0ms12×body160valid
1.0msbody320nan
1.0msbody160nan

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

prune14.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: 44.8b

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)
14.6b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
18.8b
(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:
429.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
39.0ms
(* (sqrt 2.0) t)
214.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
04171207
120511099
250021094

prune287.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: 6.4b

Counts
93 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
7.6b
(/ (pow l 2) x)
10.3b
(/ (pow t 2) x)
27.5b
(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)))))

series268.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05261093
12235984
25001978

prune426.0ms

Filtered
142 candidates to 97 candidates (68.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New13210142
Fresh134
Picked101
Done000
Total13413147

Merged error: 3.7b

Counts
147 → 13

localize22.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (pow t 2) (* l (/ l x)))
3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
10.3b
(/ (pow t 2) x)
27.5b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

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

series280.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (pow t 2) (* l (/ l x)))
66.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))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0456938
12000858
25001855

prune312.0ms

Filtered
104 candidates to 74 candidates (71.2%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1022104
Fresh11112
Picked011
Done000
Total10314117

Merged error: 3.7b

Counts
117 → 14

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (pow t 2) (/ l (/ x l)))
3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
10.3b
(/ (pow t 2) x)
27.5b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

rewrite48.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:
23.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))))))

series279.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (pow t 2) (/ l (/ x l)))
66.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
18.0ms
(/ (pow t 2) x)
162.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
25002859

prune266.0ms

Filtered
105 candidates to 75 candidates (71.4%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh01212
Picked011
Done011
Total10514119

Merged error: 3.7b

Counts
119 → 14

regimes644.0ms

Accuracy

75.9% (5.6b remaining)

Error of 9.6b against oracle of 4.0b and baseline of 27.3b

bsearch481.0ms

Steps
ItersRangePoint
10
8.080361795648996e+113
9.444791583695139e+125
1.0129885136066577e+120
7
6.604386851469226e-290
1.0414459619351038e-287
7.335765889311208e-290
10
-3.981060198628893e-302
5.4468660893141494e-304
5.380647169889281e-304
8
-1.4947697976536127e+105
-4.072858663264593e+102
-1.0993530493582173e+103

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07582
17782
27782

end0.0ms

sample2.2s

Algorithm
intervals
Results
525.0ms10141×body80nan
268.0ms5032×body80valid
235.0ms903×body1280valid
207.0ms1030×body640valid
162.0ms628×body1280nan
119.0ms605×body640nan
104.0ms687×body320valid
49.0ms334×body320nan
37.0ms348×body160valid
20.0ms173×body160nan