Details

Time bar (total: 8.4s)

sample82.0ms

Algorithm
intervals
Results
24.0ms295×body80nan
8.0ms169×body80valid
7.0ms29×body1280valid
5.0ms20×body1280nan
4.0ms21×body640valid
4.0ms19×body640nan
3.0ms18×body320valid
2.0ms19×body160valid
1.0ms10×body320nan
1.0msbody160nan

simplify100.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: 40.4b

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

rewrite71.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:
23.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))
21.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

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

simplify70.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04171207
120511099
250021094

prune315.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 6.2b

localize20.0ms

Local error

Found 4 expressions with local error:

4.5b
(/ (pow l 2) x)
5.0b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
7.9b
(/ (pow t 2) x)
25.7b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

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

series274.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05261067
12113984
25001978

prune469.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 4.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
5.0b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
7.9b
(/ (pow t 2) x)
25.7b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

rewrite26.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:
0.0ms
(cbrt x)
8.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
4.0ms
(/ (pow t 2) x)
11.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt x)
66.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
18.0ms
(/ (pow t 2) x)
159.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

simplify72.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05021312
121981195
250031187

prune424.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 4.8b

localize25.0ms

Local error

Found 4 expressions with local error:

7.9b
(/ (pow t 2) x)
7.9b
(/ (pow t 2) x)
25.7b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))
25.7b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

rewrite32.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:
4.0ms
(/ (pow t 2) x)
4.0ms
(/ (pow t 2) x)
11.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))
9.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

series352.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ (pow t 2) x)
21.0ms
(/ (pow t 2) x)
153.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))
158.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

simplify67.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04281612
117921510
250011504

prune641.0ms

Pruning

15 alts after pruning (12 fresh and 3 done)

Merged error: 4.8b

regimes562.0ms

Accuracy

77.2% (5.4b remaining)

Error of 9.4b against oracle of 4.1b and baseline of 27.7b

bsearch373.0ms

Steps
ItersRangePoint
2
4.258838753023189e+61
4.8864700944733366e+61
4.808016176792068e+61
7
-1.4478719089695824e-243
-3.729343639150035e-245
-9.1577416971198e-244
7
-5.388105193354488e-210
-3.2415088457474183e-211
-7.0895915203531395e-211
9
-2.884473285972568e+119
-1.203303521956221e+113
-3.093140357296897e+118

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065101
167101
267101

end0.0ms

sample2.0s

Algorithm
intervals
Results
472.0ms10064×body80nan
256.0ms5025×body80valid
224.0ms905×body1280valid
198.0ms1028×body640valid
140.0ms601×body1280nan
112.0ms622×body640nan
95.0ms654×body320valid
49.0ms364×body320nan
37.0ms388×body160valid
19.0ms185×body160nan