Details

Time bar (total: 10.7s)

sample86.0ms

Algorithm
intervals
Results
24.0ms124×body160valid
22.0ms263×body80nan
12.0ms132×body80valid

simplify170.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02910
15110
210710
329010
4105410
5444510
6500110

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.7b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

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

series613.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(pow (/ Om Omc) 2.0)
218.0ms
(/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
16.0ms
(asin (sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))
318.0ms
(sqrt (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06501948
120761846
250011827

prune739.0ms

Filtered
150 candidates to 123 candidates (82.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 9.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (/ Om Omc) 2.0)
0.3b
(/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
0.6b
(asin (sqrt (expm1 (log1p (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
8.7b
(sqrt (expm1 (log1p (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
37×times-frac
34×*-un-lft-identity
26×add-cube-cbrt
21×unpow-prod-down
16×difference-of-squares
add-exp-log
associate-/l*
pow1 add-cbrt-cube
sqr-pow
expm1-log1p-u log1p-expm1-u distribute-lft-out-- add-log-exp
pow-unpow associate-/r* sqrt-prod
div-exp pow-exp associate-/r/ div-inv associate-/l/
cbrt-undiv pow-to-exp rem-sqrt-square asin-acos flip3-- pow-pow frac-2neg sqrt-pow1 flip3-+ pow1/2 div-sub clear-num flip-- flip-+
Counts
4 → 109
Calls
4 calls:
4.0ms
(pow (/ Om Omc) 2.0)
53.0ms
(/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
0.0ms
(asin (sqrt (expm1 (log1p (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
1.0ms
(sqrt (expm1 (log1p (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))))

series1.3s

Counts
4 → 12
Calls
4 calls:
60.0ms
(pow (/ Om Omc) 2.0)
214.0ms
(/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
21.0ms
(asin (sqrt (expm1 (log1p (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
987.0ms
(sqrt (expm1 (log1p (/ (- 1.0 (pow (/ Om Omc) 2.0)) (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06331423
121041328
250011321

prune556.0ms

Filtered
121 candidates to 100 candidates (82.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 9.7b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(asin (sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))))))
8.7b
(sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
8.7b
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
8.7b
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
flip3-+ flip-+
asin-acos
Counts
4 → 59
Calls
4 calls:
0.0ms
(asin (sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))))))
1.0ms
(sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
3.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
3.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

series1.4s

Counts
4 → 12
Calls
4 calls:
23.0ms
(asin (sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0)))))))))
988.0ms
(sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
180.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
182.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

simplify93.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0320948
1877889
23646889
35002886

prune391.0ms

Filtered
71 candidates to 62 candidates (87.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 9.7b

localize25.0ms

Local error

Found 4 expressions with local error:

8.7b
(sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (* (fabs (cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
8.7b
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
15.7b
(cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
15.7b
(cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ flip-+
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 sqrt-div
Counts
4 → 62
Calls
4 calls:
1.0ms
(sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (* (fabs (cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
3.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
2.0ms
(cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
2.0ms
(cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

series2.0s

Counts
4 → 12
Calls
4 calls:
1.3s
(sqrt (expm1 (log1p (/ (/ (- 1.0 (pow (/ Om Omc) 2.0)) (* (fabs (cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))) (sqrt (cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))) (sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))))))
184.0ms
(sqrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
253.0ms
(cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))
252.0ms
(cbrt (+ 1.0 (* 2.0 (pow (/ t l) 2.0))))

simplify42.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03661001
11122947
25001939

prune518.0ms

Filtered
74 candidates to 70 candidates (94.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 9.7b

regimes726.0ms

Accuracy

0% (0.1b remaining)

Error of 10.7b against oracle of 10.6b and baseline of 10.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02727
12727

end0.0ms

sample1.7s

Algorithm
intervals
Results
481.0ms8082×body80nan
464.0ms3856×body160valid
256.0ms4144×body80valid