Details

Time bar (total: 15.0s)

sample44.0ms

Algorithm
intervals
Results
8.0ms34×body2560valid
7.0ms185×body80valid
4.0ms256×pre80true
4.0ms20×body1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify68.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01417
12816
24016
34716
44916
55116
65216
done5216

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.0b

localize24.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.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.7b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
14.7b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite264.0ms

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

series737.0ms

Counts
4 → 12
Calls
4 calls:
453.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
98.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
94.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
92.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify2.1s

Counts
104 → 104
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01451890
12981592
27641504
318771491
done50001484

prune474.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 14.7b

localize32.0ms

Local error

Found 4 expressions with local error:

1.1b
(- 1.0 (/ x (sqrt (fma (* 4.0 p) p (* x x)))))
2.8b
(/ x (fma (* 4.0 p) p (* x x)))
14.7b
(sqrt (fma (* 4.0 p) p (* x x)))
14.7b
(sqrt (fma (* 4.0 p) p (* x x)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
86×add-sqr-sqrt
78×*-un-lft-identity
76×add-cube-cbrt
66×prod-diff
65×times-frac
34×sqrt-prod
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u div-inv
fma-neg associate-/r* associate-/l* difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- distribute-lft-out--
Counts
4 → 146
Calls
4 calls:
31.0ms
(- 1.0 (/ x (sqrt (fma (* 4.0 p) p (* x x)))))
5.0ms
(/ x (fma (* 4.0 p) p (* x x)))
2.0ms
(sqrt (fma (* 4.0 p) p (* x x)))
2.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

series347.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(- 1.0 (/ x (sqrt (fma (* 4.0 p) p (* x x)))))
63.0ms
(/ x (fma (* 4.0 p) p (* x x)))
89.0ms
(sqrt (fma (* 4.0 p) p (* x x)))
84.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

simplify3.4s

Counts
158 → 158
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
02587107
15726242
213524654
343393768
done50003768

prune504.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 14.7b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×times-frac associate-*r*
21×*-un-lft-identity
19×add-cube-cbrt
14×sqrt-prod
12×add-exp-log
add-cbrt-cube
pow1
add-log-exp unswap-sqr
prod-exp
expm1-log1p-u fma-def associate-*l* log1p-expm1-u
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-+ div-inv
Counts
3 → 80
Calls
3 calls:
21.0ms
(* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x)))))
7.0ms
(+ 1.0 (* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x))))))
2.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

series222.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x)))))
85.0ms
(+ 1.0 (* x (/ 1 (sqrt (fma (* 4.0 p) p (* x x))))))
73.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

simplify2.6s

Counts
89 → 89
Iterations

Useful iterations: 3 (357.0ms)

IterNodesCost
01271384
12901107
26151004
314521001
435951001
done50001001

prune265.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 14.7b

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ x (sqrt (sqrt (fma (* 4.0 p) p (* x x)))))
8.2b
(+ 1.0 (* (/ x (sqrt (sqrt (fma (* 4.0 p) p (* x x))))) (/ 1 (sqrt (sqrt (fma (* 4.0 p) p (* x x)))))))
14.7b
(sqrt (fma (* 4.0 p) p (* x x)))
14.7b
(sqrt (fma (* 4.0 p) p (* x x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
42×sqrt-prod
31×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
27×times-frac
associate-/r*
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u
fma-def associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-undiv +-commutative frac-2neg flip3-+ div-exp clear-num sum-log flip-+ div-inv
Counts
4 → 99
Calls
4 calls:
14.0ms
(/ x (sqrt (sqrt (fma (* 4.0 p) p (* x x)))))
10.0ms
(+ 1.0 (* (/ x (sqrt (sqrt (fma (* 4.0 p) p (* x x))))) (/ 1 (sqrt (sqrt (fma (* 4.0 p) p (* x x)))))))
2.0ms
(sqrt (fma (* 4.0 p) p (* x x)))
3.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

series484.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(/ x (sqrt (sqrt (fma (* 4.0 p) p (* x x)))))
109.0ms
(+ 1.0 (* (/ x (sqrt (sqrt (fma (* 4.0 p) p (* x x))))) (/ 1 (sqrt (sqrt (fma (* 4.0 p) p (* x x)))))))
91.0ms
(sqrt (fma (* 4.0 p) p (* x x)))
94.0ms
(sqrt (fma (* 4.0 p) p (* x x)))

simplify1.7s

Counts
111 → 111
Iterations

Useful iterations: 3 (744.0ms)

IterNodesCost
01502172
12961957
28191803
327131605
done50001605

prune358.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 14.7b

regimes208.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02148
12548
done2548

end0.0ms

sample984.0ms

Algorithm
intervals
Results
228.0ms6050×body80valid
201.0ms835×body2560valid
120.0ms8000×pre80true
112.0ms568×body1280valid
50.0ms316×body640valid
18.0ms161×body320valid
5.0ms70×body160valid