Details

Time bar (total: 11.7s)

sample106.0ms

Algorithm
intervals
Results
21.0ms336×body80nan
15.0ms35×body640valid
11.0ms160×body80valid
11.0ms33×body1280nan
7.0ms22×body1280valid
5.0ms21×body640nan
5.0ms25×body320valid
2.0ms14×body160valid
2.0msbody320nan
1.0ms10×body160nan

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.2b

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

rewrite151.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:
54.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
11.0ms
(* (sqrt 2.0) t)
29.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
51.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.7s

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

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04171207
120511099
250021094

prune612.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.3b

localize17.0ms

Local error

Found 4 expressions with local error:

3.0b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
5.5b
(/ (pow l 2) x)
6.8b
(/ (pow t 2) x)
24.5b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

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

series247.0ms

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

IterNodesCost
05261067
12113984
25001978

prune782.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.4b

localize24.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
3.0b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
6.8b
(/ (pow t 2) x)
24.5b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

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

series433.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(cbrt x)
77.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))))))
17.0ms
(/ (pow t 2) x)
166.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 (49.0ms)

IterNodesCost
04661181
120361073
250021065

prune892.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 4.4b

localize29.0ms

Local error

Found 4 expressions with local error:

6.8b
(/ (pow t 2) x)
6.8b
(/ (pow t 2) x)
24.5b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))
24.5b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
42×add-sqr-sqrt
40×add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
16×associate-/l*
14×add-exp-log
sqrt-div associate-*r/ add-cbrt-cube unpow2 sqr-pow
pow1 div-exp associate-/r* sqrt-prod
flip3-+ frac-add flip-+ add-log-exp
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-exp clear-num div-inv
Counts
4 → 132
Calls
4 calls:
8.0ms
(/ (pow t 2) x)
12.0ms
(/ (pow t 2) x)
16.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))
17.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

series372.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (pow t 2) x)
23.0ms
(/ (pow t 2) x)
163.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))
169.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x)))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03891444
116391356
250011350

prune2.0s

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 4.4b

regimes542.0ms

Accuracy

77.4% (5.4b remaining)

Error of 9.4b against oracle of 4.0b and baseline of 27.9b

bsearch645.0ms

Steps
ItersRangePoint
8
1.3042304055179703e+94
3.950939194776731e+96
3.127374224692484e+94
10
1.1200479248291668e-155
8.021928499612576e-146
1.134979313002666e-155
8
1.2050335798233843e-229
1.47940694473299e-226
2.7018349819747363e-228
8
-1.6637674008041316e+41
-5.9303587624045785e+38
-1.5387064518011545e+41

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06892
17392
27692
37692

end0.0ms

sample2.6s

Algorithm
intervals
Results
647.0ms10046×body80nan
347.0ms5111×body80valid
299.0ms896×body1280valid
259.0ms998×body640valid
190.0ms580×body1280nan
163.0ms636×body640nan
119.0ms617×body320valid
65.0ms353×body320nan
48.0ms378×body160valid
24.0ms196×body160nan