Details

Time bar (total: 3.2s)

sample46.0ms

Algorithm
intervals
Results
11.0ms200×body80valid
8.0ms24×body2560valid
5.0ms256×pre80true
4.0ms15×body1280valid
2.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03817
13817

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 12.1b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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:
14.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
8.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
13.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
6.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series71.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
10.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
14.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
9.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049131479
149131479

prune227.0ms

Filtered
74 candidates to 93 candidates (-25.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New831093
Fresh000
Picked101
Done000
Total841094

Merged error: 11.8b

Counts
94 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))
0.2b
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
2.7b
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
40×times-frac
36×*-un-lft-identity
34×add-cube-cbrt
26×sqrt-prod
24×associate-*r*
17×add-exp-log
11×add-cbrt-cube
pow1
sqrt-div associate-/r* add-log-exp
unswap-sqr
flip3-+ div-exp prod-exp associate-/r/ flip-+
pow-flip associate-*l* associate-/l*
cbrt-undiv rec-exp sqrt-pow1 pow1/2 1-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 122
Calls
4 calls:
10.0ms
(/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))
16.0ms
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))
10.0ms
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
16.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050441899

prune241.0ms

Filtered
81 candidates to 134 candidates (-65.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1322134
Fresh279
Picked101
Done000
Total1359144

Merged error: 11.8b

Counts
144 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(log (exp (sqrt (* (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 0.5))))
0.2b
(/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))
0.3b
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite35.0ms

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

series71.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(log (exp (sqrt (* (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))) 0.5))))
13.0ms
(/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))
13.0ms
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
9.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify79.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049491562
149491562

prune257.0ms

Filtered
74 candidates to 96 candidates (-29.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New88896
Fresh628
Picked101
Done000
Total9510105

Merged error: 11.8b

Counts
105 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
2.6b
(log (exp (sqrt (* (+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))) 0.5))))
2.7b
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
14.7b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite34.0ms

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:
16.0ms
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
2.0ms
(log (exp (sqrt (* (+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))) 0.5))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
9.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
35.0ms
(log (exp (sqrt (* (+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))) 0.5))))
13.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
9.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050901467

prune205.0ms

Filtered
75 candidates to 103 candidates (-37.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1021103
Fresh189
Picked011
Done000
Total10310113

Merged error: 11.8b

Counts
113 → 10

regimes157.0ms

Accuracy

0% (0.5b remaining)

Error of 13.1b against oracle of 12.6b and baseline of 13.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02421
12421

end0.0ms

sample1.3s

Algorithm
intervals
Results
352.0ms6092×body80valid
268.0ms783×body2560valid
165.0ms582×body1280valid
147.0ms8000×pre80true
73.0ms320×body640valid
28.0ms154×body320valid
8.0ms69×body160valid

Profiling

Loading profile data...