Details

Time bar (total: 3.0s)

sample49.0ms

Algorithm
intervals
Results
11.0ms25×body1280valid
10.0ms191×body80valid
6.0ms20×body2560valid
5.0ms256×pre80true
2.0ms11×body640valid
1.0msbody320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.8b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.0b
(+ (* (* 4.0 p) p) (* x x))
0.7b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
12.9b
(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:
7.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
5.0ms
(+ (* (* 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)))

series37.0ms

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

simplify146.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0278822
11014772
24232757
35001757

prune207.0ms

Filtered
67 candidates to 91 candidates (-35.8%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New761591
Fresh000
Picked101
Done000
Total771592

Merged error: 14.5b

Counts
92 → 15

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.7b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
0.7b
(log (exp (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite35.0ms

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

series39.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0231541
1855487
22820483
35001482

prune180.0ms

Filtered
54 candidates to 67 candidates (-24.1%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New64367
Fresh21214
Picked101
Done000
Total671582

Merged error: 14.5b

Counts
82 → 15

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.9b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite33.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:
7.0ms
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
15.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series37.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)))

simplify47.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03671195
116491076
250011014

prune240.0ms

Filtered
78 candidates to 134 candidates (-71.8%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1277134
Fresh6814
Picked101
Done000
Total13415149

Merged error: 14.5b

Counts
149 → 15

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(* x (pow (+ (* (* 4.0 p) p) (* x x)) -1/2))
2.9b
(+ 1.0 (* x (pow (+ (* (* 4.0 p) p) (* x x)) -1/2)))
12.9b
(pow (+ (* (* 4.0 p) p) (* x x)) -1/2)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×add-exp-log
add-cube-cbrt *-un-lft-identity
add-log-exp
unpow-prod-down associate-*r*
add-cbrt-cube
pow1
pow-unpow associate-*l* prod-exp unswap-sqr sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp sum-log flip-+
pow-pow *-commutative cbrt-unprod
Counts
4 → 64
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
9.0ms
(* x (pow (+ (* (* 4.0 p) p) (* x x)) -1/2))
3.0ms
(+ 1.0 (* x (pow (+ (* (* 4.0 p) p) (* x x)) -1/2)))
5.0ms
(pow (+ (* (* 4.0 p) p) (* x x)) -1/2)

series49.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
9.0ms
(* x (pow (+ (* (* 4.0 p) p) (* x x)) -1/2))
14.0ms
(+ 1.0 (* x (pow (+ (* (* 4.0 p) p) (* x x)) -1/2)))
20.0ms
(pow (+ (* (* 4.0 p) p) (* x x)) -1/2)

simplify44.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0321587
11361545
25001539

prune130.0ms

Filtered
57 candidates to 76 candidates (-33.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New72476
Fresh41014
Picked101
Done000
Total771491

Merged error: 14.5b

Counts
91 → 14

regimes260.0ms

Accuracy

0% (0.5b remaining)

Error of 13.5b against oracle of 12.9b and baseline of 13.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02411
12411

end0.0ms

sample1.3s

Algorithm
intervals
Results
328.0ms6029×body80valid
269.0ms818×body2560valid
165.0ms611×body1280valid
133.0ms8000×pre80true
61.0ms297×body640valid
25.0ms163×body320valid
8.0ms82×body160valid

Profiling

Loading profile data...