Details

Time bar (total: 3.5s)

analyze270.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%50%25%4
25%37.5%37.5%5
25%31.2%43.8%6
25%28.1%46.9%7
25%26.5%48.5%8
25%25.8%49.2%9
25%25.4%49.6%10
25%25.2%49.8%11
25%25.1%49.9%12
25%25%50%13
25%25%50%14

sample64.0ms

Algorithm
intervals
Results
19.0ms101×body2560nan
16.0ms76×body1280nan
11.0ms256×body80valid
5.0ms42×body640nan
2.0ms19×body320nan
1.0ms12×body160nan
0.0ms10×body80nan

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
047609
147609

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.1b

Counts
2 → 1

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

rewrite17.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)))
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ x (sqrt (- (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05146615

prune102.0ms

Filtered
43 candidates to 52 candidates (-20.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New49352
Fresh000
Picked101
Done000
Total50353

Merged error: 0.0b

Counts
53 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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)))))
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))))

series33.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
13.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))))

simplify44.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
051531255

prune177.0ms

Filtered
58 candidates to 76 candidates (-31.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh022
Picked011
Done000
Total76379

Merged error: 0.0b

Counts
79 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
24×add-sqr-sqrt add-cube-cbrt times-frac
15×distribute-lft-out
14×add-exp-log
13×pow1
12×unpow-prod-down
11×add-cbrt-cube
10×add-log-exp
log-pow
associate-/r* distribute-lft-out--
log-prod associate-/l*
div-exp sum-log
associate-+r+ sqr-pow
cbrt-undiv associate-+l+ associate--l+
+-commutative frac-2neg flip3-+ diff-log clear-num flip-+ div-inv
pow-to-exp associate-+r- sub-neg frac-add pow-exp prod-exp cbrt-unprod
Counts
4 → 110
Calls
4 calls:
14.0ms
(+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))
21.0ms
(+ (log 2) (- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
4.0ms
(/ 0.09375 (pow x 4))
5.0ms
(/ 0.25 (* x x))

series29.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))
13.0ms
(+ (log 2) (- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
4.0ms
(/ 0.09375 (pow x 4))
3.0ms
(/ 0.25 (* x x))

simplify65.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049311421
149311421

prune192.0ms

Filtered
80 candidates to 122 candidates (-52.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1211122
Fresh011
Picked101
Done011
Total1223125

Merged error: 0b

Counts
125 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 0.09375 (pow x 4))
0.5b
(cbrt (pow (+ (log x) (- (log 2) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4))))) 3))
0.7b
(pow (+ (log x) (- (log 2) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4))))) 3)
0.9b
(/ 0.25 (* x x))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
120×*-un-lft-identity
56×distribute-lft-out
41×pow1
38×unpow-prod-down
36×log-pow
32×cbrt-prod distribute-lft-out--
28×add-sqr-sqrt add-cube-cbrt
26×cube-prod
24×times-frac
15×add-exp-log
12×add-cbrt-cube
associate-/r*
associate-/l* sqr-pow
div-exp
cube-div add-log-exp
cbrt-undiv pow-unpow
cube-mult pow-to-exp cbrt-div frac-2neg flip3-+ unpow3 pow-exp clear-num flip-+ div-inv
pow-pow pow1/3 prod-exp rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 154
Calls
4 calls:
4.0ms
(/ 0.09375 (pow x 4))
23.0ms
(cbrt (pow (+ (log x) (- (log 2) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4))))) 3))
24.0ms
(pow (+ (log x) (- (log 2) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4))))) 3)
5.0ms
(/ 0.25 (* x x))

series44.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 0.09375 (pow x 4))
10.0ms
(cbrt (pow (+ (log x) (- (log 2) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4))))) 3))
26.0ms
(pow (+ (log x) (- (log 2) (+ (/ 0.25 (* x x)) (/ 0.09375 (pow x 4))))) 3)
3.0ms
(/ 0.25 (* x x))

simplify68.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049573248
149573248

prune255.0ms

Filtered
78 candidates to 166 candidates (-112.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1660166
Fresh011
Picked011
Done011
Total1663169

Merged error: 0b

Counts
169 → 3

regimes30.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 (1.0ms)

IterNodesCost
05614
15614

end0.0ms

sample1.8s

Algorithm
intervals
Results
592.0ms2984×body2560nan
393.0ms2449×body1280nan
348.0ms8000×body80valid
160.0ms1227×body640nan
65.0ms649×body320nan
21.0ms311×body160nan
11.0ms329×body80nan

Profiling

Loading profile data...