Details

Time bar (total: 8.8s)

sample66.0ms

Algorithm
intervals
Results
15.0ms267×body80nan
13.0ms120×body160valid
12.0ms136×body80valid

simplify126.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02910
15110
210710
329010
4105410
5444510
6500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ Om Omc) 2.0)
0.3b
(pow (/ t l) 2.0)
0.9b
(asin (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
9.5b
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
46×times-frac
38×*-un-lft-identity
32×add-cube-cbrt unpow-prod-down
30×sqrt-prod
12×difference-of-squares
10×add-exp-log
pow1
pow-unpow
sqr-pow
expm1-log1p-u pow-exp add-cbrt-cube log1p-expm1-u add-log-exp
div-inv distribute-lft-out--
pow-to-exp rem-sqrt-square pow-pow div-exp associate-/r/
asin-acos sqrt-pow1 flip3-+ pow1/2 sqrt-div flip-+
Counts
4 → 114
Calls
4 calls:
6.0ms
(pow (/ Om Omc) 2.0)
6.0ms
(pow (/ t l) 2.0)
1.0ms
(asin (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
42.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

series495.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(pow (/ Om Omc) 2.0)
61.0ms
(pow (/ t l) 2.0)
22.0ms
(asin (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
344.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
07091289
120871218
250011206

prune477.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 10.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (/ t l) 2.0)
0.3b
(/ (sqrt (- 1.0 (pow (/ Om Omc) 2.0))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))
0.9b
(asin (/ (sqrt (- 1.0 (pow (/ Om Omc) 2.0))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
9.3b
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
108×add-sqr-sqrt
95×sqrt-prod
82×times-frac
65×*-un-lft-identity
51×add-cube-cbrt
28×difference-of-squares
27×unpow-prod-down
11×associate-/l*
add-exp-log
sqr-pow
distribute-lft-out--
pow1 sqrt-div associate-/r* add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
flip3-+ div-exp pow-exp associate-/r/ flip-+ div-inv associate-/l/
cbrt-undiv pow-to-exp rem-sqrt-square asin-acos sqrt-undiv flip3-- pow-pow frac-2neg sqrt-pow1 pow1/2 clear-num flip--
Counts
4 → 159
Calls
4 calls:
6.0ms
(pow (/ t l) 2.0)
60.0ms
(/ (sqrt (- 1.0 (pow (/ Om Omc) 2.0))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))
1.0ms
(asin (/ (sqrt (- 1.0 (pow (/ Om Omc) 2.0))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
5.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

series610.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(pow (/ t l) 2.0)
346.0ms
(/ (sqrt (- 1.0 (pow (/ Om Omc) 2.0))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))
19.0ms
(asin (/ (sqrt (- 1.0 (pow (/ Om Omc) 2.0))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
184.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

simplify67.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
06382554
120442381
250012370

prune720.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 10.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ Om Omc) 2.0)
0.3b
(pow (/ t l) 2.0)
0.9b
(asin (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
9.5b
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
46×times-frac
38×*-un-lft-identity
32×add-cube-cbrt unpow-prod-down
30×sqrt-prod
12×difference-of-squares
10×add-exp-log
pow1
pow-unpow
sqr-pow
expm1-log1p-u pow-exp add-cbrt-cube log1p-expm1-u add-log-exp
div-inv distribute-lft-out--
pow-to-exp rem-sqrt-square pow-pow div-exp associate-/r/
asin-acos sqrt-pow1 flip3-+ pow1/2 sqrt-div flip-+
Counts
4 → 114
Calls
4 calls:
6.0ms
(pow (/ Om Omc) 2.0)
6.0ms
(pow (/ t l) 2.0)
1.0ms
(asin (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
41.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

series485.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(pow (/ Om Omc) 2.0)
61.0ms
(pow (/ t l) 2.0)
19.0ms
(asin (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
341.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
07091289
120871218
250011206

prune464.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 10.4b

localize17.0ms

Local error

Found 4 expressions with local error:

5.5b
(sqrt (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
5.5b
(sqrt (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
9.5b
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))
9.5b
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
190×sqrt-prod
164×add-sqr-sqrt
112×times-frac
78×*-un-lft-identity
54×add-cube-cbrt
48×difference-of-squares
24×unpow-prod-down
12×distribute-lft-out-- sqr-pow
10×pow1 rem-sqrt-square sqrt-pow1
associate-/r/
pow1/2 sqrt-div
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u div-inv add-log-exp
Counts
4 → 188
Calls
4 calls:
42.0ms
(sqrt (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
42.0ms
(sqrt (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
38.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))
41.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

series1.4s

Counts
4 → 12
Calls
4 calls:
364.0ms
(sqrt (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
358.0ms
(sqrt (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
338.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))
343.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

simplify115.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
04213392
19453320
235693300
350033266

prune965.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 10.4b

regimes565.0ms

Accuracy

0% (0.1b remaining)

Error of 10.3b against oracle of 10.3b and baseline of 10.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810

end0.0ms

sample1.7s

Algorithm
intervals
Results
462.0ms8125×body80nan
432.0ms3825×body160valid
240.0ms4175×body80valid