Details

Time bar (total: 1.4s)

analyze5.0ms

Algorithm
search

sample18.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0127
1167
2167

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
29×add-sqr-sqrt
27×times-frac
23×add-cube-cbrt
20×sqrt-prod
log-prod
associate-/l*
add-exp-log
pow1 add-cbrt-cube difference-of-squares
sqrt-div distribute-lft-out
log-div associate-/r* div-inv add-log-exp
flip3-- flip-- associate-/l/
cbrt-undiv rem-sqrt-square distribute-rgt-out frac-2neg sqrt-pow1 flip3-+ pow1/2 div-exp rem-log-exp frac-add clear-num log-pow flip-+
Counts
3 → 81
Calls
3 calls:
2.0ms
(sqrt (- 1.0 (* x x)))
9.0ms
(/ (sqrt (- 1.0 (* x x))) x)
18.0ms
(log (+ (/ 1.0 x) (/ (sqrt (- 1.0 (* x x))) x)))

series26.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(sqrt (- 1.0 (* x x)))
8.0ms
(/ (sqrt (- 1.0 (* x x))) x)
14.0ms
(log (+ (/ 1.0 x) (/ (sqrt (- 1.0 (* x x))) x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0473823
11677786
25001774

prune163.0ms

Filtered
70 candidates to 90 candidates (-28.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh000
Picked011
Done000
Total89291

Merged error: 0b

Counts
91 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (log (/ 1 (sqrt x))) (log (+ (/ 1.0 (sqrt x)) (/ (sqrt (- 1.0 (* x x))) (sqrt x)))))
0.3b
(/ 1 (sqrt x))
0.3b
(/ (sqrt (- 1.0 (* x x))) (sqrt x))
0.3b
(/ 1.0 (sqrt x))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
112×times-frac
104×*-un-lft-identity
93×add-sqr-sqrt sqrt-prod
82×add-cube-cbrt
35×log-prod
22×associate-+l+
18×associate-/r*
13×associate-+r+ distribute-lft-out associate-/l*
12×add-exp-log
10×pow1 add-cbrt-cube
difference-of-squares
div-inv
log-div div-exp log-pow add-log-exp
cbrt-undiv associate-+r- pow-flip frac-2neg clear-num
flip3-+ sqrt-div flip-+ associate-/l/
+-commutative associate-+l- rec-exp sqrt-undiv distribute-rgt-out flip3-- sqrt-pow1 pow1/2 1-exp frac-add sum-log flip-- inv-pow
Counts
4 → 208
Calls
4 calls:
50.0ms
(+ (log (/ 1 (sqrt x))) (log (+ (/ 1.0 (sqrt x)) (/ (sqrt (- 1.0 (* x x))) (sqrt x)))))
4.0ms
(/ 1 (sqrt x))
6.0ms
(/ (sqrt (- 1.0 (* x x))) (sqrt x))
4.0ms
(/ 1.0 (sqrt x))

series38.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (log (/ 1 (sqrt x))) (log (+ (/ 1.0 (sqrt x)) (/ (sqrt (- 1.0 (* x x))) (sqrt x)))))
6.0ms
(/ 1 (sqrt x))
5.0ms
(/ (sqrt (- 1.0 (* x x))) (sqrt x))
8.0ms
(/ 1.0 (sqrt x))

simplify77.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
07962065
131681890
250011846

prune330.0ms

Filtered
135 candidates to 220 candidates (-63.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2200220
Fresh000
Picked011
Done011
Total2202222

Merged error: 0b

Counts
222 → 2

regimes97.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01813
11813

end0.0ms

analyze4.0ms

Algorithm
search

sample495.0ms

Algorithm
intervals
Results
407.0ms8000×body80valid
0.0msbody80nan

Profiling

Loading profile data...