Details

Time bar (total: 4.3s)

analyze751.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%48.6%51.4%0
0%48.6%51.4%1
24.3%24.3%51.4%2
24.3%24.3%51.4%3
30.4%18.2%51.4%4
30.4%18.2%51.4%5
33.4%15.2%51.4%6
33.4%15.2%51.4%7
34.6%14.1%51.4%8
34.8%13.9%51.4%9
35.4%13.2%51.4%10
35.6%13.1%51.4%11
35.9%12.7%51.4%12
36%12.6%51.4%13
36.2%12.4%51.4%14

sample40.0ms

Algorithm
intervals
Results
10.0ms196×body80valid
7.0ms24×body2560valid
4.0ms256×pre80true
4.0ms17×body1280valid
3.0msbody320valid
2.0msbody640valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series36.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (* (* 4.0 p) p) (* x x))
9.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
11.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049821385
149821385

prune202.0ms

Filtered
71 candidates to 91 candidates (-28.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New801191
Fresh000
Picked101
Done000
Total811192

Merged error: 12.0b

Counts
92 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))
1.0b
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
2.8b
(log (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))))
16.6b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
22×add-sqr-sqrt
21×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-exp-log
pow1 associate-/r* add-cbrt-cube add-log-exp
log-prod flip3-+ sqrt-div flip-+
associate-/l*
log-div associate-/r/ distribute-lft-out
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp rem-log-exp clear-num sum-log log-pow div-inv
Counts
4 → 83
Calls
4 calls:
8.0ms
(/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
11.0ms
(log (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))))
5.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))))
26.0ms
(log (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify83.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
053151560

prune208.0ms

Filtered
69 candidates to 95 candidates (-37.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New91495
Fresh5510
Picked101
Done000
Total979106

Merged error: 8.3b

Counts
106 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

2.8b
(log (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))))
16.6b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
16.6b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
16.6b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×*-un-lft-identity
sqrt-prod
pow1 add-cube-cbrt
sqrt-div
add-exp-log
log-prod flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
log-div
rem-log-exp log-pow distribute-lft-out
Counts
4 → 60
Calls
4 calls:
11.0ms
(log (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))))
5.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
5.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
5.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(log (+ 1.0 (/ x (sqrt (+ (* 4.0 (* p p)) (* x x))))))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
9.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05044970

prune293.0ms

Filtered
59 candidates to 72 candidates (-22.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh088
Picked011
Done000
Total711081

Merged error: 8.3b

Counts
81 → 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)))))
4.4b
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
16.6b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite36.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:
8.0ms
(/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))
14.0ms
(* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x)))))
5.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* 4.0 (* p p)) (* x x))))))
5.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series38.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
052331899

prune184.0ms

Filtered
83 candidates to 134 candidates (-61.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1322134
Fresh088
Picked011
Done011
Total13212144

Merged error: 8.3b

Counts
144 → 12

regimes160.0ms

Accuracy

0% (3.8b remaining)

Error of 13.3b against oracle of 9.5b and baseline of 13.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02454
12454

end0.0ms

analyze731.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%48.6%51.4%0
0%48.6%51.4%1
24.3%24.3%51.4%2
24.3%24.3%51.4%3
30.4%18.2%51.4%4
30.4%18.2%51.4%5
33.4%15.2%51.4%6
33.4%15.2%51.4%7
34.6%14.1%51.4%8
34.8%13.9%51.4%9
35.4%13.2%51.4%10
35.6%13.1%51.4%11
35.9%12.7%51.4%12
36%12.6%51.4%13
36.2%12.4%51.4%14

sample1.1s

Algorithm
intervals
Results
307.0ms6092×body80valid
244.0ms783×body2560valid
146.0ms587×body1280valid
138.0ms8000×pre80true
63.0ms314×body640valid
21.0ms145×body320valid
10.0ms79×body160valid

Profiling

Loading profile data...