Details

Time bar (total: 4.9s)

sample61.0ms

Algorithm
intervals
Results
34.0ms72×body1280valid
12.0ms57×body640valid
3.0ms23×body320valid
2.0ms97×body80valid
2.0ms82×body80nan
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052
152

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.8b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

2.5b
(log (+ 1.0 x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
log-prod *-un-lft-identity
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-div
flip3-+ rem-log-exp log-pow add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
1 → 15
Calls
1 calls:
3.0ms
(log (+ 1.0 x))

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(log (+ 1.0 x))

simplify38.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
012295
132786
2116181
3500278

prune38.0ms

Filtered
18 candidates to 13 candidates (72.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New16218
Fresh000
Picked011
Done000
Total16319

Merged error: 0.0b

Counts
19 → 3

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
diff-log associate-*r/ frac-sub
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity flip3-+ associate--l+ sum-log add-cbrt-cube flip-- flip-+
Counts
1 → 16
Calls
1 calls:
6.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))

series40.0ms

Counts
1 → 3
Calls
1 calls:
40.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))

simplify124.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0181250
1733231
24310220
35001220

prune51.0ms

Filtered
19 candidates to 14 candidates (73.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New18119
Fresh011
Picked011
Done011
Total18422

Merged error: 0.0b

Counts
22 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
0.1b
(* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))
10.3b
(+ (* -1/4 (* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))) (* (+ (* 1.0 x) (log 1.0)) (+ (* 1.0 x) (log 1.0))))
35.8b
(/ (+ (* -1/4 (* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))) (* (+ (* 1.0 x) (log 1.0)) (+ (* 1.0 x) (log 1.0)))) (+ (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

rewrite238.0ms

Algorithm
rewrite-expression-head
Rules
809×times-frac
722×add-sqr-sqrt
464×unpow-prod-down
336×unpow2 sqr-pow
289×unswap-sqr
266×add-exp-log
181×div-exp
144×add-cube-cbrt *-un-lft-identity
120×pow-to-exp pow-exp
100×prod-exp
81×associate-*r/
68×swap-sqr associate-*r* associate-*l*
52×frac-add
42×flip3-+ flip-+
41×frac-times
29×associate-*l/
26×associate-/l/
18×add-cbrt-cube
11×pow1
10×add-log-exp
cbrt-undiv div-inv
sum-log associate-/r/ cbrt-unprod
associate-/r* associate-/l*
+-commutative associate-+r+
pow2 distribute-rgt-in associate-+l+ frac-2neg distribute-lft-in pow-plus pow-prod-down clear-num pow-sqr *-commutative pow-prod-up
Counts
4 → 722
Calls
4 calls:
6.0ms
(+ (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
90.0ms
(* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))
23.0ms
(+ (* -1/4 (* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))) (* (+ (* 1.0 x) (log 1.0)) (+ (* 1.0 x) (log 1.0))))
44.0ms
(/ (+ (* -1/4 (* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))) (* (+ (* 1.0 x) (log 1.0)) (+ (* 1.0 x) (log 1.0)))) (+ (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

series348.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(+ (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
76.0ms
(* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))
90.0ms
(+ (* -1/4 (* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))) (* (+ (* 1.0 x) (log 1.0)) (+ (* 1.0 x) (log 1.0))))
138.0ms
(/ (+ (* -1/4 (* (/ (pow x 2) (pow 1.0 2)) (/ (pow x 2) (pow 1.0 2)))) (* (+ (* 1.0 x) (log 1.0)) (+ (* 1.0 x) (log 1.0)))) (+ (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

simplify151.0ms

Algorithm
egg-herbie
Counts
734 → 734
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0305910316
150018729

prune1.2s

Filtered
734 candidates to 260 candidates (35.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New7340734
Fresh011
Picked011
Done022
Total7344738

Merged error: 0.0b

Counts
738 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
1.3b
(log (- (* 1.0 1.0) (* x x)))
2.7b
(log (- 1.0 x))

rewrite18.0ms

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

series282.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
115.0ms
(log (- (* 1.0 1.0) (* x x)))
49.0ms
(log (- 1.0 x))

simplify168.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (161.0ms)

IterNodesCost
0354554
11112523
24507479
35001469

prune154.0ms

Filtered
70 candidates to 55 candidates (78.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New69170
Fresh000
Picked101
Done033
Total70474

Merged error: 0.0b

Counts
74 → 4

regimes65.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 22.1b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02111
12111

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.1s2282×body1280valid
374.0ms1676×body640valid
100.0ms794×body320valid
71.0ms2875×body80valid
45.0ms2664×body80nan
25.0ms373×body160valid

Profiling

Loading profile data...