Details

Time bar (total: 8.0s)

sample86.0ms

Algorithm
intervals
Results
15.0ms316×body80nan
8.0ms166×body80valid
7.0ms28×body1280valid
5.0ms28×body640valid
4.0ms19×body1280nan
4.0ms22×body640nan
3.0ms22×body320valid
1.0ms12×body160valid
1.0msbody320nan
1.0msbody160nan

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.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.4b
(* (sqrt 2.0) t)
11.1b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.9b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite150.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:
55.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
10.0ms
(* (sqrt 2.0) t)
30.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:
384.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)
194.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 (48.0ms)

IterNodesCost
04171207
120511099
250021094

prune298.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.1b

localize17.0ms

Local error

Found 4 expressions with local error:

3.4b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
5.6b
(/ (pow l 2) x)
12.4b
(/ (pow t 2) x)
28.4b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

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

series238.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
16.0ms
(/ (pow l 2) x)
21.0ms
(/ (pow t 2) x)
144.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05261093
12235984
25001978

prune440.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (/ l (/ x l)))
3.4b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
12.4b
(/ (pow t 2) x)
28.4b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

rewrite84.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:
33.0ms
(+ (pow t 2) (/ l (/ x l)))
18.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
11.0ms
(/ (pow t 2) x)
17.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

series249.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (pow t 2) (/ l (/ x l)))
60.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
16.0ms
(/ (pow t 2) x)
143.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0453932
11835862
25002859

prune335.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.5b

localize21.0ms

Local error

Found 4 expressions with local error:

12.4b
(/ (pow t 2) x)
12.4b
(/ (pow t 2) x)
29.3b
(cbrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))
29.3b
(cbrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

rewrite46.0ms

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

series425.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (pow t 2) x)
24.0ms
(/ (pow t 2) x)
190.0ms
(cbrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))
194.0ms
(cbrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

simplify52.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04201242
115661142
250011130

prune560.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.5b

regimes362.0ms

Accuracy

73.1% (6.2b remaining)

Error of 10.1b against oracle of 3.8b and baseline of 27.0b

bsearch421.0ms

Steps
ItersRangePoint
7
6.479939410614873e-14
1.2721555105312937e-12
8.411759803835314e-13
10
-4.1500206252520486e-243
-5.7207616758617186e-254
-3.6355688622973884e-245
7
-4.650271632616837e-211
-1.5293855688601356e-212
-3.1632440802964226e-211
7
-2.1718261933898202e+86
-8.928942295002738e+84
-2.0601772131107726e+86

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06382
16582
26582

end0.0ms

sample2.2s

Algorithm
intervals
Results
484.0ms9994×body80nan
264.0ms5063×body80valid
209.0ms881×body1280valid
191.0ms993×body640valid
134.0ms590×body1280nan
113.0ms639×body640nan
99.0ms699×body320valid
45.0ms338×body320nan
35.0ms364×body160valid
17.0ms187×body160nan