Details

Time bar (total: 3.6s)

sample65.0ms

Algorithm
intervals
Results
36.0ms78×body1280valid
13.0ms56×body640valid
3.0ms22×body320valid
2.0ms89×body80valid
1.0ms85×body80nan
1.0ms11×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052
152

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.3b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

3.1b
(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))

series3.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
012897
135487
2128081
3500178

prune31.0ms

Filtered
13 candidates to 18 candidates (-38.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New16218
Fresh000
Picked011
Done000
Total16319

Merged error: 0.1b

Counts
19 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
70×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
36×add-cube-cbrt *-un-lft-identity
25×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow-to-exp pow-exp add-log-exp
pow1
associate-*r/ associate-*l*
diff-log frac-sub cbrt-unprod
cbrt-undiv sub-neg flip3-- flip3-+ pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 126
Calls
2 calls:
20.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
6.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))

series10.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0676880
12962757
25002753

prune382.0ms

Filtered
81 candidates to 132 candidates (-63.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1311132
Fresh011
Picked011
Done011
Total1314135

Merged error: 0.1b

Counts
135 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (pow x 2))
0.1b
(* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2)))
10.1b
(- (* (- (* (* 1.0 x) (* 1.0 x)) (* (log 1.0) (log 1.0))) (pow 1.0 2)) (* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2))))
25.0b
(/ (- (* (- (* (* 1.0 x) (* 1.0 x)) (* (log 1.0) (log 1.0))) (pow 1.0 2)) (* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2)))) (* (- (* 1.0 x) (log 1.0)) (pow 1.0 2)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log
20×associate-*l/
16×add-sqr-sqrt add-cbrt-cube
13×prod-exp
12×flip3-- flip--
10×add-cube-cbrt *-un-lft-identity
associate-*r*
frac-sub
pow1 associate-*l* associate-/l/ add-log-exp
cbrt-unprod
unpow-prod-down div-exp unswap-sqr
pow-to-exp times-frac pow-exp associate-/l*
cbrt-undiv associate-/r/ *-commutative unpow2 sqr-pow
sub-neg frac-2neg diff-log div-sub pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 96
Calls
4 calls:
5.0ms
(* 1/2 (pow x 2))
8.0ms
(* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2)))
10.0ms
(- (* (- (* (* 1.0 x) (* 1.0 x)) (* (log 1.0) (log 1.0))) (pow 1.0 2)) (* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2))))
19.0ms
(/ (- (* (- (* (* 1.0 x) (* 1.0 x)) (* (log 1.0) (log 1.0))) (pow 1.0 2)) (* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2)))) (* (- (* 1.0 x) (log 1.0)) (pow 1.0 2)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 1/2 (pow x 2))
20.0ms
(* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2)))
11.0ms
(- (* (- (* (* 1.0 x) (* 1.0 x)) (* (log 1.0) (log 1.0))) (pow 1.0 2)) (* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2))))
17.0ms
(/ (- (* (- (* (* 1.0 x) (* 1.0 x)) (* (log 1.0) (log 1.0))) (pow 1.0 2)) (* (- (* 1.0 x) (log 1.0)) (* 1/2 (pow x 2)))) (* (- (* 1.0 x) (log 1.0)) (pow 1.0 2)))

simplify107.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06511887
135401601
250011575

prune384.0ms

Filtered
73 candidates to 108 candidates (-47.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1080108
Fresh011
Picked011
Done022
Total1084112

Merged error: 0.1b

Counts
112 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
1.8b
(log (- (* 1.0 1.0) (* x x)))
3.0b
(log (- 1.0 x))

rewrite17.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)))
3.0ms
(log (- (* 1.0 1.0) (* x x)))
3.0ms
(log (- 1.0 x))

series19.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
7.0ms
(log (- (* 1.0 1.0) (* x x)))
5.0ms
(log (- 1.0 x))

simplify174.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (166.0ms)

IterNodesCost
0361557
11160525
24983479
35002469

prune107.0ms

Filtered
55 candidates to 70 candidates (-27.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New68270
Fresh000
Picked101
Done033
Total69574

Merged error: 0.1b

Counts
74 → 5

regimes121.0ms

Accuracy

99% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02111
12111

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.0s2226×body1280valid
385.0ms1687×body640valid
100.0ms849×body320valid
72.0ms2820×body80valid
49.0ms2677×body80nan
30.0ms418×body160valid

Profiling

Loading profile data...