Details

Time bar (total: 1.8s)

analyze65.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
43.7%43.7%12.6%6
53.1%31.2%15.7%7
59.3%18.7%22%8
62.4%14%23.5%9
64.8%8.6%26.6%10
66%6.6%27.4%11
66.9%4.1%29%12
67.4%3.2%29.4%13
67.9%2%30.1%14

sample25.0ms

Algorithm
intervals
Results
11.0ms238×body80valid
3.0msbody1280valid
1.0msbody640valid
1.0msbody320valid
1.0msbody5120exit
0.0msbody160valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
059739

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.3b
(log (+ 1.0 (exp x)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
log-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log log-div associate--l+
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log log-pow flip--
Counts
3 → 44
Calls
3 calls:
5.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series21.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(- (log (+ 1.0 (exp x))) (* x y))
2.0ms
(+ 1.0 (exp x))
10.0ms
(log (+ 1.0 (exp x)))

simplify65.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04843504
14843504

prune83.0ms

Filtered
39 candidates to 53 candidates (-35.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New49453
Fresh000
Picked101
Done000
Total50454

Merged error: 0.2b

Counts
54 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(log (+ 1.0 (exp x)))
0.7b
(sqrt (log (+ 1.0 (exp x))))
0.7b
(sqrt (log (+ 1.0 (exp x))))
0.7b
(* (sqrt (log (+ 1.0 (exp x)))) (sqrt (log (+ 1.0 (exp x)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
34×sqrt-prod
30×pow1
29×add-sqr-sqrt
19×*-un-lft-identity
15×add-cube-cbrt
11×swap-sqr
10×sqrt-pow1 pow1/2
log-pow
add-exp-log associate-*r* associate-*l*
add-cbrt-cube
pow-prod-up
log-prod add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square log-div
pow2 flip3-+ pow-plus sqrt-unprod rem-log-exp prod-exp rem-square-sqrt *-commutative cbrt-unprod flip-+ distribute-lft-out
Counts
4 → 97
Calls
4 calls:
3.0ms
(log (+ 1.0 (exp x)))
1.0ms
(sqrt (log (+ 1.0 (exp x))))
1.0ms
(sqrt (log (+ 1.0 (exp x))))
7.0ms
(* (sqrt (log (+ 1.0 (exp x)))) (sqrt (log (+ 1.0 (exp x)))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(log (+ 1.0 (exp x)))
12.0ms
(sqrt (log (+ 1.0 (exp x))))
12.0ms
(sqrt (log (+ 1.0 (exp x))))
10.0ms
(* (sqrt (log (+ 1.0 (exp x)))) (sqrt (log (+ 1.0 (exp x)))))

simplify41.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05045845

prune129.0ms

Filtered
54 candidates to 109 candidates (-101.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1090109
Fresh033
Picked011
Done000
Total1094113

Merged error: 0.2b

Counts
113 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (+ 2.0 (* x (* x 1/2))))
0.0b
(- (log (+ x (+ 2.0 (* x (* x 1/2))))) (* x y))
8.0b
(log (+ x (+ 2.0 (* x (* x 1/2)))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-log-exp
log-prod
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log log-div associate--l+
flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out
associate--l-
+-commutative sub-neg associate-+r+ flip3-- diff-log rem-log-exp log-pow flip--
Counts
3 → 46
Calls
3 calls:
5.0ms
(+ x (+ 2.0 (* x (* x 1/2))))
6.0ms
(- (log (+ x (+ 2.0 (* x (* x 1/2))))) (* x y))
4.0ms
(log (+ x (+ 2.0 (* x (* x 1/2)))))

series16.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ x (+ 2.0 (* x (* x 1/2))))
9.0ms
(- (log (+ x (+ 2.0 (* x (* x 1/2))))) (* x y))
4.0ms
(log (+ x (+ 2.0 (* x (* x 1/2)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05025866

prune91.0ms

Filtered
43 candidates to 55 candidates (-27.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh022
Picked101
Done011
Total54559

Merged error: 0.2b

Counts
59 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0)))))
0.0b
(* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0))))
0.0b
(- (+ (log 2.0) (+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0)))))) (* x y))
0.0b
(+ (log 2.0) (+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0))))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
11×add-sqr-sqrt *-un-lft-identity
10×pow1
add-exp-log add-cbrt-cube
sum-log
add-cube-cbrt associate-*r*
sub-neg
associate-+l+ associate-+r+ log-prod diff-log pow-prod-down prod-exp cbrt-unprod
+-commutative distribute-rgt-in flip3-- distribute-lft-in flip3-+ associate-*r/ flip-- flip-+ distribute-lft-out difference-of-squares
times-frac associate-*l* associate--l+ log-pow *-commutative distribute-lft-out-- unswap-sqr
Counts
4 → 71
Calls
4 calls:
6.0ms
(+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0)))))
10.0ms
(* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0))))
9.0ms
(- (+ (log 2.0) (+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0)))))) (* x y))
6.0ms
(+ (log 2.0) (+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0))))))

series20.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0)))))
3.0ms
(* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0))))
7.0ms
(- (+ (log 2.0) (+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0)))))) (* x y))
4.0ms
(+ (log 2.0) (+ (* x 0.5) (* (* x x) (- 0.25 (/ 1/2 (* 2.0 2.0))))))

simplify27.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
049911354
149911354

prune120.0ms

Filtered
60 candidates to 83 candidates (-38.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh033
Picked011
Done011
Total83588

Merged error: 0.2b

Counts
88 → 5

regimes95.0ms

Accuracy

0% (0.7b remaining)

Error of 1.0b against oracle of 0.3b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03817
13817

end0.0ms

sample682.0ms

Algorithm
intervals
Results
350.0ms7379×body80valid
71.0ms233×body640valid
63.0ms115×body1280valid
34.0ms178×body320valid
11.0ms95×body160valid
3.0msbody5120exit
3.0ms45×body80invalid

Profiling

Loading profile data...