Details

Time bar (total: 4.1s)

sample44.0ms

Algorithm
intervals
Results
10.0ms191×body80valid
8.0ms25×body2560valid
6.0ms24×body1280valid
5.0ms256×pre80true
2.0msbody640valid
1.0msbody320valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.6b

Counts
2 → 1

localize16.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.3b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
14.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
22×add-sqr-sqrt
21×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1
expm1-log1p-u fma-def flip3-+ sqrt-div flip-+ log1p-expm1-u
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 → 91
Calls
4 calls:
7.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
5.0ms
(+ (* (* 4.0 p) p) (* x x))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
31.0ms
(+ (* (* 4.0 p) p) (* x x))
75.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify149.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0296867
11081815
24584798
35001795

prune446.0ms

Filtered
103 candidates to 79 candidates (76.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9112103
Fresh000
Picked101
Done000
Total9212104

Merged error: 13.3b

Counts
104 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.5b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
14×sqrt-prod
13×add-exp-log
add-cbrt-cube
add-log-exp
pow1
unswap-sqr
expm1-log1p-u fma-def flip3-+ sqrt-div prod-exp flip-+ log1p-expm1-u
associate-*l*
+-commutative div-exp sum-log associate-/r/ cbrt-unprod
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 98
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
14.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)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* (* 4.0 p) p) (* x x))
55.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
71.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0405866
11987780
25002742

prune263.0ms

Filtered
110 candidates to 81 candidates (73.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh4711
Picked101
Done000
Total11111122

Merged error: 13.3b

Counts
122 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (* 4.0 p) p (* x x))
0.2b
(* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x)))))
2.5b
(+ 1.0 (* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x))))))
14.6b
(sqrt (fma (* 4.0 p) p (* x x)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
22×*-un-lft-identity times-frac associate-*r*
20×add-cube-cbrt
14×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
add-log-exp
unswap-sqr
expm1-log1p-u prod-exp log1p-expm1-u
fma-def associate-*l*
div-exp cbrt-unprod
cbrt-undiv +-commutative rem-sqrt-square rec-exp sqrt-pow1 flip3-+ pow1/2 1-exp associate-*r/ pow-prod-down sum-log un-div-inv *-commutative flip-+ fma-udef div-inv
Counts
4 → 90
Calls
4 calls:
1.0ms
(fma (* 4.0 p) p (* x x))
10.0ms
(* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x)))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x))))))
2.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma (* 4.0 p) p (* x x))
55.0ms
(* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x)))))
74.0ms
(+ 1.0 (* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x))))))
62.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

simplify42.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0320682
11447608
25002574

prune241.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New984102
Fresh4610
Picked011
Done000
Total10211113

Merged error: 13.3b

Counts
113 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.3b
(+ 1.0 (log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
2.5b
(log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×log-pow
24×exp-prod *-un-lft-identity
22×add-sqr-sqrt
21×add-cube-cbrt
18×times-frac
12×sqrt-prod
pow1 add-log-exp
log-prod
add-exp-log expm1-log1p-u fma-def flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
associate-+r+
+-commutative sum-log associate-/r/ distribute-lft-out
rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp div-inv
Counts
4 → 90
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
16.0ms
(+ 1.0 (log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
9.0ms
(log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
7.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (* (* 4.0 p) p) (* x x))
72.0ms
(+ 1.0 (log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
50.0ms
(log (exp (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify102.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0321789
11023727
23716703
35001699

prune247.0ms

Filtered
102 candidates to 81 candidates (79.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1011102
Fresh189
Picked011
Done011
Total10211113

Merged error: 13.3b

Counts
113 → 11

regimes216.0ms

Accuracy

0% (0.4b remaining)

Error of 13.4b against oracle of 13.0b and baseline of 13.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.2s

Algorithm
intervals
Results
332.0ms6021×body80valid
266.0ms785×body2560valid
183.0ms641×body1280valid
151.0ms8000×pre80true
69.0ms314×body640valid
25.0ms143×body320valid
10.0ms96×body160valid