Details

Time bar (total: 8.2s)

sample84.0ms

Algorithm
intervals
Results
25.0ms308×body80nan
9.0ms174×body80valid
6.0ms30×body640valid
6.0ms22×body1280valid
5.0ms18×body1280nan
4.0ms18×body640nan
3.0ms21×body320valid
2.0ms10×body320nan
1.0msbody160valid
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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.9b

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

rewrite58.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))))
5.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)))

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))))
43.0ms
(* (sqrt 2.0) t)
213.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)))

simplify60.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04171208
120511099
250021094

prune293.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.4b

localize16.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))))
5.5b
(/ (pow l 2) x)
10.0b
(/ (pow t 2) x)
28.7b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

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

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

simplify62.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05261067
12113984
25001978

prune433.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.5b

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
10.0b
(/ (pow t 2) x)
28.7b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt times-frac
23×add-cube-cbrt *-un-lft-identity
12×unpow-prod-down
add-exp-log
associate-*r/ associate-/l*
add-cbrt-cube add-log-exp
pow1
flip3-+ sqrt-div frac-add flip-+ unpow2 sqr-pow
cbrt-prod div-exp associate-/r* sqrt-prod
associate-+r+
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow1/3 pow-exp clear-num sum-log div-inv
Counts
4 → 92
Calls
4 calls:
1.0ms
(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)))))))

series455.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(cbrt x)
82.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
18.0ms
(/ (pow t 2) x)
179.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04661168
119811076
250011068

prune386.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 3.5b

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (* (* (cbrt (cbrt x)) (cbrt (cbrt x))) (cbrt (cbrt x))))))))
10.0b
(/ (pow t 2) x)
28.7b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (* (* (cbrt (cbrt x)) (cbrt (cbrt x))) (cbrt (cbrt x)))))))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt times-frac
23×add-cube-cbrt *-un-lft-identity
12×unpow-prod-down
add-exp-log
associate-*r/ associate-/l*
add-cbrt-cube add-log-exp
pow1
flip3-+ sqrt-div frac-add flip-+ unpow2 sqr-pow
cbrt-prod div-exp associate-/r* sqrt-prod
associate-+r+
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow1/3 pow-exp clear-num sum-log div-inv
Counts
4 → 92
Calls
4 calls:
1.0ms
(cbrt x)
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (* (* (cbrt (cbrt x)) (cbrt (cbrt x))) (cbrt (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 (cbrt x)) (cbrt (cbrt x))) (cbrt (cbrt x)))))))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(cbrt x)
84.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (* (* (cbrt (cbrt x)) (cbrt (cbrt x))) (cbrt (cbrt x))))))))
18.0ms
(/ (pow t 2) x)
185.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (* (* (cbrt (cbrt x)) (cbrt (cbrt x))) (cbrt (cbrt x)))))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04711581
120251465
250011451

prune410.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 3.5b

regimes443.0ms

Accuracy

74.2% (6.0b remaining)

Error of 9.7b against oracle of 3.7b and baseline of 27.1b

bsearch434.0ms

Steps
ItersRangePoint
9
6.5674376860864575e+41
3.160563175756606e+48
2.439864779519815e+48
5
2.5314598921169833e-163
7.493051701410122e-163
6.30041024948343e-163
9
-6.02957645582761e-302
-2.832827517419726e-308
-2.8785002221205043e-308
9
-3.8796894483799902e+115
-4.972566247523887e+110
-2.4044001424157714e+115

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
072102
175102
278102
378102

end0.0ms

sample2.1s

Algorithm
intervals
Results
514.0ms10071×body80nan
273.0ms5079×body80valid
227.0ms878×body1280valid
201.0ms1007×body640valid
156.0ms587×body1280nan
120.0ms600×body640nan
99.0ms666×body320valid
52.0ms355×body320nan
39.0ms370×body160valid
18.0ms187×body160nan