Details

Time bar (total: 4.4s)

sample38.0ms

Algorithm
intervals
Results
7.0ms193×body80valid
6.0ms25×body2560valid
4.0msbody640valid
4.0ms21×body1280valid
4.0ms256×pre80true
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

prune3.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: 12.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite34.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:
5.0ms
(+ (* (* 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)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (* (* 4.0 p) p) (* x x))
53.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
77.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify152.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (142.0ms)

IterNodesCost
0296868
11081815
24584798
35001795

prune287.0ms

Filtered
103 candidates to 79 candidates (76.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New8914103
Fresh000
Picked101
Done000
Total9014104

Merged error: 12.0b

Counts
104 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.3b
(log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1 expm1-log1p-u
add-exp-log add-cbrt-cube log1p-expm1-u
fma-def sqrt-prod
flip3-+ sqrt-div flip-+
+-commutative rem-sqrt-square log1p-udef expm1-log1p sqrt-pow1 pow1/2 log1p-expm1 sum-log distribute-lft-out expm1-udef
Counts
4 → 56
Calls
4 calls:
1.0ms
(expm1 (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
1.0ms
(log1p (+ 1.0 (/ x (sqrt (+ (* (* 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)))

series486.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(expm1 (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
149.0ms
(log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
75.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify109.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 4 (103.0ms)

IterNodesCost
0207515
1578462
21519461
34020460
45001452

prune219.0ms

Filtered
68 candidates to 61 candidates (89.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh7613
Picked101
Done000
Total74882

Merged error: 12.0b

Counts
82 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (pow (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))) 3))
0.9b
(pow (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))) 3)
1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
13×add-sqr-sqrt
12×cbrt-prod add-cube-cbrt
pow1 unpow-prod-down cube-prod add-log-exp
add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u
pow-unpow fma-def sqrt-prod
cube-mult flip3-+ sqrt-div unpow3 flip-+ sqr-pow
+-commutative pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3 pow-exp sum-log rem-cbrt-cube distribute-lft-out rem-cube-cbrt
Counts
4 → 82
Calls
4 calls:
2.0ms
(cbrt (pow (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))) 3))
2.0ms
(pow (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))) 3)
13.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series670.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(cbrt (pow (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))) 3))
378.0ms
(pow (log1p (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))) 3)
78.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify177.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (166.0ms)

IterNodesCost
0280947
1923870
24278863
35001862

prune306.0ms

Filtered
94 candidates to 67 candidates (71.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New90494
Fresh167
Picked011
Done000
Total9111102

Merged error: 12.0b

Counts
102 → 11

localize15.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)))))
4.9b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
40×times-frac
37×*-un-lft-identity
35×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
expm1-log1p-u flip3-+ div-exp prod-exp associate-/r/ flip-+ log1p-expm1-u
pow-flip fma-def 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 → 133
Calls
4 calls:
13.0ms
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
18.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)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
52.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
82.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03841256
117101134
250011063

prune262.0ms

Filtered
145 candidates to 91 candidates (62.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1441145
Fresh369
Picked011
Done101
Total1488156

Merged error: 12.0b

Counts
156 → 8

regimes129.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample834.0ms

Algorithm
intervals
Results
212.0ms6052×body80valid
175.0ms765×body2560valid
119.0ms652×body1280valid
103.0ms8000×pre80true
44.0ms314×body640valid
21.0ms151×body320valid
5.0ms66×body160valid