Details

Time bar (total: 4.7s)

sample49.0ms

Algorithm
intervals
Results
10.0ms236×body160nan
10.0ms499×body80nan
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: 29.4b

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)))
27.3b
(sqrt (- (* x x) 1.0))

rewrite47.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:
19.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
17.0ms
(+ x (sqrt (- (* x x) 1.0)))
10.0ms
(sqrt (- (* x x) 1.0))

series301.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0316408
11042379
24663366
35002365

prune128.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.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:
5.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
10.0ms
(sqrt (+ x (sqrt 1.0)))
3.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
50.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series691.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
65.0ms
(sqrt (+ x (sqrt 1.0)))
284.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
194.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify50.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04911081
11717994
25001974

prune267.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
87×cbrt-prod
80×add-sqr-sqrt
67×sqrt-prod
42×*-un-lft-identity
22×add-cube-cbrt
18×cbrt-div sqrt-div swap-sqr difference-of-squares
12×associate-*r* associate-*l*
11×pow1
flip3-- pow1/3 flip-- distribute-lft-out-- unswap-sqr
add-exp-log
frac-times add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
57.0ms
(* (cbrt (sqrt (- x (sqrt 1.0)))) (cbrt (sqrt (- x (sqrt 1.0)))))
6.0ms
(cbrt (sqrt (- x (sqrt 1.0))))
6.0ms
(cbrt (sqrt (- x (sqrt 1.0))))
6.0ms
(cbrt (sqrt (- x (sqrt 1.0))))

series946.0ms

Counts
4 → 12
Calls
4 calls:
331.0ms
(* (cbrt (sqrt (- x (sqrt 1.0)))) (cbrt (sqrt (- x (sqrt 1.0)))))
202.0ms
(cbrt (sqrt (- x (sqrt 1.0))))
209.0ms
(cbrt (sqrt (- x (sqrt 1.0))))
205.0ms
(cbrt (sqrt (- x (sqrt 1.0))))

simplify61.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04801882
117321759
250011626

prune437.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes12.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample1.4s

Algorithm
intervals
Results
346.0ms7752×body160nan
332.0ms16280×body80nan
227.0ms8000×body80valid