Details

Time bar (total: 4.6s)

sample48.0ms

Algorithm
intervals
Results
12.0ms264×body160nan
12.0ms548×body80nan
8.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

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: 31.6b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (+ x (sqrt (- (* x x) 1.0))))
0.0b
(+ x (sqrt (- (* x x) 1.0)))
29.5b
(sqrt (- (* x x) 1.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
pow1 add-cube-cbrt add-log-exp
add-exp-log log-prod sqrt-prod
add-cbrt-cube
log-div flip3-+ sqrt-div flip-+ distribute-lft-out
+-commutative rem-sqrt-square flip3-- sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow flip-- difference-of-squares
Counts
3 → 43
Calls
3 calls:
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
9.0ms
(+ x (sqrt (- (* x x) 1.0)))
4.0ms
(sqrt (- (* x x) 1.0))

series311.0ms

Counts
3 → 9
Calls
3 calls:
186.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
75.0ms
(+ x (sqrt (- (* x x) 1.0)))
50.0ms
(sqrt (- (* x x) 1.0))

simplify131.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0316408
11042379
24663366
35002365

prune108.0ms

Filtered
52 candidates to 43 candidates (82.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New49352
Fresh000
Picked101
Done000
Total50353

Merged error: 0b

Counts
53 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x (sqrt 1.0)))
0.0b
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
0.0b
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×sqrt-prod
16×*-un-lft-identity
14×sqrt-div
10×pow1 add-cube-cbrt
associate-*r*
add-exp-log associate-*l*
flip3-+ add-cbrt-cube flip-+ add-log-exp
frac-times unswap-sqr
log-prod flip3-- sqrt-pow1 pow1/2 pow-prod-down flip--
log-div associate-*r/ associate-*l/ distribute-lft-out difference-of-squares
+-commutative rem-sqrt-square sqrt-unprod rem-log-exp prod-exp sum-log log-pow *-commutative cbrt-unprod distribute-lft-out--
Counts
4 → 83
Calls
4 calls:
4.0ms
(sqrt (+ x (sqrt 1.0)))
2.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
2.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
15.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series658.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sqrt (+ x (sqrt 1.0)))
265.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
142.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
191.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04911081
11717994
25002974

prune212.0ms

Filtered
95 candidates to 72 candidates (75.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New95095
Fresh022
Picked011
Done000
Total95398

Merged error: 0b

Counts
98 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log x) (/ (/ 0.25 x) x))
0.1b
(/ (/ 0.25 x) x)
0.2b
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
0.2b
(/ 0.09375 (pow x 4))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
99×times-frac
88×*-un-lft-identity
74×add-sqr-sqrt
65×add-cube-cbrt
16×associate-/l*
14×add-exp-log
12×unpow-prod-down distribute-lft-out--
11×pow1 associate--l+ add-cbrt-cube
10×associate-/r* add-log-exp
log-prod
distribute-lft-out
associate-+r+ log-pow
div-exp div-inv
cbrt-undiv diff-log sqr-pow
sub-neg associate-+l+ sum-log difference-of-squares
frac-2neg clear-num
+-commutative pow-to-exp associate-+r- flip3-- flip3-+ pow-exp flip-- flip-+ associate-/l/
Counts
4 → 167
Calls
4 calls:
17.0ms
(- (log x) (/ (/ 0.25 x) x))
6.0ms
(/ (/ 0.25 x) x)
30.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
5.0ms
(/ 0.09375 (pow x 4))

series505.0ms

Counts
4 → 12
Calls
4 calls:
342.0ms
(- (log x) (/ (/ 0.25 x) x))
37.0ms
(/ (/ 0.25 x) x)
92.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
35.0ms
(/ 0.09375 (pow x 4))

simplify72.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06831218
124921094
250011089

prune347.0ms

Filtered
179 candidates to 117 candidates (65.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1790179
Fresh011
Picked011
Done011
Total1793182

Merged error: 0b

Counts
182 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sqrt (- (* x x) 1.0)))
29.5b
(sqrt (- (* x x) 1.0))
29.5b
(sqrt (- (* x x) 1.0))
29.5b
(sqrt (- (* x x) 1.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt sqrt-prod
add-cube-cbrt *-un-lft-identity
sqrt-div
pow1 cbrt-prod
add-exp-log flip3-- add-cbrt-cube flip-- add-log-exp difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-div
pow1/3
Counts
4 → 65
Calls
4 calls:
5.0ms
(cbrt (sqrt (- (* x x) 1.0)))
4.0ms
(sqrt (- (* x x) 1.0))
4.0ms
(sqrt (- (* x x) 1.0))
4.0ms
(sqrt (- (* x x) 1.0))

series342.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(cbrt (sqrt (- (* x x) 1.0)))
54.0ms
(sqrt (- (* x x) 1.0))
50.0ms
(sqrt (- (* x x) 1.0))
55.0ms
(sqrt (- (* x x) 1.0))

simplify109.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0274527
1844512
23517502
35001498

prune213.0ms

Filtered
77 candidates to 65 candidates (84.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New77077
Fresh000
Picked011
Done022
Total77380

Merged error: 0b

Counts
80 → 3

regimes14.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample1.3s

Algorithm
intervals
Results
375.0ms16081×body80nan
354.0ms7371×body160nan
244.0ms8000×body80valid