Details

Time bar (total: 8.2s)

sample90.0ms

Algorithm
intervals
Results
18.0ms337×body80nan
15.0ms160×body80valid
8.0ms35×body640valid
7.0ms27×body1280valid
5.0ms24×body640nan
5.0ms17×body1280nan
4.0ms23×body320valid
3.0ms17×body320nan
1.0ms11×body160valid
1.0ms10×body160nan

simplify87.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: 45.2b

localize20.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.3b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.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:
25.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))
24.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))))
40.0ms
(* (sqrt 2.0) t)
217.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

prune324.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 7.4b

localize18.0ms

Local error

Found 4 expressions with local error:

4.0b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
6.7b
(/ (pow l 2) x)
10.5b
(/ (pow t 2) x)
28.1b
(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 l 2) x)
5.0ms
(/ (pow t 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:
64.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
22.0ms
(/ (pow l 2) x)
19.0ms
(/ (pow t 2) x)
167.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 (50.0ms)

IterNodesCost
05261093
12235984
25001978

prune480.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
4.0b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
10.5b
(/ (pow t 2) x)
28.1b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

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

series283.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0478927
12222851
25002848

prune382.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.4b

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
4.0b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
10.5b
(/ (pow t 2) x)
28.1b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
23×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
21×add-exp-log
17×pow1
12×unpow-prod-down add-cbrt-cube
associate-*r/ pow-prod-down prod-exp cbrt-unprod associate-/l*
add-log-exp
flip3-+ sqrt-div frac-add flip-+ unpow2 sqr-pow
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 associate-*r* associate-*l* pow-exp clear-num sum-log *-commutative div-inv
Counts
4 → 103
Calls
4 calls:
22.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
4.0ms
(/ (pow t 2) x)
10.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

series292.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
65.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x)))))
18.0ms
(/ (pow t 2) x)
162.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* l (/ l x))))))

simplify71.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05291090
12367937
25001895

prune371.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 3.4b

regimes471.0ms

Accuracy

77.8% (5.3b remaining)

Error of 9.3b against oracle of 4.0b and baseline of 27.7b

bsearch492.0ms

Steps
ItersRangePoint
10
4.004698128300931e+101
6.850788834278051e+120
7.905755421666351e+116
9
1.4466336082644377e-172
2.9642073903192953e-167
2.9350109141003192e-167
10
1.9462428459118174e-233
6.595345726533069e-219
3.43051773656449e-229
7
-3.3952783159900906e+79
-1.663444366923187e+78
-3.244180928128228e+79

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075106
178106
281106
381106

end0.0ms

sample2.2s

Algorithm
intervals
Results
534.0ms10008×body80nan
285.0ms5103×body80valid
241.0ms884×body1280valid
216.0ms990×body640valid
154.0ms598×body1280nan
121.0ms586×body640nan
105.0ms677×body320valid
53.0ms350×body320nan
38.0ms346×body160valid
21.0ms209×body160nan