Details

Time bar (total: 0.0hr)

sample0.0hr

Algorithm
intervals
Results
0.0hr203×body80valid
0.0hr19×body2560valid
0.0hr20×body1280valid
0.0hr256×pre80true
0.0hrbody640valid
0.0hrbody320valid
0.0hrbody160valid

simplify0.0hr

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0hr)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune0.0hr

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.2b

Counts
2 → 1

localize0.0hr

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
18×times-frac
16×sqrt-prod
pow1
add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
sqrt-pow1 associate-/l*
pow1/2 associate-*r/ associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg div-exp pow-prod-down clear-num sum-log div-inv distribute-lft-out
Counts
4 → 81
Calls
4 calls:
0.0hr
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.0hr
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.0hr
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.0hr
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.0hr
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify0.0hr

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (0.0hr)

IterNodesCost
0280888
1816840
22486828
35001827

prune0.0hr

Filtered
93 candidates to 71 candidates (23.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New831093
Fresh000
Picked101
Done000
Total841094

Merged error: 11.0b

Counts
94 → 10

localize0.0hr

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.4b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×associate-*r*
22×times-frac
21×*-un-lft-identity
19×add-cube-cbrt
15×sqrt-prod
13×add-exp-log
10×pow1
add-cbrt-cube
sqrt-div add-log-exp
unswap-sqr
flip3-+ prod-exp flip-+
sqrt-pow1 associate-*r/ associate-*l*
pow1/2 div-exp pow-prod-down associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rem-sqrt-square rec-exp 1-exp sum-log un-div-inv *-commutative div-inv
Counts
4 → 88
Calls
4 calls:
0.0hr
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
0.0hr
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.0hr
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))
0.0hr
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.0hr
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify0.0hr

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0390903
11699818
25001784

prune0.0hr

Filtered
100 candidates to 71 candidates (29.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New946100
Fresh369
Picked101
Done000
Total9812110

Merged error: 11.0b

Counts
110 → 12

localize0.0hr

Local error

Found 4 expressions with local error:

0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.3b
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
2.4b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
23×*-un-lft-identity
22×times-frac
21×add-cube-cbrt
15×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
add-log-exp
log-pow unswap-sqr
exp-prod sqrt-div prod-exp
log-prod flip3-+ associate-*l* flip-+
div-exp associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ rem-log-exp pow-prod-down sum-log un-div-inv *-commutative div-inv
Counts
4 → 91
Calls
4 calls:
0.0hr
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.0hr
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
0.0hr
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.0hr
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
0.0hr
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify0.0hr

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0399962
11650851
25002816

prune0.0hr

Filtered
103 candidates to 76 candidates (26.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9310103
Fresh9211
Picked101
Done000
Total10312115

Merged error: 11.0b

Counts
115 → 12

localize0.0hr

Local error

Found 4 expressions with local error:

1.8b
(log (log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))))
2.3b
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
2.4b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
11×log-prod log-pow
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 exp-prod
add-log-exp
add-exp-log sqrt-prod
add-cbrt-cube
flip3-+ sqrt-div rem-log-exp flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 59
Calls
4 calls:
0.0hr
(log (log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))))
0.0hr
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
0.0hr
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(log (log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))))
0.0hr
(log (exp (sqrt (* 0.5 (+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))))))
0.0hr
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
0.0hr
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify0.0hr

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (0.0hr)

IterNodesCost
0267855
1729738
22550736
35002735

prune0.0hr

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New69271
Fresh6511
Picked011
Done000
Total75883

Merged error: 5.5b

Counts
83 → 8

regimes0.0hr

Accuracy

-10.9% (6.6b remaining)

Error of 13.9b against oracle of 7.4b and baseline of 13.3b

bsearch0.0hr

Steps
ItersRangePoint
7
-2.450180232760445e-303
-3.4104780537685076e-305
-3.5755809718925854e-305
7
-2.414893472892736e-252
-8.944980550579625e-254
-6.219040641904291e-253

simplify0.0hr

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0hr)

IterNodesCost
06146
16146

end0.0hr

sample0.0hr

Algorithm
intervals
Results
0.0hr6055×body80valid
0.0hr796×body2560valid
0.0hr622×body1280valid
0.0hr8000×pre80true
0.0hr324×body640valid
0.0hr137×body320valid
0.0hr66×body160valid

Profiling

Loading profile data...