Details

Time bar (total: 5.1s)

sample44.0ms

Algorithm
intervals
Results
11.0ms508×body80nan
10.0ms229×body160nan
7.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.6b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
0.2b
(log (+ x (sqrt (- (* x x) 1.0))))
28.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
(+ x (sqrt (- (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

series304.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0316408
11042379
24663366
35003365

prune122.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.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:
14.0ms
(- (log x) (/ (/ 0.25 x) x))
4.0ms
(/ 0.09375 (pow x 4))
6.0ms
(/ (/ 0.25 x) x)
34.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))

series447.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06831218
124921094
250011089

prune430.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

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

series691.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(sqrt (- x (sqrt 1.0)))
146.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
278.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
195.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify49.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04941102
117341015
25002995

prune261.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series726.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(* (cbrt x) (cbrt x))
175.0ms
(cbrt x)
172.0ms
(cbrt x)
180.0ms
(cbrt x)

simplify87.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune289.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes13.0ms

Accuracy

0% (0.1b 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
359.0ms15888×body80nan
340.0ms7614×body160nan
222.0ms8000×body80valid