Details

Time bar (total: 2.1s)

sample34.0ms

Algorithm
intervals
Results
13.0ms275×body80valid
3.0ms72×body80overflowed
2.0msbody640valid
1.0msbody1280valid
1.0msbody160valid
1.0msbody320valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

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

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 → 45
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)))

series26.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune80.0ms

Filtered
40 candidates to 54 candidates (-35.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New51354
Fresh000
Picked101
Done000
Total52355

Merged error: 0.1b

Counts
55 → 3

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
sum-log
add-sqr-sqrt add-cube-cbrt associate-+l+ associate-+r+ *-un-lft-identity
pow1 add-exp-log sub-neg log-prod diff-log add-cbrt-cube
+-commutative distribute-rgt-in distribute-lft-in flip3-+ flip-+
flip3-- associate--l+ flip--
Counts
3 → 46
Calls
3 calls:
7.0ms
(+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))
8.0ms
(- (+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x)) (* x y))
6.0ms
(+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x))

series41.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))
10.0ms
(- (+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x)) (* x y))
6.0ms
(+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x))

simplify38.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0271625
11051590
25002570

prune117.0ms

Filtered
41 candidates to 55 candidates (-34.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New55055
Fresh022
Picked011
Done000
Total55358

Merged error: 0.1b

Counts
58 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.1b
(exp (* x y))
0.3b
(/ (+ 1.0 (exp x)) (exp (* x y)))
1.8b
(log (/ (+ 1.0 (exp x)) (exp (* x y))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
24×times-frac
21×add-sqr-sqrt add-cube-cbrt
16×log-prod
distribute-lft-out add-log-exp
add-exp-log
add-cbrt-cube
pow1
associate-/l*
associate-/r*
flip3-+ div-exp rem-log-exp flip-+ div-inv associate-/l/
cbrt-undiv +-commutative log-div exp-prod exp-to-pow frac-2neg clear-num sum-log log-pow rem-exp-log
Counts
4 → 82
Calls
4 calls:
3.0ms
(+ 1.0 (exp x))
2.0ms
(exp (* x y))
6.0ms
(/ (+ 1.0 (exp x)) (exp (* x y)))
5.0ms
(log (/ (+ 1.0 (exp x)) (exp (* x y))))

series27.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ 1.0 (exp x))
4.0ms
(exp (* x y))
8.0ms
(/ (+ 1.0 (exp x)) (exp (* x y)))
14.0ms
(log (/ (+ 1.0 (exp x)) (exp (* x y))))

simplify87.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0264726
1782672
22861656
35002655

prune103.0ms

Filtered
66 candidates to 94 candidates (-42.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh011
Picked011
Done011
Total94397

Merged error: 0.1b

Counts
97 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(log (- (* 1.0 1.0) (* (exp x) (exp x))))
0.3b
(- (log (- (* 1.0 1.0) (* (exp x) (exp x)))) (log (- 1.0 (exp x))))
6.8b
(- (* 1.0 1.0) (* (exp x) (exp x)))
6.8b
(- 1.0 (exp x))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt log-prod
pow1
add-log-exp
add-cube-cbrt
log-div flip3-- flip-- distribute-lft-out-- difference-of-squares
add-exp-log log-pow associate--r+
associate--l+ add-cbrt-cube
sub-neg diff-log
associate--l- associate--r-
rem-log-exp
Counts
4 → 72
Calls
4 calls:
4.0ms
(log (- (* 1.0 1.0) (* (exp x) (exp x))))
9.0ms
(- (log (- (* 1.0 1.0) (* (exp x) (exp x)))) (log (- 1.0 (exp x))))
3.0ms
(- (* 1.0 1.0) (* (exp x) (exp x)))
4.0ms
(- 1.0 (exp x))

series49.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(log (- (* 1.0 1.0) (* (exp x) (exp x))))
26.0ms
(- (log (- (* 1.0 1.0) (* (exp x) (exp x)))) (log (- 1.0 (exp x))))
4.0ms
(- (* 1.0 1.0) (* (exp x) (exp x)))
2.0ms
(- 1.0 (exp x))

simplify76.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0307778
1837725
22699672
35001652

prune128.0ms

Filtered
63 candidates to 84 candidates (-33.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh000
Picked101
Done022
Total84387

Merged error: 0.1b

Counts
87 → 3

regimes87.0ms

Accuracy

99.3% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 14.3b

bsearch24.0ms

Steps
ItersRangePoint
10
-12.491957682506335
-1.112244273187387e-09
-0.001093852599277222

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03825
13825

end0.0ms

sample987.0ms

Algorithm
intervals
Results
382.0ms8375×body80valid
97.0ms2450×body80overflowed
82.0ms272×body640valid
71.0ms124×body1280valid
32.0ms175×body320valid
13.0ms119×body160valid

Profiling

Loading profile data...