Details

Time bar (total: 8.1s)

sample83.0ms

Algorithm
intervals
Results
23.0ms296×body80nan
8.0ms32×body1280valid
8.0ms38×body640valid
8.0ms150×body80valid
4.0ms27×body320valid
4.0ms15×body1280nan
3.0ms17×body640nan
1.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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.7b

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

rewrite76.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:
31.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
6.0ms
(* (sqrt 2.0) t)
13.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
23.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

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

simplify62.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04171207
120511099
250021094

prune311.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.7b

localize21.0ms

Local error

Found 4 expressions with local error:

2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
8.1b
(/ (pow t 2) x)
9.0b
(/ (pow l 2) x)
25.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

rewrite33.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))))
4.0ms
(/ (pow t 2) x)
4.0ms
(/ (pow l 2) x)
10.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:
68.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
18.0ms
(/ (pow t 2) x)
18.0ms
(/ (pow l 2) x)
166.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

prune476.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 2.8b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
8.1b
(/ (pow t 2) x)
25.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
24×times-frac
12×unpow-prod-down
11×add-exp-log
associate-*r/ add-cbrt-cube associate-/l*
pow1 sqrt-prod
associate-*l* add-log-exp
flip3-+ sqrt-div frac-add flip-+ unpow2 sqr-pow
div-exp associate-*r* associate-/r*
associate-+r+ unswap-sqr
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down pow-exp prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv
Counts
4 → 103
Calls
4 calls:
5.0ms
(* (sqrt 2.0) t)
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
4.0ms
(/ (pow t 2) x)
10.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

series299.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sqrt 2.0) t)
69.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
18.0ms
(/ (pow t 2) x)
166.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04801048
12213963
25001954

prune410.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 2.8b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
8.1b
(/ (pow t 2) x)
25.2b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

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

series285.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))
68.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
18.0ms
(/ (pow t 2) x)
165.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04561007
11866930
25002921

prune400.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.8b

regimes468.0ms

Accuracy

77% (5.6b remaining)

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

bsearch510.0ms

Steps
ItersRangePoint
9
2.6592769027754192e+135
1.8532783499538848e+143
6.267327751717996e+139
10
-9.778626965008135e-213
-8.210541992257955e-227
-6.217242775864516e-226
8
-3.4565761880404586e-184
-1.638967951047052e-187
-4.70769518927892e-185
9
-5.238527690656741e+86
-6.309199235252727e+80
-2.2617564443378798e+83

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089126
189126

end0.0ms

sample2.1s

Algorithm
intervals
Results
480.0ms9975×body80nan
257.0ms4996×body80valid
219.0ms854×body1280valid
198.0ms1028×body640valid
150.0ms605×body1280nan
116.0ms623×body640nan
106.0ms726×body320valid
47.0ms331×body320nan
38.0ms396×body160valid
17.0ms179×body160nan