Details

Time bar (total: 3.3s)

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

sample60.0ms

Algorithm
intervals
Results
19.0ms97×body2560nan
15.0ms94×body1280nan
10.0ms256×body80valid
3.0ms26×body640nan
2.0ms22×body320nan
0.0ms10×body80nan
0.0msbody160nan

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
052579

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.9b

Counts
2 → 1

localize9.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))))
30.6b
(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))

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

simplify42.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05188615

prune88.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New50252
Fresh000
Picked101
Done000
Total51253

Merged error: 0.0b

Counts
53 → 2

localize11.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.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:
3.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
4.0ms
(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))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
4.0ms
(sqrt (- x (sqrt 1.0)))
13.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
11.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify32.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
050081491

prune198.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh011
Picked011
Done000
Total97299

Merged error: 0.0b

Counts
99 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
27×add-sqr-sqrt
25×add-cube-cbrt
24×times-frac
16×distribute-lft-out
15×pow1
14×add-exp-log
12×unpow-prod-down distribute-lft-out--
11×log-pow add-cbrt-cube add-log-exp
log-prod
associate-/r*
associate--l+ associate-/l*
div-exp sum-log
associate-+r+ diff-log sqr-pow
cbrt-undiv associate-+l+
sub-neg frac-2neg clear-num div-inv
+-commutative pow-to-exp associate-+r- flip3-- flip3-+ pow-exp prod-exp flip-- cbrt-unprod flip-+ associate--r+ difference-of-squares
Counts
4 → 118
Calls
4 calls:
17.0ms
(- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x))))
4.0ms
(/ 0.09375 (pow x 4))
23.0ms
(+ (log 2) (- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
4.0ms
(/ 0.25 (* x x))

series23.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049311630
149311630

prune177.0ms

Filtered
85 candidates to 130 candidates (-52.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh000
Picked101
Done011
Total1302132

Merged error: 0b

Counts
132 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
18×add-log-exp
11×sum-log
10×add-sqr-sqrt add-cube-cbrt
add-exp-log cbrt-prod add-cbrt-cube
associate-+r+ distribute-lft-out
pow1 log-prod associate--l+
diff-log frac-add distribute-lft-out--
flip3-+ times-frac flip-+ associate-/l*
cbrt-undiv flip3-- pow1/3 div-exp log-pow flip--
+-commutative associate-+r- sub-neg associate-+l+ frac-2neg prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 77
Calls
4 calls:
23.0ms
(+ (+ (log 2) (* 2 (log (cbrt x)))) (- (log (cbrt x)) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
4.0ms
(/ 0.25 (* x x))

series67.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (+ (log 2) (* 2 (log (cbrt x)))) (- (log (cbrt x)) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
21.0ms
(cbrt x)
22.0ms
(cbrt x)
3.0ms
(/ 0.25 (* x x))

simplify30.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
052121403

prune143.0ms

Filtered
64 candidates to 89 candidates (-39.1%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh000
Picked011
Done011
Total89291

Merged error: 0b

Counts
91 → 2

regimes27.0ms

Accuracy

0% (0.0b 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
02314
12314

end0.0ms

sample1.8s

Algorithm
intervals
Results
594.0ms2995×body2560nan
421.0ms2607×body1280nan
327.0ms8000×body80valid
159.0ms1234×body640nan
61.0ms606×body320nan
21.0ms306×body160nan
12.0ms300×body80nan

Profiling

Loading profile data...