Details

Time bar (total: 4.9s)

sample98.0ms

Algorithm
intervals
Results
23.0ms122×body2560nan
20.0ms612×body80nan
15.0ms96×body1280nan
13.0ms256×body80valid
6.0ms49×body640nan
3.0ms29×body320nan
1.0msbody160nan

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.4b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt
add-log-exp
pow1 add-cube-cbrt
add-exp-log
log-prod sqrt-prod add-cbrt-cube
log-div flip3-- flip3-+ sqrt-div flip-- flip-+ distribute-lft-out difference-of-squares
+-commutative sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log rem-log-exp sum-log log-pow
Counts
4 → 56
Calls
4 calls:
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
7.0ms
(+ x (sqrt (- (* x x) 1.0)))
4.0ms
(- (* x x) 1.0)
5.0ms
(sqrt (- (* x x) 1.0))

series366.0ms

Counts
4 → 12
Calls
4 calls:
202.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
70.0ms
(+ x (sqrt (- (* x x) 1.0)))
38.0ms
(- (* x x) 1.0)
55.0ms
(sqrt (- (* x x) 1.0))

simplify138.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0327471
11087435
24892422
35001422

prune142.0ms

Filtered
68 candidates to 55 candidates (80.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh000
Picked101
Done000
Total67269

Merged error: 0b

Counts
69 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×sqrt-prod
12×*-un-lft-identity sqrt-div
associate-*r*
pow1 add-cube-cbrt
associate-*l*
add-exp-log
flip3-+ add-cbrt-cube flip-+ add-log-exp
frac-times unswap-sqr
log-prod flip3-- pow-prod-down flip--
log-div sqrt-pow1 pow1/2 associate-*r/ associate-*l/ difference-of-squares
+-commutative sqrt-unprod rem-log-exp prod-exp sum-log log-pow *-commutative cbrt-unprod distribute-lft-out distribute-lft-out--
Counts
3 → 67
Calls
3 calls:
3.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
3.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
14.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series645.0ms

Counts
3 → 9
Calls
3 calls:
150.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
290.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
204.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify45.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0440941
11553864
25001848

prune371.0ms

Filtered
76 candidates to 58 candidates (76.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done000
Total76278

Merged error: 0b

Counts
78 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) 1.0)
0.0b
(- (* x x) 1.0)
29.2b
(sqrt (- (* x x) 1.0))
29.2b
(sqrt (- (* x x) 1.0))

rewrite20.0ms

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

series191.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* x x) 1.0)
46.0ms
(- (* x x) 1.0)
56.0ms
(sqrt (- (* x x) 1.0))
51.0ms
(sqrt (- (* x x) 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0154352
1484334
22036330
35001328

prune210.0ms

Filtered
70 candidates to 54 candidates (77.1%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh000
Picked011
Done011
Total70272

Merged error: 0b

Counts
72 → 2

regimes28.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

sample2.5s

Algorithm
intervals
Results
558.0ms2940×body2560nan
540.0ms16061×body80nan
392.0ms2511×body1280nan
318.0ms8000×body80valid
158.0ms1251×body640nan
64.0ms661×body320nan
22.0ms301×body160nan